[PD] segmentation fault

Mathieu Bouchard matju at sympatico.ca
Tue Apr 27 18:17:34 CEST 2004


On Tue, 27 Apr 2004, Yves Degoyon wrote:

> i've experienced crashes on OSX too and it's difficult to find what's
> wrong because i never managed to make it produce core files and
> analyze them with a debugger.
> that's a tough job..

Actually the way I found that works on OSX is to turn GDB on _before_ the
crash happens. You can do this either by first starting GDB and then
running Pd inside of it (e.g.: commands "file", "run"), or by running Pd
first and then giving its PID to GDB (the --pid switch or the "attach"
command or whatever)

I don't recall having luck with coredumps (but I'm not completely sure)

(note: I'm running OSX 10.2.8)

________________________________________________________________
Mathieu Bouchard                       http://artengine.ca/matju






More information about the Pd-list mailing list