Bug 1323 - Frequent PANIC's on signal 6: assert failed
Summary: Frequent PANIC's on signal 6: assert failed
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: File Services (show other bugs)
Version: 3.0.3
Hardware: All HP-UX
: P3 critical
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact:
Depends on:
Reported: 2004-05-05 12:14 UTC by Ryan Novosielski (mail bounces back)
Modified: 2005-08-24 10:27 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Novosielski (mail bounces back) 2004-05-05 12:14:08 UTC
[2004/05/05 14:40:02, 0] lib/util.c:process_exists(1277)
  PANIC: assert failed at lib/util.c(1277)
[2004/05/05 14:40:02, 0] lib/util.c:smb_panic(1400)
  PANIC: assert failed
[2004/05/05 14:40:02, 0] lib/fault.c:fault_report(36)
[2004/05/05 14:40:02, 0] lib/fault.c:fault_report(37)
  INTERNAL ERROR: Signal 6 in pid 15552 (3.0.2a)
  Please read the appendix Bugs of the Samba HOWTO collection
[2004/05/05 14:40:02, 0] lib/fault.c:fault_report(39)
[2004/05/05 14:40:02, 0] lib/util.c:smb_panic(1400)
  PANIC: internal error

...from the looks of this, 1277 is where we attempt to kill a process, but first
verify that its PID is larger than 0. Apparently it is not.

I have the debugging at level 10, but there is no indication of anything before
or after that.

Would any more information be helpful?

This was compiled with HP-UX's native AnsiC, latest release that I know of... it
is an 11.11 system, and the Samba version is 3.0.2a as listed above. The
hardware is an N-class HP9000 six way.
Comment 1 Ryan Novosielski (mail bounces back) 2004-05-09 12:06:19 UTC
My feeling is that this is probably related:

May  9 15:05:16 njmsa smbd[2836]: [2004/05/09 15:05:16, 0]
May  9 15:05:16 njmsa smbd[2836]:   open_sockets_smbd: accept: No buffer space
Comment 2 Gerald (Jerry) Carter (dead mail address) 2004-11-11 13:56:27 UTC
I remember fixing a bug related to this in the printing code a while 
ago.  Please reopen if the bug is still reproducible against 3.0.8.
Comment 3 Gerald (Jerry) Carter (dead mail address) 2005-08-24 10:27:47 UTC
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.