http://bugs.winehq.org/show_bug.cgi?id=10589
Summary: speedfan 4.32 crashes when opened Product: Wine Version: 0.9.49. Platform: PC-x86-64 URL: http://www.almico.com/speedfan.php OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-binary AssignedTo: wine-bugs@winehq.org ReportedBy: dennis.dentremont@gmail.com
Produces a Runtime error 216 at 00402674
Running a unmodified install of Wine 0.9.49 on Ubuntu 7.10 64bit AMD X2 CPU
http://bugs.winehq.org/show_bug.cgi?id=10589
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Alias|speedfan-432-crash |
--- Comment #1 from Vitaliy Margolen vitaliy@kievinfo.com 2007-11-28 19:41:11 --- Attach (as a file do not paste) complete terminal output, including the command you used to run the program.
http://bugs.winehq.org/show_bug.cgi?id=10589
--- Comment #2 from Dennis dennis.dentremont@gmail.com 2007-11-29 13:47:51 --- Created an attachment (id=9400) --> (http://bugs.winehq.org/attachment.cgi?id=9400) terminal output of errors when running speedfan
as requested here is the terminal output of the error.
http://bugs.winehq.org/show_bug.cgi?id=10589
--- Comment #3 from Dennis dennis.dentremont@gmail.com 2007-11-29 13:52:28 --- This same error happens on Ubuntu 7.10 x86 as well
http://bugs.winehq.org/show_bug.cgi?id=10589
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net
--- Comment #4 from Anastasius Focht focht@gmx.net 2007-11-29 15:28:37 --- Hello,
well two issues here.
The application uses two kernel drivers, "giveio" and "speedfan". Both kernel services must be running or speedfan app will die with that exception code.
The application assumes the kernel services are automagically started (windows boot/system services "auto" start type). If you closed all win32/wine programs, both services will stop and exit too (by design) and are not going to be restarted explicitly (app doesn't try to restart using SCM api).
To restart the services manually you need to:
wine net start giveio wine net start speedfan
NOTE: Before executing these commands, make sure you have at least another win32/wine process/application running in background. If no additional user process exists or the last user process exits, all winedevice kernel driver hosting processes will exit too - by design.
E.g. "net.exe start <servicename>" finishes after starting service -> service_run_threads() doesn't find any user process -> kernel services stop and exit.
By using additional user process both kernel services are kept "alive" before/when the "speedfan" tool is run (it expects both services up and running).
Ok, once you "fixed" this problem, the next one:
--- snip --- 001d:Call advapi32.RegQueryValueExA(80000004,005682e0 "238",00000000,00000000,008f962c,0034fe48) ret=00568007 001d:Ret advapi32.RegQueryValueExA() retval=00000002 ret=00568007 001d:Call KERNEL32.RaiseException(0eedfade,00000001,00000007,0034fe2c) ret=00568067 001d:trace:seh:raise_exception code=eedfade flags=1 addr=0x7b841440 001d:trace:seh:raise_exception info[0]=00568067 001d:trace:seh:raise_exception info[1]=008f95e8 001d:trace:seh:raise_exception info[2]=00000000 001d:trace:seh:raise_exception info[3]=00000149 001d:trace:seh:raise_exception info[4]=00636cdc 001d:trace:seh:raise_exception info[5]=00636cd8 001d:trace:seh:raise_exception info[6]=0034fe48 001d:trace:seh:raise_exception eax=7b82c41d ebx=7b8b8b44 ecx=00000000 edx=0034fe2c esi=0034fe2c edi=0034fda0 001d:trace:seh:raise_exception ebp=0034fd88 esp=0034fd24 cs=0073 ds=007b es=007b fs=0033 gs=003b flags=00200212 --- snip ---
The app tries to open HKEY_PERFORMANCE_DATA and read "238" key data. 238 = PROCESSOR_OBJECT_INDEX = 'Processor' object
This makes it a dupe of: http://bugs.winehq.org/show_bug.cgi?id=5322
Don't know if the first issue should be tracked separately. The majority of applications check and (re)start needed custom services/drivers on their own if found not running and not rely on operating system to have them started automagically at boot.
Regards
http://bugs.winehq.org/show_bug.cgi?id=10589
--- Comment #5 from Dennis dennis.dentremont@gmail.com 2007-11-30 05:53:49 --- I ran both netstart commands that were suggested and I still get the same error.
http://bugs.winehq.org/show_bug.cgi?id=10589
--- Comment #6 from Anastasius Focht focht@gmx.net 2007-11-30 06:17:58 --- Hello,
--- quote --- I ran both netstart commands that were suggested and I still get the same error. --- quote ---
As explained in my previous post, there exist two problems and the latter one (registry performance data) has no working fix yet. Hence the error.
Regards
(mumble to myself ... do I write such gibberish that people regularly forget to read the whole story?)
http://bugs.winehq.org/show_bug.cgi?id=10589
--- Comment #7 from Dennis dennis.dentremont@gmail.com 2007-11-30 06:38:14 --- Sorry. I did read the whole post but when I saw "Ok, once you "fixed" this problem, the next one" I just assumed you were asking me to try it out.
Sorry for the confusion.
http://bugs.winehq.org/show_bug.cgi?id=10589
Hans Leidekker hans@it.vu.nl changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hans@it.vu.nl
--- Comment #8 from Hans Leidekker hans@it.vu.nl 2007-11-30 13:18:53 --- I attached an improved patch to bug 5322 that puts some static process and processor data below HKEY_PERFORMANCE_DATA. It fixes the crash reported here too, but don't too exited, the app doesn't show any data and I don't think it will ever be useful on Wine because it needs hardware drivers to work.
http://bugs.winehq.org/show_bug.cgi?id=10589
--- Comment #9 from Anastasius Focht focht@gmx.net 2007-11-30 14:20:57 --- Hello,
--- quote --- It fixes the crash reported here too, but don't too exited, the app doesn't show any data and I don't think it will ever be useful on Wine because it needs hardware drivers to work. --- quote ---
Correct. It's the same issue with a couple of other applications like cpu/gpu-z which use helper kernel drivers and direct i/o access + privileged instructions to gather hardware information.
Actually the goal should be to fix apparent crashes and not getting all this nasty hardware access stuff to work. This is indeed beyond the current scope of wine. Once the performance data stuff gets more mature - which causes the crash here - I suggest to close this bug.
Any further bug reports regarding real hardware driver operations, like "no useful information is displayed" should be immediately closed with "WONTFIX" to make it clear to the users.
Regards
http://bugs.winehq.org/show_bug.cgi?id=10589
James Hawkins truiken@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|_obsolete_binary |-unknown
http://bugs.winehq.org/show_bug.cgi?id=10589
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
--- Comment #10 from Austin English austinenglish@gmail.com 2008-06-04 14:34:25 --- Is this still an issue in 1.0-rc3?
http://bugs.winehq.org/show_bug.cgi?id=10589
Jim Hawking jehawking@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jehawking@yahoo.co.uk
--- Comment #11 from Jim Hawking jehawking@yahoo.co.uk 2008-12-04 15:10:10 --- In 1.1.9 this programme runs and puts up a smart looking form which works in terms of tabs changing when you click them etc. It does not show any useful data. I suggest the original bug has been cured though it still needs hardware access that it does not get before it will be a useful programme.
http://bugs.winehq.org/show_bug.cgi?id=10589
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #12 from Austin English austinenglish@gmail.com 2008-12-04 17:49:00 --- Reported fixed.
File new bugs for any other issues.
http://bugs.winehq.org/show_bug.cgi?id=10589
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #13 from Alexandre Julliard julliard@winehq.org 2008-12-05 11:13:22 --- Closing bugs fixed in 1.1.10.