WineHQ
Bug Tracking Database – Bug 40416

 Bugzilla

 

Last modified: 2018-01-23 10:02:08 CST  

0CC-FamiTracker 0.3.14.0 locks up when opening configuration dialog

Bug 40416 - 0CC-FamiTracker 0.3.14.0 locks up when opening configuration dialog
0CC-FamiTracker 0.3.14.0 locks up when opening configuration dialog
Status: NEW
AppDB: Show Apps affected by this bug
Product: Wine
Classification: Unclassified
Component: comctl32
1.9.7
x86-64 Mac OS X
: P2 normal
: ---
Assigned To: Mr. Bugs
http://hertzdevil.info/programs/
: download, source
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2016-04-04 09:38 CDT by hagepri2013
Modified: 2018-01-23 10:02 CST (History)
3 users (show)

See Also:
Regression SHA1:
Fixed by SHA1:
Distribution: ---
Staged patchset:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hagepri2013 2016-04-04 09:38:22 CDT
In some programs, attempting to open certain dialogs causes the program to freeze without responding. This behavior can be observed in the most recent version of 0CC-Famitracker, found here: http://hertzdevil.info/programs/

Attempting to open the configuration dialog (marked by a hammer in the top bar) will cause the program to hang. The program will also hang when attempting to modify any new instrument.

Is there some bug with Wine dispatching Windows dialogs? This program is developed in Visual Studio 2015.

http://prntscr.com/ao0x5n

This screenshot depicts the button which will cause the hang. The program will continue to produce sound and the oscilloscope will continue to move as well, but the rest of the program will freeze.
Comment 1 Ken Thomases 2016-04-04 11:56:10 CDT
Is it possible that it has opened the dialog but it's behind the main window instead of in front of it?  Can you try moving the main window or shrinking it before attempting to open the dialog, to see if you can see the dialog behind it?

Another thing to try would be to press the Escape key on the keyboard to see if it dismisses the hidden dialog.

Finally, if the program is truly hung, please collect a sample report.  You need to identify the specific process (possibly by examining the command-line arguments shown by "ps xww | grep wine").  You can then use Activity Monitor's View > Sample Process menu item or the "sample <process ID>" command.
Comment 2 hagepri2013 2016-04-04 19:26:35 CDT
(In reply to Ken Thomases from comment #1)
> Is it possible that it has opened the dialog but it's behind the main window
> instead of in front of it?  Can you try moving the main window or shrinking
> it before attempting to open the dialog, to see if you can see the dialog
> behind it?

Tried. The dialog does not open, and the window is non-adjustable once the program hangs.

> Another thing to try would be to press the Escape key on the keyboard to see
> if it dismisses the hidden dialog.

No effect.

> Finally, if the program is truly hung, please collect a sample report.  You
> need to identify the specific process (possibly by examining the
> command-line arguments shown by "ps xww | grep wine").  You can then use
> Activity Monitor's View > Sample Process menu item or the "sample <process
> ID>" command.

I took a sample of the process using the most CPU of all the processes labeled "wine." If necessary I can sample the others as well.

https://dl.dropbox.com/s/xy5o8oghoi0ubmz/Sample%20of%20wine.txt?dl=1
Comment 3 hagepri2013 2016-04-04 19:28:59 CDT
I feel this is likely a Wine issue because these dialogs worked in previous versions of the program, and with updates have inexplicably stopped working. The dialogs all continue to function without issues on native Windows.
Comment 4 Ken Thomases 2016-04-04 19:51:13 CDT
From the sample report, it looks like an infinite recursion in the listview code.

If you think this is a regression and you can build Wine from source, please try a regression test.  https://wiki.winehq.org/Regression_Testing
Comment 5 hagepri2013 2016-04-05 07:57:07 CDT
(In reply to Ken Thomases from comment #4)
> From the sample report, it looks like an infinite recursion in the listview
> code.
> 
> If you think this is a regression and you can build Wine from source, please
> try a regression test.  https://wiki.winehq.org/Regression_Testing

"The program" referred to 0CC-Famitracker. Sorry for being unclear. I have attempted updating wine since 1.7 and the issue has persisted since then. It has been made clear to me by the maintainer of the program that is conflicting with Wine that it is not an issue in that program.

Is the infinite recursion present in the Wine code or the program code? (I did not review the sample report so I am not sure what it tells.)
Comment 6 Ken Thomases 2016-04-05 21:35:50 CDT
The infinite recursion seems to be an interaction between Wine and the program.  I'm perfectly willing to believe that the root of the problem is Wine misbehaving, but we need to figure out what exactly it is that Wine is doing wrong.  A regression test might help us understand that, although it's not the only way.
Comment 7 Bruno Jesus 2016-04-06 01:08:57 CDT
Confirming in wine 1.9.7. Steps from comment 0 (clicking in the hammer icon in the toolbar).

File Info:
520e53f2769e51194ecaa47ed68fa5029bc1ee19 0CCft_v0314r0.rar 1.2M
Comment 8 Bruno Jesus 2016-04-06 01:40:52 CDT
The application is looping in usp10 forever, I don't really know if it is forever or it is just really doing something because I left it for 5 minutes and it didn't finish so I assume it is looping forever.

"winetricks usp10" does not solve the issue, so the problem is probably somewhere else (?)
Comment 9 Nikolay Sivov 2016-04-06 02:18:28 CDT
This looks like Listview issue, when it builds General settings list it adds items up to index 16, after that it decides to delete them all and start over. This never ends. Native comctl32 is a workaround.
Comment 10 hagepri2013 2016-04-06 16:51:39 CDT
The workaround works well. I will use this workaround in the meantime until the issue is corrected otherwise. Thank you.
Comment 11 winetest 2016-12-31 03:36:51 CST
Dead download. Can you provide new?
Comment 12 Damian Yerrick 2017-09-04 09:06:38 CDT
The latest version of 0CC-FamiTracker can be obtained from
http://hertzdevil.info/programs/

I could not change the URL because that requires a permission bit that I don't have.  May the URL point to a page listing the latest version, or must it point to a direct download?
Comment 13 Fabian Maurer 2017-09-04 19:10:47 CDT
> May the URL point to a page listing the latest version, or must it point to a direct download?

Page is fine I think, edited it.
Comment 14 Nikolay Sivov 2018-01-23 10:00:12 CST
I think this is similar or a duplicate of a bug 38881. Notification order vs item states seems to be a problem, application is handling LVN_ITEMCHANGED and handler itself sets selection mark and updates item states, that goes in a loop forever.

Source code is currently available at https://github.com/HertzDevil/0CC-FamiTracker/archive/v0.3.14.0.zip.


Privacy Policy
If you have a privacy inquiry regarding this site, please write to privacy@winehq.org

Hosted By CodeWeavers