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
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)):
stack_end=0x7fffffffdeb8) at libc-start.c:287
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.