Re: dosemu 1.2.1.0 hanging during startup

Stas Sergeev
2004-04-02T16:20:02Z

Hello.

James B. Hiller wrote:
> So the presence of the debugger is affecting the hang.
You can start dosdebug *after* dosemu
is locked up, not before (not with -H1).

> This is making
> me think "pointer error" somewhere, but I couldn't even begin to guess
> how to proceed. Any suggestions?
You can use the memory debugger njamd.
It can work with dosemu, but only if
you change every instance of sigaction()
call to dosemu_sigaction() call in emu.h
and recompile the dosemu.
Then you can set LD_PRELOAD to libnjamd.so,
run dosemu, and if it segfaults, then
there is probably a memory corruption
and you'll need to create a stack trace
with gdb at that point.
If this is the case, please open a bug
report on BTS for it.