Trying to get a clue...
I've got a application that has a snapshot of ffmpeg libs statically linked. I'm attempting to use the version of gst-ffmpeg plugin (0.10.5) packaged with the distribution (ubuntu 8.10) which unfortunately has been linked against the system ffmpeg libs. Whenever gstreamer tries to use the ffmpeg plugin, I'm getting a segfault. My best guess is that it's somehow accessing something in my statically linked ffmpeg snapshot. But I can't see how it would do that as its loaded dynamically at run time and should not be able to see the symbols for the static version. Anybody have any ideas? ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Am Montag, den 01.12.2008, 11:06 -0800 schrieb John Stebbins:
> Trying to get a clue... > I've got a application that has a snapshot of ffmpeg libs statically > linked. I'm attempting to use the version of gst-ffmpeg plugin (0.10.5) > packaged with the distribution (ubuntu 8.10) which unfortunately has > been linked against the system ffmpeg libs. Whenever gstreamer tries to > use the ffmpeg plugin, I'm getting a segfault. My best guess is that > it's somehow accessing something in my statically linked ffmpeg > snapshot. But I can't see how it would do that as its loaded > dynamically at run time and should not be able to see the symbols for > the static version. > > Anybody have any ideas? sure that the ffmpeg symbols are not exported. Also there's IIRC some linked flag to make sure that global symbols inside the executable are not overriden by some shared library (maybe -Bsymbolic ?). ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel signature.asc (204 bytes) Download Attachment |
Sebastian Dröge wrote: > Am Montag, den 01.12.2008, 11:06 -0800 schrieb John Stebbins: > >> Trying to get a clue... >> I've got a application that has a snapshot of ffmpeg libs statically >> linked. I'm attempting to use the version of gst-ffmpeg plugin (0.10.5) >> packaged with the distribution (ubuntu 8.10) which unfortunately has >> been linked against the system ffmpeg libs. Whenever gstreamer tries to >> use the ffmpeg plugin, I'm getting a segfault. My best guess is that >> it's somehow accessing something in my statically linked ffmpeg >> snapshot. But I can't see how it would do that as its loaded >> dynamically at run time and should not be able to see the symbols for >> the static version. >> >> Anybody have any ideas? >> > > Your application with the statically linked ffmpeg should somehow make > sure that the ffmpeg symbols are not exported. Also there's IIRC some > linked flag to make sure that global symbols inside the executable are > not overriden by some shared library (maybe -Bsymbolic ?). > > Many thanks. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |