public inbox for linux-msdos@vger.kernel.org
 help / color / mirror / Atom feed
* Re: dosemu 1.2.1.0 hanging during startup
@ 2004-04-02 16:20 Stas Sergeev
  2004-04-03 23:11 ` James B. Hiller
  0 siblings, 1 reply; 3+ messages in thread
From: Stas Sergeev @ 2004-04-02 16:20 UTC (permalink / raw)
  To: linux-msdos


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.

^ permalink raw reply	[flat|nested] 3+ messages in thread
* dosemu 1.2.1.0 hanging during startup
@ 2004-04-02  3:23 James B. Hiller
  0 siblings, 0 replies; 3+ messages in thread
From: James B. Hiller @ 2004-04-02  3:23 UTC (permalink / raw)
  To: linux-msdos

Referencing my post of a few days ago, shown below, I have run dosdebug
with it.  The primary result that I get is that:

a.  When I don't run it with dosdebug, dosemu usually hangs before it
finishes its startup (maybe 1 out of 10 or 15 times it will start and
run correctly).

b.  When I do run it with dosdebug, and simply issue a 'g' and let it
go, dosemu runs fine all the time.

So the presence of the debugger is affecting the hang.  This is making
me think "pointer error" somewhere, but I couldn't even begin to guess
how to proceed.  Any suggestions?

thx,
jbh



> The problem I'm now having is that xdosemu seems to rarely start
> successfully.  I invoke it, and I get:
> 
> Linux DOS emulator 1.2.1.0 $Date: 2004/03/06$
> Last configured at Sun Mar 14 11:49:18 EST 2004 on linux
> This is work in progress.
> Please test against a recent version before reporting bugs and problems.
> Submit Bug Reports, Patches & New Code to linux-msdos@vger.kernel.org or via
> the SourceForge tracking system at http://www.sourceforge.net/projects/dosemu
>  
> DPMI-Server Version 0.9 installed
>  
> Starting Windows 95...
>  
> And then it hangs (this isn't really trying to start Win95 - this is just the
> DOS that I have had around).  Prior to version 1.2.X, it would always start
> fine - after this line, I would get a quick blast of the Win95 splash, and
> then a DOS prompt.
> 
> Once in a very great while, I get it now, but rarely.  Usually it hangs, and
> the CPU is consumed until I kill it.
> 
> If I try to start just regular dosemu (from an xterm still), I get:
> 
>    Note that DOS needs 25 lines. You might want to enlarge your
>    window before continuing.
> 
> 
>    Now type ENTER to start DOSEMU or <Ctrl>C to cancel
> Linux DOS emulator 1.2.1.0 $Date: 2004/03/06$
> Last configured at Sun Mar 14 11:49:18 EST 2004 on linux
> This is work in progress.
> Please test against a recent version before reporting bugs and problems.
> Submit Bug Reports, Patches & New Code to linux-msdos@vger.kernel.org or via
> the SourceForge tracking system at http://www.sourceforge.net/projects/dosemu
> 
> DPMI-Server Version 0.9 installed
> 
> Starting Windows 95...
> 
> [dosemu EMS 4.0 driver installed]
> "Welcome to dosemu 1.2.1!"
> C:\>
> 
> and all is good.
> 
> I don't think I'm doing anything wrong on my side, since I'm using the DOS
> I've been using ever since I put Win95 on my machine, and it has always
> worked fine; and I got rid of the lredirs that had been evidently causing
> problems previously, as well as the attempt to boot directly from the DOS
> partition.  And since regular dosemu seems to work fine, the matter seems
> to be something that only affects xdosemu's startup.
> 
> Thanks!
> 
> jbh
> -
> To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-04-03 23:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-02 16:20 dosemu 1.2.1.0 hanging during startup Stas Sergeev
2004-04-03 23:11 ` James B. Hiller
  -- strict thread matches above, loose matches on Subject: below --
2004-04-02  3:23 James B. Hiller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox