https://bugs.winehq.org/show_bug.cgi?id=44518
Bug ID: 44518 Summary: Wine 3.0 can't run Aquad 7 (data analysis program) Product: Wine Version: 3.0 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: utentevino@20boxme.org Distribution: ---
As per title Wine 3.0 is unable to run this free and open source data analysis program. I had reported in the forum that an older version of Wine (2.18) would throw the following error:
wine: Unhandled exception 0x0eedfade in thread 140 at address 0x7bca1ce0:0x7b43c69c (thread 0140), starting debugger... err:seh:setup_exception_record stack overflow 880 bytes in thread 0140 eip f7576c37 esp 00230fc0 stack 0x230000-0x231000-0x330000
With Wine 3.0 things did not improve, the software "initiliazes" but after clicking ok it just crashes. In fact with the 3.0 when click to see more about the error it doesn't produce anything as it gets stuck.
In the same thread an user replied with:
"Hi, I gave the program a try and got the same crash,
From debuglog it appears it was printer-related. I have no printer installed,
but did not believe a program can crash because of that. But remarkebly the following did the trick to get the program running: sudo apt-get --no-install-recommends install cups-pdf I`m not sure if this is a bug in wine and /or the program?."
It would be very useful having Wine run this software as it is a very powerful (and one of the few actively maintained) open source data analysis software
https://bugs.winehq.org/show_bug.cgi?id=44518
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|major |normal Keywords| |download, source
https://bugs.winehq.org/show_bug.cgi?id=44518
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |http://www.aquad.de/materia | |ls/aqd7_e_prg_setup.exe CC| |dark.shadow4@web.de
--- Comment #1 from Fabian Maurer dark.shadow4@web.de --- Can't reproduce here, also using wine-3.1. Did you try an install with default options in a clean WINEPREFIX? Also, please attach a full log.
Also added a download link, please check if that's the right program.
https://bugs.winehq.org/show_bug.cgi?id=44518
--- Comment #2 from Utente Vino utentevino@20boxme.org --- Created attachment 60488 --> https://bugs.winehq.org/attachment.cgi?id=60488 log from terminal
https://bugs.winehq.org/show_bug.cgi?id=44518
--- Comment #3 from Utente Vino utentevino@20boxme.org --- (In reply to Utente Vino from comment #2)
Created attachment 60488 [details] log from terminal
I attached the log I get when I try to run Aquad from terminal. I am unable to get any error log from wine menu as it get stuck forever.
https://bugs.winehq.org/show_bug.cgi?id=44518
--- Comment #4 from Utente Vino utentevino@20boxme.org --- I think it is the same software however if you download it from: http://www.aquad.de/download/ its size s 2.0mb from your link is 1.9.
https://bugs.winehq.org/show_bug.cgi?id=44518
--- Comment #5 from Utente Vino utentevino@20boxme.org --- Never mind the english verson is the same size as yours. (apologies for the many posts but I cant find a way to edit my post)
https://bugs.winehq.org/show_bug.cgi?id=44518
--- Comment #6 from Utente Vino utentevino@20boxme.org --- Ok I unistalled the Aquad and reinsalled it. It is working now. I am assuming the installation was corrupted or something as it seems from the log that some pieces were missing.
I Think we can close this ticket :)
https://bugs.winehq.org/show_bug.cgi?id=44518
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox.xerox2000x@gmail.com Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED
--- Comment #7 from Louis Lenders xerox.xerox2000x@gmail.com --- (In reply to Utente Vino from comment #6)
Ok I unistalled the Aquad and reinsalled it. It is working now. I am assuming the installation was corrupted or something as it seems from the log that some pieces were missing.
I Think we can close this ticket :)
Ok, likely invalid then. Feel free to reopen if you run into same issue again.
https://bugs.winehq.org/show_bug.cgi?id=44518
--- Comment #8 from Utente Vino utentevino@20boxme.org --- Ok this is weird but Aquad worked fine the first time, then after closing and reopening I have the same issue as described n this ticket. Running it from terminal also throws the same error which I attached earlier on.
https://bugs.winehq.org/show_bug.cgi?id=44518
Utente Vino utentevino@20boxme.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|INVALID |---
--- Comment #9 from Utente Vino utentevino@20boxme.org --- After the first time I still have the same issue
https://bugs.winehq.org/show_bug.cgi?id=44518
--- Comment #10 from Louis Lenders xerox.xerox2000x@gmail.com --- Hi, I get this below (from debuglog):
Can you check if you can print from notepad? (just do wine notepad.exe, and try to print). What does it say?
(I don`t know how to add printer on my system, but I`m pretty sur it`s the cause of the crash)
0009:Call winspool.drv.EnumPrintersA(00000006,00000000,00000004,00000000,00000000,0032f924,0032f920) ret=00433aca 0009:trace:winspool:EnumPrintersA (0x6, (null), 4, (nil), 0, 0x32f924, 0x32f920) 0009:trace:winspool:WINSPOOL_EnumPrintersW ignoring PRINTER_ENUM_CONNECTIONS 0009:Call advapi32.RegCreateKeyW(80000002,7e567b20 L"System\CurrentControlSet\Control\Print\Printers",0032f598) ret=7e553dd3 0009:Ret advapi32.RegCreateKeyW() retval=00000000 ret=7e553dd3 0009:Call advapi32.RegQueryInfoKeyA(0000008c,00000000,00000000,00000000,0032f5a4,00000000,00000000,00000000,00000000,00000000,00000000,00000000) ret=7e553e74 0009:Ret advapi32.RegQueryInfoKeyA() retval=00000000 ret=7e553e74 0009:trace:winspool:WINSPOOL_EnumPrintersW Found 0 printers 0009:Call advapi32.RegCloseKey(0000008c) ret=7e55402c 0009:Ret advapi32.RegCloseKey() retval=00000000 ret=7e55402c 0009:Call ntdll.RtlFreeUnicodeString(0032f844) ret=7e557f28 0009:Ret ntdll.RtlFreeUnicodeString() retval=00000000 ret=7e557f28 0009:trace:winspool:convert_printerinfo_W_to_A ((nil), (nil), 4, 0, 0) 0009:Call ntdll.RtlFreeHeap(00110000,00000000,00000000) ret=7e557f60 0009:Ret ntdll.RtlFreeHeap() retval=00000001 ret=7e557f60 0009:Ret winspool.drv.EnumPrintersA() retval=00000001 ret=00433aca 0009:Call user32.LoadStringA(00400000,0000ff0b,0032f540,00000400) ret=00406a3e 0009:trace:resource:LoadStringA instance = 0x400000, id = ff0b, buffer = 0x32f540, length = 1024 0009:trace:resource:FindResourceExW 0x400000 #0006 #0ff1 0000 0009:trace:resource:LoadStringA returning "No default printer selected" 0009:Ret user32.LoadStringA() retval=0000001b ret=00406a3e 0009:Call KERNEL32.RaiseException(0eedfade,00000001,00000007,0032f928) ret=00432db6
https://bugs.winehq.org/show_bug.cgi?id=44518
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net
--- Comment #11 from Anastasius Focht focht@gmx.net --- Hello folks,
I can't reproduce this, the app works as expected.
The app crashes *by design* if no printer is found. Whoever wrote this code should really think about proper error handling.
--- snip --- $ pwd /home/focht/.wine/drive_c/AQUAD_7
$ WINEDEBUG=+seh,+relay,+winspool wine ./aquad7.exe >>log.txt 2>&1 ... 002d:Call KERNEL32.CreateFileA(009219cc "C:\AQUAD_7\aquad7.ini",80000000,00000001,00000000,00000003,00000080,00000000) ret=00409887 002d:Ret KERNEL32.CreateFileA() retval=00000088 ret=00409887 ... 002d:Call winspool.drv.EnumPrintersA(00000001,00000000,00000005,00000000,00000000,0033fd70,0033fd6c) ret=00433cce 002d:trace:winspool:EnumPrintersA (0x1, (null), 5, (nil), 0, 0x33fd70, 0x33fd6c) ... 002d:trace:winspool:convert_printerinfo_W_to_A ((nil), (nil), 5, 0, 0) ... 002d:Ret winspool.drv.EnumPrintersA() retval=00000001 ret=00433cce 002d:Call winspool.drv.EnumPrintersA(00000001,00000000,00000005,00000000,00000000,0033fd70,0033fd6c) ret=00433d3c 002d:trace:winspool:EnumPrintersA (0x1, (null), 5, (nil), 0, 0x33fd70, 0x33fd6c) ... 002d:trace:winspool:convert_printerinfo_W_to_A ((nil), (nil), 5, 0, 0) ... 002d:Ret winspool.drv.EnumPrintersA() retval=00000001 ret=00433d3c 002d:Call KERNEL32.GetProfileStringA(00433e74 "windows",00433e6c "device",00433e68 "",0033f960,000003ff) ret=00433d6c 002d:Ret KERNEL32.GetProfileStringA() retval=00000000 ret=00433d6c 002d:Call winspool.drv.EnumPrintersA(00000006,00000000,00000004,00000000,00000000,0033f914,0033f910) ret=00433aca 002d:trace:winspool:EnumPrintersA (0x6, (null), 4, (nil), 0, 0x33f914, 0x33f910) 002d:trace:winspool:WINSPOOL_EnumPrintersW ignoring PRINTER_ENUM_CONNECTIONS 002d:Call advapi32.RegCreateKeyW(80000002,7e422da0 L"System\CurrentControlSet\Control\Print\Printers",0033f738) ret=7e417220 002d:Ret advapi32.RegCreateKeyW() retval=00000000 ret=7e417220 002d:Call advapi32.RegQueryInfoKeyA(00000088,00000000,00000000,00000000,0033f52c,00000000,00000000,00000000,00000000,00000000,00000000,00000000) ret=7e41728d 002d:Ret advapi32.RegQueryInfoKeyA() retval=00000000 ret=7e41728d 002d:trace:winspool:WINSPOOL_EnumPrintersW Found 0 printers ... 002d:trace:winspool:convert_printerinfo_W_to_A ((nil), (nil), 4, 0, 0) ... 002d:Ret winspool.drv.EnumPrintersA() retval=00000001 ret=00433aca 002d:Call user32.LoadStringA(00400000,0000ff0b,0033f530,00000400) ret=00406a3e 002d:Ret user32.LoadStringA() retval=0000001b ret=00406a3e 002d:Call KERNEL32.RaiseException(0eedfade,00000001,00000007,0033f918) ret=00432db6 002d:trace:seh:raise_exception code=eedfade flags=1 addr=0x7b4465af ip=7b4465af tid=002d 002d:trace:seh:raise_exception info[0]=00432db6 002d:trace:seh:raise_exception info[1]=00921ba4 002d:trace:seh:raise_exception info[2]=00910e2c 002d:trace:seh:raise_exception info[3]=ffffffff 002d:trace:seh:raise_exception info[4]=009204a8 002d:trace:seh:raise_exception info[5]=0033fd78 002d:trace:seh:raise_exception info[6]=0033f934 002d:trace:seh:raise_exception eax=7b434d2d ebx=00910e2c ecx=0000001c edx=0033f874 esi=0033f918 edi=0033f8e0 002d:trace:seh:raise_exception ebp=0033f8b8 esp=0033f854 cs=33340023 ds=33002b es=7bd1002b fs=64320063 gs=7bd1006b flags=00000212 ... 002d:Call KERNEL32.UnhandledExceptionFilter(0033f3f0) ret=004044d0 wine: Unhandled exception 0x0eedfade in thread 2d at address 0x0000:0x7b4465af (thread 002d), starting debugger... ... 002d:err:seh:setup_exception_record stack overflow 876 bytes in thread 002d eip f75cbed8 esp 00240fc4 stack 0x240000-0x241000-0x340000 --- snip ---
0x0eedfade is Delphi external exception code which crossed the module boundaries to SEH.
In this case it's an internal exception: 'EPrinter', 'No default printer selected' that "escaped" the Delphi runtime and the top-level SEH doesn't understand = can't handle it.
Anyway this is not a bug, the app would behave exactly the same if all printers are removed on a Windows machine.
--- quote ---- Running it from terminal also throws the same error which I attached earlier on. --- quote ----
Which one?
The output from comment #0? -> INVALID bug -> no printer = crash is expected The output from comment #3? -> INVALID bug -> messed up WINEPREFIX
If you don't post more specific information no one can/will help you.
Create a full relay log by running the app in terminal from installation directory and *attach* the log file this ticket (compress if too large).
You might want to start some Wine builtin first to bootstrap "warmup" the prefix ('wine notepad' from another terminal) to avoid too many noise from other Wine processes (although there exist +pid to filter for).
--- snip --- $ pwd /home/focht/.wine/drive_c/AQUAD_7
$ WINEDEBUG=+seh,+relay,+winspool wine ./aquad7.exe >>log.txt 2>&1 --- snip ---
$ sha1sum aqd7_e_prg_setup.exe c32c154ac32305c65cb2500936cc848d64df653f aqd7_e_prg_setup.exe
$ du -sh aqd7_e_prg_setup.exe 2.0M aqd7_e_prg_setup.exe
$ wine --version wine-3.2
Regards
https://bugs.winehq.org/show_bug.cgi?id=44518
--- Comment #12 from Utente Vino utentevino@20boxme.org --- Created attachment 60504 --> https://bugs.winehq.org/attachment.cgi?id=60504 attachment from notepad
https://bugs.winehq.org/show_bug.cgi?id=44518
--- Comment #13 from Utente Vino utentevino@20boxme.org --- Apologies for the confusion I was referring to the log from #3.
Seems the problem is mine, can someone telling me how I disable the print and make Aquad run? Thank you very much
https://bugs.winehq.org/show_bug.cgi?id=44518
--- Comment #14 from Louis Lenders xerox.xerox2000x@gmail.com --- (In reply to Utente Vino from comment #13)
Apologies for the confusion I was referring to the log from #3.
Seems the problem is mine, can someone telling me how I disable the print and make Aquad run?
You should enable a printer , not disable....
Thank you very much
Hi, could you do as Anastasius said:
WINEDEBUG=+seh,+relay,+winspool wine ./aquad7.exe >>log.txt 2>&1
and attach the (compressed) log.txtto this bug.
https://bugs.winehq.org/show_bug.cgi?id=44518
--- Comment #15 from Utente Vino utentevino@20boxme.org --- Thank you Louis, Does it mean a real printer is required to run the software? is there any how to on how to enable the printer? I only found one but seemed to be very complicated. I will post the log as soon as I got some time.
https://bugs.winehq.org/show_bug.cgi?id=44518
--- Comment #16 from Louis Lenders xerox.xerox2000x@gmail.com --- (In reply to Utente Vino from comment #15)
Thank you Louis, Does it mean a real printer is required to run the software?
Did you try install cups-pdf, like you referred to in comment 1?
https://bugs.winehq.org/show_bug.cgi?id=44518
--- Comment #17 from Utente Vino utentevino@20boxme.org --- I checked and it was already installed on my system.
https://bugs.winehq.org/show_bug.cgi?id=44518
--- Comment #18 from Louis Lenders xerox.xerox2000x@gmail.com --- (In reply to Utente Vino from comment #17)
I checked and it was already installed on my system.
Hi, this worked for me:
sudo apt-get install --no-install-recommends libcups2:i386
Then setup virtual pdf-printer (taken from some page on internet):
1.2 Launch a Web browser and enter http://localhost:631/ in the Address bar to display the CUPS Printer Manager.
1.3 Click on ‘Administration’ to call up the Administration page, then click ‘Add Printer’. If prompted, enter the username ‘root’ (without the quotes) and the root user’s password.
1.4 Select ‘CUPS-PDF (Virtual PDF Printer)’ in the list of local printers, and click ‘Continue’.
1.5 Enter a name, decription and location for the virtual printer. For example, I entered ‘Virtual_PDF_Printer’, ‘Virtual PDF Printer’ and ‘Mesh Edge DX’ (without the quotes), respectively. Then click ‘Continue’.
1.6 Select ‘Generic’ in the ‘Make:’ box, and click ‘Continue’.
1.7 Select ‘Generic CUPS-PDF Printer (w/ options) (en)’ in the ‘Model:’ box, and click ‘Add Printer’. The virtual printer should now be available for you to use.
Now i can print from notepad, and AQUAD starts fine. Hope this helps for you too
https://bugs.winehq.org/show_bug.cgi?id=44518
--- Comment #19 from Louis Lenders xerox.xerox2000x@gmail.com --- Hi Utente,
Got any success in getting the program running?
As this bugreport is essentially invalid, it will be resolved as such without response.
(Don`t want to chase you up, just curious)
https://bugs.winehq.org/show_bug.cgi?id=44518
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED
--- Comment #20 from Louis Lenders xerox.xerox2000x@gmail.com --- Hi, as there no response for now I`l resolve this as invalid
If you setup the printer and you can print from notepad, and the crash in Aquad is still there, please feel free to reopen this bugreport
https://bugs.winehq.org/show_bug.cgi?id=44518
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nerv@dawncrow.de Status|RESOLVED |CLOSED
--- Comment #21 from André H. nerv@dawncrow.de --- closing invalid