Bug 8013 - Repeatable internal error in rpccli_winreg_SetValue
Repeatable internal error in rpccli_winreg_SetValue
Product: Samba 3.6
Classification: Unclassified
Component: Printing
All All
: P5 normal
: ---
Assigned To: Guenther Deschner
Samba QA Contact
Depends on:
  Show dependency treegraph
Reported: 2011-03-16 02:14 UTC by Jason Tibbitts
Modified: 2011-04-20 13:35 UTC (History)
0 users

See Also:

level 10 debug log showing the crash (253.50 KB, application/octet-stream)
2011-03-16 02:14 UTC, Jason Tibbitts
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Tibbitts 2011-03-16 02:14:08 UTC
Created attachment 6294 [details]
level 10 debug log showing the crash

While preparing to deploy a new server I decided to give 3.6.0pre1 a try.  I simply rebuilt the current Fedora rawhide package for RHEL5 (so it's slightly patched, but the four patches are small and do not appear to be related).

Note that I will probably not be able to do much back and forth on this because I have to fall back to the latest stable version to finish this deployment, but I wanted to go ahead and report it in case it helps someone.

I'm hitting a repeatable INTERNAL ERROR: Signal 11 when attempting to print (from a real windows machine or from smbclient running on a Linux box) to a basic cups-discovered printer.  Tacktraces all seem to end near rpccli_winreg_SetValue

[2011/03/15 20:28:22.696060,  0] lib/util.c:1410(smb_panic)
  PANIC (pid 31951): internal error
[2011/03/15 20:28:22.703951,  0] lib/util.c:1514(log_stack_trace)
  BACKTRACE: 31 stack frames:
   #0 smbd(log_stack_trace+0x1c) [0x2b1fc412201c]
   #1 smbd(smb_panic+0x2b) [0x2b1fc41220eb]
   #2 smbd [0x2b1fc41120ee]
   #3 /lib64/libc.so.6 [0x2b1fc733e2d0]
   #4 smbd(rpccli_winreg_SetValue+0x5a) [0x2b1fc41becda]
   #5 smbd [0x2b1fc407064e]
   #6 smbd(winreg_get_printer_secdesc+0x373) [0x2b1fc4071273]
   #7 smbd(print_access_check+0xf4) [0x2b1fc4151d04]
   #8 smbd(_spoolss_OpenPrinterEx+0x5f3) [0x2b1fc406da43]
   #9 smbd(_spoolss_OpenPrinter+0x4f) [0x2b1fc406dbff]
   #10 smbd [0x2b1fc4081bbe]
   #11 smbd [0x2b1fc40b1e52]
   #12 smbd(rpccli_spoolss_OpenPrinter+0x50) [0x2b1fc42024e0]
   #13 smbd(print_spool_open+0x1c4) [0x2b1fc3f25ac4]
   #14 smbd [0x2b1fc3f047fc]
   #15 smbd(create_file_default+0x131) [0x2b1fc3f072a1]
   #16 smbd [0x2b1fc3f4162b]
   #17 smbd(smb_vfs_call_create_file+0x98) [0x2b1fc3f0c978]
   #18 smbd(reply_open_and_X+0x323) [0x2b1fc3ede9e3]
   #19 smbd [0x2b1fc3f1dbaf]
   #20 smbd [0x2b1fc3f21a27]
   #21 smbd [0x2b1fc3f21dd2]
   #22 smbd(run_events+0x18f) [0x2b1fc4131b0f]
   #23 smbd(smbd_process+0x96e) [0x2b1fc3f201de]
   #24 smbd [0x2b1fc43feb21]
   #25 smbd(run_events+0x18f) [0x2b1fc4131b0f]
   #26 smbd [0x2b1fc4131da1]
   #27 smbd(_tevent_loop_once+0x90) [0x2b1fc41320f0]
   #28 smbd(main+0x1153) [0x2b1fc43ffe53]
   #29 /lib64/libc.so.6(__libc_start_main+0xf4) [0x2b1fc732b994]
   #30 smbd [0x2b1fc3ea3c49]

I will attach a level 10 log.  Unfortunately the core dump promised by the log didn't actually appear; I suspect I would have to somehow enable coredumps but I'm not completely sure how to do that.
Comment 1 Jason Tibbitts 2011-03-17 00:41:00 UTC
Just to follow up, I downgraded to 3.5.8 (essentially the current Fedora 14 package built for RHEL5) and everything works fine.
Comment 2 Guenther Deschner 2011-04-20 13:35:12 UTC
Yes, and the issue has been solved for 3.6.0pre2 as well (so it will be fixed in 3.6 final). Thanks for the report!