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: YONETANI Tomokazu <qhwt+dfly@xxxxxxxxxx>
Date: Tue, 12 Jul 2005 10:05:50 +0900

On Sun, Jul 10, 2005 at 05:40:32PM -0700, walt wrote:
> walt wrote:
> 
> >I just got the pkgsrc 'samba' installed and ran into a
> >few minor snags...
> 
> <sigh> And now for the *real* bug report:
> 
> 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?
> 
> Hints are welcome!

If you leave out the -O flag (which is set to -O2 via CFLAGS which is
by default ${DBG}) and it stops crashing.  And this doesn't seem to be
a strict-aliasing bug as it still crashes with -fno-strict-aliasing
flag.

# env DBG='' bmake install				# didn't crash
# env DBG='-g' bmake install				# didn't crash
# env DBG='-O' bmake install				# crashed
# env DBG='-O -fno-strict-aliasing' bmake install	# crashed



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