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

Bug#34452: Libguile4-dev breaks when libc is upgraded



Package: libc6-dev
Version: 1:1.3-12

  Last evening, I upgraded a number of packages, including (I believe)
the libc6 packages.  The libc6 packages are now at 2.1.1-0pre1.  Ever since
then, any programs I compile locally which embed Guile segfault in
setvbuf(), called from gh_enter().  This goes for everything from
a short test program I wrote which does pretty much nothing but initialize
Guile, to Aisleriot (a solitaire game which uses Guile heavily) and an AIM
client which uses Guile.  _However_, programs which were compiled before the
upgrade or installed as binary packages, such as the Guile interpreter
itself, still work, so I doubt that it's a problem with the runtime libraries.

  The backtrace from a simple Guile-using program which basically just calles
gh_enter (I've attached the source):

bluegreen:~/tmp> gcc -o guile-test guile-test.c `guile-config compile` `guile-config link`
guile-test.c: In function `main':
guile-test.c:11: warning: passing arg 3 of `gh_enter' from incompatible pointer type

bluegreen:~/tmp> gdb guile-test
GNU gdb 4.17.19981224.m68k.objc.threads.hwwp.fpu.gnat
Copyright 1998 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 "i686-pc-linux-gnu"...
(no debugging symbols found)...
(gdb) run
Starting program: /home/daniel/tmp/guile-test 
(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.
0x401345b1 in setvbuf ()
(gdb) backtrace
#0  0x401345b1 in setvbuf ()
#1  0x40045f95 in scm_setbuf0 ()
#2  0x400466d4 in scm_stdio_to_port ()
#3  0x40046769 in scm_standard_stream_to_port ()
#4  0x4004d263 in scm_init_hashtab ()
#5  0x4004d59c in scm_boot_guile ()
#6  0x4004d3a9 in scm_boot_guile ()
#7  0x4004ae28 in gh_enter ()
#8  0x8048915 in main ()
#9  0x400f96df in   ()
(gdb) 

  I think this is a libc6-dev problem, but it may be related to libguile4-dev
instead or even another package (I upgraded a few others).

  Anyway, hope this helps so I can compile my Guile programs again! :-)

  Daniel


Reply to: