Segfault after compilation on fedora core 6

*nix specific usage questions
glossolalie
New Cone
New Cone
Posts: 4
Joined: 12 Mar 2007 12:03

Segfault after compilation on fedora core 6

Postby glossolalie » 12 Mar 2007 17:46

Hi,

I run on segfault after compiling vlc
i've done ./configure --enabl-libtool --enable-shared cause i wanna use libvlc.so

and next make ; make install
Every thing goes well
But at execution I got :
glossolalie@somewhere$:~/$ vlc -vv
VLC media player 0.8.6a Janus
[00000001] main private debug: checking builtin modules
[00000001] main private debug: checking plugin modules
[00000001] main private debug: loading plugins cache file /home/glossolalie/.vlc/cache/plugins-04041e.dat
[00000001] main private debug: recursively browsing `modules'
[00000001] main private debug: recursively browsing `/usr/local/lib/vlc'
Segmentation fault


Any Idea... i try several thing but nothing good.

kmf31
Cone that earned his stripes
Cone that earned his stripes
Posts: 308
Joined: 11 Mar 2007 21:47

Postby kmf31 » 12 Mar 2007 20:49

You can try to add the ./configure option "--with-pic" if you are on a 64 bit Linux version and if the compiler produces 64 bit binaries. Ideally all shared (and static !!) libraries (such as ffmpeg etc.) on a 64 bit system should also be compiled with an gcc-option like "-fPIC" (also the live555 library if you use it).

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

Postby xtophe » 12 Mar 2007 22:24

a gdb backtrace would be useful
Xtophe

glossolalie
New Cone
New Cone
Posts: 4
Joined: 12 Mar 2007 12:03

Postby glossolalie » 13 Mar 2007 18:10

Hi,
thks for your answers.
No i am not using a 64 bits machine.
I 've cleaned a little bit my system it seems it was a mess.
compilation work well with ./configure lonely and the execution finally got a result.

But I got a hard time to get a usable libvlc.so on a fedora core 6.
I didn't succeed.

As i try to write a multimedia analysis application based on the such good vlc, the use of a shared library would be a great thing.....

I've already somethings working on a debian etch, thanks to the libvlc-dev package , But if you have any hint on compiling a proper libvlc.so...

I have noticed that using --enable-libtool will build a libvlc.so but it also produce an executable which segfault (see my previous post)


--- At last I'mglad to give you a gdb segfault
Program received signal SIGSEGV, Segmentation fault.
0x00fb0d99 in vlc_entry__0_8_6 ()
from modules/access_output/libaccess_output_udp_plugin.so

with configure line :
./configure --prefix=/home/glossolalie/local/ --enable-wxwindows --enable-shared --enable-libtool --enable-debug

So removing it.....make it work...... yuhuhuuuu
sorry but i waste my afternoon on this....
And now i can go back to my code... niarkniarkniark

Just one more thing i was using the tar.bz2 source version 0.8.6a

And the debian package also has the libaccess_udp_plugin but it doesn't seem to be broken or disturbing the application.

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

Postby xtophe » 14 Mar 2007 00:05

--- At last I'mglad to give you a gdb segfault
Program received signal SIGSEGV, Segmentation fault.
0x00fb0d99 in vlc_entry__0_8_6 ()
from modules/access_output/libaccess_output_udp_plugin.so
This usually happen when it tries to load a plugins which is too old or too new compare with libvlc version.

you can try to delete your plugin cache ~/.vlc/cache, read the log to see where it looks for modules, use --plugin-path

hth,
Xtophe


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

Who is online

Users browsing this forum: No registered users and 21 guests