[Dapper] Segfault in Samba

Bug #122130 reported by Geoff King
4
Affects Status Importance Assigned to Milestone
samba (Ubuntu)
Expired
Medium
Unassigned

Bug Description

Binary package hint: samba

The machine is AMD64 running Ubuntu 6.06 LTS. It's configured as a domain member in our Windows Active Directory Domain. It's configured as a print server. It's using CUPS as it's printer backend. The backtrace from the samba panic action script appears to be printer related. The printer mentioned in the backtrace (lrcpr01) is a Lanier 5518 Photocopier. It natively supports Postscript and this is how Windows clients and CUPS transfer print jobs to it.

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

Below is a backtrace for this process generated with gdb, which shows
the state of the program at the time the error occurred.

If the problem persists, you are encouraged to first install the
samba-dbg package which contains the debugging symbols for samba
binaries. Then, submit the provided information as a bug report to Ubuntu.
For information about the procedure for submitting bug reports, please
see http://www.ubuntulinux.org/support/bugs/document_view

Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 46912528367344 (LWP 24902)]
0x00002aaaac0ac0c4 in waitpid () from /lib/libc.so.6
#0 0x00002aaaac0ac0c4 in waitpid () from /lib/libc.so.6
#1 0x00002aaaac0565ff in strtold_l () from /lib/libc.so.6
#2 0x00000000005c1304 in smb_panic2 (why=0x6a811c "internal error",
    decrement_pid_count=<value optimized out>) at lib/util.c:1545
#3 0x00000000005ae427 in sig_fault (sig=11) at lib/fault.c:42
#4 <signal handler called>
#5 0x00002aaaac085c05 in free () from /lib/libc.so.6
#6 0x00000000005e4886 in free_nt_devicemode (devmode_ptr=0x7fffffa27558)
    at printing/nt_printing.c:2547
#7 0x00000000005dc542 in traverse_fn_delete (t=<value optimized out>, key=
      {dptr = 0x90f8f0 "�\f", dsize = 4}, data=
      {dptr = 0x90f8f4 "i\027", dsize = 1464}, state=0x7fffffa27bd0)
    at printing/printing.c:715
#8 0x00000000005d4e36 in tdb_traverse (tdb=0x90afe0,
    fn=0x5dc4a0 <traverse_fn_delete>, private_val=0x7fffffa27bd0)
    at tdb/tdb.c:1402
#9 0x00000000005dd2eb in print_queue_update_with_lock (
    sharename=0x7fffffa284c0 "lrcpr01", current_printif=0x81e9c0,
    lpq_command=0x7fffffa280c0 "lrcpr01", lprm_command=0x7fffffa27cc0 "")
    at printing/printing.c:1209
#10 0x00000000005dde82 in print_queue_receive (msg_type=<value optimized out>,
    src=<value optimized out>, buf=<value optimized out>,
    msglen=<value optimized out>) at printing/printing.c:1365
#11 0x00000000005cae96 in message_dispatch () at lib/messages.c:454
#12 0x00000000005db594 in start_background_queue () at printing/printing.c:1420
#13 0x0000000000646053 in main (argc=2, argv=0x1) at smbd/server.c:914

Revision history for this message
Henrik Nilsen Omma (henrik) wrote :

Thanks for the report and backtrace.

Changed in samba:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Chuck Short (zulcss) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please try to obtain a backtrace following the instructions at http://wiki.ubuntu.com/DebuggingProgramCrash and upload the backtrace (as an attachment) to the bug report. This will greatly help us in tracking down your problem.

Changed in samba (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
Maarten Bezemer (veger) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. We are sorry that we do not always have the capacity to look at all reported bugs in a timely manner. There have been many changes in Ubuntu since that time you reported the bug and your problem may have been fixed with some of the updates. It would help us a lot if you could test it on a currently supported Ubuntu version. When you test it and it is still an issue, kindly upload the updated logs by running apport-collect 122130 and any other logs that are relevant for this particular issue.

Changed in samba (Ubuntu):
status: Triaged → 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.