[flext] Error compiling in release mode

Santi belfegor at gmail.com
Thu Jun 7 20:20:17 CEST 2012


Hello,

i'm developing one external to reading DMX data from Open Lighting
Arquitecture and i think i have an flext issue. The external works
fine compiling in debug mode but when i compile it in release mode PD
crash at object creation with pd: signal 4.

gdb shows:

Program received signal SIGILL, Illegal instruction.
0xb762318b in ?? () from /home/santi/PMS/svn3/externals/ola2pd/ola2pd.pd_linux

Valgrind shows

vex x86->IR: unhandled instruction bytes: 0x66 0xF 0xEF 0xC0
==3566== valgrind: Unrecognised instruction at address 0x4dd9187.
==3566==    at 0x4DD9187: ??? (in
/home/santi/PMS/svn3/externals/ola2pd/ola2pd.pd_linux)
==3566==    by 0x400E048: _dl_init (dl-init.c:134)
==3566==    by 0x4011FFE: dl_open_worker (dl-open.c:542)
==3566==    by 0x400DB55: _dl_catch_error (dl-error.c:178)
==3566==    by 0x4011875: _dl_open (dl-open.c:633)
==3566==    by 0x4087C2A: dlopen_doit (dlopen.c:67)
==3566==    by 0x400DB55: _dl_catch_error (dl-error.c:178)
==3566==    by 0x40880BB: _dlerror_run (dlerror.c:164)
==3566==    by 0x4087B60: dlopen@@GLIBC_2.1 (dlopen.c:88)
==3566==    by 0x80C7E21: ??? (in /usr/bin/puredata)
==3566==    by 0x735F646F: ???

The code is in svn
http://puremediaserver.googlecode.com/svn/trunk/externals/ola2pd
I'm working in Debian Wheezy, flext CVS versión, and Pure Data from
the Debian repositories.
I don't know how continue debugging the external, and if it is
important compile in realease mode, or if debug mode is right to work
with.

Thanks in advance.

Santi.


More information about the flext mailing list