Mark Cullen wrote:
[EMAIL PROTECTED] wrote:

On Thu, Jun 08, 2006 at 04:33:44PM +0100, Mark Cullen wrote:

[EMAIL PROTECTED] wrote:

I have a PDC running 1.4.4... If you can get me a coredump from Samba
build with debug symbols, I can try to trace it down. But without that,
it is quite hard.

Joerg


How might I go about building it with debug symbols?



Try adding
CFLAGS= -O2 -g
CXXFLAGS= -O2 -g
to /etc/mk.conf. The smbd binary in the work directory should be much
larger afterwards.

Joerg


Ok that seems to have worked. The built smbd binary is now 6MB as opposed to the installed 2MB, however, it's not producing a core dump as far as I can tell.

Ah ha, I had to set `kern.sugid_coredump` and it got put in /tmp. Is there any particular place you would like it uploaded, or any gdb(?) commands run etc etc?

Thanks for helping out, again! :)

Reply via email to