[Bug 264982] Re: Segfault in Samba

Geoff King gking at carrhill.lancs.sch.uk
Tue Sep 16 12:29:33 BST 2008


Further similar segfaults today:

The Samba 'panic action' script, /usr/share/samba/panic-action,
was called for PID 15280 (/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:
https://launchpad.net/ubuntu/+source/samba/+filebug

[Thread debugging using libthread_db enabled]
[New Thread 0x7f1651085700 (LWP 15280)]
0x00007f164e2854a5 in waitpid () from /lib/libc.so.6
#0  0x00007f164e2854a5 in waitpid () from /lib/libc.so.6
#1  0x00007f164e226461 in ?? () from /lib/libc.so.6
#2  0x0000000000613c3b in smb_panic (why=<value optimized out>)
    at lib/util.c:1639
#3  0x0000000000618cb1 in assert_uid (ruid=11208, euid=11208)
    at lib/util_sec.c:102
#4  0x000000000061b86b in message_notify (procid=<value optimized out>)
    at lib/messages.c:196
#5  0x000000000061bb7b in message_send_pid_internal (
    pid=<value optimized out>, msg_type=<value optimized out>, buf=0xb11960,
    len=64, duplicates_allowed=1, timeout=0) at lib/messages.c:365
#6  0x000000000061bf90 in messaging_send (msg=<value optimized out>, server=
        {id = {pid = 15529}}, msg_type=1493783324, data=<value optimized out>)
    at lib/messages.c:845
#7  0x000000000064a0a1 in notify_trigger (notify=0xaccea0, action=5, filter=1,
    path=0xb14a30 "/home/year10/Lisa-MarieSmith/unit 5 dtp  I.T/~WRL0002.tmp")
    at smbd/notify_internal.c:567
#8  0x0000000000648400 in notify_fname (conn=0xb0e120, action=5, filter=1,
    path=<value optimized out>) at smbd/notify.c:357
#9  0x000000000048f3ba in rename_internals (conn=0xb0e120,
    name=<value optimized out>,
    newname=0x7fff59097070 "Lisa-MarieSmith/unit 5 dtp  I.T/~WRL0002.tmp",
    attrs=<value optimized out>, replace_if_exists=0,
    src_has_wild=<value optimized out>, dest_has_wild=0) at smbd/reply.c:4399
#10 0x0000000000496699 in reply_mv (conn=0xb0e120, inbuf=0xacd830 "",
    outbuf=0xaedc80 "", dum_size=<value optimized out>,
    dum_buffsize=<value optimized out>) at smbd/reply.c:4846
#11 0x00000000004c879e in switch_message (type=7, inbuf=0xacd830 "",
    outbuf=0xaedc80 "", size=252, bufsize=131072) at smbd/process.c:1004
#12 0x00000000004c9b92 in smbd_process () at smbd/process.c:1031
#13 0x00000000006c5f5d in main (argc=<value optimized out>,
    argv=0x7fff59097e68) at smbd/server.c:1120
The program is running.  Quit anyway (and detach it)? (y or n) [answered Y; input not from terminal]

The Samba 'panic action' script, /usr/share/samba/panic-action,
was called for PID 15541 (/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:
https://launchpad.net/ubuntu/+source/samba/+filebug

[Thread debugging using libthread_db enabled]
[New Thread 0x7f1651085700 (LWP 15541)]
0x00007f164e2854a5 in waitpid () from /lib/libc.so.6
#0  0x00007f164e2854a5 in waitpid () from /lib/libc.so.6
#1  0x00007f164e226461 in ?? () from /lib/libc.so.6
#2  0x0000000000613c3b in smb_panic (why=<value optimized out>)
    at lib/util.c:1639
#3  0x0000000000618cb1 in assert_uid (ruid=11208, euid=11208)
    at lib/util_sec.c:102
#4  0x000000000061b86b in message_notify (procid=<value optimized out>)
    at lib/messages.c:196
#5  0x000000000061bb7b in message_send_pid_internal (
    pid=<value optimized out>, msg_type=<value optimized out>, buf=0xaadf80,
    len=72, duplicates_allowed=1, timeout=0) at lib/messages.c:365
#6  0x000000000061bf90 in messaging_send (msg=<value optimized out>, server=
        {id = {pid = 15542}}, msg_type=1493783324, data=<value optimized out>)
    at lib/messages.c:845
#7  0x000000000064a0a1 in notify_trigger (notify=0xac2080, action=3,
    filter=68,
    path=0xa76100 "/home/year10/Lisa-MarieSmith/unit 5 dtp  I.T/A01_Research_example.doc") at smbd/notify_internal.c:567
#8  0x0000000000648400 in notify_fname (conn=0xac92a0, action=3, filter=68,
    path=<value optimized out>) at smbd/notify.c:357
#9  0x000000000048f415 in rename_internals (conn=0xac92a0,
    name=<value optimized out>,
    newname=0x7fff59097070 "Lisa-MarieSmith/unit 5 dtp  I.T/A01_Research_example.doc", attrs=<value optimized out>, replace_if_exists=0,
    src_has_wild=<value optimized out>, dest_has_wild=0) at smbd/reply.c:4412
#10 0x0000000000496699 in reply_mv (conn=0xac92a0, inbuf=0xacd830 "",
    outbuf=0xaedc80 "", dum_size=<value optimized out>,
    dum_buffsize=<value optimized out>) at smbd/reply.c:4846
#11 0x00000000004c879e in switch_message (type=7, inbuf=0xacd830 "",
    outbuf=0xaedc80 "", size=252, bufsize=131072) at smbd/process.c:1004
#12 0x00000000004c9b92 in smbd_process () at smbd/process.c:1031
#13 0x00000000006c5f5d in main (argc=<value optimized out>,
    argv=0x7fff59097e68) at smbd/server.c:1120
The program is running.  Quit anyway (and detach it)? (y or n) [answered Y; input not from terminal]

-- 
Segfault in Samba
https://bugs.launchpad.net/bugs/264982
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