[PD] possible bug (Re: a tiny game of life)

Jonathan Wilkes jancsika at yahoo.com
Fri Feb 17 23:06:13 CET 2012

If I open the game-of-life.pd patch, click the play button, then try to close the patch by using the X on the window or file->close, I get a segfault.  gdb backtrace is below. (Debian wheezy with pd vanilla 0.43.1)


Program received signal SIGSEGV, Segmentation fault.
0xb7e9bb01 in free () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
(gdb) backgwatchdog: signaling pd...
watchdog: signaling pd...
#0  0xb7e9bb01 in free () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
#1  0xb7e21970 in expr_ff (x=0x8154b88) at vexp_if.c:168
#2  0x080aac07 in pd_free (x=0x8154b88) at m_pd.c:29
#3  0x0805d101 in glist_delete (x=0x8155300, y=0x8154b88) at g_graph.c:123
#4  0x0805d2e4 in graph_delete (z=0x8155300, glist=0x81551c8) at g_graph.c:978
#5  0x0805d094 in glist_delete (x=0x81551c8, y=0x8155300) at g_graph.c:109
#6  0x08057c9c in canvas_free (x=0x81551c8) at g_canvas.c:710
#7  0x080aac07 in pd_free (x=0x81551c8) at m_pd.c:29
#8  0x080ac84a in pd_typedmess (x=0x81551c8, s=0x8141c20, 
    argc=<optimized out>, argv=<optimized out>) at m_class.c:748
#9  0x080ac59d in pd_typedmess (x=0x8155b20, s=0x8141c20, argc=1, 
    argv=0xbffff1a0) at m_class.c:769
#10 0x080b6463 in binbuf_eval (x=0x8150028, target=0x8155b20, argc=0, argv=0x0)
    at m_binbuf.c:722
#11 0x080bfa0e in socketreceiver_read (x=0x8150048, fd=8) at s_inter.c:551
#12 0x080beafb in sys_domicrosleep (microsec=<optimized out>, pollem=1)
    at s_inter.c:191
#13 0x080bb115 in m_pollingscheduler () at m_sched.c:508
#14 m_mainloop () at m_sched.c:568
#15 0x0805571b in main (argc=2, argv=0xbffff514) at s_entry.c:32

----- Original Message -----
> From: Jonathan Wilkes <jancsika at yahoo.com>
> To: "pd-list at iem.at" <pd-list at iem.at>
> Cc: 
> Sent: Friday, February 17, 2012 4:53 AM
> Subject: [PD] a tiny game of life
> Kinda fun.
> -Jonathan
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list

More information about the Pd-list mailing list