Hi Hans
On Mon, 2013-01-07 at 12:32 -0500, Hans-Christoph Steiner wrote:
I think this is the final release, last chance to test your patches and make sure everything is working well in this release. Also, double-check the translations. I'll do one final import of translations from Transifex before finalizing it. Download here:
Thanks a lot for your efforts. I noticed quite a huge amount of work went into that version and many goals have been achieved. Thanks to anyone involved.
Unfortunately, I've run into a couple of problems when running some of my patches in the release candidate version Pd-0.43.4-extended-20130107.
1)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) When loading a patch in netpd on Ubuntu 12.04.1, Pd-extended immediately and reliably crashes. This does not happen with any Pd 0.43 or 0.44 version. Also it didn't happen with earlier builds of Pd-0.43-extended, though I can't exactly specify the last version that didn't crash yet (I'll investigate that later).
Steps to reproduce:
This is the backtrace from Pd-0.43.4-extended-20130107 on Ubuntu 12.04.1 (i386): --- Backtrace --- Program received signal SIGSEGV, Segmentation fault. 0x0805933a in subcanvas_new (s=0x86ae438) at g_canvas.c:942 942 g_canvas.c: No such file or directory. (gdb) backtrace #0 0x0805933a in subcanvas_new (s=0x86ae438) at g_canvas.c:942 #1 0x0807e4ba in pd_typedmess (x=0x80e033c, s=0x80e9c58, argc=<optimized out>, argv=0xbfffd144) at m_class.c:795 #2 0x0808455e in binbuf_eval (x=0x8585fb0, target=0x80e033c, argc=1, argv=0x869dba0) at m_binbuf.c:767 #3 0x0805e545 in canvas_objtext (gl=0x86b3740, xpix=10, ypix=20, selected=0, b=0x8585fb0) at g_text.c:96 #4 0x0805f9f5 in canvas_obj (gl=0x86b3740, s=0x80e9968, argc=4, argv=0xbfffd55c) at g_text.c:193 #5 0x0807e232 in pd_typedmess (x=0x86b3740, s=0x80e9968, argc=4, argv=0xbfffd55c) at m_class.c:719 #6 0x0807e0fd in pd_typedmess (x=0x86ae0d8, s=0x80e9968, argc=4, argv=0xbfffd55c) at m_class.c:816 #7 0x0807f7af in outlet_anything (x=0x86ae858, s=0x80e9968, argc=4, argv=0xbfffd55c) at m_obj.c:470 #8 0x080a1b4e in trigger_anything (x=0x86ae800, s=0x80e9968, argc=4, argv=0xbfffd55c) at x_connective.c:1013 #9 0x0807e0fd in pd_typedmess (x=0x86ae800, s=0x80e9968, argc=4, argv=0xbfffd55c) at m_class.c:816 #10 0x0807f7af in outlet_anything (x=0x86ae750, s=0x80e9968, argc=4, argv=0xbfffd55c) at m_obj.c:470 #11 0x0807e0fd in pd_typedmess (x=0x86ae73c, s=0x80e9968, argc=4, argv=0xbfffd55c) at m_class.c:816 #12 0x0808455e in binbuf_eval (x=0x86ae768, target=0x86ae73c, argc=3, argv=0xbfffd5e0) at m_binbuf.c:767 #13 0x0807f71f in outlet_list (x=0x86ae448, s=0x80d9be0, argc=3, argv=0xbfffd5e0) at m_obj.c:459 #14 0x009501cc in list_append_list (x=0x86ae408, s=0x80d9be0, argc=2, argv=0xbfffd710) at list.c:240 #15 0x0807f71f in outlet_list (x=0x86ae3a8, s=0x80d9be0, argc=2, argv=0xbfffd710) at m_obj.c:459 #16 0x009501cc in list_append_list (x=0x86ae360, s=0x0, argc=1, argv=0xbfffd800) at list.c:240 #17 0x0807d382 in pd_defaultfloat (x=0x86ae360, f=20) at m_class.c:73 #18 0x0807f5b7 in outlet_float (x=0x86ae2f8, f=20) at m_obj.c:425 #19 0x0807f71f in outlet_list (x=0x86ae278, s=0x80d9be0, argc=1, argv=0xbfffd8b8) at m_obj.c:459 #20 0x080a25b2 in trigger_list (x=0x86ae238, s=0x0, argc=1, argv=0xbfffd8b8) at x_connective.c:1000 #21 0x080a2697 in trigger_float (x=0x86ae238, f=1) at x_connective.c:1034 #22 0x0807f5b7 in outlet_float (x=0x86ae1d0, f=1) at m_obj.c:425 #23 0x0807f5b7 in outlet_float (x=0x86ae148, f=0) at m_obj.c:425 #24 0x080a12d9 in pdfloat_bang (x=0x86ae120) at x_connective.c:80 #25 0x0807f4b3 in outlet_bang (x=0x86ae688) at m_obj.c:399 #26 0x080a1420 in until_float (x=0x86ae640, f=<optimized out>) at x_connective.c:1190 #27 0x0807f5b7 in outlet_float (x=0x86ae608, f=1) at m_obj.c:425 #28 0x0807f5b7 in outlet_float (x=0x86ae4c8, f=1) at m_obj.c:425 #29 0x0807f5b7 in outlet_float (x=0x86ae530, f=1) at m_obj.c:425 #30 0x08084597 in binbuf_eval (x=0x86ae490, target=0x86ae51c, argc=2, argv=0xbfffdbd4) at m_binbuf.c:770 #31 0x0807f71f in outlet_list (x=0x86ae068, s=0x80d9be0, argc=2, argv=0xbfffdbd4) at m_obj.c:459 #32 0x080a25b2 in trigger_list (x=0x86ae010, s=0x80d9be0, argc=2, argv=0xbfffdbd4) at x_connective.c:1000 #33 0x0807f71f in outlet_list (x=0x86b1400, s=0x80d9be0, argc=2, argv=0xbfffdbd4) at m_obj.c:459 #34 0x0807f71f in outlet_list (x=0x86a92a8, s=0x80d9be0, argc=2, argv=0xbfffdbd4) at m_obj.c:459 #35 0x080a25b2 in trigger_list (x=0x86a9248, s=0x80d9be0, argc=2, argv=0xbfffdbd4) at x_connective.c:1000 #36 0x0807f71f in outlet_list (x=0x86a91b8, s=0x80d9be0, argc=2, argv=0xbfffdbd4) at m_obj.c:459 #37 0x08084228 in binbuf_eval (x=0x86a9128, target=0x86a91a4, argc=2, argv=0xbfffdc60) at m_binbuf.c:775 #38 0x0807f71f in outlet_list (x=0x86a9050, s=0x80d9be0, argc=2, argv=0xbfffdc60) at m_obj.c:459 #39 0x0094fb1c in list_append_anything (x=0x86a9010, s=0x853f0d8, argc=1, argv=0xbfffdf9c) at list.c:264 #40 0x0807e0fd in pd_typedmess (x=0x86a9010, s=0x853f0d8, argc=1, argv=0xbfffdf9c) at m_class.c:816 #41 0x0807f7af in outlet_anything (x=0x86a8fd8, s=0x853f0d8, argc=1, argv=0xbfffdf9c) at m_obj.c:470 #42 0x0807e0fd in pd_typedmess (x=0x86a8f60, s=0x853f0d8, argc=1, argv=0xbfffdf9c) #43 0x0807f7af in outlet_anything (x=0x86a90b8, s=0x853f0d8, argc=1, argv=0xbfffdf9c) at m_obj.c:470 #44 0x0807e0fd in pd_typedmess (x=0x86a90a4, s=0x853f0d8, argc=1, argv=0xbfffdf9c) at m_class.c:816 #45 0x0808455e in binbuf_eval (x=0x86a9000, target=0x86a90a4, argc=2, argv=0xbfffed58) at m_binbuf.c:767 #46 0x0807f71f in outlet_list (x=0x86a8ee0, s=0x0, argc=2, argv=0xbfffed58) at m_obj.c:459 #47 0x0807e0fd in pd_typedmess (x=0x86a8ea0, s=0x8347340, argc=2, argv=0xbfffed58) at m_class.c:816 #48 0x0807f7af in outlet_anything (x=0x86a8dd8, s=0x8347340, argc=2, argv=0xbfffed58) at m_obj.c:470 #49 0x0807e0fd in pd_typedmess (x=0x86a8d98, s=0x82cdeb0, argc=3, argv=0xbfffed50) at m_class.c:816 #50 0x0807f7af in outlet_anything (x=0x86a9170, s=0x82cdeb0, argc=3, argv=0xbfffed50) at m_obj.c:470 #51 0x0807e0fd in pd_typedmess (x=0x86a9138, s=0x82cdeb0, argc=3, argv=0xbfffed50) at m_class.c:816 #52 0x0807cac6 in bindlist_anything (x=0x8410470, s=0x82cdeb0, argc=3, argv=0xbfffed50) at m_pd.c:108 #53 0x0807e0fd in pd_typedmess (x=0x8410470, s=0x82cdeb0, argc=3, argv=0xbfffed50) at m_class.c:816 #54 0x0807e0fd in pd_typedmess (x=0x85c1310, s=0x82cdeb0, argc=3, argv=0xbfffed50) at m_class.c:816 #55 0x0807f7af in outlet_anything (x=0x85cc7c8, s=0x82cdeb0, argc=3, argv=0xbfffed50) at m_obj.c:470 #56 0x0807e0fd in pd_typedmess (x=0x85cc758, s=0x82cdeb0, argc=3, argv=0xbfffed50) at m_class.c:816 #57 0x0807e0fd in pd_typedmess (x=0x85cc7e0, s=0x82cdeb0, argc=3, argv=0xbfffed50) at m_class.c:816 #58 0x0807f7af in outlet_anything (x=0x85cc708, s=0x82cdeb0, argc=3, argv=0xbfffed50) at m_obj.c:470 #59 0x080a1b4e in trigger_anything (x=0x85cc6a8, s=0x82cdeb0, argc=3, argv=0xbfffed50) at x_connective.c:1013 #60 0x0807e0fd in pd_typedmess (x=0x85cc6a8, s=0x82cdeb0, argc=3, argv=0xbfffed50) at m_class.c:816 #61 0x0807f7af in outlet_anything (x=0x85cc658, s=0x82cdeb0, argc=3, argv=0xbfffed50) at m_obj.c:470 #62 0x0807e0fd in pd_typedmess (x=0x85cc5d0, s=0x82cdeb0, argc=3, argv=0xbfffed50) at m_class.c:816 #63 0x0807e0fd in pd_typedmess (x=0x85cc638, s=0x82cdeb0, argc=3, argv=0xbfffed50) at m_class.c:816 #64 0x0807f7af in outlet_anything (x=0x85b0f70, s=0x82cdeb0, argc=3, argv=0xbfffed50) at m_obj.c:470 #65 0x0807e0fd in pd_typedmess (x=0x85b0f00, s=0x82cdeb0, argc=3, argv=0xbfffed50) at m_class.c:816 #66 0x0807e0fd in pd_typedmess (x=0x85b0f88, s=0x82cdeb0, argc=3, argv=0xbfffed50) at m_class.c:816 #67 0x0807f7af in outlet_anything (x=0x85c83d0, s=0x82cdeb0, argc=3, argv=0xbfffed50) at m_obj.c:470 #68 0x080a1b4e in trigger_anything (x=0x85c8378, s=0x82cdeb0, argc=3, argv=0xbfffed50) at x_connective.c:1013 #69 0x0807e0fd in pd_typedmess (x=0x85c8378, s=0x82cdeb0, argc=3, argv=0xbfffed50) at m_class.c:816 #70 0x0807f7af in outlet_anything (x=0x85b0e90, s=0x82cdeb0, argc=3, argv=0xbfffed50) at m_obj.c:470 #71 0x0807e0fd in pd_typedmess (x=0x85b0e50, s=0x80e9920, argc=4, argv=0xbfffed48) at m_class.c:816 #72 0x0807f7af in outlet_anything (x=0x85b0c20, s=0x80e9920, argc=4, argv=0xbfffed48) at m_obj.c:470 #73 0x080a1b4e in trigger_anything (x=0x85b0be0, s=0x80e9920, argc=4, argv=0xbfffed48) at x_connective.c:1013 #74 0x0807e0fd in pd_typedmess (x=0x85b0be0, s=0x80e9920, argc=4, argv=0xbfffed48) at m_class.c:816 #75 0x0807f7af in outlet_anything (x=0x85b1980, s=0x80e9920, argc=4, argv=0xbfffed48) at m_obj.c:470 #76 0x0807e0fd in pd_typedmess (x=0x85b1910, s=0x80e9920, argc=4, argv=0xbfffed48) at m_class.c:816 #77 0x0807e0fd in pd_typedmess (x=0x85b1998, s=0x80e9920, argc=4, argv=0xbfffed48) at m_class.c:816 #78 0x0807f7af in outlet_anything (x=0x85c7fe0, s=0x80e9920, argc=4, argv=0xbfffed48) at m_obj.c:470 #79 0x0094e516 in list_trim_list (argv=0xbfffed40, argc=5, x=0x85b19f0, #80 list_trim_list (x=0x85b19f0, s=0x80d9be0, argc=5, argv=0xbfffed40) at list.c:443 #81 0x0807f71f in outlet_list (x=0x85b1770, s=0x80d9be0, argc=5, argv=0xbfffed40) at m_obj.c:459 #82 0x0094e492 in list_split_list (x=0x85b1740, s=0x80d9be0, argc=5, argv=0xbfffed40) at list.c:401 #83 0x0807f71f in outlet_list (x=0x85b1580, s=0x80d9be0, argc=5, argv=0xbfffed40) at m_obj.c:459 #84 0x009501cc in list_append_list (x=0x85b1540, s=0x0, argc=0, argv=0x0) at list.c:240 #85 0x0807d2a1 in pd_defaultbang (x=0x85b1540) at m_class.c:42 #86 0x0807f4b3 in outlet_bang (x=0x85b1628) at m_obj.c:399 #87 0x080a2592 in trigger_list (x=0x85b15e8, s=0x80d9be0, argc=1, argv=0xbfffef60) at x_connective.c:990 #88 0x0807f71f in outlet_list (x=0x85b14b8, s=0x80d9be0, argc=1, argv=0xbfffef60) at m_obj.c:459 #89 0x0094e492 in list_split_list (x=0x85b1488, s=0x80d9be0, argc=6, argv=0xbfffef60) at list.c:401 #90 0x0807f71f in outlet_list (x=0x85b1420, s=0x80d9be0, argc=6, argv=0xbfffef60) at m_obj.c:459 #91 0x009501cc in list_append_list (x=0x85b13e0, s=0x0, argc=0, argv=0x0) at list.c:240 #92 0x0807d2a1 in pd_defaultbang (x=0x85b13e0) at m_class.c:42 #93 0x0807f4b3 in outlet_bang (x=0x85c8070) at m_obj.c:399 #94 0x0807d2a1 in pd_defaultbang (x=0x85c8028) at m_class.c:42 #95 0x0807f4b3 in outlet_bang (x=0x85b1700) at m_obj.c:399 #96 0x0807f4b3 in outlet_bang (x=0x85b0e10) at m_obj.c:399 #97 0x0807f4b3 in outlet_bang (x=0x8622c60) at m_obj.c:399 #98 0x0807f4b3 in outlet_bang (x=0x8622f18) at m_obj.c:399 #99 0x00b6b88e in delay_tick (x=0x8622ed0) at delay.c:43 #100 0x080862a4 in sched_tick (next_sys_time=189440000) at m_sched.c:372 #101 0x080864e3 in m_pollingscheduler () at m_sched.c:485 #102 m_mainloop () at m_sched.c:571 #103 0x08056d3b in main (argc=9, argv=0xbffff274) at s_entry.c:32 --- end of backtrace ---
2)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) On Windows, Pd-extended immediately crashes when loading the patch netpd/chat.pd [1]. This happens on my Windows XP Pro Virtualbox VM. I didn't have the chance to test that on a physical Windows XP|7|8 machine yet. This didn't happen with earlier builds of Pd-0.43-extended, though I stil have to investigate the last working version.
[1] from https://github.com/reduzent/netpd2/archive/master.zip
3))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) When loading a patch in the Pd-extended release candidate, the memory footprint is approximately three times higher than loading the same patch with Pd 0.43.3 vanilla. For a patch that eats 200 MB of memory in Pd-vanilla, this means 600 MB memory usage in the current Pd-extended.
The patch I used to measure the memory footprint does not use a lot of tables but contains many instances of abstractions and nested abstractions.
My impression is that there wasn't such a huge difference with earlier builds of Pd-0.43-extended, though I don't have any data to confirm this. I'll check that when I found a version that does not exhibit the problems 1) and 2) and see whether the situation is different there.
The difference in memory footprints seems consistent across operating systems, at least between Ubuntu 12.04.1 and Windows XP (both i386).
I hope to come up with more detailed information soon and beg you not to release this version prematurely. During the the development of Pd-0.43-extended I haven't run into much trouble, too bad I'm experiencing problems now. I'd like to ask anyone to extensively test their patches with this version (probably I'm the only one running into issues?).
Cheers & a (late) Happy New Year Roman