SIGSEGV on printing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba (Ubuntu) |
Invalid
|
Low
|
Unassigned |
Bug Description
Binary package hint: samba
Using: Ubuntu 8.04.2,
samba: Installed: 3.0.28a-1ubuntu4.7
After upgrading, smbd throws SIGSEGV when trying to print from a windows client to a smb print share.
Result: Nothing is printed. Windows shows error message.
gdb shows the following trace after attaching to the process:
(gdb) c
Continuing.
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb7a596d0 (LWP 27999)]
0x080d09d7 in reply_printopen (conn=0x8530d88, inbuf=0x84ee298 "", outbuf=0x850e6e0 "", dum_size=58, dum_buffsize=
at smbd/reply.c:3623
3623 smbd/reply.c: No such file or directory.
in smbd/reply.c
(gdb) bt
#0 0x080d09d7 in reply_printopen (conn=0x8530d88, inbuf=0x84ee298 "", outbuf=0x850e6e0 "", dum_size=58, dum_buffsize=
at smbd/reply.c:3623
#1 0x0810f93e in switch_message (type=192, inbuf=0x84ee298 "", outbuf=0x850e6e0 "", size=58, bufsize=131072) at smbd/process.c:1004
#2 0x08110d9b in smbd_process () at smbd/process.c:1031
#3 0x0835ec68 in main (argc=Cannot access memory at address 0x25
) at smbd/server.c:1120
Forgot to post the corresponding smbd.log:
Apr 6 13:00:08 elwood smbd[27999]: [2009/04/06 13:00:08, 0] lib/fault. c:fault_ report( 41) ======= ======= ======= ======= ======= ======= ======= ======= c:fault_ report( 42) c:fault_ report( 44) www.samba. org/samba/ docs/Samba3- HOWTO.pdf c:fault_ report( 45) ======= ======= ======= ======= ======= ======= ======= ======= c:smb_panic( 1633) c:log_stack_ trace(1737) smbd(log_ stack_trace+ 0x2d) [0x828abbd] smbd(smb_ panic+0x5d) [0x828aced] smbd(smbd_ process+ 0x89b) [0x8110d9b] smbd(main+ 0xa18) [0x835ec68] i686/cmov/ libc.so. 6(__libc_ start_main+ 0xe0) [0xb7af6450] c:smb_panic( 1638) samba/panic- action 27999] c:smb_panic( 1646) c:dump_ core(181) samba/cores/ smbd
Apr 6 13:00:08 elwood smbd[27999]: =======
Apr 6 13:00:08 elwood smbd[27999]: [2009/04/06 13:00:08, 0] lib/fault.
Apr 6 13:00:08 elwood smbd[27999]: INTERNAL ERROR: Signal 11 in pid 27999 (3.0.28a)
Apr 6 13:00:08 elwood smbd[27999]: Please read the Trouble-Shooting section of the Samba3-HOWTO
Apr 6 13:00:08 elwood smbd[27999]: [2009/04/06 13:00:08, 0] lib/fault.
Apr 6 13:00:08 elwood smbd[27999]:
Apr 6 13:00:08 elwood smbd[27999]: From: http://
Apr 6 13:00:08 elwood smbd[27999]: [2009/04/06 13:00:08, 0] lib/fault.
Apr 6 13:00:08 elwood smbd[27999]: =======
Apr 6 13:00:08 elwood smbd[27999]: [2009/04/06 13:00:08, 0] lib/util.
Apr 6 13:00:08 elwood smbd[27999]: PANIC (pid 27999): internal error
Apr 6 13:00:08 elwood smbd[27999]: [2009/04/06 13:00:08, 0] lib/util.
Apr 6 13:00:08 elwood smbd[27999]: BACKTRACE: 9 stack frames:
Apr 6 13:00:08 elwood smbd[27999]: #0 /usr/sbin/
Apr 6 13:00:08 elwood smbd[27999]: #1 /usr/sbin/
Apr 6 13:00:08 elwood smbd[27999]: #2 /usr/sbin/smbd [0x827556a]
Apr 6 13:00:08 elwood smbd[27999]: #3 [0xb7eed420]
Apr 6 13:00:08 elwood smbd[27999]: #4 /usr/sbin/smbd [0x810f93e]
Apr 6 13:00:08 elwood smbd[27999]: #5 /usr/sbin/
Apr 6 13:00:08 elwood smbd[27999]: #6 /usr/sbin/
Apr 6 13:00:08 elwood smbd[27999]: #7 /lib/tls/
Apr 6 13:00:08 elwood smbd[27999]: #8 /usr/sbin/smbd [0x8094361]
Apr 6 13:00:08 elwood smbd[27999]: [2009/04/06 13:00:08, 0] lib/util.
Apr 6 13:00:08 elwood smbd[27999]: smb_panic(): calling panic action [/usr/share/
Apr 6 13:00:08 elwood smbd[27999]: [2009/04/06 13:00:08, 0] lib/util.
Apr 6 13:00:08 elwood smbd[27999]: smb_panic(): action returned status 0
Apr 6 13:00:08 elwood smbd[27999]: [2009/04/06 13:00:08, 0] lib/fault.
Apr 6 13:00:08 elwood smbd[27999]: dumping core in /var/log/
Apr 6 13:00:08 elwood smbd[27999]: