From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stas Sergeev Subject: Re: dosemu 1.2.1.0 hanging during startup Date: Fri, 02 Apr 2004 20:20:02 +0400 Sender: linux-msdos-owner@vger.kernel.org Message-ID: <406D92B2.508@aknet.ru> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: linux-msdos@vger.kernel.org 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.