http://bugs.winehq.org/show_bug.cgi?id=25616
Summary: Comet Busters: Error displays indicating Wine cannot continue Product: Wine Version: unspecified Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: craig.schulstad@infor.com
Created an attachment (id=32616) --> (http://bugs.winehq.org/attachment.cgi?id=32616) Debug trace of running Comet Busters
When launching the Comet Busters executable program (comet.exe), the program error dialog box is displayed that winedvm.exe has encountered an error. When the "close" button is clicked, a short backtrace display is shown (screen print attached). When I ran the program using the WINEDEBUG command, the point in the program where it appears to fail is in using the midimap.dll library. Again, I have attached the output from the WINEDEBUG process.
http://bugs.winehq.org/show_bug.cgi?id=25616
--- Comment #1 from Craig Schulstad craig.schulstad@infor.com 2010-12-25 16:04:11 CST --- Created an attachment (id=32617) --> (http://bugs.winehq.org/attachment.cgi?id=32617) Backtrace screen from executing Comet Busters
http://bugs.winehq.org/show_bug.cgi?id=25616
--- Comment #2 from Andrew Nguyen arethusa26@gmail.com 2010-12-25 21:21:04 CST --- Please specify Wine version and retest with the latest development version of Wine (1.3.10). Also, please install debug symbols for Wine and attach a new backtrace, preferably in plain text.
http://bugs.winehq.org/show_bug.cgi?id=25616
--- Comment #3 from Craig Schulstad craig.schulstad@infor.com 2010-12-26 17:01:40 CST --- As a test, I installed Comet Busters on an old PC that is running Windows 3.1. It installed and runs properly on this PC. When I reviewed the file system, the midi handling appears to be handled by midimap.drv (there is no midimap.dll on this system). So it appears that some type of configuration change needs to be made to point this native midi control to this file instead of using midimap.dll. I am attaching the system.ini file from the Windows 3.1 PC. If anyone can advise how to configure Wine to use the midimap.drv file in lieu of the midimap.dll file, that might resolve this issue. Thanks.
http://bugs.winehq.org/show_bug.cgi?id=25616
--- Comment #4 from Craig Schulstad craig.schulstad@infor.com 2010-12-26 17:03:15 CST --- Created an attachment (id=32629) --> (http://bugs.winehq.org/attachment.cgi?id=32629) Windows 3.1 system.ini file illustrating use of midimap.drv
http://bugs.winehq.org/show_bug.cgi?id=25616
--- Comment #5 from Andrew Nguyen arethusa26@gmail.com 2010-12-26 18:37:41 CST --- Can you please provide the information I requested? I can't reproduce a crash with Comet Busters! from http://www.fasterlight.com/hugg/projects/cometbusters.html installed in a clean Wine prefix using wine-1.3.10.
http://bugs.winehq.org/show_bug.cgi?id=25616
--- Comment #6 from Craig Schulstad craig.schulstad@infor.com 2010-12-26 21:33:26 CST --- Andrew,
I am currently using version 1.3.9 of Wine. I just tried to get the update but when I ran the "sudo apt-get update..." command, I received a message back that I was at the current level of Wine. Evidently, the binary for Ubuntu has not been put into a distribution package yet. I will check tomorrow and the next day to see if version 1.3.10 is available. Once it is, I will retry Comet Busters. So I will probably make another post in a few days.
I also went to your link and downloaded that version of Comet Busters which actually was slightly newer than the version I purchased some years ago.
Thanks again for looking at this bug submission.
Regards,
Craig
http://bugs.winehq.org/show_bug.cgi?id=25616
Andrew Nguyen arethusa26@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |1.3.9
--- Comment #7 from Andrew Nguyen arethusa26@gmail.com 2010-12-27 12:20:37 CST --- (In reply to comment #6)
I am currently using version 1.3.9 of Wine. I just tried to get the update but when I ran the "sudo apt-get update..." command, I received a message back that I was at the current level of Wine. Evidently, the binary for Ubuntu has not been put into a distribution package yet. I will check tomorrow and the next day to see if version 1.3.10 is available. Once it is, I will retry Comet Busters. So I will probably make another post in a few days.
When you do so, please ensure that debug symbols are installed and attach the backtrace, as in the original screenshot, but in plain-text format.
http://bugs.winehq.org/show_bug.cgi?id=25616
--- Comment #8 from Craig Schulstad craig.schulstad@infor.com 2010-12-30 09:53:55 CST --- Created an attachment (id=32667) --> (http://bugs.winehq.org/attachment.cgi?id=32667) Debug log of Comet Busters 1.4 with Wine 1.3.10
I compressed the log file to keep it under 1MB.
http://bugs.winehq.org/show_bug.cgi?id=25616
--- Comment #9 from Craig Schulstad craig.schulstad@infor.com 2010-12-30 09:59:27 CST --- Andrew,
I had the chance to download and install Wine 1.3.10. However, when I retried launching Comet Busters (v1.4) I still got the same issues which seem to pertain to the midi map functions. I did not understand completely about including debug symbols from your previous response, so using the information from the FAQ section, I reran WINEDEBUG including the "+seh" "+relay" and "+tid" parameters. I compressed the log file and attached it to this bug report.
FYI, I am using Ubuntu 10.04 with Gnome on a Dell XPS 430 PC. Please let me know if there is some other information I can provide.
Regards,
Craig
http://bugs.winehq.org/show_bug.cgi?id=25616
--- Comment #10 from Andrew Nguyen arethusa26@gmail.com 2010-12-30 10:04:31 CST --- (In reply to comment #9)
Andrew,
I had the chance to download and install Wine 1.3.10. However, when I retried launching Comet Busters (v1.4) I still got the same issues which seem to pertain to the midi map functions. I did not understand completely about including debug symbols from your previous response, so using the information from the FAQ section, I reran WINEDEBUG including the "+seh" "+relay" and "+tid" parameters. I compressed the log file and attached it to this bug report.
I mean that you need to install the package that contains symbolic debugging information for Wine. I don't need a +relay trace, so after installing symbols for Wine, just attach debug output without setting WINEDEBUG.
http://bugs.winehq.org/show_bug.cgi?id=25616
Craig Schulstad craig.schulstad@infor.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #32667|0 |1 is obsolete| |
--- Comment #11 from Craig Schulstad craig.schulstad@infor.com 2010-12-30 10:18:45 CST --- Created an attachment (id=32668) --> (http://bugs.winehq.org/attachment.cgi?id=32668) Backtrace screen from executing Comet Busters - rerun with Comet 1.4
In checking my reinstall, I erroneously reinstalled Comet Busters 1.3.4. I just resinstalled Comet Busters 1.4 and then reran the WINEDEBUG command. The new attachment is the debug log for Comet Busters 1.4.
http://bugs.winehq.org/show_bug.cgi?id=25616
--- Comment #12 from Craig Schulstad craig.schulstad@infor.com 2010-12-30 10:22:11 CST --- All,
I just attached a new version of the debug log that was for Comet Busters (v1.4).
Regards,
Craig
http://bugs.winehq.org/show_bug.cgi?id=25616
--- Comment #13 from Andrew Nguyen arethusa26@gmail.com 2010-12-30 10:57:33 CST --- Created an attachment (id=32669) --> (http://bugs.winehq.org/attachment.cgi?id=32669) mmsystem.dll16: Account for the MCI_SYSINFO_QUANTITY case when mapping MCI_SYSINFO_PARMS from 32 -> 16.
(In reply to comment #12)
All,
I just attached a new version of the debug log that was for Comet Busters (v1.4).
Regards,
Craig
See my prior comment. Anyway, does this patch help?
http://bugs.winehq.org/show_bug.cgi?id=25616
--- Comment #14 from Craig Schulstad craig.schulstad@infor.com 2010-12-30 11:51:07 CST --- Created an attachment (id=32670) --> (http://bugs.winehq.org/attachment.cgi?id=32670) Debug log after installing debug symbol package
Andrew,
This trace was done after downloading and installing the wine debug symbol package.
http://bugs.winehq.org/show_bug.cgi?id=25616
--- Comment #15 from Craig Schulstad craig.schulstad@infor.com 2010-12-30 11:53:14 CST --- Andrew,
Per your last entry, I downloaded and installed the wine debug symbol package. I then ran "wine /home/craig/.wine/drive_c/COMET/comet.exe 2> cometdebug.log" which produced the latest log, which I've attached. Let me know if you need anything else.
Regards,
Craig
http://bugs.winehq.org/show_bug.cgi?id=25616
--- Comment #16 from Andrew Nguyen arethusa26@gmail.com 2010-12-30 11:57:08 CST --- (In reply to comment #15)
Andrew,
Per your last entry, I downloaded and installed the wine debug symbol package. I then ran "wine /home/craig/.wine/drive_c/COMET/comet.exe 2> cometdebug.log" which produced the latest log, which I've attached. Let me know if you need anything else.
Regards,
Craig
Thanks, can you please try the patch I attached? See http://wiki.winehq.org/Patching for instructions.
http://bugs.winehq.org/show_bug.cgi?id=25616
--- Comment #17 from Craig Schulstad craig.schulstad@infor.com 2010-12-30 17:39:17 CST --- Created an attachment (id=32672) --> (http://bugs.winehq.org/attachment.cgi?id=32672) Debug log after installing patch
http://bugs.winehq.org/show_bug.cgi?id=25616
--- Comment #18 from Craig Schulstad craig.schulstad@infor.com 2010-12-30 17:42:22 CST --- Created an attachment (id=32673) --> (http://bugs.winehq.org/attachment.cgi?id=32673) The patched mci16.c file
http://bugs.winehq.org/show_bug.cgi?id=25616
--- Comment #19 from Andrew Nguyen arethusa26@gmail.com 2010-12-30 17:44:56 CST --- (In reply to comment #17)
Created an attachment (id=32672)
--> (http://bugs.winehq.org/attachment.cgi?id=32672) [details]
Debug log after installing patch
You're still using the system installation of Wine. Make sure you're launching Wine that you compiled from the source tree.
http://bugs.winehq.org/show_bug.cgi?id=25616
--- Comment #20 from Craig Schulstad craig.schulstad@infor.com 2010-12-30 18:48:12 CST --- Created an attachment (id=32674) --> (http://bugs.winehq.org/attachment.cgi?id=32674) Debug log when running patched program from source location
I made sure I was in the wine source location when I ran the wine script.
http://bugs.winehq.org/show_bug.cgi?id=25616
--- Comment #21 from Craig Schulstad craig.schulstad@infor.com 2010-12-30 18:49:44 CST --- Andrew,
Thanks for the correction on where to run the patched code script. I did do that and came up with a slightly different error. Please see file cometdebug3.log for the latest debug information. Thanks again.
Regards,
Craig
http://bugs.winehq.org/show_bug.cgi?id=25616
Andrew Nguyen arethusa26@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #32669|0 |1 is obsolete| |
--- Comment #22 from Andrew Nguyen arethusa26@gmail.com 2010-12-30 19:06:48 CST --- Created an attachment (id=32675) --> (http://bugs.winehq.org/attachment.cgi?id=32675) mmsystem.dll16: Account for the MCI_SYSINFO_QUANTITY case when mapping MCI_SYSINFO_PARMS from 32 -> 16. (try 2)
Oops, I made a mistake. Please try this one.
http://bugs.winehq.org/show_bug.cgi?id=25616
--- Comment #23 from Craig Schulstad craig.schulstad@infor.com 2010-12-30 20:35:42 CST --- Created an attachment (id=32676) --> (http://bugs.winehq.org/attachment.cgi?id=32676) Short debug log noting no sound
http://bugs.winehq.org/show_bug.cgi?id=25616
--- Comment #24 from Craig Schulstad craig.schulstad@infor.com 2010-12-30 20:36:27 CST --- Created an attachment (id=32677) --> (http://bugs.winehq.org/attachment.cgi?id=32677) Screen shot showing Comet Busters working without sound
http://bugs.winehq.org/show_bug.cgi?id=25616
--- Comment #25 from Craig Schulstad craig.schulstad@infor.com 2010-12-30 20:42:04 CST --- Andrew,
Once I applied the patch and reran the "configure" command, I was able to bring up the game. However, there was no sound. In fact, the sound and music buttons at the top of the game screen were grayed out indicating sound was not available. This might have been the point of your patch to test out things. But thanks to you we are a lot closer. FYI, I did attach a short debug log noting the sound issue along with the game display showing that it does work. And one other note, version 1.4 would not display the spaceship or asteroids (this is the version that uses WinG), but when I tried out my older purchased version (prior to being built with WinG) it does display the spaceship and asteroids.
Anyway, I will leave it with you as to the next step in making the sound work.
Regards,
Craig
http://bugs.winehq.org/show_bug.cgi?id=25616
--- Comment #26 from Andrew Nguyen arethusa26@gmail.com 2010-12-30 22:54:54 CST --- If it's not a problem for you, could you send me a copy of the application through private e-mail to the address associated with my Bugzilla account? That would make testing the application much easier for me.
http://bugs.winehq.org/show_bug.cgi?id=25616
--- Comment #27 from Andrew Nguyen arethusa26@gmail.com 2011-01-04 02:22:28 CST --- (In reply to comment #25)
Andrew,
Once I applied the patch and reran the "configure" command, I was able to bring up the game. However, there was no sound. In fact, the sound and music buttons at the top of the game screen were grayed out indicating sound was not available. This might have been the point of your patch to test out things. But thanks to you we are a lot closer.
I suspect you compiled Wine without the headers for the various sound backends. I sent http://source.winehq.org/patches/data/70052 to address the crash.
And one other note, version 1.4 would not display the spaceship or asteroids (this is the version that uses WinG), but when I tried out my older purchased version (prior to being built with WinG) it does display the spaceship and asteroids.
Please file a new bug for this issue.
http://bugs.winehq.org/show_bug.cgi?id=25616
--- Comment #28 from Andrew Nguyen arethusa26@gmail.com 2011-01-04 10:22:10 CST --- The patch was committed as b84f2f229b08acab6622e691a5f1dbcaefa8232f. I tried starting a new game in Comet Busters and was able to hear sound effects and music, so I think there shouldn't be any more sound-related problems with it. You may have to configure a softsynth for music if you haven't done so already.
http://bugs.winehq.org/show_bug.cgi?id=25616
--- Comment #29 from Craig Schulstad craig.schulstad@infor.com 2011-01-04 21:39:34 CST --- Created an attachment (id=32728) --> (http://bugs.winehq.org/attachment.cgi?id=32728) Capture of midi sound mapping with Timidity
This is the output from running the aconnect -o command.
http://bugs.winehq.org/show_bug.cgi?id=25616
--- Comment #30 from Craig Schulstad craig.schulstad@infor.com 2011-01-04 21:47:59 CST --- Hi Andrew,
I rebuilt a test build of Wine using the latest patch you noted. This caused the "Music" button to be activated within Comet Busters, but not the "Sound" button.
In reading your previous response about configuring sound, I searched on softsynth and found some notes about Timidity. I installed that package, but music still does not play and the "Sound" button is still inactive. In reviewing http://wiki.winehq.org/MIDI I ran the aconnect command to check on the sound configuration (for which I've attached the output) which shows Timidity referenced on ports 0 - 3. Also per the link I ran the aplaymidi command using one of the midi files found in the Comet Busters folder and that did play the music.
The link vaguely references a need for some type of patches (softfonts) but I could not find anything further on that.
Am I on the correct path for setting up midi sound in Wine?
Again I want to stress that the main thing is that I can play the game now, which is great. I do greatly appreciate all of the help you have given.
Regards,
Craig
http://bugs.winehq.org/show_bug.cgi?id=25616
--- Comment #31 from Andrew Nguyen arethusa26@gmail.com 2011-01-04 21:56:04 CST --- (In reply to comment #30)
Hi Andrew,
I rebuilt a test build of Wine using the latest patch you noted. This caused the "Music" button to be activated within Comet Busters, but not the "Sound" button.
In reading your previous response about configuring sound, I searched on softsynth and found some notes about Timidity. I installed that package, but music still does not play and the "Sound" button is still inactive. In reviewing http://wiki.winehq.org/MIDI I ran the aconnect command to check on the sound configuration (for which I've attached the output) which shows Timidity referenced on ports 0 - 3. Also per the link I ran the aplaymidi command using one of the midi files found in the Comet Busters folder and that did play the music.
The link vaguely references a need for some type of patches (softfonts) but I could not find anything further on that.
Am I on the correct path for setting up midi sound in Wine?
Again I want to stress that the main thing is that I can play the game now, which is great. I do greatly appreciate all of the help you have given.
Regards,
Craig
Make sure you've satisfied the optional dependencies for ALSA and its ilk when running the configure script before compiling Wine, or just wait until 1.3.11 is released and packaged for your distribution.
http://bugs.winehq.org/show_bug.cgi?id=25616
--- Comment #32 from Craig Schulstad craig.schulstad@infor.com 2011-01-06 13:42:15 CST --- Hi Andrew,
After testing out both timidity and fluidsynth (these were the noted examples in the "http://wiki.winehq.org/MIDI" link) I settled on fluidsynth. I downloaded the fluidsynth package along with its associated support packages for soundfonts and tested that out per the wiki page. I could play the midi files associated with Comet Busters using the "wintest.exe mcishell" application, but I still could not get music or sound while playing Comet Busters.
After installing the fluidsynth packages I did rerun the "./configure && make depend && make" command to rebuild the patch version of wine but still did not get sound or music to work. Since I'm still a rookie in the Linux/Wine world I could have missed some setup so that midi support is incorporated in the rebuild.
Would you recommend:
- Rebuilding the patch version after revising some make script? - Wait until release 1.3.11 comes out and if the submit a separate bug if the sound issue is still there?
Thanks again for any information you can send.
Regards,
Craig
http://bugs.winehq.org/show_bug.cgi?id=25616
--- Comment #33 from Andrew Nguyen arethusa26@gmail.com 2011-01-08 04:11:05 CST --- (In reply to comment #32)
Would you recommend:
- Rebuilding the patch version after revising some make script?
Make sure you have the dependencies listed in http://wiki.winehq.org/Recommended Packages when configuring and compiling.
- Wait until release 1.3.11 comes out and if the submit a separate bug if the
sound issue is still there?
Wine 1.3.11 is released now, so it may be much easier to try using it when your distribution packages it.
http://bugs.winehq.org/show_bug.cgi?id=25616
--- Comment #34 from Craig Schulstad craig.schulstad@infor.com 2011-01-12 13:49:12 CST --- Andrew,
I have updated my packages to wine 1.3.11, which allowed me to launch Comet Busters without any failure issue. The sound also worked.
Then when I started fluidsynth as a background task I initially did not have any music. However, when I went into the "ini" file for Comet Busters and qualified the location of the midi files with the drive and path (C:\COMET...") the music did play.
So using the latest version of wine with fluidsynth addresses this issue. At your convenience, you may close out this bug. Thank you very much for your excellent support.
Regards,
Craig
http://bugs.winehq.org/show_bug.cgi?id=25616
Andrew Nguyen arethusa26@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #35 from Andrew Nguyen arethusa26@gmail.com 2011-01-12 13:52:39 CST --- Thanks for testing, marking fixed.
http://bugs.winehq.org/show_bug.cgi?id=25616
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #36 from Alexandre Julliard julliard@winehq.org 2011-01-21 13:44:05 CST --- Closing bugs fixed in 1.3.12.
http://bugs.winehq.org/show_bug.cgi?id=25616
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |1.2.x
http://bugs.winehq.org/show_bug.cgi?id=25616
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|1.2.x |---
https://bugs.winehq.org/show_bug.cgi?id=25616
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |b84f2f229b08acab6622e691a5f | |1dbcaefa8232f CC| |focht@gmx.net