Crashing program.

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
pjd
Newbie
Newbie
Posts: 4
Joined: Sun Apr 04, 2010 10:31 am

Crashing program.

Post by pjd »

Hi,
I have a game Everlong. On a clean wine install it crashes at a certain stage of the game with a dialogue box saying: OLE Error 80004002. This seems to be because wine doesn't like mp3s. Running winetricks allcodecs seems to fix this problem. However when the screen goes dark soon after the program crashes. It seems to be something to do with quartz.dll. I would upload the crashlog of the program with the mp3 fix and a save set just before the crash happens but I don't know how to attatch files to a forum post.
hellork
Level 3
Level 3
Posts: 82
Joined: Thu Mar 27, 2008 7:13 pm

Re: Crashing program.

Post by hellork »

pjd wrote:Hi,
I have a game Everlong. On a clean wine install it crashes at a certain stage of the game with a dialogue box saying: OLE Error 80004002. This seems to be because wine doesn't like mp3s. Running winetricks allcodecs seems to fix this problem. However when the screen goes dark soon after the program crashes. It seems to be something to do with quartz.dll. I would upload the crashlog of the program with the mp3 fix and a save set just before the crash happens but I don't know how to attatch files to a forum post.
This game is very old looking. It runs, if you skip the Prelude (intro movie) by choosing option 2 from the game's startup screen. And I can run it in a wine desktop. The graphics are blocky and 2D. :)

I can confirm that the screen does go dark when you choose to view the Prelude. The sound plays for a while then the wine desktop becomes unresponsive and has to be closed. I am up too late to debug now.

Code: Select all

Backtrace:
=>0 0x20061802 in msvidc32 (+0x1802) (0x0587e5e8)
  1 0x20062618 in msvidc32 (+0x2617) (0x0587e658)
  2 0x68bc1306 in winmm (+0x11305) (0x0587e6a8)
...meaningless addresses removed...
fixme:quartz:FileAsyncReader_WaitForNext Returned: 258 (00000000)
err:quartz:PullPin_Thread_Process Processing error: 8004022e
hellork
Level 3
Level 3
Posts: 82
Joined: Thu Mar 27, 2008 7:13 pm

Re: Crashing program.

Post by hellork »

The crashing video is Movie/Logo.avi
$ ffmpeg -i Movie/Logo.avi
[avi @ 0x26a35e0]sample size (2) != block align (4)
Input #0, avi, from 'Movie/Logo.avi':
Duration: 00:00:14.01, start: 0.000000, bitrate: 4741 kb/s
Stream #0.0: Video: msvideo1, rgb555le, 320x240, 20 tbr, 20 tbn, 20 tbc
Stream #0.1: Audio: pcm_s16le, 44100 Hz, 2 channels, s16, 1411 kb/s

$ file Movie/Logo.avi
Movie/Logo.avi: RIFF (little-endian) data, AVI, 320 x 240, 20.00 fps, video: uncompressed, audio: uncompressed PCM (stereo, 44100 Hz)

There is nothing special about the movie except it is an incredibly cheesy 14 seconds of wasted time. Totem plays it just fine. It does not even use mp3 encoding. Wine should be able to play it. ffplay plays it, too. Wine's msvideo1 decoder is based on ffmpeg.
http://www.winehq.org/pipermail/wine-pa ... 09367.html
http://wiki.multimedia.cx/index.php?tit ... ft_Video_1

At least it's a free download with no nags if anyone else wants to try it.
http://www.nealien.com/Everlong/ 77Mb

I think we have enough info for a bug report, but there may already be one.
http://bugs.winehq.org/show_bug.cgi?id=13155
pjd
Newbie
Newbie
Posts: 4
Joined: Sun Apr 04, 2010 10:31 am

Post by pjd »

The prelude is not the problem (just skip it).
The problem comes later when I continue from this save http://www.sdunning.dsl.pipex.com/Save01.lsd
the error log is here http://www.sdunning.dsl.pipex.com/stderr.txt
hellork
Level 3
Level 3
Posts: 82
Joined: Thu Mar 27, 2008 7:13 pm

Re: Crashing program.

Post by hellork »

This may be a regression. A git bisect from 1.1.34 should reveal the offending patch.
http://bugs.winehq.org/show_bug.cgi?id=15940

If you can do that it would be appreciated.

In the meantime, use native quartz.
pjd
Newbie
Newbie
Posts: 4
Joined: Sun Apr 04, 2010 10:31 am

Post by pjd »

native quartz means the program fails to start with a dialogue box "unable to use DirectShow."

The error output is

Code: Select all

fixme:d3d_caps:wined3d_guess_card No card selector available for GL vendor 3 and card vendor 8086.
fixme:win:EnumDisplayDevicesW ((null),0,0x33f334,0x00000000), stub!
fixme:rpc:I_RpcWindowProc (0x20078,0000001c,00000001,00000000): stub
fixme:ddraw:IDirectDrawImpl_WaitForVerticalBlank (0x152418)->(1,(nil)): Stub
fixme:rpc:I_RpcWindowProc (0x20078,0000001c,00000000,00000000): stub
fixme:rpc:I_RpcWindowProc (0x20078,0000001c,00000001,00000000): stub
fixme:dsalsa:IDsDriverBufferImpl_SetVolumePan (0x16e108,0x16e608): stub
fixme:rpc:I_RpcServerStopListening (): stub
fixme:rpc:I_RpcWindowProc (0x20078,00000002,00000000,00000000): stub
fixme:rpc:I_RpcWindowProc (0x20078,00000082,00000000,00000000): stub
I am using WINE 1.1.42 on Arch Linux. I am now trying to do a git bisect.[/code]
hellork
Level 3
Level 3
Posts: 82
Joined: Thu Mar 27, 2008 7:13 pm

Re: Crashing program.

Post by hellork »

I enabled winetricks heapcheck and the saved game works, but I get a lot of these:

err:heap:GlobalFree (0xf12a): Page fault occurred ! Caused by bug ?
leozillowski8
Newbie
Newbie
Posts: 1
Joined: Tue Apr 06, 2010 11:46 pm

Post by leozillowski8 »

thanks for the information.
pjd
Newbie
Newbie
Posts: 4
Joined: Sun Apr 04, 2010 10:31 am

Post by pjd »

recompiling wine to include mpg123 and using native quartz works.
Thanks for the help
Locked