Page 1 of 3

vlc 3.0.x crashes after 4-5 minutes

Posted: 12 May 2018 00:07
by snix
after about 4 minutes of HEVC playback or 5 minutes of H.264 playback, vlc crashes (graphics kernel error).

https://pastebin.com/D005EKs0

Re: vlc 3.0.x crashes after 4-5 minutes

Posted: 12 May 2018 18:27
by dfuhrmann
Maybe it is related to your specific graphics card or driver. What is your Mac Model you are working on?

Can you reliably reproduce that with any video, or does it only crash with a certain video?

Re: vlc 3.0.x crashes after 4-5 minutes

Posted: 12 May 2018 19:51
by snix
2011 mac mini with intel hd graphics 3000 (2 GHz Intel Core i7).

the playback time until crashing may vary, but every video i tried crashes sooner or later.

Re: vlc 3.0.x crashes after 4-5 minutes

Posted: 26 May 2018 19:48
by snix
HEVC playback with latest 3.0.3 nightly crashes after a few minutes:
https://pastebin.com/v3aEfN29

Re: vlc 3.0.x crashes after 4-5 minutes

Posted: 31 May 2018 00:30
by RobFog
Same with the final release of 3.0.3?

Re: vlc 3.0.x crashes after 4-5 minutes

Posted: 31 May 2018 03:17
by snix
yes final 3.0.3 still crashes. but it doesn't generate a crash log. i only see this in the console:

5/30/18 5:55:50.000 PM kernel[0]: The graphics driver has detected a corruption in its command stream.
5/30/18 5:55:51.880 PM com.apple.xpc.launchd[1]: (org.videolan.vlc.1624352[1575]) Service exited with abnormal code: 5

Re: vlc 3.0.x crashes after 4-5 minutes

Posted: 07 Jun 2018 23:08
by tom5379
I have the same issue since upgrading to 3.0.3, and also on vlc-4.0.0-20180427-0405.

Hardware details:

Code: Select all

Hardware Overview: Model Name: Mac mini Model Identifier: Macmini5,3 Processor Name: Intel Core i7 Processor Speed: 2 GHz Number of Processors: 1 Total Number of Cores: 4 L2 Cache (per Core): 256 KB L3 Cache: 6 MB Memory: 16 GB Boot ROM Version: MM51.007F.B00 SMC Version (system): 1.77f0

Crash logs from vlc-4.0.0-20180427-0405: https://pastebin.com/YLV6E6U0 and https://pastebin.com/LU9CspWy

VLC 3.0.3 also crashes but it doesn't seem possible to get the crash logs, when I click on "Report" in the "Application quit unexpectedly" window, the window just closes. I get the same message in system.log as the post above but I do not get the preceding message (graphics driver issue):

Code: Select all

Jun 7 19:57:09 MM04s-Mac-mini com.apple.xpc.launchd[1] (org.videolan.vlc.39200[33653]): Service exited with abnormal code: 5

I've downgraded to 2.2.8 and that seems stable.

Re: vlc 3.0.x crashes after 4-5 minutes

Posted: 08 Jun 2018 08:52
by InTheWings
com.apple.driver.AppleIntelHD3000GraphicsGLDriver

Re: vlc 3.0.x crashes after 4-5 minutes

Posted: 08 Jun 2018 20:20
by snix
VLC 2.2.8 has no issue with the intel hd3000. and the hd3000 can't hardware decode HEVC. so shouldn't VLC 3.0 and 2.2.8 work essentially the same for software decoding? i don't understand why 3.0 has issues with the graphics driver now.

Re: vlc 3.0.x crashes after 4-5 minutes

Posted: 09 Jun 2018 00:51
by tom5379
VLC 2.2.8 has no issue with the intel hd3000. and the hd3000 can't hardware decode HEVC. so shouldn't VLC 3.0 and 2.2.8 work essentially the same for software decoding? i don't understand why 3.0 has issues with the graphics driver now.

Downgrading to 2.2.8 seems to work.

I just tried to play the same video again in the latest nightly build with hardware acceleration switched off, and I get the same error: https://pastebin.com/vnSx4uWp

Re: vlc 3.0.x crashes after 4-5 minutes

Posted: 09 Jun 2018 14:08
by InTheWings
VLC 2.2.8 has no issue with the intel hd3000. and the hd3000 can't hardware decode HEVC. so shouldn't VLC 3.0 and 2.2.8 work essentially the same for software decoding? i don't understand why 3.0 has issues with the graphics driver now.
of course, 2.2.8 does not use hw decoding

Re: vlc 3.0.x crashes after 4-5 minutes

Posted: 09 Jun 2018 15:46
by tom5379
VLC 2.2.8 has no issue with the intel hd3000. and the hd3000 can't hardware decode HEVC. so shouldn't VLC 3.0 and 2.2.8 work essentially the same for software decoding? i don't understand why 3.0 has issues with the graphics driver now.
of course, 2.2.8 does not use hw decoding

What's the menu option in the 2.2.8 preferences below for then?

Image

And how come 3.0.3 still crashes with the option below switched off?

Image

Is there another menu option to switch hardware decoding off in 3.0.3 that I should use instead/as well?

Re: vlc 3.0.x crashes after 4-5 minutes

Posted: 10 Jun 2018 10:49
by InTheWings
Opengl is activated by default is 3.0

AFAIU, that crash happens in the private commands queuing of the driver, and a google search shows it in multiple products.

Re: vlc 3.0.x crashes after 4-5 minutes

Posted: 10 Jun 2018 12:52
by tom5379
Opengl is activated by default is 3.0

AFAIU, that crash happens in the private commands queuing of the driver, and a google search shows it in multiple products.

I'm still experiencing the same crashing even with it switched off, unless the options I posted screenshots of above are not the correct options to switch it off. I've also tried disabling "OpenGL/GLES Hardware Converter" under Video/Output Modules/Mac OSX.

Re: vlc 3.0.x crashes after 4-5 minutes

Posted: 11 Jun 2018 15:28
by PrideOfElites
Facing the exact same issue on MacBook Air (Early 2015) running Mac OS High Sierra 10.13.5

Re: vlc 3.0.x crashes after 4-5 minutes

Posted: 15 Jun 2018 21:36
by dfuhrmann
We have quite a bit of those crashes, but I do not know why.

Re: vlc 3.0.x crashes after 4-5 minutes

Posted: 17 Jun 2018 23:07
by Jean-Baptiste Kempf
Do the crash happen if hardware decoding is disabled?

Re: vlc 3.0.x crashes after 4-5 minutes

Posted: 18 Jun 2018 19:50
by snix
hardware decoding is disabled, it still crashes. but intel hd3000 can't decode HEVC, so even if it was enabled, it should just fallback to software decode. v2.2.8 does software decode for HEVC and doesn't crash.

Re: vlc 3.0.x crashes after 4-5 minutes

Posted: 19 Jun 2018 00:07
by Jean-Baptiste Kempf
hardware decoding is disabled, it still crashes. but intel hd3000 can't decode HEVC, so even if it was enabled, it should just fallback to software decode. v2.2.8 does software decode for HEVC and doesn't crash.


OK, please provide a stacktrace of the crash.

Re: vlc 3.0.x crashes after 4-5 minutes

Posted: 19 Jun 2018 21:17
by snix
i'm not a developer. how do i do stacktrace?

Re: vlc 3.0.x crashes after 4-5 minutes

Posted: 21 Jun 2018 23:49
by Jean-Baptiste Kempf
The crashing dialog should give it to you.

Re: vlc 3.0.x crashes after 4-5 minutes

Posted: 24 Jun 2018 07:46
by palec
The crashing dialog should give it to you.
I have the same issue after upgrading to macOS 10.13.5 on MacBook Pro with Intel HD 3000 (which is known to have buggy OpenGL drivers).
VLC just suddently quits without showing crashing dialog, the only trace I can find is in the system.log:

Code: Select all

com.apple.xpc.launchd[1] (org.videolan.vlc.81620[58496]): Service exited with abnormal code: 5
This happens even if the playback is paused and application runs in the background.

Re: vlc 3.0.x crashes after 4-5 minutes

Posted: 24 Jun 2018 23:41
by Jean-Baptiste Kempf
The crashing dialog should give it to you.
I have the same issue after upgrading to macOS 10.13.5 on MacBook Pro with Intel HD 3000 (which is known to have buggy OpenGL drivers).
VLC just suddently quits without showing crashing dialog, the only trace I can find is in the system.log:

Code: Select all

com.apple.xpc.launchd[1] (org.videolan.vlc.81620[58496]): Service exited with abnormal code: 5
This happens even if the playback is paused and application runs in the background.

And if you disable hardware decoding?

Re: vlc 3.0.x crashes after 4-5 minutes

Posted: 26 Jun 2018 21:46
by snix
The crashing dialog should give it to you.
3.0.3 doesn't show any crash dialog for me. but earlier in this thread i posted some links to crash logs from previous nightly build. don't know if that's the same thing as stacktrace.

Re: vlc 3.0.x crashes after 4-5 minutes

Posted: 04 Jul 2018 00:01
by babganoushr
Same here VLC crash after a few minuts reading any kind of video (dvd, mkv, mp4...) i tried to downgrade from VLC 3.0.3 to 3.0.2, same issue, I'm on mac os under Sierra, i never had in my life trouble with vlc, what is going on ? I tried to delete preferences, same..

Downgrading to 2.2.8 works.

Any idea ?