Samba 'panic action' and segfault

Bug #1818495 reported by Oliver Rettig
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
samba (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Hey guys,

just this weekend I reveived an error mail with "Panic or segfault in Samba" and the content below. The system was updated 2 weeks ago. So there might be an issue with new commands in the config files?

Does anybody have a clue what on earth is going on?

*******************************

Mail:

The Samba 'panic action' script, /usr/share/samba/panic-action, was called for PID 14932 (/usr/sbin/smbd).
This means there was a problem with the program, such as a segfault.

[Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007effa0aa195c in __libc_waitpid (pid=15005, stat_loc=stat_loc@entry=0x7ffce9b2ca90, options=options@entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:31
#0 0x00007effa0aa195c in __libc_waitpid (pid=15005, stat_loc=stat_loc@entry=0x7ffce9b2ca90, options=options@entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:31
#1 0x00007effa0a23232 in do_system (line=line@entry=0x7effa4d16d60 "/usr/share/samba/panic-action 14932") at ../sysdeps/posix/system.c:148
#2 0x00007effa0a2359a in __libc_system (line=line@entry=0x7effa4d16d60 "/usr/share/samba/panic-action 14932") at ../sysdeps/posix/system.c:184
#3 0x00007effa4491225 in system (line=line@entry=0x7effa4d16d60 "/usr/share/samba/panic-action 14932") at pt-system.c:28
#4 0x00007effa34bc301 in smb_panic_s3 (why=<optimized out>) at ../source3/lib/util.c:802
#5 0x00007effa42338df in smb_panic (why=why@entry=0x7effa3f5ce58 "smbXsrv_session_logoff_all failed") at ../lib/util/fault.c:166
#6 0x00007effa3e37475 in exit_server_common (how=SERVER_EXIT_ABNORMAL, how@entry=SERVER_EXIT_NORMAL, reason=0x7effa3f5ce58 "smbXsrv_session_logoff_all failed") at ../source3/smbd/server_exit.c:246
#7 0x00007effa3e3776e in smbd_exit_server_cleanly (explanation=<optimized out>) at ../source3/smbd/server_exit.c:269
#8 0x00007effa1d14ca2 in exit_server_cleanly (reason=reason@entry=0x7effa3f0a661 "termination signal") at ../source3/lib/smbd_shim.c:131
#9 0x00007effa3e01490 in smbd_sig_term_handler (ev=<optimized out>, se=<optimized out>, signum=<optimized out>, count=<optimized out>, siginfo=<optimized out>, private_data=<optimized out>) at ../source3/smbd/process.c:970
#10 0x00007effa0dad967 in tevent_common_check_signal () from /usr/lib/x86_64-linux-gnu/libtevent.so.0
#11 0x00007effa2154814 in run_events_poll (ev=0x7effa4cbc450, pollrtn=-1, pfds=0x7effa4d07180, num_pfds=4) at ../source3/lib/events.c:187
#12 0x00007effa2154bb0 in s3_event_loop_once (ev=0x7effa4cbc450, location=<optimized out>) at ../source3/lib/events.c:326
#13 0x00007effa0da9d5d in _tevent_loop_once () from /usr/lib/x86_64-linux-gnu/libtevent.so.0
#14 0x00007effa0da9efb in tevent_common_loop_wait () from /usr/lib/x86_64-linux-gnu/libtevent.so.0
#15 0x00007effa3e081f9 in smbd_process (ev_ctx=0x7effa4cbc450, msg_ctx=<optimized out>, sock_fd=37, interactive=<optimized out>) at ../source3/smbd/process.c:4032
#16 0x00007effa48cd6b6 in smbd_accept_connection (ev=0x7effa4cbc450, fde=<optimized out>, flags=<optimized out>, private_data=<optimized out>) at ../source3/smbd/server.c:646
#17 0x00007effa215495c in run_events_poll (ev=0x7effa4cbc450, pollrtn=<optimized out>, pfds=0x7effa4d07180, num_pfds=6) at ../source3/lib/events.c:257
#18 0x00007effa2154bb0 in s3_event_loop_once (ev=0x7effa4cbc450, location=<optimized out>) at ../source3/lib/events.c:326
#19 0x00007effa0da9d5d in _tevent_loop_once () from /usr/lib/x86_64-linux-gnu/libtevent.so.0
#20 0x00007effa0da9efb in tevent_common_loop_wait () from /usr/lib/x86_64-linux-gnu/libtevent.so.0
#21 0x00007effa48cb6c4 in smbd_parent_loop (parent=<optimized out>, ev_ctx=0x7effa4cbc450) at ../source3/smbd/server.c:1011
#22 main (argc=<optimized out>, argv=<optimized out>) at ../source3/smbd/server.c:1663 A debugging session is active.

 Inferior 1 [process 14932] will be detached.

***********************************

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Thanks for filing this bug in Ubuntu.

Unfortunately we will need more data about what is going on, and what you have installed.

For starters, there is no samba version in this bug report, nor in which Ubuntu release it happened.

I suggest to run the following tool to attach information to this bug:

apport-collect -p samba 1818495

Preemptively, please also attach:
- /etc/samba/smb.conf
- logs from /var/log/samba/log*

Thanks

Changed in samba (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for samba (Ubuntu) because there has been no activity for 60 days.]

Changed in samba (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.