DragonFly BSD
DragonFly bugs List (threaded) for 2005-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Minor headaches using pkgsrc daemons (samba)


From: walt <wa1ter@xxxxxxxxxxxxx>
Date: Mon, 11 Jul 2005 10:29:50 -0700

Simon 'corecode' Schubert wrote:
Lately walt <wa1ter@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 smbd/server.c:343
#3 0x00000000 in ?? ()


Could a programming genius use this info to figure out what's
going on?

BTW, compiling samba from the FBSD ports collection produces the
same bug -- so this has nothing to do with pkgsrc.



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]