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
[email protected]
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.
_______________________________________________
Pd-dev mailing list
[email protected]
http://lists.puredata.info/listinfo/pd-dev