[Bug 303059] [NEW] Samba segfaults four-five times a day on Ubuntu Server (both hardy and intrepid)

Matteo Settenvini matteo-ml at member.fsf.org
Fri Nov 28 08:00:44 GMT 2008

Public bug reported:

Binary package hint: samba

I receive a lot of these emails daily:

Message 3:
>From root at Heimdall  Fri Nov 28 08:46:44 2008
X-Original-To: root
To: root at Heimdall
Subject: Panic or segfault in Samba
Date: Thu, 27 Nov 2008 14:51:35 +0100 (CET)
From: root at Heimdall (root)

The Samba 'panic action' script, /usr/share/samba/panic-action,
was called for PID 8346 (/usr/sbin/smbd).

This means there was a problem with the program, such as a segfault.
Below is a backtrace for this process generated with gdb, which shows
the state of the program at the time the error occurred.  The Samba log
files may contain additional information about the problem.

If the problem persists, you are encouraged to first install the
samba-dbg package, which contains the debugging symbols for the Samba
binaries.  Then submit the provided information as a bug report to
Ubuntu by visiting this link:

[Thread debugging using libthread_db enabled]
[New Thread 0xb76266d0 (LWP 8346)]
0xb7b4e424 in __kernel_vsyscall ()
#0  0xb7b4e424 in __kernel_vsyscall ()
#1  0xb776a5e3 in waitpid () from /lib/tls/i686/cmov/libc.so.6
#2  0xb770775b in ?? () from /lib/tls/i686/cmov/libc.so.6
#3  0xb78fa50d in system () from /lib/tls/i686/cmov/libpthread.so.0
#4  0xb7d1d5f1 in smb_panic () from /usr/sbin/smbd
#5  0xb7d08013 in sig_fault () from /usr/sbin/smbd
#6  <signal handler called>
#7  0xb7cf9720 in rep_strlcpy () from /usr/sbin/smbd
#8  0xb7d2c592 in connections_fetch_entry () from /usr/sbin/smbd
#9  0xb7bce230 in yield_connection () from /usr/sbin/smbd
#10 0xb7bf6ded in close_cnum () from /usr/sbin/smbd
#11 0xb7bd4584 in conn_close_all () from /usr/sbin/smbd
#12 0xb7bbb4fd in exit_server_common () from /usr/sbin/smbd
#13 0xb7bbb6f1 in exit_server_cleanly () from /usr/sbin/smbd
#14 0xb7bf3aad in async_processing () from /usr/sbin/smbd
#15 0xb7bf590b in receive_message_or_smb () from /usr/sbin/smbd
#16 0xb7bf617f in smbd_process () from /usr/sbin/smbd
#17 0xb7bbdadf in main () from /usr/sbin/smbd
The program is running.  Quit anyway (and detach it)? (y or n) [answered Y; input not from terminal]

This was happening on Ubuntu Hardy server and continues happening in
Intrepid after an upgrade.

samba and winbind are at version 2:3.2.3-1ubuntu3.1.

Any sensible way to have a full bt?

** Affects: samba (Ubuntu)
     Importance: Undecided
         Status: New

Samba segfaults four-five times a day on Ubuntu Server (both hardy and intrepid)
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

More information about the Ubuntu-server-bugs mailing list