[L2Ork-dev] How to debug Windows and OSX

Ivica Bukvic ico at vt.edu
Mon Apr 6 20:17:43 EDT 2020


So, here's the first debug output from the gdb on Windows when the whole
thing crashes. Still a lot of info missing. It appears to be linked the
preset_hub read() function (where preset_hub reads/writes presets to/from
an external file)...

Thread 1 received signal SIGSEGV, Segmentation fault.
0x675c01a9 in pd!atom_getsymbol ()
   from C:\Program Files (x86)\Purr Data\bin\pd.dll
(gdb) back
#0  0x675c01a9 in pd!atom_getsymbol ()
   from C:\Program Files (x86)\Purr Data\bin\pd.dll
#1  0x67673907 in preset_hub_read ()
   from C:\Program Files (x86)\Purr Data\bin\pd.dll
#2  0x675bda4f in pd_typedmess ()
   from C:\Program Files (x86)\Purr Data\bin\pd.dll
#3  0x675bf37f in pd!outlet_anything ()
   from C:\Program Files (x86)\Purr Data\bin\pd.dll
#4  0x675bd653 in pd_typedmess ()
   from C:\Program Files (x86)\Purr Data\bin\pd.dll
#5  0x675c7097 in pd!binbuf_eval ()
   from C:\Program Files (x86)\Purr Data\bin\pd.dll
#6  0x675bf2df in pd!outlet_list ()
   from C:\Program Files (x86)\Purr Data\bin\pd.dll
#7  0x67602725 in x_arithmetic_setup ()
   from C:\Program Files (x86)\Purr Data\bin\pd.dll
#8  0x675bf2df in pd!outlet_list ()
   from C:\Program Files (x86)\Purr Data\bin\pd.dll
#9  0x675be40f in zgetfn () from C:\Program Files (x86)\Purr Data\bin\pd.dll
#10 0x675bf2df in pd!outlet_list ()
   from C:\Program Files (x86)\Purr Data\bin\pd.dll
#11 0x67608891 in pd!canvasinfo_dir ()
   from C:\Program Files (x86)\Purr Data\bin\pd.dll
#12 0x675bdb6a in pd_typedmess ()
   from C:\Program Files (x86)\Purr Data\bin\pd.dll
#13 0x675bf37f in pd!outlet_anything ()
   from C:\Program Files (x86)\Purr Data\bin\pd.dll
#14 0x675bd653 in pd_typedmess ()
   from C:\Program Files (x86)\Purr Data\bin\pd.dll
#15 0x675c7097 in pd!binbuf_eval ()
   from C:\Program Files (x86)\Purr Data\bin\pd.dll
#16 0x6754fe49 in pd!g_graph_setup ()
   from C:\Program Files (x86)\Purr Data\bin\pd.dll
#17 0x675bf003 in pd!outlet_bang ()
   from C:\Program Files (x86)\Purr Data\bin\pd.dll
#18 0x6760335b in x_arithmetic_setup ()
   from C:\Program Files (x86)\Purr Data\bin\pd.dll
#19 0x676037e7 in x_arithmetic_setup ()
   from C:\Program Files (x86)\Purr Data\bin\pd.dll
#20 0x675bf003 in pd!outlet_bang ()
   from C:\Program Files (x86)\Purr Data\bin\pd.dll
#21 0x675bf003 in pd!outlet_bang ()
   from C:\Program Files (x86)\Purr Data\bin\pd.dll
#22 0x6760335b in x_arithmetic_setup ()
   from C:\Program Files (x86)\Purr Data\bin\pd.dll
#23 0x67603777 in x_arithmetic_setup ()
   from C:\Program Files (x86)\Purr Data\bin\pd.dll
#24 0x675bf12b in pd!outlet_float ()
   from C:\Program Files (x86)\Purr Data\bin\pd.dll
#25 0x675c6e1e in pd!binbuf_eval ()
   from C:\Program Files (x86)\Purr Data\bin\pd.dll
#26 0x675bf2df in pd!outlet_list ()
   from C:\Program Files (x86)\Purr Data\bin\pd.dll
#27 0x67602725 in x_arithmetic_setup ()
   from C:\Program Files (x86)\Purr Data\bin\pd.dll
#28 0x675bf12b in pd!outlet_float ()
   from C:\Program Files (x86)\Purr Data\bin\pd.dll
#29 0x675be233 in zgetfn () from C:\Program Files (x86)\Purr Data\bin\pd.dll
#30 0x675bf12b in pd!outlet_float ()
   from C:\Program Files (x86)\Purr Data\bin\pd.dll
#31 0x675b0012 in radio_draw_update ()
   from C:\Program Files (x86)\Purr Data\bin\pd.dll
#32 0x675b0b80 in radio_draw_update ()
   from C:\Program Files (x86)\Purr Data\bin\pd.dll
#33 0x675a37e5 in pd!canvas_doclick ()
   from C:\Program Files (x86)\Purr Data\bin\pd.dll
#34 0x675a4f18 in pd!canvas_mousedown ()
   from C:\Program Files (x86)\Purr Data\bin\pd.dll
#35 0x675bdb14 in pd_typedmess ()
   from C:\Program Files (x86)\Purr Data\bin\pd.dll
#36 0x675bd653 in pd_typedmess ()
   from C:\Program Files (x86)\Purr Data\bin\pd.dll
#37 0x675c7097 in pd!binbuf_eval ()
   from C:\Program Files (x86)\Purr Data\bin\pd.dll
#38 0x675cf7ce in socketreceiver_read ()
   from C:\Program Files (x86)\Purr Data\bin\pd.dll
#39 0x675cedb0 in sys_getblksize ()
   from C:\Program Files (x86)\Purr Data\bin\pd.dll
#40 0x675cb4ea in pd!m_mainloop ()
   from C:\Program Files (x86)\Purr Data\bin\pd.dll
#41 0x675ce9e8 in sys_main () from C:\Program Files (x86)\Purr
Data\bin\pd.dll
#42 0x00402730 in ?? ()
#43 0x00401386 in ?? ()
#44 0x755a6359 in KERNEL32!BaseThreadInitThunk ()
   from C:\WINDOWS\System32\kernel32.dll
#45 0x776e7b74 in ntdll!RtlGetAppContainerNamedObjectPath ()
   from C:\WINDOWS\SYSTEM32\ntdll.dll
#46 0x776e7b44 in ntdll!RtlGetAppContainerNamedObjectPath ()
   from C:\WINDOWS\SYSTEM32\ntdll.dll
#47 0x00000000 in ?? ()
(gdb)

-- 
Ivica Ico Bukvic, D.M.A.
Director, Creativity + Innovation
Institute for Creativity, Arts, and Technology

Virginia Tech
Creative Technologies in Music
School of Performing Arts – 0141
Blacksburg, VA 24061
(540) 231-6139
ico at vt.edu

ci.icat.vt.eduwww.icat.vt.edu
www.performingarts.vt.edu
l2ork.icat.vt.edu
ico.bukvic.net



On Mon, Apr 6, 2020 at 8:10 PM Ivica Bukvic <ico at vt.edu> wrote:

> So, in building a somewhat more complex patch in Purr-Data, apart from a
> hefty bug report list, I encountered a crasher that seems to only affect
> OSX and Windows, but (AFAICT) not the Linux. Yet, it seems like debugging
> either Windows or OSX is all but impossible. Windows is apparently built
> without any debugging symbols, whereas OSX, after dealing with the gdb code
> signing issue, I am unsure what to launch. Launching nwjs inside the
> Pd-l2ork.app makes the whole thing hang and the gdb reports no debugging
> symbols being available. Any thoughts?
>
> Best,
>
> Ico
>
> --
> Ivica Ico Bukvic, D.M.A.
> Director, Creativity + Innovation
> Institute for Creativity, Arts, and Technology
>
> Virginia Tech
> Creative Technologies in Music
> School of Performing Arts – 0141
> Blacksburg, VA 24061
> (540) 231-6139
> ico at vt.edu
>
> ci.icat.vt.eduwww.icat.vt.edu
> www.performingarts.vt.edu
> l2ork.icat.vt.edu
> ico.bukvic.net
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://disis.music.vt.edu/pipermail/l2ork-dev/attachments/20200406/bf881c2c/attachment.html>


More information about the L2Ork-dev mailing list