VLC build on FreeBSD-9.2 fails

Juergen Lock nox at jelal.kn-bremen.de
Sun Oct 13 18:39:56 UTC 2013


In article <20131011090743.GA2259 at e-Gitt.NET> you write:
>Hi,
Hi!
>
>On Thu, Oct 10, 2013 at 05:08:55PM +0300, Jukka Ukkonen wrote:
>> gmake[2]: Entering directory `/usr/ports/multimedia/vlc/work/vlc-2.0.8/bin'
>>   GEN    ../modules/plugins.dat
>> gmake[2]: *** [../modules/plugins.dat] Segmentation fault: 11 (core dumped)
>> gmake[2]: Leaving directory `/usr/ports/multimedia/vlc/work/vlc-2.0.8/bin'
>> gmake[1]: *** [all-recursive] Error 1
>> gmake[1]: Leaving directory `/usr/ports/multimedia/vlc/work/vlc-2.0.8'
>> gmake: *** [all] Error 2
>> *** [do-build] Error code 1
>
>I had the same. Building vlc just with the default config (go to porets 
>directory, "make rmconfig", then with next config just don't change 
>anything) works, though. I haven't checked, which of the plugins causes 
>the compile to fail in the end.
>
>- Oliver

 I now got it too when upgrading from 2.0.7 to 2.0.8a, tho for me
pkg delete'ing 2.0.7 before running make again was enough as a workaround.

 Last time this happened it was an rtld bug [1] but this time i'm not
so sure...  It might be something in the notify plugin now?

command: gdb76 work/vlc-2.0.8/bin/.libs/vlc-cache-gen work/vlc-2.0.8/bin/vlc-cache-gen.core
GNU gdb (GDB) 7.6 [GDB v7.6 for FreeBSD]
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-portbld-freebsd10.0".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /d3t/d3t2/home/nox/svn/ports/multimedia/vlc/work/vlc-2.0.8/bin/.libs/vlc-cache-gen...done.
[New process 101135]

warning: Could not load shared library symbols for ../modules/notify/.libs/libnotify_plugin.so.
Do you need "set solib-search-path" or "set sysroot"?
[New Thread 802406400 (LWP 101135)]
Core was generated by `vlc-cache-gen'.
Program terminated with signal 11, Segmentation fault.
#0  0x0000000801a200d6 in strcmp () from /lib/libc.so.7
(gdb) bt
#0  0x0000000801a200d6 in strcmp () from /lib/libc.so.7
#1  0x000000080755f4b9 in g_str_equal () from /usr/local/lib/libglib-2.0.so.0
#2  0x000000080755f74a in g_hash_table_lookup ()
   from /usr/local/lib/libglib-2.0.so.0
#3  0x000000080757d600 in g_quark_from_static_string ()
   from /usr/local/lib/libglib-2.0.so.0
#4  0x000000080d260ec0 in gobject_init_ctor ()
   from /usr/local/lib/libgobject-2.0.so.0
#5  0x000000080d26b532 in __do_global_ctors_aux ()
   from /usr/local/lib/libgobject-2.0.so.0
#6  0x000000080d23d84e in _init () from /usr/local/lib/libgobject-2.0.so.0
#7  0x00000008006d0660 in ?? ()
#8  0x0000000800607c51 in objlist_call_init (list=<optimized out>, 
    lockstate=0x7fffffffc000)
    at /d3t/d3t/home/nox/src10b/src/libexec/rtld-elf/rtld.c:2314
#9  0x00000008006085ac in dlopen_object (
    name=0x80258eb80 "../modules/notify/.libs/libnotify_plugin.so", fd=0, 
    refobj=<optimized out>, lo_flags=0, mode=<optimized out>, 
    lockstate=0x7fffffffc000)
    at /d3t/d3t/home/nox/src10b/src/libexec/rtld-elf/rtld.c:2898
#10 0x0000000800608f97 in rtld_dlopen (
    name=0x80258eb80 "../modules/notify/.libs/libnotify_plugin.so", fd=-1, 
    mode=1) at /d3t/d3t/home/nox/src10b/src/libexec/rtld-elf/rtld.c:2776
---Type <return> to continue, or q <return> to quit---
#11 0x0000000800b1e77c in module_Load (p_this=0x80241f418, 
    psz_file=0x80258eb80 "../modules/notify/.libs/libnotify_plugin.so", 
    p_handle=0x7fffffffc1c8, lazy=true) at posix/plugin.c:62
#12 0x0000000800af9760 in module_InitDynamic (obj=0x80241f418, 
    path=0x80258eb80 "../modules/notify/.libs/libnotify_plugin.so", fast=true)
    at modules/bank.c:536
#13 0x0000000800af9ecf in AllocatePluginFile (bank=0x7fffffffc550, 
    abspath=0x80258eb80 "../modules/notify/.libs/libnotify_plugin.so", 
    relpath=0x80243dc00 "notify/.libs/libnotify_plugin.so", st=0x7fffffffc288)
    at modules/bank.c:479
#14 0x0000000800af9d73 in AllocatePluginDir (bank=0x7fffffffc550, maxdepth=2, 
    absdir=0x80243db80 "../modules/notify/.libs", 
    reldir=0x80243db00 "notify/.libs") at modules/bank.c:440
#15 0x0000000800af9da9 in AllocatePluginDir (bank=0x7fffffffc550, maxdepth=3, 
    absdir=0x80243da80 "../modules/notify", reldir=0x8025dd958 "notify")
    at modules/bank.c:444
#16 0x0000000800af9da9 in AllocatePluginDir (bank=0x7fffffffc550, maxdepth=4, 
    absdir=0x8025d68d0 "../modules", reldir=0x0) at modules/bank.c:444
#17 0x0000000800af9a0c in AllocatePluginPath (p_this=0x80241f418, 
    path=0x8025d68d0 "../modules", mode=CACHE_USE) at modules/bank.c:353
#18 0x0000000800af948d in AllocateAllPlugins (p_this=0x80241f418)
    at modules/bank.c:298
#19 0x0000000800af92b3 in module_LoadPlugins (obj=0x80241f418)
---Type <return> to continue, or q <return> to quit---
    at modules/bank.c:189
#20 0x0000000800a5774c in libvlc_InternalInit (p_libvlc=0x80241f418, i_argc=3, 
    ppsz_argv=0x7fffffffc830) at libvlc.c:247
#21 0x00000008008222f1 in libvlc_new (argc=2, argv=0x7fffffffc8e0) at core.c:59
#22 0x0000000000400d36 in main (argc=2, argv=0x7fffffffc998) at cachegen.c:107
(gdb) q

 Hmm...
	Juergen

[1] http://www.freebsd.org/cgi/query-pr.cgi?pr=172185


More information about the freebsd-multimedia mailing list