Bug 1231 - smb_panic observed when printing
Summary: smb_panic observed when printing
Status: RESOLVED DUPLICATE of bug 1147
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Printing (show other bugs)
Version: 3.0.2
Hardware: All Linux
: P3 major
Target Milestone: none
Assignee: Gerald (Jerry) Carter (dead mail address)
QA Contact:
URL: http://relay.bpinet.com/david/samba/
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-31 00:19 UTC by David Landgren
Modified: 2014-02-24 10:54 UTC (History)
1 user (show)

See Also:


Attachments
rfsdrs (deleted)
2014-02-24 09:32 UTC, afei (spammer)
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Landgren 2004-03-31 00:19:36 UTC
I have a difficult-to-track-down bug that refuses to let itself be reproduced
easily, and yet it occurs every couple of days, with around 10 active clients.
From time to time the client smbd process panics, and from that point on it is
no longer possible to print. Stopping and restarting the smbd service clears the
problem.

The stack trace is as follows:

  BACKTRACE: 14 stack frames:
   #0 smbd(smb_panic+0x11c) [0x81c3aac]
   #1 smbd [0x81b21e2]
   #2 /lib/tls/libc.so.6 [0x420277b8]
   #3 smbd(print_queue_status+0x156) [0x81e13b6]
   #4 smbd [0x808cace]
   #5 smbd(api_reply+0x196) [0x80932f6]
   #6 smbd(reply_trans+0x54b) [0x808a6ab]
   #7 smbd [0x80c8466]
   #8 smbd [0x80c8639]
   #9 smbd(process_smb+0x8f) [0x80c884f]
   #10 smbd(smbd_process+0x167) [0x80c9497]
   #11 smbd(main+0x4bf) [0x822fa9f]
   #12 /lib/tls/libc.so.6(__libc_start_main+0xe4) [0x42015704]
   #13 smbd(ldap_msgfree+0x8d) [0x8076f21]

I had similar problems when using CUPS for printing, both natively and BSD
style. We thought CUPS was the problem, so we pulled that out and installed
lprng to provide printing services.

User authentication is performed with OpenLDAP 2.0.27. The Linux distribution is
Red Hat Linux release 9 (Shrike).

I have placed the client log file (debug level=10) and the smb.conf with the
activity several seconds prior to the segfault at the following location:
http://relay.bpinet.com/david/samba/ .
Comment 1 Jérôme Fenal (mail address dead) 2004-03-31 05:47:04 UTC
Seems this bug is related to Bug 1147.
Try updating to 3.0.3pre1 or recompile Samba 3.0.2a plus the patch attached to
Bug 1147.

Regards,

J.
Comment 2 Gerald (Jerry) Carter (dead mail address) 2004-03-31 07:08:34 UTC

*** This bug has been marked as a duplicate of 1147 ***
Comment 3 Gerald (Jerry) Carter (dead mail address) 2005-11-14 09:28:19 UTC
database cleanup
Comment 4 afei (spammer) 2014-02-24 09:32:57 UTC
Created attachment 9712 [details]
rfsdrs
Comment 5 Björn Jacke 2014-02-24 10:54:55 UTC
The content of attachment 9712 [details] has been deleted by
    Björn Jacke <bj@sernet.de>
who provided the following reason:

spam

The token used to delete this attachment was generated at 2014-02-24 10:54:45 UTC.