Hi list,
I have a problem with flext and the modules compiled with it. I'm using Apple Snow Leopard (10.6.2) on my macbook (white mid 2007 intel core 2 duo 2,16GHz).
I could compile flext itself configuring it for ARCH=i386 only and the compiler and linker flags for a min version 10.5 and also I used the solution they gave here: http://www.mail-archive.com/pd-list@iem.at/msg29829.html to solve a problem with bits/atomicity.h while building it.
Once compiled and installed flext I built and installed some modules from the tutorial to try them but when I add them to a patch Pd (vanilla & extended) crash.
I try also to compile flext and the module adding the flags for the compiler and the linker like explained here: http://www.mail-archive.com/pd-dev@iem.at/msg06512.html
And again the same result.
The problem is that I don't know a way to debug it because PD just closes.
Any help will be absolutely useful!
Thanks
////////////// Miguel.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Miguel Sánchez Valdés wrote:
The problem is that I don't know a way to debug it because PD just closes.
just start Pd from gdb, and when it crashes to a backtrace.
% gdb /Applications/Pd.app/Resources/MacOSX/bin/pd [...] (gdb) run [...] segfault (gdb) bt
note that the path to Pd is what i remember (not having access to an osx machine right now, and usually being working on linux), so adjust to your actual needs.
fgasdrm IOhannes
I get this error:
pd_gui: pd process exited accept: Interrupted system call (4) Pt_Start() called
Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_PROTECTION_FAILURE at address: 0x00000000 0x00000000 in ?? () (gdb)
El 12/12/2009, a las 14:12, IOhannes m zmölnig escribió:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Miguel Sánchez Valdés wrote:
The problem is that I don't know a way to debug it because PD just closes.
just start Pd from gdb, and when it crashes to a backtrace.
% gdb /Applications/Pd.app/Resources/MacOSX/bin/pd [...] (gdb) run [...] segfault (gdb) bt
note that the path to Pd is what i remember (not having access to an osx machine right now, and usually being working on linux), so adjust to your actual needs.
fgasdrm IOhannes -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAksjltkACgkQkX2Xpv6ydvQPrgCgj9fg0x+xBW920rWfEodN7R30 7roAnioZhUxUkEKQg+lunmZbtt40fndt =CVO3 -----END PGP SIGNATURE-----
////////////// Miguel.
You want the 'bt' (backtrace) from gdb. Basically, you want to find out which function it triggering the segfault.
.hc
On Dec 12, 2009, at 1:59 PM, Miguel Sánchez Valdés wrote:
I get this error:
pd_gui: pd process exited accept: Interrupted system call (4) Pt_Start() called
Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_PROTECTION_FAILURE at address: 0x00000000 0x00000000 in ?? () (gdb)
El 12/12/2009, a las 14:12, IOhannes m zmölnig escribió:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Miguel Sánchez Valdés wrote:
The problem is that I don't know a way to debug it because PD just closes.
just start Pd from gdb, and when it crashes to a backtrace.
% gdb /Applications/Pd.app/Resources/MacOSX/bin/pd [...] (gdb) run [...] segfault (gdb) bt
note that the path to Pd is what i remember (not having access to an osx machine right now, and usually being working on linux), so adjust to your actual needs.
fgasdrm IOhannes -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAksjltkACgkQkX2Xpv6ydvQPrgCgj9fg0x+xBW920rWfEodN7R30 7roAnioZhUxUkEKQg+lunmZbtt40fndt =CVO3 -----END PGP SIGNATURE-----
////////////// Miguel.
Pd-dev mailing list Pd-dev@iem.at http://lists.puredata.info/listinfo/pd-dev
----------------------------------------------------------------------------
I have the audacity to believe that peoples everywhere can have three meals a day for their bodies, education and culture for their minds, and dignity, equality and freedom for their spirits. - Martin Luther King, Jr.