Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#8816 - [amsn 0.97RC1-2] Segmentation fault at login
Attached to Project:
Community Packages
Opened by Cesar Alcalde (noalwin) - Sunday, 02 December 2007, 14:39 GMT
Last edited by Roman Kyrylych (Romashka) - Friday, 07 March 2008, 07:26 GMT
Opened by Cesar Alcalde (noalwin) - Sunday, 02 December 2007, 14:39 GMT
Last edited by Roman Kyrylych (Romashka) - Friday, 07 March 2008, 07:26 GMT
|
DetailsDescription:
Amsn crashes every time that I try to login in my account. I have tried deleting my .amsn folder, but it still crashed. I also have tried to compile the SVN version, and it still happens, so maybe it's a tcl/tk issue. Additional info: * package version(s) amsn 0.97RC1-2 snack 2.2.10-1 tcl 8.4.16-2 tcllib 1.9-1 tk 8.4.16-2 * config and/or log files etc. Steps to reproduce: Try to login in your msn account |
This task depends upon
I hope this counts as a confirmation :)
I have no idea how to solve this thing, so it'd be really great if you guys can do something about it :)
Step one is trying to debug. Launch "gdb wish /usr/bin/amsn", then on the prompt call "run". Wait for it to crash, ask for a backtrace (command: "bt") and paste the whole output here.
In addition, since these problems with amsn are usually caused by tcl, if you feel like you want to try, you could install tcl and tk from testing (and recompile amsn, since the community package is not compatible with tcl/tk 8.5).
I'll try and compile amsn with the 8.5 versions as you proposed, I'll write a comment with the relevant information.
<start backtrace>
zaxxx@waldorf ~ $ gdb wish
GNU gdb 6.7.1
Copyright (C) 2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...
(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) run /usr/bin/amsn
Starting program: /usr/bin/wish /usr/bin/amsn
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[New Thread 0xb7b946c0 (LWP 811)]
[New Thread 0xb7b93b90 (LWP 814)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb7b946c0 (LWP 811)]
0xb7c27867 in strcasecmp () from /lib/libc.so.6
(gdb) bt
#0 0xb7c27867 in strcasecmp () from /lib/libc.so.6
#1 0xbfd7b290 in ?? ()
#2 0x00000000 in ?? ()
<end backtrace>
The site is really slow here, so I'm posting the proposed solution:
<quote>
Also, go to the directory which contains the font you are using now and type these commands:
(as root)
Code:
mkfontdir -o fonts.dir
mkfontscale -o fonts.scale
fc-cache -fv
and restart aMSN. This might fix the issue.
</quote>
If it works it'd be great if you could track down which font causes this problem. If you know the date the bug showed up (it should be around the end of November or the beginning of December, judging from the report date), could you please look around in /var/log/pacman.log and post the fonts you upgraded in those days?
Ran it through gdb again, had to kill it by quitting gdb. The backtrace is below:
<begin backtrace tls problem>This GDB was configured as "i686-pc-linux-gnu"...
(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) run /usr/bin/amsn
Starting program: /usr/bin/wish /usr/bin/amsn
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[New Thread 0xb7a3dac0 (LWP 6237)]
[New Thread 0xb7a3cb90 (LWP 6240)]
(no debugging symbols found)
Error while mapping shared library sections:
utils/TkCximage/TkCximage.so: No such file or directory.
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
Error while mapping shared library sections:
utils/linux/traydock/libtray.so: No such file or directory.
(no debugging symbols found)
(no debugging symbols found)This GDB was configured as "i686-pc-linux-gnu"...
(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) run /usr/bin/amsn
Starting program: /usr/bin/wish /usr/bin/amsn
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[New Thread 0xb7a3dac0 (LWP 6237)]
[New Thread 0xb7a3cb90 (LWP 6240)]
(no debugging symbols found)
Error while mapping shared library sections:
utils/TkCximage/TkCximage.so: No such file or directory.
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
Error while mapping shared library sections:
utils/linux/traydock/libtray.so: No such file or directory.
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
Program received signal SIGINT, Interrupt.
[Switching to Thread 0xb7a3dac0 (LWP 6237)]
0xb7fdb410 in __kernel_vsyscall ()
(gdb) bt
#0 0xb7fdb410 in __kernel_vsyscall ()
#1 0xb7db8878 in connect () from /lib/libpthread.so.0
#2 0xb7ea3fa3 in CreateSocket () from /usr/lib/libtcl8.5.so
#3 0xb7ea453e in Tcl_OpenTcpClient () from /usr/lib/libtcl8.5.so
#4 0xb7e5e271 in Tcl_SocketObjCmd () from /usr/lib/libtcl8.5.so
#5 0xb7dfb06c in TclEvalObjvInternal () from /usr/lib/libtcl8.5.so
#6 0xb7dfbafa in TclEvalEx () from /usr/lib/libtcl8.5.so
#7 0xb7dfbd4e in Tcl_EvalEx () from /usr/lib/libtcl8.5.so
#8 0xb7dfc1ff in TclEvalObjEx () from /usr/lib/libtcl8.5.so
#9 0xb7e069c7 in Tcl_EvalObjCmd () from /usr/lib/libtcl8.5.so
#10 0xb7dfb06c in TclEvalObjvInternal () from /usr/lib/libtcl8.5.so
#11 0xb7e401c2 in TclExecuteByteCode () from /usr/lib/libtcl8.5.so
#12 0xb7e83433 in TclObjInterpProcCore () from /usr/lib/libtcl8.5.so
#13 0xb7e83941 in TclObjInterpProc () from /usr/lib/libtcl8.5.so
#14 0xb7dfb06c in TclEvalObjvInternal () from /usr/lib/libtcl8.5.so
#15 0xb7e401c2 in TclExecuteByteCode () from /usr/lib/libtcl8.5.so
#16 0xb7e83433 in TclObjInterpProcCore () from /usr/lib/libtcl8.5.so
#17 0xb7e83941 in TclObjInterpProc () from /usr/lib/libtcl8.5.so
#18 0xb7dfb06c in TclEvalObjvInternal () from /usr/lib/libtcl8.5.so
#19 0xb7e401c2 in TclExecuteByteCode () from /usr/lib/libtcl8.5.so
#20 0xb7e48c7e in TclCompEvalObj () from /usr/lib/libtcl8.5.so
#21 0xb7dfc145 in TclEvalObjEx () from /usr/lib/libtcl8.5.so
#22 0xb7dfc4fb in Tcl_EvalObjEx () from /usr/lib/libtcl8.5.so
#23 0xb7f15e07 in TkInvokeButton () from /usr/lib/libtk8.5.so
#24 0xb7f178a8 in ButtonWidgetObjCmd () from /usr/lib/libtk8.5.so
#25 0xb7dfb06c in TclEvalObjvInternal () from /usr/lib/libtcl8.5.so
#26 0xb7dfbefe in Tcl_EvalObjv () from /usr/lib/libtcl8.5.so
#27 0xb7dfc381 in TclEvalObjEx () from /usr/lib/libtcl8.5.so
#28 0xb7dfc4fb in Tcl_EvalObjEx () from /usr/lib/libtcl8.5.so
#29 0xb7e83e1b in Tcl_UplevelObjCmd () from /usr/lib/libtcl8.5.so
#30 0xb7dfb06c in TclEvalObjvInternal () from /usr/lib/libtcl8.5.so
#31 0xb7e401c2 in TclExecuteByteCode () from /usr/lib/libtcl8.5.so
#32 0xb7e83433 in TclObjInterpProcCore () from /usr/lib/libtcl8.5.so
#33 0xb7e83941 in TclObjInterpProc () from /usr/lib/libtcl8.5.so
#34 0xb7dfb06c in TclEvalObjvInternal () from /usr/lib/libtcl8.5.so
#35 0xb7dfbafa in TclEvalEx () from /usr/lib/libtcl8.5.so
#36 0xb7dfbd4e in Tcl_EvalEx () from /usr/lib/libtcl8.5.so
#37 0xb7eeba94 in Tk_BindEvent () from /usr/lib/libtk8.5.so
#38 0xb7ef14a1 in TkBindEventProc () from /usr/lib/libtk8.5.so
#39 0xb7ef7607 in Tk_HandleEvent () from /usr/lib/libtk8.5.so
#40 0xb7ef795e in WindowEventProc () from /usr/lib/libtk8.5.so
#41 0xb7e74dfb in Tcl_ServiceEvent () from /usr/lib/libtcl8.5.so
#42 0xb7e750a6 in Tcl_DoOneEvent () from /usr/lib/libtcl8.5.so
#43 0xb7e3b803 in Tcl_VwaitObjCmd () from /usr/lib/libtcl8.5.so
#44 0xb7dfb06c in TclEvalObjvInternal () from /usr/lib/libtcl8.5.so
#45 0xb7e401c2 in TclExecuteByteCode () from /usr/lib/libtcl8.5.so
#46 0xb7e83433 in TclObjInterpProcCore () from /usr/lib/libtcl8.5.so
#47 0xb7e83941 in TclObjInterpProc () from /usr/lib/libtcl8.5.so
#48 0xb7dfb06c in TclEvalObjvInternal () from /usr/lib/libtcl8.5.so
#49 0xb7e401c2 in TclExecuteByteCode () from /usr/lib/libtcl8.5.so
#50 0xb7e83433 in TclObjInterpProcCore () from /usr/lib/libtcl8.5.so
#51 0xb7e83941 in TclObjInterpProc () from /usr/lib/libtcl8.5.so
#52 0xb7dfb06c in TclEvalObjvInternal () from /usr/lib/libtcl8.5.so
#53 0xb7e401c2 in TclExecuteByteCode () from /usr/lib/libtcl8.5.so
#54 0xb7e83433 in TclObjInterpProcCore () from /usr/lib/libtcl8.5.so
#55 0xb7e83941 in TclObjInterpProc () from /usr/lib/libtcl8.5.so
in TclObjInterpProcCore () from /usr/lib/libtcl8.5.so
#55 0xb7e83941 in TclObjInterpProc () from /usr/lib/libtcl8.5.so
#56 0xb7dfb06c in TclEvalObjvInternal () from /usr/lib/libtcl8.5.so
#57 0xb7e401c2 in TclExecuteByteCode () from /usr/lib/libtcl8.5.so
#58 0xb7e48c7e in TclCompEvalObj () from /usr/lib/libtcl8.5.so
#59 0xb7dfc145 in TclEvalObjEx () from /usr/lib/libtcl8.5.so
#60 0xb7e0cbd9 in Tcl_IfObjCmd () from /usr/lib/libtcl8.5.so
#61 0xb7dfb06c in TclEvalObjvInternal () from /usr/lib/libtcl8.5.so
---Type <return> to continue, or q <return> to quit---
#62 0xb7dfbafa in TclEvalEx () from /usr/lib/libtcl8.5.so
#63 0xb7dfbd4e in Tcl_EvalEx () from /usr/lib/libtcl8.5.so
#64 0xb7e663b9 in Tcl_FSEvalFileEx () from /usr/lib/libtcl8.5.so
#65 0xb7f05545 in Tk_MainEx () from /usr/lib/libtk8.5.so
#66 0x080488cb in main ()
<end backtrace tls problem>
Hope this helps, and that I didn't fsck up my system ;)
package ifneeded tls 1.5 "[list load [file join $dir .. libtls1.50.so] ] ; [list source [file join $dir tls.tcl] ]"
and change 1.5 in 1.50. It should stop asking you to download tls, and maybe stop crashing the app. Again, if it doesn't stop it, post here ;-)
Helvetica doesn't seems to be installed on my system, so maybe it's an alias to other font.
Should I gdb this as well? And after what exact actions should I print the backtrace?
Thx anyway, we're one step further already...
Thanks a lot to bardo and noalwin, it seems that upgrading tcl/tk to 8.5 and then recompiling amsn from source, and adjusting the tcl1.50 lib does the trick after all.
Hopefully this will be helpful to other people as well.
@noalwin: helvetica should be included in xorg-fonts-100dpi or xorg-fonts-75dpi, so please check if you have at least one of them. If you don't, could I ask you to make another test? Set helvetica again and close it. Then install one of these packages to verify it works.
I reinstalled the fonts packages but amsn still segfaults if I use Helvetica
mkfontdir -o fonts.dir
mkfontscale -o fonts.scale
fc-cache -fv
on /usr/share/fonts/100dpi and /usr/share/fonts/75dpi and it didn't helped
I also have rebuild the packages and it still segfaults
It seems to use Vera Sans instead helvetica by default. In fact, I can't configure it to use Helvetica