Skip to contentSkip to conversation

Tkdesk Segmentation Fault

DISCUSSION Peter 7 participants 15 messages Nov 7, 2002 – Nov 18, 2002

lore
Share & tools
lore

Peter

author
#0 lore raw

Thanks!

Quoted 2 lines · [email protected] said:

% ulimit -c 1000000
Rerun TkDesk and let it crash. You should have a core file now.

$ tkdesk
Segmentation fault (core dumped)

except it's nowhere to be found. Wait, here it is now with ending numbers:
core.1298
One of the new tricks of RH7.3?

gdb core.1298
This GDB was configured as "i386-redhat-linux"...core.1298: No such file or directory

cp core.1298 ~/core

gdb core
This GDB was configured as "i386-redhat-linux"..."/home/peter/core": not in executable format: File format not recognized

(gdb) where
No stack.

Looking at the core file I see a lot of talk about:
"his probably means that Itcl/Tcl weren't installed properly" and
set msg "Can't find a usable init.tcl in the following directories:
"
The end of core file is:

set f [open pkgIndex.tcl w]
puts $f $index
close $f
cd $oldDir
@|[@(…Éué‹“0
@|Ó@L<
@@…=
followed by a lot more of those weird signs.

Quoted 3 lines · [email protected] said:

You might also want to make sure that even after you install TCL 8.0, tkdesk uses it rather then the more recent version of Tcl that RH has installed.

I did that by changing the tcl/tlConfig.sh files.

Quoted 2 lines · [email protected] said:

You might want to ldd tcl (or whatever the right name is -- see what interpreter the tkdesk script is invoking on its shebang line).

ldd tcl... gives the same files in RH7.3 as in RH6.2.

If this is another case of strange happenings under RH7.3 then we might probe again in the dark or is it that the new tk/tcl of RH7.3 are at fault only. Could one reinstall the ones of RH7.2 w/o messing-up everything?

I hate to see a solid good program <tkdesk> go to waste on account of RH7.3.

Regards

Signature · 7 lines
Peter

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
#1 lore raw
Quoted 9 lines · Peter
Quoted 2 lines

% ulimit -c 1000000
Rerun TkDesk and let it crash. You should have a core file now.

$ tkdesk
Segmentation fault (core dumped)

except it's nowhere to be found. Wait, here it is now with ending numbers:
core.1298
One of the new tricks of RH7.3?

% gdb tkdesk ./core.1298
...
% (gdb) where

Elias

Signature · 6 lines
http://gnewtellium.sourceforge.net			MP3 is not a crime.	
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
author
#2 lore raw

There your are.

]$ gdb tkdesk ./core.1875

This GDB was configured as "i386-redhat-linux"..."/usr/local/bin/tkdesk": not in executable format: File format not recognized

Core was generated by `tkdesksh /usr/local/bin/tkdesk'. Program terminated with signal 11, Segmentation fault. -#0 0x0816e640 in ?? ()
(gdb) where

-#0  0x0816e640 in ?? ()
-#1  0x4007502a in ?? ()
-#2  0x400746f9 in ?? ()
-#3  0x08079c09 in ?? ()
-#4  0x080783e6 in ?? ()
-#5  0x0807823b in ?? ()
-#6  0x0807891c in ?? ()
-#7  0x08089544 in ?? ()
-#8  0x0807a185 in ?? ()
-#9  0x08079d4c in ?? ()

-#10 0x0804c921 in ?? ()
-#11 0x080768a0 in ?? ()
-#12 0x0804c8ec in ?? ()

I had to put the dash in front of # for the mailk to get out. Does it say anything usefull?
Thanks for your patiences.

Signature · 7 lines
Peter

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
#3 lore raw
Quoted 3 lines · Peter

I had to put the dash in front of # for the mailk to get out. Does it say anything usefull?
Thanks for your patiences.

No. Sorry but I just realised that you have a problem with a Tcl/Tk script. Actually, you have to use gdb with the Tcl/Tk interpreter (not sure which is that, it should be named in the first line of TkDesk).

Assuming the interpreter has been build with debugging info, it is called 'tcl' and it is in your path, do:

% gdb tcl
% (gdb) run /path/to/tkdesk

Normally, you'll get the segfault inside gdb, and using 'where' you'll get the stack backtrace.

Elias

Signature · 6 lines
http://gnewtellium.sourceforge.net			MP3 is not a crime.	
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
#4 lore raw

need method of backing up files

I use Slackware 7.0 with upgraded 2.4.18 kernel in a box which serves as file server to 5 win9x clients.

Is there a method to perform incremental back-ups for every user, for every day of the week.

Eg. /home/peter
/home/paul
/home/mary

to be backed up everyday into day-of-the-week directories so on Monday, files that were updated today would be copied to each user's sub-directory in the monday directory. /mnt/1monday/peter
/mnt/1monday/paul
/mnt/1monday/mary

and so on
/mnt/2tuesday/peter
/mnt/2tuesday/paul
/mnt/2tuesday/mary

Sometimes we need to track the daily changes that are made, that's why.

I'm aware RAID is available but I think this is another thing altogether.

TIA
Shaggy

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#5 lore raw

Re: need method of backing up files

Well, there are so many ways of doing this that it's difficult to know where to start!

There are two parts to what you want to do: scheduling when the backup happens and doing the actual backup.

The scheduling is easy - use cron. man crontab will get you started on that. One thing to be aware of is permissioning - if it's all on one box, then root could run the backups fine, but you might not want to run it as root, in which case a user like operator is used, but it runs the actual backup binary SUID root.

Doing the backup:

A lot depends on how often you want to restore, and how you want to do this - do you want to pull out individual files, or restore everything in a give directory? How much data is there - is it necessary to compress the backed up data?

If _ALL_ you want to do is copy files from one place to another once per day, retaining permissions etc, then combine find with cpio. You can set find to find only files which have been modified within the last day. The commands you'd use (taking the first of the examples you give) would be something like:

cd /home/peter
find . -depth -mtime -1 -print | cpio -pmudv /mnt/1monday/peter > {Some_Log_File}

by using different options to cpio, you can also use this technique to create a single archive file or go direct to a tape - say once per week as a full backup. The man page for cpio should help you there.

If you want to simply create an archive of anything that changed since the last backup, you could use dump. This is usually run once per week as a full backup, and all the times in between as an incremental backup. When run as an incremental, dump backs up all the files which have changed since the last incremental backup of the same level. Again, look at the man page for dump which explains it fairly well.

Paul.

Quoted 36 lines · Shaggy Im-erbtham

I use Slackware 7.0 with upgraded 2.4.18 kernel in a box which serves as file server to 5 win9x clients.

Is there a method to perform incremental back-ups for every user, for every day of the week.

Eg. /home/peter
/home/paul
/home/mary

to be backed up everyday into day-of-the-week directories so on Monday, files that were updated today would be copied to each user's sub-directory in the monday directory. /mnt/1monday/peter
/mnt/1monday/paul
/mnt/1monday/mary

and so on
/mnt/2tuesday/peter
/mnt/2tuesday/paul
/mnt/2tuesday/mary

Sometimes we need to track the daily changes that are made, that's why.

I'm aware RAID is available but I think this is another thing altogether.

TIA
Shaggy

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

Signature · 11 lines
Paul Furness

Systems Manager

Steepness is an illusion caused by flat things leaning over.

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
#6 lore raw

RE: need method of backing up files

I did something similar with a backup script that copies only files that change. However it does not take into account files that have been deleted. You would then just need another simple script to run before this one that would copy the backup directories to foldername-Tuesday ect. If you use this you will need to make some minor changes to reflect your environment. I have a bunch of other scripts that just call this one. One for each machine I backup and one that is a batch of all the machines I backup that I have sitting in cron.daily.

Example: scriptname someuser somepassword computername computershare pathwithinshare locationofpst

The last variable is for backing up outlook pst files but it can be omitted as well as the pathwithinshare if you are backing up the root of the share.

Let me know if you come up with a way to have it remove deleted files.

I am also working on a better way to handle logging. Let me know if this helps.

The script in case you care :)
------------------------------
#Backup Script
#------------
#Backup of Microsoft Windows Workstations using samba and cp. #Script maps windows share to $mnt then copies the contents of share and all
#Directories beneath share. If file exists it is only over written if source file is newer.
#Script unmounts drive and emails results to external server and local account.
#Set variables

	#set locals
		dt=`date +%m.%d.%y\(%H.%M.%S\)`	
		[email protected]
		localmail=pdk
		msg=/backup/scripts/mailmessage

	#set login
		uid=$1
		pass=$2
		workstation=$3
		share=$4
		path=$5
		pst=$6

	#Set Paths
		source="/mnt/backup/${workstation}${path}"
		dest=/backup/$workstation
		mnt=/mnt/backup/$workstation
		log=/backup/logs/${workstation}.log.${dt}.txt
#Check to see if dest paths exists if not create
	if [ ! -d $dest ];then mkdir --parents "$dest";fi
	if [ ! -d $mnt ];then mkdir --parents "$mnt";fi

#tMount File Systew

	mount -t smbfs -o username=${uid},password=$pass

//${workstation}/$share $mnt > $log 2>/dev/null

#If mount return = 0 then copy if only newer then dest

	if [ $? -eq 0 ] ; then
		if [ -z "$5" ]; then
			cp --preserve --recursive --update "$source"/*
$dest 2>> $log
		else
			cp --preserve --recursive --update "$source"
$dest 2>> $log 
		fi

	#if pst location passed in then backup to backupdiretory/email
if /email missing add directory
		if [ -n "$6" ]; then
			if [ ! -d ${dest}/email ]; then mkdir --parents
"${dest}/email"; fi
			cp --preserve --recursive --update

"${mnt}$pst"*.pst "${dest}"/email 2>> $log
fi

ds=date +%m.%d.%y\(%H.%M.%S\) subj="Backup log file for machine $workstation"

echo "Backup started at $dt and ended at $ds" > $msg mutt -a $log -s "$subj" $externalmail $localmail < $msg rm -rf ${log}
umount $mnt
else
echo $dt > $msg
echo "Backup did not run for ${workstation}. Not
available!" >> ${msg}
subj="Backup for machine $workstation FAILED!" mutt -a $log -s "$subj" $externalmail -c $localmail <
$msg
fi

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Paul Furness
Sent: Friday, November 08, 2002 8:52 AM
To: Shaggy Im-erbtham
Cc: [email protected]
Subject: Re: need method of backing up files

Well, there are so many ways of doing this that it's difficult to know where to start!

There are two parts to what you want to do: scheduling when the backup happens and doing the actual backup.

The scheduling is easy - use cron. man crontab will get you started on that. One thing to be aware of is permissioning - if it's all on one box, then root could run the backups fine, but you might not want to run it as root, in which case a user like operator is used, but it runs the actual backup binary SUID root.

Doing the backup:

A lot depends on how often you want to restore, and how you want to do this - do you want to pull out individual files, or restore everything in a give directory? How much data is there - is it necessary to compress the backed up data?

If _ALL_ you want to do is copy files from one place to another once per day, retaining permissions etc, then combine find with cpio. You can set find to find only files which have been modified within the last day. The commands you'd use (taking the first of the examples you give) would be something like:

cd /home/peter
find . -depth -mtime -1 -print | cpio -pmudv /mnt/1monday/peter > {Some_Log_File}

by using different options to cpio, you can also use this technique to create a single archive file or go direct to a tape - say once per week as a full backup. The man page for cpio should help you there.

If you want to simply create an archive of anything that changed since the last backup, you could use dump. This is usually run once per week as a full backup, and all the times in between as an incremental backup. When run as an incremental, dump backs up all the files which have changed since the last incremental backup of the same level. Again, look at the man page for dump which explains it fairly well.

Paul.

Quoted 36 lines · Shaggy Im-erbtham

I use Slackware 7.0 with upgraded 2.4.18 kernel in a box which serves as file server to 5 win9x clients.

Is there a method to perform incremental back-ups for every user, for every day of the week.

Eg. /home/peter
/home/paul
/home/mary

to be backed up everyday into day-of-the-week directories so on Monday, files that were updated today would be copied to each user's sub-directory in the monday directory. /mnt/1monday/peter /mnt/1monday/paul
/mnt/1monday/mary

and so on
/mnt/2tuesday/peter
/mnt/2tuesday/paul
/mnt/2tuesday/mary

Sometimes we need to track the daily changes that are made, that's why.

I'm aware RAID is available but I think this is another thing altogether.

TIA
Shaggy

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

Signature · 17 lines
Paul Furness

Systems Manager

Steepness is an illusion caused by flat things leaning over.

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie"
in the body of a message to [email protected] More majordomo
info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
#7 lore raw

RE: need method of backing up files

Yup, that should work nicely.

Couple of things you might want to add to it (or you may not, of course :) - see below

Quoted 7 lines · Paul Kraus

Example: scriptname someuser somepassword computername computershare pathwithinshare locationofpst

Let me know if you come up with a way to have it remove deleted files.

Would you want to? How often does someone delete a file, then a couple of days later ask you to restore it from the backup? I have something similar going on where I simply copy stuff to the backup space, but never delete anything. Well, not strictly; once per month it deletes everything older than a month, using find:

find /{Backup_Place} -mtime +30 -exec rm {} >> {Log_File} \;

Old stuff is in the regular backups anyhow.

Oh, about logging: The approach I use is to log all activity and all errors to the same file. This is because I find that if there _are_ any problems, it's useful to have all the messages in chronological order. Basically, every command in any of my system scripts ends in " >> ${Log_File} 2>&1 " (actually, I usually do something like assign that to a variable and stick that on each line).
At then end of the script, I usually put in something like:

mail -s "Backup script on ${Host} completed ok"
[email protected] < ${Log}

and if there is a place in the script where things have gone wrong, rather than just exitting, I put in something like:

mail -s "Backup script on ${Host} FAILED" [email protected] < ${Log}

Hope some of this helps.

P.

Quoted 6 lines

The script in case you care :)
------------------------------
#Backup Script
#------------

.
.
.

Quoted 4 lines
		log=/backup/logs/${workstation}.log.${dt}.txt
#Check to see if dest paths exists if not create
	if [ ! -d $dest ];then mkdir --parents "$dest";fi
	if [ ! -d $mnt ];then mkdir --parents "$mnt";fi

You might want to add something here that deals with a failure to make the directory, and also logs the results of the mkdir command. Something like:

if [ ! -d $dest ];then mkdir -v --parents "$dest" >> ${log};fi

	if [ ! -d $dest ]
		then 
		echo "Failure to make destination $dest >> ${log}
		#mail an error to someone?
		exit 1  # This ends the script if dest doesn't exist
	fi

........same for ${mnt}

It is possible to combine these into more compact code, but I think that makes it harder to read later.

Quoted 4 lines

#tMount File Systew

	mount -t smbfs -o username=${uid},password=$pass

//${workstation}/$share $mnt > $log 2>/dev/null

Is there any reason why you redirect errors to /dev/null rather than appending to the log file? If it went wrong, you wouldn't know why.

Quoted 1 line

.
.
.
.

Quoted 1 line

fi

Signature · 11 lines
Paul Furness

Systems Manager

Steepness is an illusion caused by flat things leaning over.

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
#8 lore raw

RE: need method of backing up files

How can I add the machine name to the output. For instance... This command writes to the log file that a file is in use and was not backed up.

cp --preserve --recursive --update "$source"/* $dest 2>> $log

So if I have a variable called $machine and it equals the workstations name how can I have it written before the log entry.

Example
Myworkstation: output from errors out.

Thanks in advance,
Paul Kraus

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#9 lore raw

RE: need method of backing up files

I don't know of a way to make it put the machine name at the beginning of each line.

As a partial solution, you could put the machine name into the log file before the copy:

echo ${machinename} >> $log
cp --preserve ..... and so on.

I tend to put a lot of date stamps in log files as well as some comments. It doesn't make much difference to the file size, and it can be very useful information later, and also make the log file much easier to read. I tend to do something like this:

  echo "Starting the backup of ${machinename} at `date`" >> $log
  cp --preserve .....

P.

Quoted 21 lines · Paul Kraus

How can I add the machine name to the output. For instance... This command writes to the log file that a file is in use and was not backed up.

cp --preserve --recursive --update "$source"/* $dest 2>> $log

So if I have a variable called $machine and it equals the workstations name how can I have it written before the log entry.

Example
Myworkstation: output from errors out.

Thanks in advance,
Paul Kraus

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

Signature · 11 lines
Paul Furness

Systems Manager

Steepness is an illusion caused by flat things leaning over.

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
#10 lore raw

Re: need method of backing up files

In reply to Shaggy Im-erbtham

Hello Shaggy , Look at rsync , works beautifully for me . JimL
http://rsync.samba.org/index.html

Quoted 27 lines · Shaggy Im-erbtham

I use Slackware 7.0 with upgraded 2.4.18 kernel in a box which serves as file server to 5 win9x clients.

Is there a method to perform incremental back-ups for every user, for every day of the week.

Eg. /home/peter
/home/paul
/home/mary

to be backed up everyday into day-of-the-week directories so on Monday, files that were updated today would be copied to each user's sub-directory in the monday directory. /mnt/1monday/peter
/mnt/1monday/paul
/mnt/1monday/mary

and so on
/mnt/2tuesday/peter
/mnt/2tuesday/paul
/mnt/2tuesday/mary

Sometimes we need to track the daily changes that are made, that's why.

I'm aware RAID is available but I think this is another thing altogether.

Quoted 9 lines

TIA
Shaggy

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

--

       +------------------------------------------------------------------+
       | James   W.   Laferriere | System    Techniques | Give me VMS     |
       | Network        Engineer |     P.O. Box 854     |  Give me Linux  |
       | [email protected] | Coudersport PA 16915 |   only  on  AXP |
       +------------------------------------------------------------------+

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#11 lore raw
In reply to Peter
Quoted 9 lines · Peter

There your are.

]$ gdb tkdesk ./core.1875

This GDB was configured as "i386-redhat-linux"..."/usr/local/bin/tkdesk": not in executable format: File format not recognized

Core was generated by `tkdesksh /usr/local/bin/tkdesk'.

here is the program ^^^^^^^^ that committed the fault.

Quoted 17 lines

Program terminated with signal 11, Segmentation fault. -#0 0x0816e640 in ?? ()
(gdb) where

(quoted diff) +0 -13
-#0  0x0816e640 in ?? ()
-#1  0x4007502a in ?? ()
-#2  0x400746f9 in ?? ()
-#3  0x08079c09 in ?? ()
-#4  0x080783e6 in ?? ()
-#5  0x0807823b in ?? ()
-#6  0x0807891c in ?? ()
-#7  0x08089544 in ?? ()
-#8  0x0807a185 in ?? ()
-#9  0x08079d4c in ?? ()
-#10 0x0804c921 in ?? ()
-#11 0x080768a0 in ?? ()
-#12 0x0804c8ec in ?? ()
Quoted 4 lines

I had to put the dash in front of # for the mailk to get out. Does it say anything usefull?
Thanks for your patiences.

gdb tkdesksh ./core.1875

--
---oops---

________________________________________________________________
Sign Up for Juno Platinum Internet Access Today
Only $9.95 per month!
Visit www.juno.com
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

author
#12 lore raw

Thanks!

gdb tkdesksh ./core.1875
Core was generated by `tkdesksh /usr/local/bin/tkdesk'. Program terminated with signal 11, Segmentation fault. Reading symbols from /lib/libNoVersion.so.1...done. Loaded symbols for /lib/libNoVersion.so.1 Reading symbols from /usr/X11R6/lib/libX11.so.6...done. Loaded symbols for /usr/X11R6/lib/libX11.so.6 Reading symbols from /lib/libdl.so.2...done. Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/i686/libm.so.6...done. Loaded symbols for /lib/i686/libm.so.6
Reading symbols from /lib/i686/libc.so.6...done. Loaded symbols for /lib/i686/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done. Loaded symbols for /lib/ld-linux.so.2
-#0 0x0816e640 in ?? ()
(gdb) where

-#0  0x0816e640 in ?? ()
-#1  0x4007502a in _XOpenLC () from /usr/X11R6/lib/libX11.so.6
-#2  0x400746f9 in XOpenIM () from /usr/X11R6/lib/libX11.so.6
-#3  0x08079c09 in OpenIM ()
-#4  0x080783e6 in GetScreen ()
-#5  0x0807823b in CreateTopLevelWindow ()
-#6  0x0807891c in TkCreateMainWindow ()
-#7  0x08089544 in TkCreateFrame ()
-#8  0x0807a185 in Initialize ()
-#9  0x08079d4c in Tk_Init ()

-#10 0x0804c921 in Tcl_AppInit ()
-#11 0x080768a0 in Tk_Main ()
-#12 0x0804c8ec in main ()
(gdb)
(gdb) run tkdesksh
Starting program: /usr/local/bin/tkdesksh tkdesksh

Program received signal SIGSEGV, Segmentation fault. 0x0816e620 in ?? ()
(gdb) where
-#0 0x0816e620 in ?? ()
followed by above #1 to #12

(gdb) quit
The program is running. Exit anyway? (y or n)

Now what does that all mean? Excuse my ignorance!

Regards

Signature · 7 lines
Peter

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
#13 lore raw
Quoted 12 lines · Peter
(quoted diff) +0 -12
-#1  0x4007502a in _XOpenLC () from /usr/X11R6/lib/libX11.so.6
-#2  0x400746f9 in XOpenIM () from /usr/X11R6/lib/libX11.so.6
-#3  0x08079c09 in OpenIM ()
-#4  0x080783e6 in GetScreen ()
-#5  0x0807823b in CreateTopLevelWindow ()
-#6  0x0807891c in TkCreateMainWindow ()
-#7  0x08089544 in TkCreateFrame ()
-#8  0x0807a185 in Initialize ()
-#9  0x08079d4c in Tk_Init ()
-#10 0x0804c921 in Tcl_AppInit ()
-#11 0x080768a0 in Tk_Main ()
-#12 0x0804c8ec in main ()
Quoted 1 line

(gdb)

Just a guess. Your X libs are incompatible with your Tcl/Tk.

Elias

Signature · 6 lines
http://gnewtellium.sourceforge.net			MP3 is not a crime.	
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
author
#14 lore raw
Quoted 1 line · [email protected] said:

Just a guess. Your X libs are incompatible with your Tcl/Tk.

Thank you so much and Lawson for the lead!!!

You guessed it right. Copying libX11.so.6.1 into /usr/X11R6/lib/ made tkdesk coming up instantly.

Hurray!

Regards

Signature · 7 lines
Peter

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs