samba panic or segfault

Bug #1069190 reported by py on 2012-10-20
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
samba (Ubuntu)
Undecided
py

Bug Description

hello

i get these from time to time via webmin's mails :
it is on my home server ( old machine : asus a7n8x athlon 2000)
ubuntu 12.04
nothing special .
this config was updated from 10.04 but had the same problem before

i am quite new to these things
are these infos sufficient?
have a nice day
Pierre-Yves

[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
0x00132416 in __kernel_vsyscall ()
#0 0x00132416 in __kernel_vsyscall ()
#1 0x07fdf943 in waitpid () from /lib/i386-linux-gnu/libc.so.6
#2 0x07f66ff3 in ?? () from /lib/i386-linux-gnu/libc.so.6
#3 0x00a70d6b in smb_panic (why=0xe8a565 "internal error") at lib/util.c:1123
#4 0x00a5fee2 in fault_report (sig=11) at lib/fault.c:53
#5 sig_fault (sig=11) at lib/fault.c:76
#6 <signal handler called>
#7 0x07fa5ee1 in ?? () from /lib/i386-linux-gnu/libc.so.6
#8 0x00a40dfe in rep_strlcpy (d=0xbfba366c "", s=0x0, bufsize=256) at ../lib/replace/replace.c:70
#9 0x00a7f4af in connections_fetch_entry (mem_ctx=0x2125ff40, conn=0x212578d0, name=0x0) at lib/conn_tdb.c:63
#10 0x006e81e8 in yield_connection (conn=0x212578d0, name=0x0) at smbd/connection.c:37
#11 0x0076b57c in close_cnum (conn=0x212578d0, vuid=100) at smbd/service.c:1350
#12 0x0071a9d8 in reply_tdis (req=0x2125ffe0) at smbd/reply.c:5105
#13 0x00765b89 in switch_message (type=113 'q', req=0x2125ffe0, size=39) at smbd/process.c:1574
#14 0x00765fb6 in construct_reply (deferred_pcd=0x0, encrypted=false, seqnum=0, unread_bytes=0, size=39, inbuf=0x0, sconn=0x21246320) at smbd/process.c:1610
#15 process_smb (sconn=0x21246320, inbuf=<optimized out>, nread=39, unread_bytes=0, seqnum=0, encrypted=false, deferred_pcd=0x0) at smbd/process.c:1688
#16 0x00766405 in smbd_server_connection_read_handler (conn=0x21246320, fd=<optimized out>) at smbd/process.c:2317
#17 0x00a830c6 in run_events_poll (num_pfds=3, pfds=0x212598a8, pollrtn=1, ev=0x212462b0) at lib/events.c:286
#18 run_events_poll (ev=0x212462b0, pollrtn=1, pfds=0x212598a8, num_pfds=3) at lib/events.c:184
#19 0x00767e10 in smbd_server_connection_loop_once (conn=0x21246320) at smbd/process.c:1017
#20 smbd_process (sconn=0x21246320) at smbd/process.c:3158
#21 0x00d363d0 in smbd_accept_connection (ev=0x212462b0, fde=0x21259540, flags=1, private_data=0x21257508) at smbd/server.c:511
#22 0x00a830c6 in run_events_poll (num_pfds=5, pfds=0x21257550, pollrtn=1, ev=0x212462b0) at lib/events.c:286
#23 run_events_poll (ev=0x212462b0, pollrtn=1, pfds=0x21257550, num_pfds=5) at lib/events.c:184
#24 0x00a8327b in s3_event_loop_once (ev=0x212462b0, location=0xf0da57 "smbd/server.c:844") at lib/events.c:349
#25 0x00a84048 in _tevent_loop_once (ev=0x212462b0, location=0xf0da57 "smbd/server.c:844") at ../lib/tevent/tevent.c:494
#26 0x006d57a4 in smbd_parent_loop (parent=<optimized out>) at smbd/server.c:844
#27 main (argc=<error reading variable: Cannot access memory at address 0xfdbfd5ff>, argv=<error reading variable: Cannot access memory at address 0xfdbfd603>) at smbd/server.c:1326
A debugging session is active.

        Inferior 1 [process 23372] will be detached.

Quit anyway? (y or n) [answered Y; input not from terminal]

py (pyfave) wrote :

i forgot the first lines ..

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

Clint Byrum (clint-fewbar) wrote :

Hi py, its very difficult to debug an issue like this without two important things:

1) a core dump from the segfault. If you attach that, please mark the bug private first (so that nobody can read the contents of your RAM).

2) log files for smbd surrounding the event.

Without those, we won't be able to do much here.

Changed in samba (Ubuntu):
status: New → Incomplete
assignee: nobody → py (pyfave)
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers