[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=) 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 , argc=5, argv=0x7fffffffdec8, init=, fini=, rtld_fini=,

    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.