[GEM-dev] [pd-gem:bugs] Re: #211 VLC plugin crash Pd

2013-08-03 Thread jack
The last version of libvlc (2.0.8) solved all problems :

$ dpkg --list | grep libvlc
ii  libvlc-dev 2.0.8-0ubuntu0.13.04.1 amd64 development files for libvlc
ii  libvlc5 2.0.8-0ubuntu0.13.04.1 amd64 multimedia player and streamer library
ii  libvlccore5 2.0.8-0ubuntu0.13.04.1 amd64 base library for VLC and its 
modules
++

Jack




---

** [bugs:#211] VLC plugin crash Pd**

**Status:** open
**Created:** Thu Jun 06, 2013 05:02 PM UTC by jack 
**Last Updated:** Sat Jun 08, 2013 08:44 AM UTC
**Owner:** nobody

Hello,
Using VLC plugin crash Pd.
Removing the symlink solve this problem.
Can I help to enable this plugin in a patch ?
Configuration :
Ubuntu 13.04, Pd 0.44.3, Gem ver: 0.93.git 374f713.
++

Jack




---

Sent from sourceforge.net because gem-...@lists.iem.at is subscribed to 
https://sourceforge.net/p/pd-gem/bugs/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/pd-gem/admin/bugs/options.  Or, if this is a mailing 
list, you can unsubscribe from the mailing list.___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


[GEM-dev] [pd-gem:bugs] Re: #211 VLC plugin crash Pd

2013-06-06 Thread jack
Version of libvlc :
$ dpkg --list | grep libvlc
ii  libvlc-dev2.0.6-1   
 amd64development files for libvlc
ii  libvlc5   2.0.6-1   
 amd64multimedia player and streamer library
ii  libvlccore5   2.0.6-1   
 amd64base library for VLC and its modules

To reproduce the bug :
$ pd
- crash

++

Jack




---

** [bugs:#211] VLC plugin crash Pd**

**Status:** open
**Created:** Thu Jun 06, 2013 05:02 PM UTC by jack 
**Last Updated:** Thu Jun 06, 2013 05:08 PM UTC
**Owner:** nobody

Hello,
Using VLC plugin crash Pd.
Removing the symlink solve this problem.
Can I help to enable this plugin in a patch ?
Configuration :
Ubuntu 13.04, Pd 0.44.3, Gem ver: 0.93.git 374f713.
++

Jack




---

Sent from sourceforge.net because you indicated interest in 
https://sourceforge.net/p/pd-gem/bugs/211/

To unsubscribe from further messages, please visit 
https://sourceforge.net/auth/subscriptions/___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


[GEM-dev] [pd-gem:bugs] Re: #211 VLC plugin crash Pd

2013-06-06 Thread jack
$ gdb --args pd -nrt ...
GNU gdb (GDB) 7.5.91.20130417-cvs-ubuntu
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-linux-gnu.
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/...
Reading symbols from /usr/local/bin/pd...(no debugging symbols found)...done.
(gdb)

Then it stops.

With valgrind, i get (if that can replace gdb) :
$ valgrind pd -nrt
==17882== Memcheck, a memory error detector
==17882== Copyright (C) 2002-2012, and GNU GPL'd, by Julian Seward et al.
==17882== Using Valgrind-3.8.1 and LibVEX; rerun with -h for copyright info
==17882== Command: pd -nrt
==17882== 
==17882== Invalid read of size 1
==17882==at 0x5D19040: vfprintf (vfprintf.c:1655)
==17882==by 0x5DDBA83: __vsprintf_chk (vsprintf_chk.c:84)
==17882==by 0x5DDB9CC: __sprintf_chk (sprintf_chk.c:32)
==17882==by 0x4DC696: alsa_getdevs (in /usr/local/bin/pd)
==17882==by 0x48C8B3: sys_set_audio_settings (in /usr/local/bin/pd)
==17882==by 0x485D44: sys_loadpreferences (in /usr/local/bin/pd)
==17882==by 0x482438: sys_main (in /usr/local/bin/pd)
==17882==by 0x5CEDEA4: (below main) (libc-start.c:260)
==17882==  Address 0x698d298 is 40 bytes inside a block of size 376 free'd
==17882==at 0x4C2BA6C: free (in 
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==17882==by 0x4DC677: alsa_getdevs (in /usr/local/bin/pd)
==17882==by 0x48C8B3: sys_set_audio_settings (in /usr/local/bin/pd)
==17882==by 0x485D44: sys_loadpreferences (in /usr/local/bin/pd)
==17882==by 0x482438: sys_main (in /usr/local/bin/pd)
==17882==by 0x5CEDEA4: (below main) (libc-start.c:260)
==17882== 
==17882== Invalid read of size 1
==17882==at 0x5D48AB0: _IO_default_xsputn (genops.c:476)
==17882==by 0x5D18FFE: vfprintf (vfprintf.c:1655)
==17882==by 0x5DDBA83: __vsprintf_chk (vsprintf_chk.c:84)
==17882==by 0x5DDB9CC: __sprintf_chk (sprintf_chk.c:32)
==17882==by 0x4DC696: alsa_getdevs (in /usr/local/bin/pd)
==17882==by 0x48C8B3: sys_set_audio_settings (in /usr/local/bin/pd)
==17882==by 0x485D44: sys_loadpreferences (in /usr/local/bin/pd)
==17882==by 0x482438: sys_main (in /usr/local/bin/pd)
==17882==by 0x5CEDEA4: (below main) (libc-start.c:260)
==17882==  Address 0x698d298 is 40 bytes inside a block of size 376 free'd
==17882==at 0x4C2BA6C: free (in 
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==17882==by 0x4DC677: alsa_getdevs (in /usr/local/bin/pd)
==17882==by 0x48C8B3: sys_set_audio_settings (in /usr/local/bin/pd)
==17882==by 0x485D44: sys_loadpreferences (in /usr/local/bin/pd)
==17882==by 0x482438: sys_main (in /usr/local/bin/pd)
==17882==by 0x5CEDEA4: (below main) (libc-start.c:260)
==17882== 
==17882== Invalid read of size 1
==17882==at 0x5D48AC2: _IO_default_xsputn (genops.c:475)
==17882==by 0x5D18FFE: vfprintf (vfprintf.c:1655)
==17882==by 0x5DDBA83: __vsprintf_chk (vsprintf_chk.c:84)
==17882==by 0x5DDB9CC: __sprintf_chk (sprintf_chk.c:32)
==17882==by 0x4DC696: alsa_getdevs (in /usr/local/bin/pd)
==17882==by 0x48C8B3: sys_set_audio_settings (in /usr/local/bin/pd)
==17882==by 0x485D44: sys_loadpreferences (in /usr/local/bin/pd)
==17882==by 0x482438: sys_main (in /usr/local/bin/pd)
==17882==by 0x5CEDEA4: (below main) (libc-start.c:260)
==17882==  Address 0x698d29a is 42 bytes inside a block of size 376 free'd
==17882==at 0x4C2BA6C: free (in 
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==17882==by 0x4DC677: alsa_getdevs (in /usr/local/bin/pd)
==17882==by 0x48C8B3: sys_set_audio_settings (in /usr/local/bin/pd)
==17882==by 0x485D44: sys_loadpreferences (in /usr/local/bin/pd)
==17882==by 0x482438: sys_main (in /usr/local/bin/pd)
==17882==by 0x5CEDEA4: (below main) (libc-start.c:260)
==17882== 
==17882== Invalid read of size 1
==17882==at 0x5D19040: vfprintf (vfprintf.c:1655)
==17882==by 0x5DDBA83: __vsprintf_chk (vsprintf_chk.c:84)
==17882==by 0x5DDB9CC: __sprintf_chk (sprintf_chk.c:32)
==17882==by 0x4DC6B9: alsa_getdevs (in /usr/local/bin/pd)
==17882==by 0x48C8B3: sys_set_audio_settings (in /usr/local/bin/pd)
==17882==by 0x485D44: sys_loadpreferences (in /usr/local/bin/pd)
==17882==by 0x482438: sys_main (in /usr/local/bin/pd)
==17882==by 0x5CEDEA4: (below main) (libc-start.c:260)
==17882==  Address 0x698d298 is 40 bytes inside a block of size 376 free'd
==17882==at 0x4C2BA6C: free (in 
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==17882==by 0x4DC677: alsa_getdevs (in /usr/local/bin/pd)
==17882==by 0x48C8B3: sys_set_audio_settings (in /usr/local/bin/pd)
==17882==by 0x485D44: sys_loadpreferences (in /usr/local/bin/pd)
==17882==  

[GEM-dev] [pd-gem:bugs] Re: #211 VLC plugin crash Pd

2013-06-06 Thread IOhannes m zmölnig
thanks.
Pd does *not* crash here (tested with the same libvlc (2.0.6-1) but on an i386 
machine running debian).


---

** [bugs:#211] VLC plugin crash Pd**

**Status:** open
**Created:** Thu Jun 06, 2013 05:02 PM UTC by jack 
**Last Updated:** Thu Jun 06, 2013 05:08 PM UTC
**Owner:** nobody

Hello,
Using VLC plugin crash Pd.
Removing the symlink solve this problem.
Can I help to enable this plugin in a patch ?
Configuration :
Ubuntu 13.04, Pd 0.44.3, Gem ver: 0.93.git 374f713.
++

Jack




---

Sent from sourceforge.net because you indicated interest in 
https://sourceforge.net/p/pd-gem/bugs/211/

To unsubscribe from further messages, please visit 
https://sourceforge.net/auth/subscriptions/___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


[GEM-dev] [pd-gem:bugs] Re: #211 VLC plugin crash Pd

2013-06-06 Thread IOhannes m zmölnig
thanks.

my initial thought that the version of Gem you are running does not match the 
version of Gem the videoVLC plugin was compiled with (though it should detect 
that), seems to be highly unlikely given that setup.

anyhow, valgrind is *not* a replacement for gdb, they are complementing each 
other.
so i'd still like to have a gdb backtrace.

the trick (as outlined in the original post) is, that gdb is interactive. after 
starting it, you have to manually run the program (with the `run` command) and 
after it crashed, you have to manually ask it for a backtrace (with the `bt` 
command)
once you are done, you can exit it with the `quit` command. e.g. check the 
[debian help](http://wiki.debian.org/HowToGetABacktrace) for more information.


and i forgot: please add the flags `-stderr -verbose -verbose` when running Pd 
(in addition to `-rt`), it might reveal something that gets lost otherwise.


---

** [bugs:#211] VLC plugin crash Pd**

**Status:** open
**Created:** Thu Jun 06, 2013 05:02 PM UTC by jack 
**Last Updated:** Thu Jun 06, 2013 05:08 PM UTC
**Owner:** nobody

Hello,
Using VLC plugin crash Pd.
Removing the symlink solve this problem.
Can I help to enable this plugin in a patch ?
Configuration :
Ubuntu 13.04, Pd 0.44.3, Gem ver: 0.93.git 374f713.
++

Jack




---

Sent from sourceforge.net because you indicated interest in 
https://sourceforge.net/p/pd-gem/bugs/211/

To unsubscribe from further messages, please visit 
https://sourceforge.net/auth/subscriptions/___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev