Minor headaches using pkgsrc daemons (samba)
wa1ter at myrealbox.com
Mon Jul 11 10:29:50 PDT 2005
Simon 'corecode' Schubert wrote:
Lately walt <wa1ter at xxxxxxxxxxxxx> said:
smbd: stack overflow in function open_sockets_smbd
kernel: pid 907 (smbd), uid 0: exited on signal 6
That is what I get when any client (like smbtree) tries to
connect to my DFly machine running smbd.
Has anyone here been able to get pkgsrc/samba running on DFly?
uhm yea, but i forgot how... :) package should be chlamydia/mirrors
Yes, your package works, thanks.
I'm trying to become a debugger, so I'm fiddling with gdb to see
what trouble I can cause ;o)
After I cause one of those stack overflow errors I can attach gdb
to the running smbd and a bt produces this:
#0 0x282e6cb4 in select () from /usr/lib/libc.so.5
#1 0x081a17b2 in sys_select ()
#2 0x081ec1f7 in open_sockets_smbd (is_daemon=0, interactive=0,
smb_ports=0x14 <Error reading address 0x14: Bad address>) at
#3 0x00000000 in ?? ()
Could a programming genius use this info to figure out what's
BTW, compiling samba from the FBSD ports collection produces the
same bug -- so this has nothing to do with pkgsrc.
More information about the Bugs