This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Latest Glibc has iconv/gconv problems crashing Samba
- From: root at server dot boros dot com
- To: libc-alpha at sourceware dot org
- Date: Mon, 13 Feb 2006 14:08:33 -0600 (CST)
- Subject: Latest Glibc has iconv/gconv problems crashing Samba
I have been tackling this issues for about 2 months now and tracked down
the problem to Glibc's cvs date sometime between Dec 1-18th. When trying
to run Samba, It crashes with an INTERNAL ERROR: Signal 6. After reading
the log, it shows the following...
smbd: gconv_db.c:232: __gconv_release_step: Assertion `step->__end_fct ==
((void *)0)' failed.
NTERNAL ERROR: Signal 6 in pid 20914 (3.0.21b)
PANIC: internal error
BACKTRACE: 19 stack frames:
#0 smbd(smb_panic2+0x17f) [0x801af43b]
#1 smbd(smb_panic+0x1d) [0x801af2b4]
#2 smbd [0x8019c00c]
#3 smbd [0x8019c063]
#4 [0xffffe420]
#5 /lib/libc.so.6(abort+0xee) [0xb7e0263e]
#6 /lib/libc.so.6(__assert_fail+0xc7) [0xb7dfa897]
#7 /lib/libc.so.6 [0xb7defd63]
#8 /lib/libc.so.6 [0xb7df0a28]
#9 /lib/libc.so.6 [0xb7defc15]
#10 /lib/libc.so.6(iconv_close+0x1d) [0xb7def24d]
#11 smbd(smb_iconv_close+0x28) [0x801bc4f6]
#12 smbd [0x80199077]
#13 smbd(init_iconv+0xae) [0x801991a0]
#14 smbd(lp_load+0x247) [0x8004419e]
#15 smbd(reload_services+0xda) [0x80229297]
#16 smbd(main+0x2d0) [0x80229a0c]
#17 /lib/libc.so.6(__libc_start_main+0xcf) [0xb7dee7cf]
#18 smbd [0x8003b971]
The file gconv_db.c is not included in samba but in the glibc cvs
(iconv/gconv_db.c) and it seems that something on line 232 is crashing it.
This problem still continues to happen even with todays cvs. I noticed
that changelog between Dec 1-18th about some iconv/gconv changes which
might be the culperit. I even tried recompiling the latest and previous
version of samba with still the same error. Any ideas?