[flext] Error compiling in release mode

Santi belfegor at gmail.com
Fri Jun 8 10:17:25 CEST 2012


Hi, thanks for the answer and sorry for the mistake with the name...

with the -lib option it's the same crash and import is not working in
my Pure Data 0.43.2

Is there something wrong working with the debug mode?

Santi


2012/6/7, Thomas Grill <gr at grrrr.org>:
> Hi Santi,
> i don't know how to help you, because at the moment i have no way of
> trying to reproduce problems under linux.
> The error is certainly strange and i guess it might have to do with
> initialization code in the ola library which might have a different
> code model or similar.
> Could you try to load your external binary with [import] or the -lib
> option - i guess it crashes as well which would show that the problem
> is not in the object instantiation.
> gr~~~
>
>
> Btw. my name is Thomas Grill, not Thomas Miller is written in the
> readme.txt
>
> --
> Thomas Grill
> http://grrrr.org
>
>
>
> Am 07.06.2012 um 20:20 schrieb Santi:
>
>> 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.
>> _______________________________________________
>> http://grrrr.org/ext/flext
>>
>> flext mailing list
>> flext at grrrr.org
>> http://grrrr.org/cgi-bin/mailman/listinfo/flext
>
>


More information about the flext mailing list