[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#205328: Dynamically linked programs segfault too



Hi,

I've been hitting the same bug today : after a glibc upgrade, some programs
are segfaulting. The programs concerned are :
  - consolechars 
  - citrix ica client
(both are dynamically linked)

>From what I can tell (but I'm no expert in the field) the backtrace (at the
end of this mail) don't show anything nss related, and the backtrace ends in
glibc (not linked program).

I really think that a glibc upgrade should really try not to break previously
compiled applications, whether or not they are proprietary, /usr/local/bin,
statically or whatever.

It would be nice to have some patch on glibc, or at least some workaround for
this problem.

-Thomas



Here is a gdb backtrace of consolechars segfault :

/etc/init.d# gdb consolechars
GNU gdb 5.3-debian
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-linux"...(no debugging symbols found)...
(gdb) ker0009901:/etc/init.d# gdb consolechars
GNU gdb 5.3-debian
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-linux"...(no debugging symbols found)...
(gdb) run "-fiso1-16"
Starting program: /usr/bin/consolechars "-fiso1-16"
(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.
0x40098603 in fclose () from /lib/libc.so.6
(gdb) bt
#0  0x40098603 in fclose () from /lib/libc.so.6
#1  0x4003a04f in _init () from /lib/libctutils.so.0
#2  0x4003a943 in findfile () from /lib/libctutils.so.0
#3  0x4003aeeb in findfont () from /lib/libctutils.so.0
#4  0x0804aa83 in write_as_psf_header ()
#5  0x0804a415 in write_as_psf_header ()
#6  0x40052d04 in __libc_start_main () from /lib/libc.so.6
(gdb)


gdb backtrace for Citrix ICAClient segfault :

/usr/lib/ICAClient% gdb ./wfica                                              
            12:16
GNU gdb 5.3-debian
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-linux"...(no debugging symbols found)...
(gdb) run
Starting program: /usr/lib/ICAClient/wfica
(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.
0x401c43bd in puts () from /lib/libc.so.6
(gdb) bt
#0  0x401c43bd in puts () from /lib/libc.so.6
#1  0x401c895e in fseek () from /lib/libc.so.6
#2  0x0807189c in InitFileCacheEntry ()
#3  0x08071df4 in ReadOneLine ()
#4  0x080d88f1 in LoadINIFileSection ()
#5  0x0810f341 in host_language_string ()
#6  0x0810f7ae in HostInit ()
#7  0x0806e029 in OldMain ()
#8  0x08110f94 in PlatAppMain ()
#9  0x080e9bd2 in AppMain ()
#10 0x08110f3d in main ()
(gdb)





Reply to: