I noticed that compiling footils/knob/knob.c and moonlib/mknob.c against Pd-0.41-test06 (HEAD of MAIN), I get a crash when using that object binary with Pd-0.40.3-extended-20071028.app and Pd-0.39.3- extended.app on Mac OS X. Is there some change in 0.41 that might cause this?
Here's the stack trace:
Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_PROTECTION_FAILURE at address: 0x00000000 0x0079004b in mknob_check_minmax () (gdb) bt #0 0x0079004b in mknob_check_minmax () #1 0x00039e93 in obj_list (x=0x12, s=0x6a4130, argc=18, argv=0x603d10) at m_obj.c:227 #2 0x00039f21 in obj_list (x=0x0, s=0x6a4130, argc=18, argv=0x0) at m_obj.c:237 #3 0x00039c40 in inlet_anything (x=0x190980, s=0x6a4130, argc=18, argv=0x8a470) at m_obj.c:126 #4 0x0003d487 in binbuf_convert (oldb=0x12, maxtopd=-1073765512) at m_binbuf.c:1007 #5 0x0000945f in canvas_toggle (gl=0x0, s=0x6a81b0, argc=566208, argv=0x43970000) at g_text.c:188 #6 0x00009619 in canvas_numbox (gl=0x6a7a80, s=0x603f20, argc=21, argv=0x8a3c0) at g_text.c:234 #7 0x00039bed in inlet_list (x=0x6a7a80, s=0x9c1, argc=21, argv=0x8a3c0) at m_obj.c:121 #8 0x0003d487 in binbuf_convert (oldb=0x12, maxtopd=13420) at m_binbuf.c:1007 #9 0x0004036c in m_scheduler () at m_sched.c:400 #10 0x000403f3 in m_scheduler () at m_sched.c:452 #11 0x00039d06 in pointerinlet_pointer (x=0x190b10, gp=0x60d2d0) at m_obj.c:153 #12 0x0003d487 in binbuf_convert (oldb=0x12, maxtopd=0) at m_binbuf.c: 1007 #13 0x00044548 in sys_loadpreferences () at s_file.c:397 #14 0x0004361a in sys_startgui (guidir=0x0) at s_inter.c:874 #15 0x0004367f in sys_startgui (guidir=0x1388 "") at s_inter.c:879 #16 0x00041501 in sys_argparse (argc=6349136, argv=0xbfffef04) at s_main.c:674 #17 0x00043407 in socketreceiver_read (x=0x3, fd=-1073745796) at s_inter.c:430 #18 0x000022d2 in mknob_check_minmax () Cannot access memory at address 0xf9c
.hc
------------------------------------------------------------------------ ----
The arc of history bends towards justice. - Dr. Martin Luther King, Jr.