public inbox for linux-msdos@vger.kernel.org
 help / color / mirror / Atom feed
* Dos App hangs with msg X: expose event
@ 2004-08-30  5:54 anon permutation
  2004-09-06  6:12 ` Ryan Underwood
  0 siblings, 1 reply; 6+ messages in thread
From: anon permutation @ 2004-08-30  5:54 UTC (permalink / raw)
  To: linux-msdos

Hi,

I have a dos app that hangs under both 1.2.2 and 1.3.1.
The hanging is pretty random, but in one case, it
seems to relate to X: expose event.

Basically, the app sometimes changes resolution in
order to show different differnt objects. We find that
sometimes, the app will hang when this change of
resolution is being executed.

Normally, when the change of resolution is successful,
we find maybe 1 or 2 "X: expose event:" message.
However, when the app hangs, there are many "X: expose
event" messages in a row.

Kernel version is 2.4.24
X is XFree86 4.3.0.1

Dosemu itself seems to be fine even after the dos app
is hanged. It will still respond to keys such as
alt-ctrl-page-down.

Please help. Thanks.

_________________________________________________________________
Is your PC infected? Get a FREE online computer virus scan from McAfee® 
Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


^ permalink raw reply	[flat|nested] 6+ messages in thread
* Re: Dos App hangs with msg X: expose event
@ 2004-09-07  1:06 anon permutation
  2004-09-07  1:39 ` Ryan Underwood
  0 siblings, 1 reply; 6+ messages in thread
From: anon permutation @ 2004-09-07  1:06 UTC (permalink / raw)
  To: nemesis-lists; +Cc: linux-msdos


Hi Ryan,

Thank you for your reply.  The Dos app requires a hardware key and cannot be 
downloaded from the Internet.

I tried attaching GDB to the hang xdosemu process, and I got the following 
Back Trace:

0x401cf06d in syscall() from /lib/libc.so.6
0x080936a3 in run_dpmi() at dpmi.c:2317
0x080948d2 in dpmi_init() at dpmi.c:2727
0x080970eb in dpmi_readmode_hlt (line=0xfc807 <repeats 197 times> ...) at 
dpmi.c:3710
0x0808b76d in vm_86_GP_fault() at do_vm86.c:311
0x0808bc01 in run_vm86() at do_vm86.c:440
0x0808bd5e in loopstep_run_vm86() at do_vm86.c:496
0x0804cfc6 in main(argc=2, argv=0xbffffd14) at emu.c:398

It seems like although dosemu continues to response, a General Protection 
Fault has already happened.

Any ideas?  What other information can I provide you?

Thanks!

>From: Ryan Underwood <nemesis-lists@icequake.net>
>To: anon permutation <anonpermutation@hotmail.com>
>CC: linux-msdos@vger.kernel.org
>Subject: Re: Dos App hangs with msg X: expose event
>Date: Mon, 6 Sep 2004 01:12:25 -0500
>
>On Mon, Aug 30, 2004 at 05:54:44AM +0000, anon permutation wrote:
> > Hi,
> >
> > I have a dos app that hangs under both 1.2.2 and 1.3.1.
> > The hanging is pretty random, but in one case, it
> > seems to relate to X: expose event.
>
>Sorry for the delay reply.  It is nearly impossible to help you unless
>we can reproduce a problem, so you'll need to tell us where this program
>can be downloaded.
>
>--
>Ryan Underwood, <nemesis@icequake.net>
><< signature.asc >>

_________________________________________________________________
Don’t just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/


^ permalink raw reply	[flat|nested] 6+ messages in thread
* Re: Dos App hangs with msg X: expose event
@ 2004-09-07  7:45 anon permutation
  2004-09-08  4:34 ` Ryan Underwood
  0 siblings, 1 reply; 6+ messages in thread
From: anon permutation @ 2004-09-07  7:45 UTC (permalink / raw)
  To: nemesis-lists; +Cc: linux-msdos



Hi Ryan,

I have posted the bug on sourceforge.  Please take a look.  Thank you for 
helping out.

I have encoutered problems while uploading even 256KB chunks, as a result, I 
have only pasted the top and bottom of my log online.  The complete log is 
about 23MB.  Is there a place where I can email you the file?

If the GP fault from run_vm86() is ok, does that mean I can just change the 
codes that handle the fault in vm_86_GP_fault() to do nothing?  Would that 
allow me to work around the problem?


Alvin



>From: Ryan Underwood <nemesis-lists@icequake.net>
>To: linux-msdos@vger.kernel.org
>Subject: Re: Dos App hangs with msg X: expose event
>Date: Mon, 6 Sep 2004 20:39:02 -0500
>
>
>On Tue, Sep 07, 2004 at 01:06:50AM +0000, anon permutation wrote:
> >
> > Thank you for your reply.  The Dos app requires a hardware key and 
>cannot
> > be downloaded from the Internet.
>
>Doh. Well, maybe the developer of the application has an idea why it
>doesn't work.
>
> > I tried attaching GDB to the hang xdosemu process, and I got the 
>following
> > Back Trace:
> >
> > 0x401cf06d in syscall() from /lib/libc.so.6
> > 0x080936a3 in run_dpmi() at dpmi.c:2317
> > 0x080948d2 in dpmi_init() at dpmi.c:2727
> > 0x080970eb in dpmi_readmode_hlt (line=0xfc807 <repeats 197 times> ...) 
>at
> > dpmi.c:3710
> > 0x0808b76d in vm_86_GP_fault() at do_vm86.c:311
> > 0x0808bc01 in run_vm86() at do_vm86.c:440
> > 0x0808bd5e in loopstep_run_vm86() at do_vm86.c:496
> > 0x0804cfc6 in main(argc=2, argv=0xbffffd14) at emu.c:398
> >
> > It seems like although dosemu continues to response, a General 
>Protection
> > Fault has already happened.
>
>GP faults are ok as long as they are coming from the V86 process.  A GP
>fault in the 32-bit dosemu code would be a problem.
>
> > Any ideas?  What other information can I provide you?
>
>You could provide a log by running dosemu -D9+a -o /tmp/log and posting
>the log on dosemu.sf.net bug tracker.  You will have to split it into
>256KB chunks or the file upload is not accepted.
>
>--
>Ryan Underwood, <nemesis@icequake.net>
>-
>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

_________________________________________________________________
Don’t just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/


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

end of thread, other threads:[~2004-09-08  4:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-30  5:54 Dos App hangs with msg X: expose event anon permutation
2004-09-06  6:12 ` Ryan Underwood
  -- strict thread matches above, loose matches on Subject: below --
2004-09-07  1:06 anon permutation
2004-09-07  1:39 ` Ryan Underwood
2004-09-07  7:45 anon permutation
2004-09-08  4:34 ` Ryan Underwood

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