[Samba] 3.0.2rc1 - PANIC: smb_xmalloc: malloc fail.

Jeremy Allison jra at samba.org
Mon Jan 26 23:00:34 GMT 2004


On Mon, Jan 26, 2004 at 04:51:26PM -0600, Eric Brueggmann wrote:
> [2004/01/26 16:30:48, 0] lib/util.c:smb_xmalloc(2055)
>   smb_xmalloc() failed to allocate 3221213488 bytes
> [2004/01/26 16:30:48, 0] lib/util.c:smb_panic(1400)
>   PANIC: smb_xmalloc: malloc fail.
> 
> [2004/01/26 16:30:48, 0] lib/util.c:smb_panic(1408)
>   BACKTRACE: 16 stack frames:
>    #0 /opt/samba/sbin/smbd(smb_panic+0x181) [0x8189811]
>    #1 /opt/samba/sbin/smbd(smb_xmalloc+0x83) [0x818ad27]
>    #2 /opt/samba/sbin/smbd(smb_xmemdup+0x11) [0x818ad44]
>    #3 /opt/samba/sbin/smbd(data_blob+0x4e) [0x81873d3]
>    #4 /opt/samba/sbin/smbd [0x811fa10]
>    #5 /opt/samba/sbin/smbd(open_rpc_pipe_p+0x2c2) [0x811f4db]
>    #6 /opt/samba/sbin/smbd [0x809270c]
>    #7 /opt/samba/sbin/smbd [0x80927cd]
>    #8 /opt/samba/sbin/smbd(reply_ntcreate_and_X+0x112) [0x8092985]
>    #9 /opt/samba/sbin/smbd [0x80bbfcc]
>    #10 /opt/samba/sbin/smbd [0x80bc056]
>    #11 /opt/samba/sbin/smbd(process_smb+0x1b9) [0x80bc351]
>    #12 /opt/samba/sbin/smbd(smbd_process+0x153) [0x80bcdac]
>    #13 /opt/samba/sbin/smbd(main+0x6ec) [0x81e2e73]
>    #14 /lib/tls/libc.so.6(__libc_start_main+0xf8) [0xb7250748]
>    #15 /opt/samba/sbin/smbd(chroot+0x31) [0x8077131]

Can you compile with debug symbols please so we can see where
in the code the oversized malloc is being requested ?

Thanks,

	Jeremy.


More information about the samba mailing list