LibVLC 4.0 MacOS crash

This forum is about all development around libVLC.
AlexeyGromov
New Cone
New Cone
Posts: 6
Joined: 22 Apr 2022 14:46

LibVLC 4.0 MacOS crash

Postby AlexeyGromov » 22 Apr 2022 15:32

Hi, i build a VLC with a single command (../extras/package/macosx/build.sh -c) as described here https://wiki.videolan.org/MacOSCompile/.
But after calling the standard initialization code

Code: Select all

QStringList args() { QStringList argsList; QString args = qgetenv("VLC_ARGS"); if (!args.isEmpty()) { argsList = args.split(" ", Qt::SkipEmptyParts); } else { argsList << "--intf=dummy" << "--no-media-library" << "--no-stats" << "--no-osd" << "--no-loop" << "--no-video-title-show" #if defined(Q_OS_DARWIN) << "--vout=macosx" #endif << "--drop-late-frames"; } return argsList; libvlc_instance_t m_vlcInstance = libvlc_new(args.count(), argv); libvlc_media_player_t m_vlcMediaPlayer = libvlc_media_player_new(m_vlcInstance); libvlc_media_t m_vlcMedia = libvlc_media_new_path(m_vlcInstance, loc.toUtf8().data()); libvlc_media_player_play(m_vlcMediaPlayer); }
I got a crash.

Using libvlc version: "4.0.0-dev Otto Chriek"
Assertion failed: (param != NULL), function config_GetPsz, file core.c, line 102.

Image

Rémi Denis-Courmont
Developer
Developer
Posts: 15267
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: LibVLC 4.0 MacOS crash

Postby Rémi Denis-Courmont » 22 Apr 2022 17:45

Seems like you removed the vmem module.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

AlexeyGromov
New Cone
New Cone
Posts: 6
Joined: 22 Apr 2022 14:46

Re: LibVLC 4.0 MacOS crash

Postby AlexeyGromov » 25 Apr 2022 08:37

I didn't remove nothing. How to install this module? And where should it be placed? Thanks.

Rémi Denis-Courmont
Developer
Developer
Posts: 15267
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: LibVLC 4.0 MacOS crash

Postby Rémi Denis-Courmont » 25 Apr 2022 09:25

The module is enabled by default in official builds.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

AlexeyGromov
New Cone
New Cone
Posts: 6
Joined: 22 Apr 2022 14:46

Re: LibVLC 4.0 MacOS crash

Postby AlexeyGromov » 25 Apr 2022 11:02

It looks like I have this module:

Image

Rémi Denis-Courmont
Developer
Developer
Posts: 15267
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: LibVLC 4.0 MacOS crash

Postby Rémi Denis-Courmont » 25 Apr 2022 17:23

Then LibVLC can't find its modules.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Rémi Denis-Courmont
Developer
Developer
Posts: 15267
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: LibVLC 4.0 MacOS crash

Postby Rémi Denis-Courmont » 27 Apr 2022 11:31

The crash is tracked as issue 26881. But that's only a symptom of your installation being incomplete or corrupt.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Rémi Denis-Courmont
Developer
Developer
Posts: 15267
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: LibVLC 4.0 MacOS crash

Postby Rémi Denis-Courmont » 28 Apr 2022 12:43

And of course some other devs prefer to keep the bug than to merge the simple fix.

Well I suppose leaving bugs feeds their consulting fees so it all makes sense.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 7 guests