http://bugs.winehq.com/show_bug.cgi?id=1289
Summary: loads of bugs in a nice test program
Product: Wine
Version: CVS
Platform: Other
URL: http://gemia.de/test/editor.exe
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: wine-dos
AssignedTo: wine-bugs(a)winehq.com
ReportedBy: eric.noack(a)gemia.de
this is an editor written in powerbasic
exe:
http://gemia.de/test/editor.exe
source: (i am ashamed. this was a really early program , dont hit me)
http://gemia.de/test/editor.bas
(see bug 1286 for link to compiler)
an old dos program i wrote once when the
dos editor wasnt able to handle files bigger than 64K
i think nobody needs it anymore and the programs text is german, so its difficult
to use for all others
but it causes wine to create LOADS of different errors and bugs
and should be excellent for testing purposes. :-)
Bugs in this file include:
--not running every now and then (wineconsole bug) instead writing strange
chars into the wineconsole window and freezing wine
--so much err and fixme messages on the screen that you cant see the program
anymore if -debugmsg -all isnt given
(most of them about unhandled mouse interrupt calls)
(if i remember right i did hide the mouse during refreshing the screen)
(under X this is unnecessary since there is no text-mode mouse cursor)
(but wine doesnt know about that interrupt call)
--you cannot go into the menu via ALT-D or similar since the ALT key isnt
recogniced
--some sub menues cause wine to end the program
--wine ends the program randomly every now and then
...
excellent for testing purposes isnt it?
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=1289>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://bugs.winehq.com/show_bug.cgi?id=1287
eric.noack(a)gemia.de changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
------- Additional Comments From eric.noack(a)gemia.de 2003-02-19 17:16 -------
i guess that was the reason. the trick did it.
thnx
so this is no wine bug then
setting to invalid
Eric
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=1287>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://bugs.winehq.com/show_bug.cgi?id=1286
eric.noack(a)gemia.de changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From eric.noack(a)gemia.de 2003-02-19 15:51 -------
Jukka Heinonen posted a fix to wine-patches
http://www.winehq.com/hypermail/wine-patches/2003/02/0161.html
as for me the patch seems to solve this problem, i get the "hello-world" text
at least in wine-console
does anyone know how to make wine-console stay open after program-execution?
for example
wineconsole someprogram.exe /help
really pisses me on if i want to view the output and the window gets closed
after execution = after printing the help text ;(
Eric
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=1286>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://bugs.winehq.com/show_bug.cgi?id=1287
------- Additional Comments From snoopy97(a)mail.ru 2003-02-19 14:26 -------
That's the bug of MS EXEPACK
Ever got the message "Packed file is corrupt"? Then you are probably
using a memory manager and have lots of conventional memory free. Old
versions of Microsoft's EXEPACK require atleast one segment (64k) below it
to be able to unpack the program into memory. If you have a lot of free
memory, let's say above 600k, then programs can be partially loaded in the
first segment. This causes EXEPACK to generate this error.
Use the link bellow for decompressing sr.exe and removing the problem
ftp://ftp.elf.stuba.sk/pub/pc/pack/unp411.zip
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=1287>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://bugs.winehq.com/show_bug.cgi?id=1286
------- Additional Comments From eric.noack(a)gemia.de 2003-02-19 12:43 -------
hmm looks like i messed with the channels , ok ;)
but since the memory amount doesnt seem to be the error cause either.
if it happens with yours, too,
here is additional data:
http://gemia.de/test/test.exe
i recompiled again with some unused graphic librarys removed to simplify the work
for the disasembler
http://gemia.de/test/test.lsthttp://gemia.de/test/test.alf
2 different disassembler listings of the file. maybe it helps.
i always get a little confused when trying to read the output of this
compiler in asm form. too much overhead :-(
but maybe there are "reel L33t reverze engeneerz" (TM) out there
i didnt even find the code that gives out that "Program too big" string
however i didnt search long, and the string is there.
i prefer the output of sourcer (test.lst). The other is from w32d (test.alf)
and this one isnt supposed to disassemble dos code.
it didnt find the string data in the data for example,
instead it writes down the data as code and such
have fun
Eric
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=1286>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://bugs.winehq.com/show_bug.cgi?id=1281
------- Additional Comments From q(a)galgenberg.net 2003-02-19 09:56 -------
I tried WINE from CVS and managed to get a better backtrace when trying to run
starcraft. Looks like DirectSound is the culprit:
fixme:console:SetConsoleCtrlHandler (0x4cf850,1) - no error checking or testing yet
fixme:ddraw:Main_DirectDraw_SetCooperativeLevel (0x2833ebc0)->(00010021,00000013)
fixme:x11drv:X11DRV_DDHAL_CreatePalette stub
Program received signal SIGBUS, Bus error.
0x2a7d5290 in DSDB_MapPrimary (dsdb=0x283421d8) at audio.c:1816
1816 while (b--) *p4++ = 0;
(gdb) bt
#0 0x2a7d5290 in DSDB_MapPrimary (dsdb=0x283421d8) at audio.c:1816
#1 0x2a7d5d9d in IDsDriverImpl_CreateSoundBuffer (iface=0x28342190,
pwfx=0x28344768, dwFlags=1,
dwCardAddress=0, pdwcbBufferSize=0x28344868, ppbBuffer=0x28344860,
ppvObj=0x2834485c)
at audio.c:2133
#2 0x2a75194e in DSOUND_PrimaryCreate (This=0x283444e0) at primary.c:174
#3 0x2a74ed43 in DirectSoundCreate8 (lpGUID=0x0, ppDS=0x696234, pUnkOuter=0x0)
at dsound_main.c:696
#4 0x4a6bbe in ?? ()
#5 0x28100b68 in start_process () at ../../scheduler/process.c:564
#6 0x28104a75 in call_on_thread_stack (func=0x2810094c) at
../../scheduler/sysdeps.c:112
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=1281>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://bugs.winehq.com/show_bug.cgi?id=1286
------- Additional Comments From tony_lambregts(a)telusplanet.net 2003-02-18 21:56 -------
looks like you selected the wrong channel
wine -debugmsg +dosmem testWarning: unprotecting the first 64KB of memory to
allow real-mode calls.
NULL pointer accesses will no longer be caught.
trace:dosmem:DOSMEM_InitMemory DOS conventional memory initialized, 653804 bytes
free.
[snip]
When I use winedbg I get the same errors and right after loading winedos.dll.so
I get the following at the console.
err:int:DOSVM_Loop MsgWaitForMultipleObjects returned unexpected value.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=1286>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://bugs.winehq.com/show_bug.cgi?id=1288
------- Additional Comments From pmcnett(a)pm-sc.com 2003-02-18 16:25 -------
Yes you are correct, a different issue entirely. Sorry for the confusion!
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=1288>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://bugs.winehq.com/show_bug.cgi?id=1288
------- Additional Comments From rick(a)valeoinc.com 2003-02-18 14:47 -------
I think I know what you're talking about in 1267. Correct me if I'm wrong, but an example of 1267 would be:
1. Have FoxPro and a shell open on the same virtual desktop.
2. Right click on Foxpro - a copy/cut/paste/
THAT window will be ontop, and Foxpro will be pushed behind the shell window.
I've seen that before, is that what you were reporting?
That seems to be a different issue to me, but I could be wrong..
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=1288>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://bugs.winehq.com/show_bug.cgi?id=1288
------- Additional Comments From pmcnett(a)pm-sc.com 2003-02-18 14:36 -------
Please see my bug 1267, I think we are talking about very similar symptoms.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=1288>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.