---
** [bugs:#225] Pd crash when pix_foo (a non-existent library) is loaded after Gem**
**Status:** open **Group:** linux **Created:** Sat Jul 05, 2014 03:06 PM UTC by Antoine Villeret **Last Updated:** Sat Jul 05, 2014 03:06 PM UTC **Owner:** IOhannes m zmölnig
1. build Gem today from Git (here on Ubuntu 14.04) 2. load pd with Gem and a non-existent library `pix_foo` : `pd -noprefs -lib Gem:pix_foo` Pd crash with this backtrace :
~~~~ Thread 1 (Thread 0x7ffff7fba740 (LWP 15658)): #0 0x00000000004123e9 in canvas_getdir () #1 0x00007ffff3da30bd in gem::RTE::RTE::findFile (this=this@entry=0x796fe0, f=..., e=..., ctx=ctx@entry=0x0) at RTE.cpp:116 #2 0x00007ffff3f4ace2 in pix_frei0r::loader (canvas=canvas@entry=0x0, classname=...) at pix_frei0r.cpp:534 #3 0x00007ffff3f4b646 in frei0r_loader (canvas=0x0, classname=<optimized out>) at pix_frei0r.cpp:553 #4 0x0000000000481841 in sys_load_lib () #5 0x00000000004796cb in glob_initfromgui () #6 0x0000000000467a29 in pd_typedmess () #7 0x00000000004728aa in binbuf_eval () #8 0x000000000047c629 in socketreceiver_read () #9 0x000000000047b17a in sys_domicrosleep.constprop () #10 0x0000000000476731 in m_mainloop () #11 0x00007ffff6deeec5 in __libc_start_main (main=0x411800 <main>, argc=5, argv=0x7fffffffdec8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffdeb8) at libc-start.c:287 #12 0x0000000000411831 in _start () ~~~~
Starting pd with : `pd -noprefs -lib pix_foo` works and I got in the console : `pix_foo: can't load library`
Starting pd with : `pd -noprefs -lib Gem:foo` works and I got in the console (after Gem loading message): `foo: can't load library`
---
Sent from sourceforge.net because gem-dev@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.
ouch, obviously a bug in the frei0r loader. i'll have a look
---
** [bugs:#225] Pd crash when pix_foo (a non-existent library) is loaded after Gem**
**Status:** open **Group:** linux **Created:** Sat Jul 05, 2014 03:06 PM UTC by Antoine Villeret **Last Updated:** Sat Jul 05, 2014 03:06 PM UTC **Owner:** IOhannes m zmölnig
1. build Gem today from Git (here on Ubuntu 14.04) 2. load pd with Gem and a non-existent library `pix_foo` : `pd -noprefs -lib Gem:pix_foo` Pd crash with this backtrace :
~~~~ Thread 1 (Thread 0x7ffff7fba740 (LWP 15658)): #0 0x00000000004123e9 in canvas_getdir () #1 0x00007ffff3da30bd in gem::RTE::RTE::findFile (this=this@entry=0x796fe0, f=..., e=..., ctx=ctx@entry=0x0) at RTE.cpp:116 #2 0x00007ffff3f4ace2 in pix_frei0r::loader (canvas=canvas@entry=0x0, classname=...) at pix_frei0r.cpp:534 #3 0x00007ffff3f4b646 in frei0r_loader (canvas=0x0, classname=<optimized out>) at pix_frei0r.cpp:553 #4 0x0000000000481841 in sys_load_lib () #5 0x00000000004796cb in glob_initfromgui () #6 0x0000000000467a29 in pd_typedmess () #7 0x00000000004728aa in binbuf_eval () #8 0x000000000047c629 in socketreceiver_read () #9 0x000000000047b17a in sys_domicrosleep.constprop () #10 0x0000000000476731 in m_mainloop () #11 0x00007ffff6deeec5 in __libc_start_main (main=0x411800 <main>, argc=5, argv=0x7fffffffdec8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffdeb8) at libc-start.c:287 #12 0x0000000000411831 in _start () ~~~~
Starting pd with : `pd -noprefs -lib pix_foo` works and I got in the console : `pix_foo: can't load library`
Starting pd with : `pd -noprefs -lib Gem:foo` works and I got in the console (after Gem loading message): `foo: can't load library`
---
Sent from sourceforge.net because gem-dev@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.
- **status**: open --> closed-fixed - **Group**: linux --> any_operating_system - **Comment**:
should be fixed with [c18244]
---
** [bugs:#225] Pd crash when pix_foo (a non-existent library) is loaded after Gem**
**Status:** closed-fixed **Group:** any_operating_system **Created:** Sat Jul 05, 2014 03:06 PM UTC by Antoine Villeret **Last Updated:** Mon Jul 07, 2014 08:27 AM UTC **Owner:** IOhannes m zmölnig
1. build Gem today from Git (here on Ubuntu 14.04) 2. load pd with Gem and a non-existent library `pix_foo` : `pd -noprefs -lib Gem:pix_foo` Pd crash with this backtrace :
~~~~ Thread 1 (Thread 0x7ffff7fba740 (LWP 15658)): #0 0x00000000004123e9 in canvas_getdir () #1 0x00007ffff3da30bd in gem::RTE::RTE::findFile (this=this@entry=0x796fe0, f=..., e=..., ctx=ctx@entry=0x0) at RTE.cpp:116 #2 0x00007ffff3f4ace2 in pix_frei0r::loader (canvas=canvas@entry=0x0, classname=...) at pix_frei0r.cpp:534 #3 0x00007ffff3f4b646 in frei0r_loader (canvas=0x0, classname=<optimized out>) at pix_frei0r.cpp:553 #4 0x0000000000481841 in sys_load_lib () #5 0x00000000004796cb in glob_initfromgui () #6 0x0000000000467a29 in pd_typedmess () #7 0x00000000004728aa in binbuf_eval () #8 0x000000000047c629 in socketreceiver_read () #9 0x000000000047b17a in sys_domicrosleep.constprop () #10 0x0000000000476731 in m_mainloop () #11 0x00007ffff6deeec5 in __libc_start_main (main=0x411800 <main>, argc=5, argv=0x7fffffffdec8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffdeb8) at libc-start.c:287 #12 0x0000000000411831 in _start () ~~~~
Starting pd with : `pd -noprefs -lib pix_foo` works and I got in the console : `pix_foo: can't load library`
Starting pd with : `pd -noprefs -lib Gem:foo` works and I got in the console (after Gem loading message): `foo: can't load library`
---
Sent from sourceforge.net because gem-dev@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.
hum
I still got crashes but with different bt :
Program received signal SIGSEGV, Segmentation fault. strlen () at ../sysdeps/x86_64/strlen.S:106 106 ../sysdeps/x86_64/strlen.S: Aucun fichier ou dossier de ce type. (gdb) bt #0 strlen () at ../sysdeps/x86_64/strlen.S:106 #1 0x00000000004823af in sys_trytoopenone () #2 0x00000000004827ae in do_open_via_path () #3 0x000000000048287c in open_via_path () #4 0x00007ffff334b0f1 in gem::RTE::RTE::findFile (this=this@entry=0x7bc7d0, f=..., e=..., ctx=ctx@entry=0x0) at RTE.cpp:119 #5 0x00007ffff34f2d12 in pix_frei0r::loader (canvas=canvas@entry=0x0, classname=...) at pix_frei0r.cpp:535 #6 0x00007ffff34f3676 in frei0r_loader (canvas=0x0, classname=<optimized out>) at pix_frei0r.cpp:554 #7 0x0000000000481841 in sys_load_lib () #8 0x00000000004796cb in glob_initfromgui () #9 0x0000000000467a29 in pd_typedmess () #10 0x00000000004728aa in binbuf_eval () #11 0x000000000047c629 in socketreceiver_read () #12 0x000000000047b17a in sys_domicrosleep.constprop () #13 0x0000000000476731 in m_mainloop () #14 0x00007ffff6deeec5 in __libc_start_main (main=0x411800 <main>, argc=4, argv=0x7fffffffdec8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffdeb8) at libc-start.c:287 #15 0x0000000000411831 in _start ()
---
** [bugs:#225] Pd crash when pix_foo (a non-existent library) is loaded after Gem**
**Status:** closed-fixed **Group:** any_operating_system **Created:** Sat Jul 05, 2014 03:06 PM UTC by Antoine Villeret **Last Updated:** Mon Jul 07, 2014 12:13 PM UTC **Owner:** IOhannes m zmölnig
1. build Gem today from Git (here on Ubuntu 14.04) 2. load pd with Gem and a non-existent library `pix_foo` : `pd -noprefs -lib Gem:pix_foo` Pd crash with this backtrace :
~~~~ Thread 1 (Thread 0x7ffff7fba740 (LWP 15658)): #0 0x00000000004123e9 in canvas_getdir () #1 0x00007ffff3da30bd in gem::RTE::RTE::findFile (this=this@entry=0x796fe0, f=..., e=..., ctx=ctx@entry=0x0) at RTE.cpp:116 #2 0x00007ffff3f4ace2 in pix_frei0r::loader (canvas=canvas@entry=0x0, classname=...) at pix_frei0r.cpp:534 #3 0x00007ffff3f4b646 in frei0r_loader (canvas=0x0, classname=<optimized out>) at pix_frei0r.cpp:553 #4 0x0000000000481841 in sys_load_lib () #5 0x00000000004796cb in glob_initfromgui () #6 0x0000000000467a29 in pd_typedmess () #7 0x00000000004728aa in binbuf_eval () #8 0x000000000047c629 in socketreceiver_read () #9 0x000000000047b17a in sys_domicrosleep.constprop () #10 0x0000000000476731 in m_mainloop () #11 0x00007ffff6deeec5 in __libc_start_main (main=0x411800 <main>, argc=5, argv=0x7fffffffdec8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffdeb8) at libc-start.c:287 #12 0x0000000000411831 in _start () ~~~~
Starting pd with : `pd -noprefs -lib pix_foo` works and I got in the console : `pix_foo: can't load library`
Starting pd with : `pd -noprefs -lib Gem:foo` works and I got in the console (after Gem loading message): `foo: can't load library`
---
Sent from sourceforge.net because gem-dev@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.
- **status**: closed-fixed --> open - **Comment**:
which version of Pd are you running?
---
** [bugs:#225] Pd crash when pix_foo (a non-existent library) is loaded after Gem**
**Status:** open **Group:** any_operating_system **Created:** Sat Jul 05, 2014 03:06 PM UTC by Antoine Villeret **Last Updated:** Mon Jul 07, 2014 12:43 PM UTC **Owner:** IOhannes m zmölnig
1. build Gem today from Git (here on Ubuntu 14.04) 2. load pd with Gem and a non-existent library `pix_foo` : `pd -noprefs -lib Gem:pix_foo` Pd crash with this backtrace :
~~~~ Thread 1 (Thread 0x7ffff7fba740 (LWP 15658)): #0 0x00000000004123e9 in canvas_getdir () #1 0x00007ffff3da30bd in gem::RTE::RTE::findFile (this=this@entry=0x796fe0, f=..., e=..., ctx=ctx@entry=0x0) at RTE.cpp:116 #2 0x00007ffff3f4ace2 in pix_frei0r::loader (canvas=canvas@entry=0x0, classname=...) at pix_frei0r.cpp:534 #3 0x00007ffff3f4b646 in frei0r_loader (canvas=0x0, classname=<optimized out>) at pix_frei0r.cpp:553 #4 0x0000000000481841 in sys_load_lib () #5 0x00000000004796cb in glob_initfromgui () #6 0x0000000000467a29 in pd_typedmess () #7 0x00000000004728aa in binbuf_eval () #8 0x000000000047c629 in socketreceiver_read () #9 0x000000000047b17a in sys_domicrosleep.constprop () #10 0x0000000000476731 in m_mainloop () #11 0x00007ffff6deeec5 in __libc_start_main (main=0x411800 <main>, argc=5, argv=0x7fffffffdec8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffdeb8) at libc-start.c:287 #12 0x0000000000411831 in _start () ~~~~
Starting pd with : `pd -noprefs -lib pix_foo` works and I got in the console : `pix_foo: can't load library`
Starting pd with : `pd -noprefs -lib Gem:foo` works and I got in the console (after Gem loading message): `foo: can't load library`
---
Sent from sourceforge.net because gem-dev@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.
- **status**: open --> closed-fixed - **Comment**:
ah, it seems that passing NULL to strlen() (somehow nested in the Pd-function we call) triggers undefined behaviour, that's why it crashed for you but not for me.
closed with [0e130d]
---
** [bugs:#225] Pd crash when pix_foo (a non-existent library) is loaded after Gem**
**Status:** closed-fixed **Group:** any_operating_system **Created:** Sat Jul 05, 2014 03:06 PM UTC by Antoine Villeret **Last Updated:** Tue Jul 08, 2014 07:16 AM UTC **Owner:** IOhannes m zmölnig
1. build Gem today from Git (here on Ubuntu 14.04) 2. load pd with Gem and a non-existent library `pix_foo` : `pd -noprefs -lib Gem:pix_foo` Pd crash with this backtrace :
~~~~ Thread 1 (Thread 0x7ffff7fba740 (LWP 15658)): #0 0x00000000004123e9 in canvas_getdir () #1 0x00007ffff3da30bd in gem::RTE::RTE::findFile (this=this@entry=0x796fe0, f=..., e=..., ctx=ctx@entry=0x0) at RTE.cpp:116 #2 0x00007ffff3f4ace2 in pix_frei0r::loader (canvas=canvas@entry=0x0, classname=...) at pix_frei0r.cpp:534 #3 0x00007ffff3f4b646 in frei0r_loader (canvas=0x0, classname=<optimized out>) at pix_frei0r.cpp:553 #4 0x0000000000481841 in sys_load_lib () #5 0x00000000004796cb in glob_initfromgui () #6 0x0000000000467a29 in pd_typedmess () #7 0x00000000004728aa in binbuf_eval () #8 0x000000000047c629 in socketreceiver_read () #9 0x000000000047b17a in sys_domicrosleep.constprop () #10 0x0000000000476731 in m_mainloop () #11 0x00007ffff6deeec5 in __libc_start_main (main=0x411800 <main>, argc=5, argv=0x7fffffffdec8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffdeb8) at libc-start.c:287 #12 0x0000000000411831 in _start () ~~~~
Starting pd with : `pd -noprefs -lib pix_foo` works and I got in the console : `pix_foo: can't load library`
Starting pd with : `pd -noprefs -lib Gem:foo` works and I got in the console (after Gem loading message): `foo: can't load library`
---
Sent from sourceforge.net because gem-dev@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.
unfortunately, it still crash for me with pd from git today and gem [0e130d] with this backtrace :
Program received signal SIGSEGV, Segmentation fault. 0x00000000004125b9 in canvas_makefilename () (gdb) bt #0 0x00000000004125b9 in canvas_makefilename () #1 0x00007ffff334b1f8 in gem::RTE::RTE::findFile (this=this@entry=0x80cd90, f=..., e=..., ctx=ctx@entry=0x0) at RTE.cpp:139 #2 0x00007ffff34f2d12 in pix_frei0r::loader (canvas=canvas@entry=0x0, classname=...) at pix_frei0r.cpp:534 #3 0x00007ffff34f3676 in frei0r_loader (canvas=0x0, classname=<optimized out>) at pix_frei0r.cpp:553 #4 0x00000000004874b8 in sys_load_lib () #5 0x0000000000480253 in glob_initfromgui () #6 0x000000000046eff8 in pd_typedmess () #7 0x000000000047895c in binbuf_eval () #8 0x0000000000482b7c in socketreceiver_read () #9 0x0000000000481f2d in sys_domicrosleep.constprop () #10 0x000000000047ed10 in m_mainloop () #11 0x00007ffff6deeec5 in __libc_start_main (main=0x4119a0 <main>, argc=4, argv=0x7fffffffdf08, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffdef8) at libc-start.c:287 #12 0x00000000004119ce in _start ()
---
** [bugs:#225] Pd crash when pix_foo (a non-existent library) is loaded after Gem**
**Status:** closed-fixed **Group:** any_operating_system **Created:** Sat Jul 05, 2014 03:06 PM UTC by Antoine Villeret **Last Updated:** Tue Jul 08, 2014 09:00 AM UTC **Owner:** IOhannes m zmölnig
1. build Gem today from Git (here on Ubuntu 14.04) 2. load pd with Gem and a non-existent library `pix_foo` : `pd -noprefs -lib Gem:pix_foo` Pd crash with this backtrace :
~~~~ Thread 1 (Thread 0x7ffff7fba740 (LWP 15658)): #0 0x00000000004123e9 in canvas_getdir () #1 0x00007ffff3da30bd in gem::RTE::RTE::findFile (this=this@entry=0x796fe0, f=..., e=..., ctx=ctx@entry=0x0) at RTE.cpp:116 #2 0x00007ffff3f4ace2 in pix_frei0r::loader (canvas=canvas@entry=0x0, classname=...) at pix_frei0r.cpp:534 #3 0x00007ffff3f4b646 in frei0r_loader (canvas=0x0, classname=<optimized out>) at pix_frei0r.cpp:553 #4 0x0000000000481841 in sys_load_lib () #5 0x00000000004796cb in glob_initfromgui () #6 0x0000000000467a29 in pd_typedmess () #7 0x00000000004728aa in binbuf_eval () #8 0x000000000047c629 in socketreceiver_read () #9 0x000000000047b17a in sys_domicrosleep.constprop () #10 0x0000000000476731 in m_mainloop () #11 0x00007ffff6deeec5 in __libc_start_main (main=0x411800 <main>, argc=5, argv=0x7fffffffdec8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffdeb8) at libc-start.c:287 #12 0x0000000000411831 in _start () ~~~~
Starting pd with : `pd -noprefs -lib pix_foo` works and I got in the console : `pix_foo: can't load library`
Starting pd with : `pd -noprefs -lib Gem:foo` works and I got in the console (after Gem loading message): `foo: can't load library`
---
Sent from sourceforge.net because gem-dev@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.
- **labels**: --> pix_frei0r, crash - **OS**: --> - **Release**: any_operating_system --> 0.93-git
---
** [bugs:#225] Pd crash when pix_foo (a non-existent library) is loaded after Gem**
**Status:** closed-fixed **OS:** **Release:** 0.93-git **Labels:** pix_frei0r crash **Created:** Sat Jul 05, 2014 03:06 PM UTC by Antoine Villeret **Last Updated:** Tue Jul 08, 2014 09:15 AM UTC **Owner:** IOhannes m zmölnig
1. build Gem today from Git (here on Ubuntu 14.04) 2. load pd with Gem and a non-existent library `pix_foo` : `pd -noprefs -lib Gem:pix_foo` Pd crash with this backtrace :
~~~~ Thread 1 (Thread 0x7ffff7fba740 (LWP 15658)): #0 0x00000000004123e9 in canvas_getdir () #1 0x00007ffff3da30bd in gem::RTE::RTE::findFile (this=this@entry=0x796fe0, f=..., e=..., ctx=ctx@entry=0x0) at RTE.cpp:116 #2 0x00007ffff3f4ace2 in pix_frei0r::loader (canvas=canvas@entry=0x0, classname=...) at pix_frei0r.cpp:534 #3 0x00007ffff3f4b646 in frei0r_loader (canvas=0x0, classname=<optimized out>) at pix_frei0r.cpp:553 #4 0x0000000000481841 in sys_load_lib () #5 0x00000000004796cb in glob_initfromgui () #6 0x0000000000467a29 in pd_typedmess () #7 0x00000000004728aa in binbuf_eval () #8 0x000000000047c629 in socketreceiver_read () #9 0x000000000047b17a in sys_domicrosleep.constprop () #10 0x0000000000476731 in m_mainloop () #11 0x00007ffff6deeec5 in __libc_start_main (main=0x411800 <main>, argc=5, argv=0x7fffffffdec8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffdeb8) at libc-start.c:287 #12 0x0000000000411831 in _start () ~~~~
Starting pd with : `pd -noprefs -lib pix_foo` works and I got in the console : `pix_foo: can't load library`
Starting pd with : `pd -noprefs -lib Gem:foo` works and I got in the console (after Gem loading message): `foo: can't load library`
---
Sent from sourceforge.net because gem-dev@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.
last (latest?) attempt to fix this: [3939fc]
---
** [bugs:#225] Pd crash when pix_foo (a non-existent library) is loaded after Gem**
**Status:** closed-fixed **OS:** **Release:** 0.93-git **Labels:** pix_frei0r crash **Created:** Sat Jul 05, 2014 03:06 PM UTC by Antoine Villeret **Last Updated:** Tue Jul 08, 2014 03:56 PM UTC **Owner:** IOhannes m zmölnig
1. build Gem today from Git (here on Ubuntu 14.04) 2. load pd with Gem and a non-existent library `pix_foo` : `pd -noprefs -lib Gem:pix_foo` Pd crash with this backtrace :
~~~~ Thread 1 (Thread 0x7ffff7fba740 (LWP 15658)): #0 0x00000000004123e9 in canvas_getdir () #1 0x00007ffff3da30bd in gem::RTE::RTE::findFile (this=this@entry=0x796fe0, f=..., e=..., ctx=ctx@entry=0x0) at RTE.cpp:116 #2 0x00007ffff3f4ace2 in pix_frei0r::loader (canvas=canvas@entry=0x0, classname=...) at pix_frei0r.cpp:534 #3 0x00007ffff3f4b646 in frei0r_loader (canvas=0x0, classname=<optimized out>) at pix_frei0r.cpp:553 #4 0x0000000000481841 in sys_load_lib () #5 0x00000000004796cb in glob_initfromgui () #6 0x0000000000467a29 in pd_typedmess () #7 0x00000000004728aa in binbuf_eval () #8 0x000000000047c629 in socketreceiver_read () #9 0x000000000047b17a in sys_domicrosleep.constprop () #10 0x0000000000476731 in m_mainloop () #11 0x00007ffff6deeec5 in __libc_start_main (main=0x411800 <main>, argc=5, argv=0x7fffffffdec8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffdeb8) at libc-start.c:287 #12 0x0000000000411831 in _start () ~~~~
Starting pd with : `pd -noprefs -lib pix_foo` works and I got in the console : `pix_foo: can't load library`
Starting pd with : `pd -noprefs -lib Gem:foo` works and I got in the console (after Gem loading message): `foo: can't load library`
---
Sent from sourceforge.net because gem-dev@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.
it works for me
thanks !
---
** [bugs:#225] Pd crash when pix_foo (a non-existent library) is loaded after Gem**
**Status:** closed-fixed **OS:** **Release:** 0.93-git **Labels:** pix_frei0r crash **Created:** Sat Jul 05, 2014 03:06 PM UTC by Antoine Villeret **Last Updated:** Tue Jul 08, 2014 05:09 PM UTC **Owner:** IOhannes m zmölnig
1. build Gem today from Git (here on Ubuntu 14.04) 2. load pd with Gem and a non-existent library `pix_foo` : `pd -noprefs -lib Gem:pix_foo` Pd crash with this backtrace :
~~~~ Thread 1 (Thread 0x7ffff7fba740 (LWP 15658)): #0 0x00000000004123e9 in canvas_getdir () #1 0x00007ffff3da30bd in gem::RTE::RTE::findFile (this=this@entry=0x796fe0, f=..., e=..., ctx=ctx@entry=0x0) at RTE.cpp:116 #2 0x00007ffff3f4ace2 in pix_frei0r::loader (canvas=canvas@entry=0x0, classname=...) at pix_frei0r.cpp:534 #3 0x00007ffff3f4b646 in frei0r_loader (canvas=0x0, classname=<optimized out>) at pix_frei0r.cpp:553 #4 0x0000000000481841 in sys_load_lib () #5 0x00000000004796cb in glob_initfromgui () #6 0x0000000000467a29 in pd_typedmess () #7 0x00000000004728aa in binbuf_eval () #8 0x000000000047c629 in socketreceiver_read () #9 0x000000000047b17a in sys_domicrosleep.constprop () #10 0x0000000000476731 in m_mainloop () #11 0x00007ffff6deeec5 in __libc_start_main (main=0x411800 <main>, argc=5, argv=0x7fffffffdec8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffdeb8) at libc-start.c:287 #12 0x0000000000411831 in _start () ~~~~
Starting pd with : `pd -noprefs -lib pix_foo` works and I got in the console : `pix_foo: can't load library`
Starting pd with : `pd -noprefs -lib Gem:foo` works and I got in the console (after Gem loading message): `foo: can't load library`
---
Sent from sourceforge.net because gem-dev@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.