with debug option, alex
alex@x1:~$ gdb pd GNU gdb (Ubuntu 7.11.90.20161005-0ubuntu1) 7.11.90.20161005-git Copyright (C) 2016 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: http://www.gnu.org/software/gdb/bugs/. Find the GDB manual and other documentation resources online at: http://www.gnu.org/software/gdb/documentation/. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from pd...done. (gdb) set args -jack -nrt (gdb) run Starting program: /usr/local/bin/pd -jack -nrt [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Program received signal SIGSEGV, Segmentation fault. 0x0000000000000000 in ?? () (gdb) backtrace #0 0x0000000000000000 in ?? () #1 0x000055555562e9ed in jack_open_audio (inchans=2, outchans=2, rate=44100, callback=0x0) at s_audio_jack.c:349 #2 0x00005555555e19eb in sys_reopen_audio () at s_audio.c:456 #3 0x00005555555e8bdc in sys_main (argc=3, argv=0x7fffffffdfa8) at s_main.c:319 #4 0x00005555555e3110 in main (argc=3, argv=0x7fffffffdfa8) at s_entry.c:32 (gdb)
On 14.02.2017 20:44, zmoelnig@iem.at wrote:
On 02/14/2017 04:42 PM, alex tuca wrote:
(gdb) run Starting program: /usr/local/bin/pd -jack -nrt [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Program received signal SIGSEGV, Segmentation fault. 0x0000000000000000 in ?? () (gdb)
so what happens if you type "backtrace"?
(in case there are no symbols, please recompile with "--enable-debug")
gmfds IOhannes
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list