[Bug 18705] New: Exception in NtQuerySystemInformation when running HeavyLoad.exe
http://bugs.winehq.org/show_bug.cgi?id=18705 Summary: Exception in NtQuerySystemInformation when running HeavyLoad.exe Product: Wine Version: 1.1.22 Platform: PC URL: https://www.jam-software.de/customers/downloadTrial.ph p?article_no=402&language=EN&PHPSESSID=f090f4a84cbe361 493cc2ad36f62d15c OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: ntdll AssignedTo: wine-bugs(a)winehq.org ReportedBy: celticht32(a)aol.com Heavy Load from https://www.jam-software.de/customers/downloadTrial.php?article_no=402&langu... crashes with the attached exception and backtrace Attached is all my machine information and the application which is freeware. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18705 --- Comment #1 from chris ahrendt <celticht32(a)aol.com> 2009-05-30 21:01:16 --- Created an attachment (id=21430) --> (http://bugs.winehq.org/attachment.cgi?id=21430) GLXinfo output -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18705 --- Comment #2 from chris ahrendt <celticht32(a)aol.com> 2009-05-30 21:04:04 --- Created an attachment (id=21431) --> (http://bugs.winehq.org/attachment.cgi?id=21431) Hload and Tree Size Free applications -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18705 --- Comment #3 from chris ahrendt <celticht32(a)aol.com> 2009-05-30 21:04:35 --- Created an attachment (id=21432) --> (http://bugs.winehq.org/attachment.cgi?id=21432) Exception and back trace -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18705 --- Comment #4 from chris ahrendt <celticht32(a)aol.com> 2009-05-30 21:05:06 --- Created an attachment (id=21433) --> (http://bugs.winehq.org/attachment.cgi?id=21433) lshw output -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18705 --- Comment #5 from chris ahrendt <celticht32(a)aol.com> 2009-05-30 21:06:18 --- Created an attachment (id=21434) --> (http://bugs.winehq.org/attachment.cgi?id=21434) Installed system (bit old I have updated since this) -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18705 --- Comment #6 from chris ahrendt <celticht32(a)aol.com> 2009-05-30 21:13:00 --- Created an attachment (id=21435) --> (http://bugs.winehq.org/attachment.cgi?id=21435) Hload application -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18705 --- Comment #7 from chris ahrendt <celticht32(a)aol.com> 2009-05-30 21:13:42 --- Created an attachment (id=21436) --> (http://bugs.winehq.org/attachment.cgi?id=21436) Treesize application -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18705 --- Comment #8 from Austin English <austinenglish(a)gmail.com> 2009-05-30 21:15:50 --- (In reply to comment #0)
Heavy Load from https://www.jam-software.de/customers/downloadTrial.php?article_no=402&langu... crashes with the attached exception and backtrace
Attached is all my machine information and the application which is freeware.
Just because it's freeware doesn't mean you can distribute it. Bugzilla admins, please delete these files. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18705 --- Comment #9 from chris ahrendt <celticht32(a)aol.com> 2009-05-30 21:18:15 --- Sorry did not know we could not attach freeware apps... the link is in the bug though.. yes please remove the freeware zips -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18705 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |focht(a)gmx.net --- Comment #10 from Anastasius Focht <focht(a)gmx.net> 2009-05-31 04:25:36 --- Hello, although it's always welcome that people give as much information as possible in bug reports please don't overdo it - sometimes less is more ;-) Thanks anyway. The programs try to determine the CPU load using a common pattern and due to bad programming they go into recursion, eating up all the stack. There are many examples/snippet in various programming languages how to do this in Windows. One example snippet: http://cpansearch.perl.org/src/KXJ/Win32-SystemInfo-CpuUsage-0.02/CpuUsage.x... The example code snippet doesn't resemble the app code exactly but it should give you an idea how it's done. The problem is that Wine's SystemPerformanceInformation info class currently doesn't return useful values. The "idle time" (large integer) value will be ever zero on each retrieval. To synchronize the "first time" calculation to sane values, the app uses a "while" loop, retrieving the values, calculating differences to previous ones. It checks the idle value and as long as it remains zero, it calls the "get cpu usage" function recursively which leads to infinite recursion until stack overflow. Solution: Either provide "idle time" value from OS or non-zero "spike" the value at least once in a while. Regards -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18705 --- Comment #11 from Anastasius Focht <focht(a)gmx.net> 2009-05-31 08:08:31 --- Hello, looking at dlls/ntdll/nt.c maybe code similar to SystemProcessorPerformanceInformation can be used to retrieve the accumulated idle time for SystemPerformanceInformation info class from "/proc/stat" (only combined "idle time" is needed). Although units do not really match (100-nanosecond intervals in Windows) the programs should be happy to see increasing value(s) ;-) Regards -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18705 Ken Sharp <kennybobs(a)o2.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Summary|Exception in |Heavy Load first chance |NtQuerySystemInformation |exception in |when running HeavyLoad.exe |NtQuerySystemInformation -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18705 Louis Lenders <xerox_xerox2000(a)yahoo.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |xerox_xerox2000(a)yahoo.co.uk Ever Confirmed|0 |1 --- Comment #12 from Louis Lenders <xerox_xerox2000(a)yahoo.co.uk> 2009-11-22 13:53:23 --- confirmed -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18705 --- Comment #13 from Louis Lenders <xerox_xerox2000(a)yahoo.co.uk> 2010-11-19 12:21:14 CST --- i've send a patch here http://www.winehq.org/pipermail/wine-patches/attachments/20101119/8102c33e/a... -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18705 --- Comment #14 from Louis Lenders <xerox_xerox2000(a)yahoo.co.uk> 2010-11-19 12:22:59 CST --- *** Bug 24738 has been marked as a duplicate of this bug. *** -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18705 Louis Lenders <xerox_xerox2000(a)yahoo.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pa78(a)gmx.net --- Comment #15 from Louis Lenders <xerox_xerox2000(a)yahoo.co.uk> 2010-11-19 12:24:27 CST --- *** Bug 25198 has been marked as a duplicate of this bug. *** -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18705 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #16 from Austin English <austinenglish(a)gmail.com> 2010-11-26 12:06:29 CST --- Should be fixed by http://source.winehq.org/git/wine.git/?a=commitdiff;h=fa2b7066e547294ac1f245... -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18705 --- Comment #17 from Alexandre Julliard <julliard(a)winehq.org> 2010-11-26 12:10:19 CST --- The content of attachment 21435 has been deleted by Alexandre Julliard <julliard(a)winehq.org> who provided the following reason: Copyright violation The token used to delete this attachment was generated at 2010-11-26 12:09:58 CST. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18705 --- Comment #18 from Alexandre Julliard <julliard(a)winehq.org> 2010-11-26 12:10:35 CST --- The content of attachment 21436 has been deleted by Alexandre Julliard <julliard(a)winehq.org> who provided the following reason: Copyright violation The token used to delete this attachment was generated at 2010-11-26 12:10:28 CST. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18705 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #19 from Alexandre Julliard <julliard(a)winehq.org> 2010-11-26 13:13:27 CST --- Closing bugs fixed in 1.3.8. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18705 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |fa2b7066e547294ac1f2452b9d6 | |0afeb97d4492f -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org