http://bugs.winehq.org/show_bug.cgi?id=11142
Summary: Roland XV-Editor program crashes when setting midi ports Product: Wine Version: 0.9.52. Platform: Other OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: gsking1@yahoo.com
Created an attachment (id=10171) --> (http://bugs.winehq.org/attachment.cgi?id=10171) backtrace text
Tried to run Roland's XV-Editor. This is a program that that controls settings on an external XV-2020 synth. I believe it all works through midi sending SysEx messages. The XV-2020 is connected via its USB-midi port. Same issue when connect through midi ports. Otherwise midi with this unit seems fine as I normally use it with Rosegarden and other linux midi sequencing software.
gsking@blaster:~/.wine/drive_c/Program Files/Roland/XVEditor$ wine XV-2020Editor.exe fixme:mixer:ALSA_MixerInit No master control found on M Audio Audiophile 24/96, disabling mixer fixme:mixer:ALSA_MixerInit No master control found on XV-2020, disabling mixer wine: Call from 0x7b840f8c to unimplemented function winmm.dll.midiConnect, aborting wine: Unimplemented function winmm.dll.midiConnect called at address 0x7b840f8c (thread 0009), starting debugger... Unhandled exception: unimplemented function winmm.dll.midiConnect called in 32-bit code (0x7b841006).
Entire backtrace log is attached.
http://bugs.winehq.org/show_bug.cgi?id=11142
Lei Zhang thestig@google.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #1 from Lei Zhang thestig@google.com 2008-01-14 15:30:18 --- midiConnect is not implemented yet.
http://bugs.winehq.org/show_bug.cgi?id=11142
Christian Costa titan.costa@wanadoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |titan.costa@wanadoo.fr
--- Comment #3 from Christian Costa titan.costa@wanadoo.fr 2008-08-15 11:20:03 --- The app will work fine until you try to use the Through feature (I wonder the purpose of this feature but hey).
I sent a patch that fixes the crash.
http://bugs.winehq.org/show_bug.cgi?id=11142
--- Comment #4 from Christian Costa titan.costa@wanadoo.fr 2008-08-15 11:23:47 --- Created an attachment (id=15433) --> (http://bugs.winehq.org/attachment.cgi?id=15433) patch
He is the patch in case you want to try.
http://bugs.winehq.org/show_bug.cgi?id=11142
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
http://bugs.winehq.org/show_bug.cgi?id=11142
--- Comment #5 from Geoff gsking1@yahoo.com 2008-08-17 11:45:07 --- Thanks - I'll give it a try with the next version of wine. All my midi gear is boxed up for at least the next month while moving. Thanks, Geoff
http://bugs.winehq.org/show_bug.cgi?id=11142
--- Comment #6 from Christian Costa titan.costa@wanadoo.fr 2008-08-20 03:44:52 --- Patch commited.
http://bugs.winehq.org/show_bug.cgi?id=11142
--- Comment #7 from Austin English austinenglish@gmail.com 2008-08-20 10:18:29 --- Please retest.
http://bugs.winehq.org/show_bug.cgi?id=11142
--- Comment #8 from Christian Costa titan.costa@wanadoo.fr 2008-12-20 11:17:51 --- Geoff, could you retry with a fresh version of wine so we can close the bug ?
http://bugs.winehq.org/show_bug.cgi?id=11142
--- Comment #9 from Geoff gsking1@yahoo.com 2008-12-20 11:56:02 --- Yes - I will test this week.
http://bugs.winehq.org/show_bug.cgi?id=11142
--- Comment #10 from Geoff gsking1@yahoo.com 2008-12-20 15:18:23 --- Looks like it does work better, but there are some issues. I'm also attaching a screenshot so you know what this program is. A few thoughts...
1) It appears to be necessary to use winecfg to use OSS rather than ALSA. ALSA also works a little, but the program crashed a few times until switching to OSS. I had no crashes when using OSS.
2) It sends notes and control information just fine. For example, I can click on the little keyboard, change octaves, channels, etc.. and it plays the notes as expected.
3) However, after any program changes [presumably where it is sending or receiving more data to the unit] I get an error popup saying "It appears that the XV-2020 is unconnected or connected incorrectly. Please check the connections." It takes about 4 seconds for this popup to showup after clicking the setting and the editor interface is locked during that time. However, it does appear to change the channel instantly when viewed from the unit. Once changed, the unit appears to work fine.
4) I also get an error popup when trying to save a SVD file. This is basically a data dump from the unit into a file. The progress meter stops after a few seconds and then another message "This file could not be saved." The light was blinking on the unit so some data was trying to transmit.
These seem like data transfer issues. Does the unit think it's not getting the data?
For reference I'm running wine 1.1.10 on Ubuntu Intrepid.
This is what was on the terminal while using it with OSS. gsking@blaster:~$ wine "/home/gsking/.wine/drive_c/Program Files/Roland/XVEditor/XV-2020Editor.exe" fixme:winmm:midiConnect (0x8002, 0x8003, (nil)): Stub fixme:commdlg:GetFileName95 Flags 0x00800000 not yet implemented
When running under ALSA, I got this crash after a few minutes: sking@blaster:~$ wine "/home/gsking/.wine/drive_c/Program Files/Roland/XVEditor/XV-2020Editor.exe" fixme:mixer:ALSA_MixerInit No master control found on M Audio Audiophile 24/96, disabling mixer err:ntdll:RtlpWaitForCriticalSection section 0x7e197940 "midi.c: crit_sect" wait timed out in thread 0019, blocked by 001a, retrying (60 sec) wine: Critical section 7e197940 wait failed at address 0x7bc3bbfc (thread 0019), starting debugger... Unhandled exception: wait failed on critical section 0x7e197940 err:seh:raise_exception Unhandled exception code c0000194 flags 0 addr 0x7bc3bbfc gsking@blaster:~$ Process of pid=0008 has terminated No process loaded, cannot execute 'echo Modules:' Cannot get info on module while no process is loaded No process loaded, cannot execute 'echo Threads:' process tid prio (all id:s are in hex) 0000000c 00000012 0 0000000e 0 0000000d 0 0000000f 00000016 0 00000015 0 00000011 0 00000010 0 00000017 00000018 0 You must be attached to a process to run this command. No process loaded, cannot execute 'detach'
http://bugs.winehq.org/show_bug.cgi?id=11142
--- Comment #11 from Geoff gsking1@yahoo.com 2008-12-20 15:22:22 --- Created an attachment (id=18096) --> (http://bugs.winehq.org/attachment.cgi?id=18096) shows program in operation using OSS
http://bugs.winehq.org/show_bug.cgi?id=11142
--- Comment #12 from Christian Costa titan.costa@wanadoo.fr 2008-12-21 16:15:53 --- Regarding ALSA, if you use wine 1.1.10 you need the patch attached (this fix is included in wine 1.1.11).
For OSS, I don't know. Output works fine here but input does not seem to work. Maybe you have the same problem as me. You can still enable midi traces by typing WINEDEBUG=+tid,+midi wine .... so I can take a look.
http://bugs.winehq.org/show_bug.cgi?id=11142
--- Comment #13 from Christian Costa titan.costa@wanadoo.fr 2008-12-21 16:17:26 --- Created an attachment (id=18111) --> (http://bugs.winehq.org/attachment.cgi?id=18111) fix deadlock
http://bugs.winehq.org/show_bug.cgi?id=11142
--- Comment #14 from Geoff gsking1@yahoo.com 2008-12-31 15:02:43 --- Great! I tried the XV-Editor with wine 1.11 today and it worked flawlessly! That includes both read and write to the unit.
This was with the following settings: set Alsa in winecfg, running Ubuntu Intrepid, through standard midi cables. I did't try any other configs.
So far it looks "Gold" to me, but it's hard to know for sure since I never used this much with Windows.
Great Work! Thanks, Geoff
http://bugs.winehq.org/show_bug.cgi?id=11142
--- Comment #15 from Christian Costa titan.costa@wanadoo.fr 2009-01-02 06:12:09 --- Ok. This bug can be closed then. You can still enter a bug for OSS issue if you want.
http://bugs.winehq.org/show_bug.cgi?id=11142
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #16 from Jeff Zaroyko jeffz@jeffz.name 2009-01-02 06:21:27 --- reported fixed
http://bugs.winehq.org/show_bug.cgi?id=11142
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #17 from Alexandre Julliard julliard@winehq.org 2009-01-02 10:33:14 --- Closing bugs fixed in 1.1.12.