[vlc-devel] Run-time problem in current SVN on MacOS-X

Philip Edelbrock phil at philedelbrock.com
Sun Dec 19 00:12:53 CET 2004


Since about a week or so ago, the svn (vlc-trunk) VLC builds, but 
immediately dies when launched.  The environment is MacOS-X 10.3.6, gcc 
3.3.

[...]
[00000005] main module debug: using memcpy module "memcpyaltivec"
[00000198] main playlist debug: creating view 1
[00000198] main playlist debug: creating view 2
[00000198] main playlist debug: creating view 3
[00000198] main playlist debug: waiting for thread completion
[00000198] main playlist debug: thread 33635328 (playlist) created at 
priority -47 (src/playlist/playlist.c:149)
[00000199] main private debug: waiting for thread completion
[00000199] main private debug: thread 33703424 (preparser) created at 
priority -47 (src/playlist/playlist.c:173)
[00000200] main interface debug: looking for interface module
[00000200] main interface debug: probing 1 candidate
[00000035] main module debug: using interface module "hotkeys"
[00000200] main interface debug: interface initialized
[00000200] main interface debug: thread 34143744 (interface) created at 
priority -47 (src/interface/interface.c:176)
[00000201] main interface debug: looking for interface module
[00000201] main interface debug: probing 3 candidates
[00000019] main module debug: using interface module "macosx"
[00000201] main interface debug: interface initialized
[00000201] main interface debug: thread 34141184 (manager) created at 
priority -47 (src/interface/interface.c:152)

Program received signal EXC_BAD_ACCESS, Could not access memory.
0x900f5fc0 in memcmp ()
(gdb) bt
#0  0x900f5fc0 in memcmp ()
#1  0x0000b134 in intf_RunThread (p_intf=0x1b7a2f0) at 
src/interface/interface.c:159
#2  0x00007a40 in VLC_AddIntf (i_object=0, psz_module=0x0, b_block=1, 
b_play=1) at src/libvlc.c:777
#3  0x00003044 in main (i_argc=28365712, ppsz_argv=0x0) at src/vlc.c:105

src/interface/interface.c:159:
      159     if( p_intf->b_block && strncmp( 
p_intf->p_module->psz_shortname, "clivlc", 6) )
      160     {
      161         o_pool = [[NSAutoreleasePool alloc] init];
      162         [VLCApplication sharedApplication];
      163     }

(gdb) printf "%s",p_intf->p_module->psz_shortname
Cannot access memory at address 0x0

% ./vlc-config --cflags builtin
-I/sw/include -D_FILE_OFFSET_BITS=64 -D__USE_UNIX98 
-D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_GNU_SOURCE 
-DLOCALEDIR="/sw/share/locale" -DDATA_PATH="/sw/share/vlc" 
-DPLUGIN_PATH="/sw/lib/vlc"  -O2 -g -D__VLC__ -D__BUILTIN__  
-mdynamic-no-pic

:'(

I tried deleting ~/Library/Preferences/VLC and 
~//Library/Preferences/org.videolan.vlc.plist in case it was pulling 
old/bad values from there.


-Phil

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list