Option --qt-start-minimized causing fail with BEX error

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
SkipR
Blank Cone
Blank Cone
Posts: 16
Joined: 02 May 2009 13:22

Option --qt-start-minimized causing fail with BEX error

Postby SkipR » 01 Aug 2020 17:20

See from 2018: ticket 19932

See from 2019: https://forum.videolan.org/viewtopic.ph ... 60#p485352

I am running in a batch script and also did test from cmd.exe prompt. I want to start VLC without a main window just a system tray item. I updated from an old pre-3.0.0 version to VLC 3.0.8 on windows 32 bit system. These commands cause a crash:

Code: Select all

vlc.exe --qt-start-minimized --play-and-exit ".\fanfare2.wav" start /min /wait "" c:\path\vlc.exe --qt-start-minimized --play-and-exit ".\fanfare2.wav"
I assume it relates to the new VLC version. I can upload the WAV file but I tested with 4 WAV and 1 MP3 file and got same result. Same error testing from cmd.exe prompt. The sound file plays successfully but after that is windows error message "VLC has stopped working ..." and further info window "...Data Execution Prevention has closed VLC media player ...". If you remove "--qt-start-minimized" it does not crash. Example:

Code: Select all

vlc.exe --play-and-exit ".\fanfare2.wav" start /min /wait "" c:\path\vlc.exe --play-and-exit ".\fanfare2.wav"
Example of full error details:

Code: Select all

Problem Event Name: BEX Application Name: vlc.exe Application Version: 3.0.8.0 Application Timestamp: 30b530ae Fault Module Name: libqt_plugin.dll Fault Module Version: 3.0.8.0 Fault Module Timestamp: 398b3983 Exception Offset: 000001c9 Exception Code: c0000005 Exception Data: 00000008 OS Version: redacted Locale ID: 3081 Additional Information 1: 381c Additional Information 2: 990920e2c2c5fad44f72dd3afa65d1cb Additional Information 3: 32c6 Additional Information 4: 3e9eabf710f90e68cba817b67c8c19ac
("BEX" is buffer overflow exception.)

The workaround mentioned in the above ticket does work. I will include "--no-crashdump" for now.

Can anyone reproduce this error on Windows (32bit) or is it something odd about my configuration?

SkipR
Blank Cone
Blank Cone
Posts: 16
Joined: 02 May 2009 13:22

Re: Option --qt-start-minimized causing fail with BEX error

Postby SkipR » 03 Aug 2020 11:00

Update:

Code: Select all

vlc.exe --play-and-exit --no-crashdump --no-embedded-video ".\fanfare2.wav"
works ok but that shows the main window

Code: Select all

vlc.exe --qt-start-minimized --play-and-exit --no-crashdump ".\fanfare2.wav"
Works maybe once or twice but then problem returns. I tried switching desktop theme to classic + turning off all visual effects and noticed it worked once after switch then problem comes back. The combination "--qt-start-minimized --play-and-exit" do not work properly on my PC.

Code: Select all

vlc.exe --qt-start-minimized --play-and-exit --no-crashdump --no-embedded-video ".\fanfare2.wav"
worked twice then problem returned.

Can anyone else reproduce problem?

JoeContiRC
New Cone
New Cone
Posts: 2
Joined: 28 Jan 2022 19:17

Re: Option --qt-start-minimized causing fail with BEX error

Postby JoeContiRC » 29 Jan 2022 22:29

No idea if you still have this issue but I have started experiencing this same issue.. Did you ever find a fix?
I'm running Win7 64bit


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 23 guests