[bugs:#233] load gem_videoVLC.so at startup crash pd
There are two probable issues:
- there was a crasher bug with videoVLC, that was (introduced and) fixed recently
- there seems to be some glib incompatibility with another external. I dont know if this is fixable at all.
To detect which of the two issued you have do:
- make sure you have the latest
Gem from git
- try loading Gem/videoVLC without any other external (and then add externals until you find the culprit)
Yes, I have the latest Gem from git.
It is a problem between gem_imageMAGICK.so and gem_videoVLC.so. When I add gem_imageMAGICK.so in the Gem directory (where gem_videoVLC.so is already in place), Pd crash at startup.
++
Jack
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I still get the Pd crash (Ubuntu 14.04). Always between gem_imageMAGICK.so and gem_videoVLC.so.
$ dpkg --list | grep libvlc
ii libvlc-dev 2.1.4-0ubuntu14.04.1 amd64 development files for libvlc
ii libvlc5 2.1.4-0ubuntu14.04.1 amd64 multimedia player and streamer library
rc libvlccore5 2.0.8-1 amd64 base library for VLC and its modules
ii libvlccore7 2.1.4-0ubuntu14.04.1 amd64 base library for VLC and its modules
$ dpkg --list | grep magick
ii imagemagick 8:6.7.7.10-6ubuntu3 amd64 image manipulation programs
ii imagemagick-common 8:6.7.7.10-6ubuntu3 all image manipulation programs -- infrastructure
ii libmagick++-dev 8:6.7.7.10-6ubuntu3 amd64 object-oriented C++ interface to ImageMagick - development files
ii libmagick++5:amd64 8:6.7.7.10-6ubuntu3 amd64 object-oriented C++ interface to ImageMagick
ii libmagickcore-dev 8:6.7.7.10-6ubuntu3 amd64 low-level image manipulation library - development files
ii libmagickcore5:amd64 8:6.7.7.10-6ubuntu3 amd64 low-level image manipulation library
ii libmagickcore5-extra:amd64 8:6.7.7.10-6ubuntu3 amd64 low-level image manipulation library - extra codecs
ii libmagickwand-dev 8:6.7.7.10-6ubuntu3 amd64 image manipulation library - development files
ii libmagickwand5:amd64 8:6.7.7.10-6ubuntu3 amd64 image manipulation library
++
Jack
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
both vlc and ImageMagick have plugin-systems, which get initialized during initialization of Gem's plugin system, and which seem to trigger a conflict.
just to imagine:
Pd starts, and loads Gem.pd_linux via dlopen().
Gem searches for plugins and finds and loads gem_imageMAGICK.so via dlopen().
gem_imageMAGICK.so initializes ImageMagick
ImageMagick searches for plugins in /usr/lib/.../ImageMagick-6.7.7/modules-Q16/ and loads them via dlopen().
Gem searches for more plugins and finds and loads gem_videoVLC.so via dlopen().
gem_videoVLC.so initializes libvlc
libvlc searches for plugins in /usr/lib/vlc/plugins and loads them via dlopen().
the crash seems to be related to glibc (when (re)initialized by the qt-plugin for vlc's gui)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
On 23. August 2014 13:52:02 MESZ, jack jackovic@users.sf.net wrote:
There are two probable issues:
- there was a crasher bug with videoVLC, that was (introduced and) fixed recently
- there seems to be some glib incompatibility with another external. I dont know if this is fixable at all.
To detect which of the two issued you have do:
- make sure you have the latest
Gem from git
- try loading Gem/videoVLC without any other external (and then add externals until you find the culprit)
--
mfh.ifs.dhr
IOhannes
sent from my pdp-12
Related
Bugs: #233
Yes, I have the latest Gem from git.
It is a problem between gem_imageMAGICK.so and gem_videoVLC.so. When I add gem_imageMAGICK.so in the Gem directory (where gem_videoVLC.so is already in place), Pd crash at startup.
++
Jack
i do have both gem_imageMAGICK.so and gem_videoVLC.so, and i have no crash.
ubuntu 14.04 and Gem from current git.
I will try with a new build of Gem with :
$ make clean
$ git pull
$ aclocal
$ ./autogen.sh
$ ./configure
$ make
And I keep you informed.
++
Jack
I still get the Pd crash (Ubuntu 14.04). Always between gem_imageMAGICK.so and gem_videoVLC.so.
$ dpkg --list | grep libvlc
ii libvlc-dev 2.1.4-0ubuntu14.04.1 amd64 development files for libvlc
ii libvlc5 2.1.4-0ubuntu14.04.1 amd64 multimedia player and streamer library
rc libvlccore5 2.0.8-1 amd64 base library for VLC and its modules
ii libvlccore7 2.1.4-0ubuntu14.04.1 amd64 base library for VLC and its modules
$ dpkg --list | grep magick
ii imagemagick 8:6.7.7.10-6ubuntu3 amd64 image manipulation programs
ii imagemagick-common 8:6.7.7.10-6ubuntu3 all image manipulation programs -- infrastructure
ii libmagick++-dev 8:6.7.7.10-6ubuntu3 amd64 object-oriented C++ interface to ImageMagick - development files
ii libmagick++5:amd64 8:6.7.7.10-6ubuntu3 amd64 object-oriented C++ interface to ImageMagick
ii libmagickcore-dev 8:6.7.7.10-6ubuntu3 amd64 low-level image manipulation library - development files
ii libmagickcore5:amd64 8:6.7.7.10-6ubuntu3 amd64 low-level image manipulation library
ii libmagickcore5-extra:amd64 8:6.7.7.10-6ubuntu3 amd64 low-level image manipulation library - extra codecs
ii libmagickwand-dev 8:6.7.7.10-6ubuntu3 amd64 image manipulation library - development files
ii libmagickwand5:amd64 8:6.7.7.10-6ubuntu3 amd64 image manipulation library
++
Jack
thanks for the additional info.
this is a duplicate of [#217], but given that this report contains more info, i will leave it open (and close the other one)
Related
Bugs:
#217$ dpkg --list | grep libvlc
and$ dpkg --list | grep magick
give me the same as Jack but I don't have any crash.The line #27 of the backtrace says :
Could this be the cause of your crash ?
urgh, this is slightly ugly to debug.
both vlc and ImageMagick have plugin-systems, which get initialized during initialization of Gem's plugin system, and which seem to trigger a conflict.
just to imagine:
dlopen()
.dlopen()
./usr/lib/.../ImageMagick-6.7.7/modules-Q16/
and loads them viadlopen()
.dlopen()
./usr/lib/vlc/plugins
and loads them viadlopen()
.the crash seems to be related to
glibc
(when (re)initialized by the qt-plugin for vlc's gui)just adding jack's original system info: