Bug#519545: Related issue? Upgraded Debian packages and now Samba is broken (coredumping).
Yesterday morning, I did an apt-get update and apt-get upgrade. Then, i
noticed my Samba was not working in Windows XP Pro. SP3. Explorer said:
"\\192.168.0.46 is not accessible..." I tried stopping, restarting,
Samba, but it did not work. I investigated and found Samba coredumping:
# pwd
/var/log/samba/cores/smbd
# ls -all
total 688
drwx------ 2 root root 4096 2009-03-12 07:45 .
drwx------ 4 root root 4096 2007-08-28 06:56 ..
-rw------- 1 root root 1073152 2009-03-12 07:45 core
# pwd
/var/log/samba
# ls -all
total 28
drwxr-x--- 3 root adm 4096 2009-03-12 07:45 .
drwxr-xr-x 17 root root 4096 2009-03-12 07:41 ..
drwx------ 4 root root 4096 2007-08-28 06:56 cores
-rw-r--r-- 1 root root 4568 2009-03-12 07:45 log.__ffff_192.168.0.82
-rw-r--r-- 1 root root 135 2009-03-12 07:45 log.nmbd
-rw-r--r-- 1 root root 408 2009-03-12 07:45 log.smbd
# cat log.*
smbd: ../sysdeps/posix/getaddrinfo.c:1463: rfc3484_sort: Assertion
`src->results[i].native == -1 || src->results[i].native == a2_native'
failed.
[2009/03/12 07:45:33, 0] lib/fault.c:fault_report(40)
===============================================================
[2009/03/12 07:45:33, 0] lib/fault.c:fault_report(41)
INTERNAL ERROR: Signal 6 in pid 12892 (3.2.5)
Please read the Trouble-Shooting section of the Samba3-HOWTO
[2009/03/12 07:45:33, 0] lib/fault.c:fault_report(43)
From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf
[2009/03/12 07:45:33, 0] lib/fault.c:fault_report(44)
===============================================================
[2009/03/12 07:45:33, 0] lib/util.c:smb_panic(1663)
PANIC (pid 12892): internal error
[2009/03/12 07:45:33, 0] lib/util.c:log_stack_trace(1767)
BACKTRACE: 23 stack frames:
#0 /usr/sbin/smbd(log_stack_trace+0x2d) [0x8201c54]
#1 /usr/sbin/smbd(smb_panic+0x80) [0x8201db1]
#2 /usr/sbin/smbd [0x81ecba3]
#3 [0xb7f03400]
#4 /lib/i686/cmov/libc.so.6(abort+0x188) [0xb7abf008]
#5 /lib/i686/cmov/libc.so.6(__assert_fail+0xee) [0xb7ab65ce]
#6 /lib/i686/cmov/libc.so.6 [0xb7b5cdef]
#7 /lib/i686/cmov/libc.so.6 [0xb7abfc87]
#8 /lib/i686/cmov/libc.so.6(qsort_r+0x279) [0xb7ac01b9]
#9 /lib/i686/cmov/libc.so.6(getaddrinfo+0x7c5) [0xb7b5be55]
#10 /usr/sbin/smbd [0x82044b9]
#11 /usr/sbin/smbd(get_mydnsfullname+0x182) [0x82046c1]
#12 /usr/sbin/smbd(get_mydnsdomname+0x17) [0x82027e4]
#13 /usr/sbin/smbd [0x81037fc]
#14 /usr/sbin/smbd(ntlmssp_update+0x297) [0x8101b46]
#15 /usr/sbin/smbd(auth_ntlmssp_update+0x48) [0x8249511]
#16 /usr/sbin/smbd [0x8439fcf]
#17 /usr/sbin/smbd(reply_sesssetup_and_X+0x1c4) [0x843a8cd]
#18 /usr/sbin/smbd [0x80ddfc6]
#19 /usr/sbin/smbd(smbd_process+0x429) [0x80dfb11]
#20 /usr/sbin/smbd(main+0xfa2) [0x80a747f]
#21 /lib/i686/cmov/libc.so.6(__libc_start_main+0xe5) [0xb7aa8775]
#22 /usr/sbin/smbd [0x80a4511]
[2009/03/12 07:45:33, 0] lib/util.c:smb_panic(1668)
smb_panic(): calling panic action [/usr/share/samba/panic-action 12892]
[2009/03/12 07:45:33, 0] lib/util.c:smb_panic(1676)
smb_panic(): action returned status 0
[2009/03/12 07:45:33, 0] lib/fault.c:dump_core(201)
dumping core in /var/log/samba/cores/smbd
smbd: ../sysdeps/posix/getaddrinfo.c:1463: rfc3484_sort: Assertion
`src->results[i].native == -1 || src->results[i].native == a2_native'
failed.
[2009/03/12 07:45:33, 0] lib/fault.c:fault_report(40)
===============================================================
[2009/03/12 07:45:33, 0] lib/fault.c:fault_report(41)
INTERNAL ERROR: Signal 6 in pid 12894 (3.2.5)
Please read the Trouble-Shooting section of the Samba3-HOWTO
[2009/03/12 07:45:33, 0] lib/fault.c:fault_report(43)
From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf
[2009/03/12 07:45:33, 0] lib/fault.c:fault_report(44)
===============================================================
[2009/03/12 07:45:33, 0] lib/util.c:smb_panic(1663)
PANIC (pid 12894): internal error
[2009/03/12 07:45:33, 0] lib/util.c:log_stack_trace(1767)
BACKTRACE: 23 stack frames:
#0 /usr/sbin/smbd(log_stack_trace+0x2d) [0x8201c54]
#1 /usr/sbin/smbd(smb_panic+0x80) [0x8201db1]
#2 /usr/sbin/smbd [0x81ecba3]
#3 [0xb7f03400]
#4 /lib/i686/cmov/libc.so.6(abort+0x188) [0xb7abf008]
#5 /lib/i686/cmov/libc.so.6(__assert_fail+0xee) [0xb7ab65ce]
#6 /lib/i686/cmov/libc.so.6 [0xb7b5cdef]
#7 /lib/i686/cmov/libc.so.6 [0xb7abfc87]
#8 /lib/i686/cmov/libc.so.6(qsort_r+0x279) [0xb7ac01b9]
#9 /lib/i686/cmov/libc.so.6(getaddrinfo+0x7c5) [0xb7b5be55]
#10 /usr/sbin/smbd [0x82044b9]
#11 /usr/sbin/smbd(get_mydnsfullname+0x182) [0x82046c1]
#12 /usr/sbin/smbd(get_mydnsdomname+0x17) [0x82027e4]
#13 /usr/sbin/smbd [0x81037fc]
#14 /usr/sbin/smbd(ntlmssp_update+0x297) [0x8101b46]
#15 /usr/sbin/smbd(auth_ntlmssp_update+0x48) [0x8249511]
#16 /usr/sbin/smbd [0x8439fcf]
#17 /usr/sbin/smbd(reply_sesssetup_and_X+0x1c4) [0x843a8cd]
#18 /usr/sbin/smbd [0x80ddfc6]
#19 /usr/sbin/smbd(smbd_process+0x429) [0x80dfb11]
#20 /usr/sbin/smbd(main+0xfa2) [0x80a747f]
#21 /lib/i686/cmov/libc.so.6(__libc_start_main+0xe5) [0xb7aa8775]
#22 /usr/sbin/smbd [0x80a4511]
[2009/03/12 07:45:33, 0] lib/util.c:smb_panic(1668)
smb_panic(): calling panic action [/usr/share/samba/panic-action 12894]
[2009/03/12 07:45:33, 0] lib/util.c:smb_panic(1676)
smb_panic(): action returned status 0
[2009/03/12 07:45:33, 0] lib/fault.c:dump_core(201)
dumping core in /var/log/samba/cores/smbd
[2009/03/12 07:45:05, 0] nmbd/nmbd.c:main(849)
nmbd version 3.2.5 started.
Copyright Andrew Tridgell and the Samba Team 1992-2008
[2009/03/12 07:45:05, 0] smbd/server.c:main(1213)
smbd version 3.2.5 started.
Copyright Andrew Tridgell and the Samba Team 1992-2008
[2009/03/12 07:45:05, 0] printing/print_cups.c:cups_connect(68)
Unable to connect to CUPS server localhost:631 - Connection refused
[2009/03/12 07:45:05, 0] printing/print_cups.c:cups_connect(68)
Unable to connect to CUPS server localhost:631 - Connection refused
Note: I don't use CUPS.
Here are my recent installs and upgrades with apt-get commands:
$ pwd
/var/cache/apt/archives
ls -all
total 69364
drwxr-xr-x 3 root root 36864 2009-03-12 06:19 .
drwxr-xr-x 3 root root 4096 2009-03-12 06:19 ..
-rw-r--r-- 1 root root 1833196 2009-03-01 16:17 amule_2.2.3-2_i386.deb
-rw-r--r-- 1 root root 2371514 2009-03-01 07:02
amule-common_2.2.3-2_all.deb
-rw-r--r-- 1 root root 451446 2009-03-01 16:17
amule-utils_2.2.3-2_i386.deb
-rw-r--r-- 1 root root 87784 2009-02-17 10:17
avahi-daemon_0.6.24-2_i386.deb
-rw-r--r-- 1 root root 595610 2009-03-01 07:47 bash_3.2-5_i386.deb
-rw-r--r-- 1 root root 4560348 2009-02-27 01:02 desktop-base_5.0.5_all.deb
-rw-r--r-- 1 root root 84944 2009-02-28 01:17 dosfstools_3.0.2-1_i386.deb
-rw-r--r-- 1 root root 543030 2009-03-01 10:47 findutils_4.4.0-3_i386.deb
-rw-r--r-- 1 root root 5998684 2009-03-05 13:02
git-core_1%3a1.6.2-1_i386.deb
-rw-r--r-- 1 root root 1999356 2009-02-16 11:47 gnupg_1.4.9-4_i386.deb
-rw-r--r-- 1 root root 166938 2009-02-16 11:47 gpgv_1.4.9-4_i386.deb
-rw-r--r-- 1 root root 102182 2009-02-27 14:47 gzip_1.3.12-8_i386.deb
-rw-r--r-- 1 root root 58432 2009-02-28 02:32 libaa1_1.4p5-38_i386.deb
-rw-r--r-- 1 root root 25834 2009-02-27 16:47 libao2_0.8.8-5_i386.deb
-rw-r--r-- 1 root root 51754 2009-02-17 10:17
libavahi-client3_0.6.24-2_i386.deb
-rw-r--r-- 1 root root 47744 2009-02-17 10:17
libavahi-common3_0.6.24-2_i386.deb
-rw-r--r-- 1 root root 32530 2009-02-17 10:17
libavahi-common-data_0.6.24-2_i386.deb
-rw-r--r-- 1 root root 40336 2009-02-17 10:17
libavahi-compat-libdnssd1_0.6.24-2_i386.deb
-rw-r--r-- 1 root root 115486 2009-02-17 10:17
libavahi-core6_0.6.24-2_i386.deb
-rw-r--r-- 1 root root 32230 2009-02-17 10:17
libavahi-glib1_0.6.24-2_i386.deb
-rw-r--r-- 1 root root 41918 2009-02-17 10:17
libavahi-gobject0_0.6.24-2_i386.deb
-rw-r--r-- 1 root root 33576 2009-02-17 10:17
libavahi-qt3-1_0.6.24-2_i386.deb
-rw-r--r-- 1 root root 45504 2009-02-17 10:17
libavahi-ui0_0.6.24-2_i386.deb
-rw-r--r-- 1 root root 4548444 2009-03-01 08:17 libc6_2.9-4_i386.deb
-rw-r--r-- 1 root root 3438370 2009-03-01 08:17 libc6-dev_2.9-4_i386.deb
-rw-r--r-- 1 root root 1231494 2009-03-01 08:17 libc6-i686_2.9-4_i386.deb
-rw-r--r-- 1 root root 31286 2009-03-02 08:17
libdes425-3_1.6.dfsg.4~beta1-9_i386.deb
-rw-r--r-- 1 root root 118424 2009-03-01 08:17
libgnome2-0_2.24.1-2_i386.deb
-rw-r--r-- 1 root root 1112990 2009-02-27 09:17
libgnome2-common_2.24.1-2_all.deb
-rw-r--r-- 1 root root 555206 2009-02-27 08:17
libgnomevfs2-0_1%3a2.24.0-2_i386.deb
-rw-r--r-- 1 root root 319188 2009-02-27 08:17
libgnomevfs2-bin_1%3a2.24.0-2_i386.deb
-rw-r--r-- 1 root root 1215508 2009-02-26 02:32
libgnomevfs2-common_1%3a2.24.0-2_all.deb
-rw-r--r-- 1 root root 382984 2009-02-27 08:17
libgnomevfs2-extra_1%3a2.24.0-2_i386.deb
-rw-r--r-- 1 root root 97722 2009-03-02 08:17
libgssapi-krb5-2_1.6.dfsg.4~beta1-9_i386.deb
-rw-r--r-- 1 root root 89114 2009-03-01 08:17 libidl0_0.8.12-0.1_i386.deb
-rw-r--r-- 1 root root 92516 2009-03-02 08:17
libk5crypto3_1.6.dfsg.4~beta1-9_i386.deb
-rw-r--r-- 1 root root 288382 2009-03-02 08:17
libkrb5-3_1.6.dfsg.4~beta1-9_i386.deb
-rw-r--r-- 1 root root 67398 2009-03-02 08:17
libkrb53_1.6.dfsg.4~beta1-9_i386.deb
-rw-r--r-- 1 root root 37214 2009-03-02 08:17
libkrb5support0_1.6.dfsg.4~beta1-9_i386.deb
-rw-r--r-- 1 root root 338486 2009-03-01 14:32
libncurses5_5.7+20090228-1_i386.deb
-rw-r--r-- 1 root root 361432 2009-03-01 14:32
libncursesw5_5.7+20090228-1_i386.deb
-rw-r--r-- 1 root root 14294 2009-02-27 17:32 libogg0_1.1.3-5_i386.deb
-rw-r--r-- 1 root root 132728 2009-03-01 07:47 libreadline5_5.2-4_i386.deb
-rw-r--r-- 1 root root 285214 2009-02-28 08:45 libtheora0_1.0-2_i386.deb
-rw-r--r-- 1 root root 101670 2009-02-27 16:17
libvorbis0a_1.2.0.dfsg-4_i386.deb
-rw-r--r-- 1 root root 77102 2009-02-27 16:17
libvorbisenc2_1.2.0.dfsg-4_i386.deb
-rw-r--r-- 1 root root 20974 2009-02-27 16:17
libvorbisfile3_1.2.0.dfsg-4_i386.deb
-rw-r--r-- 1 root root 380990 2009-02-28 08:45 libwww-perl_5.825-1_all.deb
-rw-r--r-- 1 root root 799312 2009-02-25 13:19
libxapian15_1.0.10-2_i386.deb
-rw-r--r-- 1 root root 825028 2009-03-01 11:02
libxml2_2.7.3.dfsg-1_i386.deb
-rw-r--r-- 1 root root 704130 2009-03-01 11:02
libxml2-dev_2.7.3.dfsg-1_i386.deb
-rw-r--r-- 1 root root 33860 2009-03-01 11:02
libxml2-utils_2.7.3.dfsg-1_i386.deb
-rw-r--r-- 1 root root 4660562 2009-02-27 11:32 locales_2.9-4_all.deb
-rw-r----- 1 root root 0 2008-06-10 07:26 lock
-rw-r--r-- 1 root root 179094 2009-03-01 14:32
ncurses-base_5.7+20090228-1_all.deb
-rw-r--r-- 1 root root 304516 2009-03-01 14:32
ncurses-bin_5.7+20090228-1_i386.deb
drwxr-xr-x 2 root root 4096 2009-03-12 06:19 partial
-rw-r--r-- 1 root root 2128162 2009-03-01 11:02 pdfedit_0.4.2-4_i386.deb
-rw-r--r-- 1 root root 263980 2009-03-01 11:02
python-libxml2_2.7.3.dfsg-1_i386.deb
-rw-r--r-- 1 root root 165856 2009-02-27 14:47
python-urwid_0.9.8.3-2_i386.deb
-rw-r--r-- 1 root root 50866 2009-03-01 07:47
readline-common_5.2-4_all.deb
-rw-r--r-- 1 root root 325410 2009-03-01 16:17 tcpdump_4.0.0-2_i386.deb
-rw-r--r-- 1 root root 684828 2009-03-01 19:18 tin_1%3a1.9.4-1_i386.deb
-rw-r--r-- 1 root root 120840 2009-02-19 03:02 vsftpd_2.0.7-3_i386.deb
-rw-r--r-- 1 root root 55262 2009-03-01 11:17 whois_4.7.31_i386.deb
-rw-r--r-- 1 root root 4110094 2009-02-19 20:32
xserver-xorg-core_2%3a1.4.2-11_i386.deb
I recall during the upgrades, I got a prompt to restart services like
Samba, vsftpd, etc. I allowed it and I believe this part broke it. I
think it was because it needed to upgrade libc binaries.
Thank you in advance. :)
Reply to: