libvlc_media_player_set_nsobject / MacOSX

This forum is about all development around libVLC.
sherington
Cone that earned his stripes
Cone that earned his stripes
Posts: 491
Joined: 10 Sep 2008 11:57
VLC version: master
Operating System: Linux

libvlc_media_player_set_nsobject / MacOSX

Postby sherington » 18 Mar 2013 17:37

Hello,

I am curious to know if there are any MacOSX developers here who use libvlc in their own applications, and in particular if they have any success using libvlc_media_player_set_nsobject().

I have seen this function working intermittently over the years, the current best information I have is that it works just fine when using vlc 2.0.3, but on any later version such as 2.0.4 or the latest 2.1.x-git.

The failure is a segfault, at least in this application that uses Java bindings (I am reposting someone else's crash dump, this is the only information I have):

Code: Select all

Process: java [2412] Path: /usr/bin/java Identifier: com.apple.javajdk16.cmd Version: 1.0 (1.0) Code Type: X86-64 (Native) Parent Process: Jar Launcher [2410] PlugIn Path: /Volumes/USB DISK/lib/VLC/plugins/libvout_macosx_plugin.dylib PlugIn Identifier: libvout_macosx_plugin.dylib PlugIn Version: ??? (???) Date/Time: 2013-02-14 17:16:36.971 +1300 OS Version: Mac OS X 10.6.8 (10K549) Report Version: 6 Interval Since Last Report: 1575281 sec Crashes Since Last Report: 7 Per-App Interval Since Last Report: 10939 sec Per-App Crashes Since Last Report: 6 Anonymous UUID: C2552888-2010-41ED-9004-617B31E81A63 Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x000000001db24600 Crashed Thread: 28 Application Specific Information: objc_msgSend() selector name: retain -snip- Thread 28 Crashed: 0 libobjc.A.dylib 0x00007fff82f7f0a3 objc_msgSend_fixup + 111 1 libvout_macosx_plugin.dylib 0x00000001252b4ccc Open + 476 Thread 28 crashed with X86 Thread State (64-bit): rax: 0x0000000100a9b720 rbx: 0x00000001021b5f40 rcx: 0x00000001021b5f40 rdx: 0x0000000000000000 rdi: 0x000000001db24600 rsi: 0x00000001252ba8e0 rbp: 0x00000001252a6960 rsp: 0x00000001252a68a0 r8: 0x00000001021b5e68 r9: 0x000000011dbfc0a4 r10: 0x0000000000000014 r11: 0x00000001252b9295 r12: 0x0000000000000000 r13: 0x000000001db24600 r14: 0x000000011db50490 r15: 0x0000000000000000 rip: 0x00007fff82f7f0a3 rfl: 0x0000000000010206 cr2: 0x000000001db24600
Any ideas?

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

Re: libvlc_media_player_set_nsobject / MacOSX

Postby Rémi Denis-Courmont » 20 Mar 2013 17:45

As far as I know, VLCKit uses libvlc_media_player_set_nsobject
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 15 guests