public inbox for linux-msdos@vger.kernel.org
 help / color / mirror / Atom feed
* Re: Bug in the latest version
@ 2002-10-28  8:48 Stas Sergeev
  0 siblings, 0 replies; 26+ messages in thread
From: Stas Sergeev @ 2002-10-28  8:48 UTC (permalink / raw)
  To: linux-msdos

Hello.

Bart Oldeman wrote:
> a) the DOS time is the same as in the previous PIC call.
PIC schedules the next activation time
and then works in "polling" mode to see
when that time is reached. Even when it
reached, there are no guarantees that it
is possible to fire the int right away,
so it can keep waiting. So it is OK when
the activation time doesn't change for
the several PIC polling cycles.

> b) IP is increased by 1 (c000:0009->c000:000a) for no apparent reason.
Some priviledged 1-byte instr was emulated?

> Namely, the PIC call before the one above does this:
I really wouldn't suspect PIC in that case.
PIC deals with an async stuff and it was
the constant source of the random crashes,
but for the 100% predictable crashes it wasn't
caught responsible yet (by me at least).

Looking at this:
> c:\wp51\wp
>          exit wp
> c:\wp51\wp
> Then, Dosemu exits with an error message.
the crash happens on the (second) startup and
at startup we have an exepack, that's why it
seems more reasonable to suspect it, together
with the fact that I am using the unpacked
wp.exe and can't reproduce the problem...


^ permalink raw reply	[flat|nested] 26+ messages in thread
* Re: Bug in the latest version
@ 2002-10-29  7:04 Stas Sergeev
  0 siblings, 0 replies; 26+ messages in thread
From: Stas Sergeev @ 2002-10-29  7:04 UTC (permalink / raw)
  To: linux-msdos

Hello.

Lars BjÛrndal wrote:
> Thank you! Now, wp.exe works perfect!
Fine. Now we know that was just another
exepack bug, not fixable by loadfix btw.
The note should even be added in FAQ I
think, because nobody knows how many "bugs"
will we chaise in a future thanks to an
exepack (and UPX!) authors.

-
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] 26+ messages in thread
* Re: Bug in the latest version
@ 2002-10-28  9:41 Stas Sergeev
  0 siblings, 0 replies; 26+ messages in thread
From: Stas Sergeev @ 2002-10-28  9:41 UTC (permalink / raw)
  To: linux-msdos

Hello.

Hartmut Figge wrote:
>> It doesn't *cure* the problem, because
>> the real problem is an exepack's bugs
>> and not the default DOS loader.
>  To clarify: it cured the problem with pushover. Or should i say, it
>  circumvented the problem caused by exepack?
That sounds better:)

> Can we agree, that there are cases, in which loadfix will work?
Sure, but it is not the real fix. It can
work around the "packed file corrupt" problem,
but I am just wondering why people prefer
that "solution", if unpacking exe is a permanent
fix, i.e. you will have to do that only once, you
will not be affected by another exepack bugs
etc.
What I was actually arguing against, is this:
> That cured the problem with the 'corrupte file' and was the only way, 
> to use that game.
It was neither the only, nor the best way in
fact. I never argued it can work around "packed
file corrupt" problem, but when the real fix
exists, loadfix seems useless to me. loadfix is a
kind of a bug-to-bug annihilation, not the fix.


^ permalink raw reply	[flat|nested] 26+ messages in thread
* Re: Bug in the latest version
@ 2002-10-28  7:10 Stas Sergeev
  2002-10-28  7:35 ` Hartmut Figge
  0 siblings, 1 reply; 26+ messages in thread
From: Stas Sergeev @ 2002-10-28  7:10 UTC (permalink / raw)
  To: linux-msdos

Hello.

Hartmut Figge wrote:
> Looking in the folder, in which ancient batch files resides, shows e.g.
> push.bat, which contains the line 'loadfix push'.
> That cured the problem with the 'corrupte file' and was the only way, 
> to use that game.
I don't agree. loadfix works around the
exepack bugs by preventing the load to
some specific memory regions, AFAIK.
It doesn't *cure* the problem, because
the real problem is an exepack's bugs
and not the default DOS loader.
The only real fix is to get rid of exepack
entirely, which is to unpack an executable.
Actually I am unpacking all of the executables
I have here to avoid such a problems, but so
far the only problematic packers were exepack
and an old UPX.


^ permalink raw reply	[flat|nested] 26+ messages in thread
* Re: Bug in the latest version
@ 2002-10-28  6:57 Stas Sergeev
  0 siblings, 0 replies; 26+ messages in thread
From: Stas Sergeev @ 2002-10-28  6:57 UTC (permalink / raw)
  To: linux-msdos

Hello.

Lars BjÛrndal wrote:
> I've noticed that if I use dosemu-1.0.1, the mem-command gives, in the
> line "largest executable program size" 617K, 1.1.3.5, the same command
> and config gives 611K. Why, do you think?
I can recall only one change in a memory
allocation algo of that times, which is this:
http://marc.theaimsgroup.com/?l=linux-msdos&m=99142972626428&w=2
Even though it is very unlikely, still try
to revert that patch and see if it helps.

-
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] 26+ messages in thread
* Re: Bug in the latest version
@ 2002-10-27 20:30 Stas Sergeev
  2002-10-27 20:53 ` Hartmut Figge
  0 siblings, 1 reply; 26+ messages in thread
From: Stas Sergeev @ 2002-10-27 20:30 UTC (permalink / raw)
  To: linux-msdos

Hello.

Lars BjÛrndal wrote:
> After starting dosemu:
> c:\wp51\wp
>          exit wp
> c:\wp51\wp
> Then, Dosemu exits with an error message.
> What can we do with this problem?
What can we do to reproduce this problem,
that is the question...
Btw, wp.exe is exepack'ed. To my memory
exepack was a constant source of troubles
("Packed file corrupt" and the like things).
I would suspect it also here.
Does it help if you unpack wp.exe before
starting?

-
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] 26+ messages in thread
* Re: Bug in the latest version
@ 2002-09-27 15:46 Stas Sergeev
  2002-09-28 20:14 ` Lars Bjørndal
  0 siblings, 1 reply; 26+ messages in thread
From: Stas Sergeev @ 2002-09-27 15:46 UTC (permalink / raw)
  To: linux-msdos

Hello.

Lars BjÛrndal wrote:
> Still the same problem, also with dosemu-1.1.3.4.
I tried to reproduce that problem on many
of the latest dosemus with virtually any
possible configurations, but in vain. So
I suspect it is not a dosemu's problem, but
no idea what is it.

> I've used v.1.0.1.0
> for a long time, and this problem wasn't there.
This is more interesting. Could you try 1.0.1 again
to see that the problem is not there when all other
configuration is exactly the same?

-
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] 26+ messages in thread
* Bug in the latest version
@ 2002-09-18  7:14 Lars Bjørndal
  2002-09-19  3:04 ` Bart Oldeman
  0 siblings, 1 reply; 26+ messages in thread
From: Lars Bjørndal @ 2002-09-18  7:14 UTC (permalink / raw)
  To: linux-msdos

:Start Dosemu
:Start wp51\wp
:Exit wp
:Start wp51\wp again

Then, dosemu exits, and This message occure:

ERROR: unexpected CPU exception 0x06 err=0x00000000 cr2=00000000 while in vm86 (DOS)
Program=sigsegv.c, Line=193
EIP: c000:0000c3cf ESP: c000:000018e2  VFLAGS(b): 00000 00110010 00000110
EAX: 00006f04 EBX: 0000a0aa ECX: 0000f16a EDX: 00000000 VFLAGS(h): 00003206
ESI: 00008f79 EDI: 00008208 EBP: 0000e0e2 DS: 09e8 ES: 372a FS: 0000 GS: 0000
FLAGS: PF IF RF VM VIF  IOPL: 3

Lars
-- 
Lars Bjørndal <lars.bjorndal@grieg.uib.no>
Storetveitåsen 15, 5067 Bergen.
Tlf.: 55 28 87 55  Mobil: 958 37 537  Telefaks: 55 28 40 67
-
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] 26+ messages in thread

end of thread, other threads:[~2002-10-29  7:04 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-28  8:48 Bug in the latest version Stas Sergeev
  -- strict thread matches above, loose matches on Subject: below --
2002-10-29  7:04 Stas Sergeev
2002-10-28  9:41 Stas Sergeev
2002-10-28  7:10 Stas Sergeev
2002-10-28  7:35 ` Hartmut Figge
2002-10-28  6:57 Stas Sergeev
2002-10-27 20:30 Stas Sergeev
2002-10-27 20:53 ` Hartmut Figge
2002-10-27 21:08   ` Lars Bjørndal
2002-10-28  5:43     ` Bart Oldeman
2002-10-28 21:43       ` Lars Bjørndal
2002-10-27 21:16   ` Lars Bjørndal
2002-10-28  5:32     ` Bart Oldeman
2002-10-28 21:41       ` Lars Bjørndal
2002-10-28 23:38         ` Bart Oldeman
2002-09-27 15:46 Stas Sergeev
2002-09-28 20:14 ` Lars Bjørndal
2002-09-28 20:09   ` Bart Oldeman
2002-09-28 21:42     ` Lars Bjørndal
2002-09-28 23:16       ` Bart Oldeman
2002-10-27 20:01     ` Lars Bjørndal
2002-09-18  7:14 Lars Bjørndal
2002-09-19  3:04 ` Bart Oldeman
2002-09-19  6:52   ` Lars Bjørndal
2002-09-19 18:12     ` Bart Oldeman
2002-09-27  6:50       ` Lars Bjørndal

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