segmentation fault building git version of vlc

*nix specific usage questions
drial
New Cone
New Cone
Posts: 3
Joined: 19 Feb 2010 13:30

segmentation fault building git version of vlc

Postby drial » 19 Feb 2010 14:15

Hello everybody, I'm new to this forum.

I'm trying to compile last vlc downloaded from git server, but after ./bootstrap, ./configure, when I execute make I get the following error

Code: Select all

...... Making all in 3dnow CC libmemcpy3dn_plugin_la-memcpy.lo CCLD libmemcpy3dn_plugin.la Making all in . GEN stamp-cache /bin/sh: line 4: 31018 Segmentation fault ../bin/vlc-cache-gen . make[3]: *** [stamp-cache] Error 139 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
The build environment is Fedora core 10 x64


I don't know what's happening and because of this problem, I can't continue building the last version ov VLMC

xtophe
Big Cone-huna
Big Cone-huna
Posts: 1209
Joined: 24 Nov 2003 10:12
Location: Bristol, England

Re: segmentation fault building git version of vlc

Postby xtophe » 19 Feb 2010 16:35

Coiuld you generatea backtrace with gdb

cd ${builddir}/modules; gdb --args ../bin/vlc-cache-gen .; run; bt
Xtophe

drial
New Cone
New Cone
Posts: 3
Joined: 19 Feb 2010 13:30

Re: segmentation fault building git version of vlc

Postby drial » 22 Feb 2010 12:31

OK. Thanks

If I run the gdb command specified in the previous post, I get the following output

Code: Select all

gdb --args ../bin/vlc-cache-gen .; run; bt GNU gdb Fedora (6.8-32.fc10) Copyright (C) 2008 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-redhat-linux-gnu"... "/disks/wksXXXd1/drial_work/videolan/vlc/bin/vlc-cache-gen": not in executable format: File format not recognized (gdb)

xtophe
Big Cone-huna
Big Cone-huna
Posts: 1209
Joined: 24 Nov 2003 10:12
Location: Bristol, England

Re: segmentation fault building git version of vlc

Postby xtophe » 22 Feb 2010 12:41

grbml @ libtool

Try gdb --args ../bin/.libs/lt-vlc-cache-gen .

(the run and bt commands needs to be done inside gdb)
Xtophe

drial
New Cone
New Cone
Posts: 3
Joined: 19 Feb 2010 13:30

Re: segmentation fault building git version of vlc

Postby drial » 22 Feb 2010 13:06

Using run and bt commands inside gdb the shown output is this:

Code: Select all

gdb --args ../bin/.libs/lt-vlc-cache-gen . GNU gdb Fedora (6.8-32.fc10) Copyright (C) 2008 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-redhat-linux-gnu"... (gdb) run Starting program: /usr/src/videolan/vlc/bin/.libs/lt-vlc-cache-gen . [Thread debugging using libthread_db enabled] Detaching after fork from child process 6067. [New Thread 0x7ffff7aca6f0 (LWP 6058)] Detaching after fork from child process 6068. [New Thread 0x7fffcf988950 (LWP 6069)] [Thread 0x7fffcf988950 (LWP 6069) exited] Program received signal SIGSEGV, Segmentation fault. 0x000000303d61288d in ?? () from /lib64/libselinux.so.1 Missing separate debuginfos, use: debuginfo-install SDL-1.2.13-7.fc10.x86_64 a52dec-0.7.4-13.fc10.x86_64 alsa-lib-1.0.21-2.fc10.x86_64 avahi-0.6.22-12.fc10.x86_64 bzip2-libs-1.0.5-3.fc10.x86_64 dbus-libs-1.2.4-4.fc10.x86_64 e2fsprogs-libs-1.41.4-6.fc10.x86_64 expat-2.0.1-5.x86_64 faac-1.28-1.fc10.x86_64 faad2-libs-2.6.1-6.fc10.x86_64 ffmpeg-libs-0.4.9-0.55.20080908.fc10.x86_64 flac-1.2.1-4.fc9.x86_64 fontconfig-2.6.0-3.fc10.x86_64 freeglut-2.4.0-14.fc9.x86_64 freetype-2.3.7-3.fc10.x86_64 fribidi-0.19.1-2.fc9.x86_64 glib2-2.18.4-2.fc10.x86_64 glibc-2.9-3.x86_64 gpac-libs-0.4.5-3.fc10.x86_64 gsm-1.0.12-6.fc9.x86_64 jack-audio-connection-kit-0.116.1-5.fc10.x86_64 keyutils-libs-1.2-3.fc9.x86_64 krb5-libs-1.6.3-18.fc10.x86_64 lame-libs-3.98.2-2.fc10.x86_64 libICE-1.0.4-4.fc10.x86_64 libSM-1.1.0-2.fc10.x86_64 libX11-1.1.5-4.fc10.x86_64 libXau-1.0.4-1.fc10.x86_64 libXcursor-1.1.9-3.fc10.x86_64 libXdmcp-1.0.2-6.fc10.x86_64 libXext-1.0.4-1.fc9.x86_64 libXfixes-4.0.3-4.fc10.x86_64 libXi-1.1.3-4.fc9.x86_64 libXinerama-1.0.3-2.fc10.x86_64 libXrandr-1.2.3-1.fc10.x86_64 libXrender-0.9.4-3.fc9.x86_64 libXxf86vm-1.0.2-1.fc10.x86_64 libcaca-0.99-0.7.beta16.fc10.x86_64 libcap-2.10-2.fc10.x86_64 libdca-0.0.5-3.fc10.x86_64 libgcc-4.3.2-7.x86_64 libgcrypt-1.4.4-1.fc10.x86_64 libgpg-error-1.6-2.x86_64 libjpeg-6b-43.fc10.x86_64 libmad-0.15.1b-12.fc10.x86_64 libmp4v2-1.5.0.1-6.fc10.x86_64 libmpeg2-0.5.1-3.fc10.x86_64 libogg-1.1.3-9.fc9.x86_64 liboil-0.3.14-1.fc9.x86_64 libpng-1.2.37-1.fc10.x86_64 libselinux-2.0.78-1.fc10.x86_64 libstdc++-4.3.2-7.x86_64 libtheora-1.0rc1-2.fc10.x86_64 libvorbis-1.2.0-6.fc10.x86_64 libxcb-1.1.91-7.fc10.x86_64 libxml2-2.7.6-1.fc10.x86_64 live555-0-0.20.2008.07.25.fc10.x86_64 lua-5.1.4-2.fc10.x86_64 mesa-libGLU-7.2-0.15.fc10.x86_64 ncurses-libs-5.6-20.20080927.fc10.x86_64 openssl-0.9.8g-14.fc10.x86_64 qt-4.5.2-3.fc10.x86_64 qt-x11-4.5.2-3.fc10.x86_64 schroedinger-1.0.5-3.fc10.x86_64 slang-2.1.4-1.fc10.x86_64 speex-1.2-0.10.rc1.fc10.x86_64 x264-libs-0.0.0-0.20.20080905.fc10.x86_64 xvidcore-1.2.1-3.fc10.x86_64 zlib-1.2.3-18.fc9.x86_64 (gdb) bt #0 0x000000303d61288d in ?? () from /lib64/libselinux.so.1 #1 0x000000303d60529f in selinux_file_context_cmp () from /lib64/libselinux.so.1 #2 0x00000000006c1c78 in ?? () #3 0x0000000000000000 in ?? ()
In the output I see problems related libselinux.so.1 but I have selinux disabled since fedora was installed.

xtophe
Big Cone-huna
Big Cone-huna
Posts: 1209
Joined: 24 Nov 2003 10:12
Location: Bristol, England

Re: segmentation fault building git version of vlc

Postby xtophe » 23 Feb 2010 00:43

Well selinux is called.

you could re-configure with --enable-debug so the the backtrace would be more useful but I'm afraid it'll go back to selinux
Xtophe


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 12 guests