http://bugs.winehq.org/show_bug.cgi?id=12298
Summary: Notation Composer: crashes when opening menus Product: Wine Version: 0.9.58. Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: marc321@gmail.com
Created an attachment (id=11746) --> (http://bugs.winehq.org/attachment.cgi?id=11746) Backtrace
I am trying to run the demo version of Notation Composer 2.3.3 (a midi notation program). It starts just fine, but crashes when I start opening menus like File, Help, and so on. If I use the menus sparingly, I am able to open a midi file and use some of the basic program functions, like playing the file or editing the score (although my toolbar lacks icons and playback bogs the program down... topics for separate bug reports, probably, but perhaps that info will be useful here).
The demo can be downloaded here: http://notation.com/download/NotationComposer233TrialSmallSetup.exe
Note that I had to use winetricks and download the vcrun6 package, since the install program requires mfc42.dll. Without it, the trial period expires upon the first run.
Here are some details about my setup:
Wine version: 0.9.58 Windows version: XP Distro: Slackware(-current) Kernel version: 2.6.24.3-smp CPU: Intel Core 2 Duo E6750 GCC version: 4.2.3 glibc version: 2.7 xorg-server version: 1.4.0.90 Video card, driver version: NVidia GeForce 8600GT, 169.12 Notable configure opts: --with-x, --enable-opengl
I ran the program with: $ wine "C:\Program Files\Notation\Composer\Composer.exe" > backtrace.txt 2>&1
To recreate the problem: get mfc42.dll (with winetricks vcrun6; thx Dan), install the program, and start opening menus. The faster they are opened, the sooner the program crashes.
A debug log is available, if needed. The page fault occurs at about 1500 lines from the bottom, so let me know how many lines you need.
Thanks!
http://bugs.winehq.org/show_bug.cgi?id=12298
--- Comment #1 from Austin English austinenglish@gmail.com 2008-03-30 14:13:59 --- I can't reproduce this in current git. Is there a certain menu that does it?
http://bugs.winehq.org/show_bug.cgi?id=12298
--- Comment #2 from marc321@gmail.com 2008-03-30 15:12:46 --- (In reply to comment #1)
I can't reproduce this in current git. Is there a certain menu that does it?
For me, any of the menus can cause the crash. If I repeatedly click on "File", for example, the program crashes after an arbitrary number of clicks. Occasionally, I only have to click on a menu once for the program to crash.
The randomness bothers me. I tried doing some regression tests, since the version of Notation Composer that I originally tested (2.1.2) worked just fine on Wine 0.9.45 up to about 0.9.50, IIRC... I was a bad app maintainer and didn't update my test results, so I don't remember exactly. The tests turned up nothing; I experienced the same crash for every set of commits back to 0.9.45.
Since you aren't experiencing the crash, and my regression tests "failed", there must be something about my computer or the Slackware-current software versions causing trouble. I built a new computer since I last tested, so perhaps it's a driver issue. Honestly, I don't know where to look. My video drivers are up-to-date, and I don't have anything weird like compositing enabled.
Out of curiosity, when you start Composer, do you see a bunch of symbols resembling colons ":" scattered around on the start page? If you open one of the sample midi files, are all the icons missing from the toolbar?
I will try the latest git version and report back.
http://bugs.winehq.org/show_bug.cgi?id=12298
--- Comment #3 from marc321@gmail.com 2008-03-30 17:05:17 --- I tried something I probably should have tried before: switching from Alsa to OSS in winecfg. No more crashing, the program is more responsive, and oddly enough, I got my icons back on the toolbar. The icons were still gone with the current git until I switched to OSS. Strange.
Now, I just need to figure out how to get midi playback working through OSS...
Austin, what type of audio chip do you have, and what is your kernel version? I've got a Realtek ALC888 chip (onboard, Intel ICH9 southbridge) and it is driven by the snd_hda_intel module from the 2.6.24.3 kernel. The more information I have for my AppDB page, the better, IMO.
Since this is just a workaround, how should I mark this bug?
http://bugs.winehq.org/show_bug.cgi?id=12298
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Summary|Notation Composer: crashes |Notation Composer: crashes |when opening menus |when opening menus when | |using ALSA
--- Comment #4 from Austin English austinenglish@gmail.com 2008-03-30 18:03:38 --- (In reply to comment #2)
Out of curiosity, when you start Composer, do you see a bunch of symbols resembling colons ":" scattered around on the start page? If you open one of the sample midi files, are all the icons missing from the toolbar?
Yes, and yes. I'll attach a couple screenshots.
(In reply to comment #3)
Austin, what type of audio chip do you have, and what is your kernel version? I've got a Realtek ALC888 chip (onboard, Intel ICH9 southbridge) and it is driven by the snd_hda_intel module from the 2.6.24.3 kernel. The more information I have for my AppDB page, the better, IMO.
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60) Subsystem: ASUSTeK Computer Inc. A8V Deluxe motherboard (Realtek ALC850 codec) Flags: medium devsel, IRQ 21 I/O ports at e800 [size=256] Capabilities: <access denied>
Linux austin-desktop 2.6.24-12-generic #1 SMP Wed Mar 12 23:01:54 UTC 2008 i686 GNU/Linux
Since this is just a workaround, how should I mark this bug?
I updated the summary to reflect the new findings.
http://bugs.winehq.org/show_bug.cgi?id=12298
--- Comment #5 from Austin English austinenglish@gmail.com 2008-03-30 18:03:54 --- Created an attachment (id=11752) --> (http://bugs.winehq.org/attachment.cgi?id=11752) Screenshots
http://bugs.winehq.org/show_bug.cgi?id=12298
--- Comment #6 from Marc Payne marc321@gmail.com 2008-03-30 21:26:12 --- Thanks for the screenshots. Those are the same glitches I experienced. Since switching to OSS, the toolbar icons seem to appear every time... even after deleting my ~/.wine directory and starting over. Ghosts? ;-)
I installed TiMidity and ran it with "timidity -iA", which creates four Alsa sequencer ports. Wine sees the ports and populates the OSS "MIDI Out Devices" list with them. Choosing one of those ports via "Setup -> MIDI Devices quick setup..." in Composer enables playback, which is flawless. I am satisfied to have sound and no crashes, but there is still the question of why Composer crashed with Alsa.
http://bugs.winehq.org/show_bug.cgi?id=12298
--- Comment #7 from Marc Payne marc321@gmail.com 2008-03-31 11:23:54 --- I am attaching a couple debug logs, one for ALSA and the other for OSS. After a few attempts, I finally got Composer to crash with OSS using my technique of menu opening. It seems switching to OSS only delays the inevitable.
In case this is not clear, I first ran winecfg, clicked the Audio tab, checked ALSA, and unchecked OSS. After applying and closing, I ran the following command:
WINEDEBUG=+relay ./wine "C:\Program Files\Notation\Composer\Composer.exe" &> ~/wine-files/composer-info/alsa-debug.txt
I then ran winecfg again, unchecked ALSA, checked OSS, applied the changes, closed, and ran the same command, directing output to oss-debug.txt.
Each attached file contains the last 1600-1800 lines of output and includes the backtraces. This is with current git, as you may deduce from the logs.
On a side note, I see occasions where multiple lines of output are on a single line. If that is a result of the way I created the logs, or lack of newlines in the code, I don't know.
http://bugs.winehq.org/show_bug.cgi?id=12298
--- Comment #8 from Marc Payne marc321@gmail.com 2008-03-31 11:24:48 --- Created an attachment (id=11763) --> (http://bugs.winehq.org/attachment.cgi?id=11763) ALSA Debug Log
http://bugs.winehq.org/show_bug.cgi?id=12298
--- Comment #9 from Marc Payne marc321@gmail.com 2008-03-31 11:25:26 --- Created an attachment (id=11764) --> (http://bugs.winehq.org/attachment.cgi?id=11764) OSS Debug Log
http://bugs.winehq.org/show_bug.cgi?id=12298
--- Comment #10 from Marc Payne marc321@gmail.com 2008-04-01 11:46:47 --- Quick note: the same problem occurs when I run the program properly, according to the FAQ -- that is, changing into the program's directory and running "wine Composer.exe".
Just trying to cover my bases.
http://bugs.winehq.org/show_bug.cgi?id=12298
--- Comment #11 from Marc Payne marc321@gmail.com 2008-04-20 17:16:42 --- Well, I happened to be looking at my lsmod output and noticed that Slackware loads snd_seq_dummy along with the other modules for my onboard sound. Removing that dummy module reduces the frequency of my crashes by a large percentage. Plus, Composer no longer lags when trying to play a midi file with ALSA.
I can't say that the bug is resolved, since it still crashes occasionally if I persistently open menus (quickly, perhaps 3/sec). Maybe I'm splitting hairs trying to make it crash with abnormal usage. However, it must be crashing for a reason. :)
If anyone knows of some debug channels I should use, or any other information I can provide, I'll be happy to produce it.
http://bugs.winehq.org/show_bug.cgi?id=12298
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #12 from Austin English austinenglish@gmail.com 2008-12-29 11:57:15 --- Still present in git:
wine: Unhandled page fault on read access to 0x0000008c at address 0x7e97efef (thread 003a), starting debugger... Backtrace: =>0 0x7e97efef REGION_IntersectRegion+0x1f(newReg=0x1a9448, reg1=0x1a9448, reg2=0x88) [/home/austin/wine-git/dlls/gdi32/region.c:1947] in gdi32 (0x0032f128) 1 0x7e97f929 CombineRgn+0xd9(hDest=0x6148, hSrc1=0x6148, hSrc2=0x1f7c, mode=1) [/home/austin/wine-git/dlls/gdi32/region.c:1342] in gdi32 (0x0032f178) 2 0x7e9391fa ExtSelectClipRgn+0xba(hdc=0x30c, hrgn=0x1f7c, fnMode=1) [/home/austin/wine-git/dlls/gdi32/clipping.c:156] in gdi32 (0x0032f1b8) 3 0x00979165 in composer (+0x579165) (0x00000014) 4 0x00000000 (0x00000000) 0x7e97efef REGION_IntersectRegion+0x1f [/home/austin/wine-git/dlls/gdi32/region.c:1947] in gdi32: movl 0x4(%eax),%eax
http://bugs.winehq.org/show_bug.cgi?id=12298
--- Comment #13 from Austin English austinenglish@gmail.com 2010-07-03 19:41:26 --- Seems fine for me in 1.2-rc6.
http://bugs.winehq.org/show_bug.cgi?id=12298
Marc Payne marc321@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #14 from Marc Payne marc321@gmail.com 2010-07-04 12:59:52 --- (In reply to comment #13)
Seems fine for me in 1.2-rc6.
After 8216 rapid menu clicks, I have to agree. Seems fine now. Marking as resolved and fixed.
http://bugs.winehq.org/show_bug.cgi?id=12298
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #15 from Alexandre Julliard julliard@winehq.org 2010-07-09 11:56:49 --- Closing bugs fixed in 1.2-rc7.