[PD] gdb and Pd WAS: testtone comments

Ivica Ico Bukvic ico at vt.edu
Wed Nov 16 04:03:40 CET 2011


I have not been following this thread at all, but for what it's worth in my experience these kinds of seemingly illogical errors usually arise from memory corruption (typically because something has not been properly allocated).


Ivica Ico Bukvic, D.M.A
Composition, Music Technology
Director, DISIS Interactive Sound & Intermedia Studio
Director, L2Ork Linux Laptop Orchestra
Assistant Director, CCTAD
Virginia Tech
Department of Music
Blacksburg, VA 24061-0240
(540) 231-6139
(540) 231-5034 (fax)
disis.music.vt.edu
l2ork.music.vt.edu
ico.bukvic.net

Jonathan Wilkes <jancsika at yahoo.com> wrote:

Before I do that, below is a backtrace with a 0.43 nightly build of extended with gdb.  Does it help?  If not, I'll compile 

with the settings you mentioned below.

-Jonathan


Program received signal SIGSEGV, Segmentation fault.
pd_typedmess (x=0x821290, s=0x6c39b0, argc=1, argv=0x7fffffffe0d0)
    at m_class.c:708
708    m_class.c: No such file or directory.
    in m_class.c
(gdb) watchdog: signaling pd...
watchdog: signaling pd...

(gdb) 
(gdb) bawatchdog: signaling pd...
cktracewatchdog: signaling pd...

#0  pd_typedmess (x=0x821290, s=0x6c39b0, argc=1, argv=0x7fffffffe0d0)
    at m_class.c:708
#1  0x000000000043c629 in pd_typedmess (x=0x830220, s=<optimized out>, 
    argc=<optimized out>, argv=<optimized out>) at m_class.c:812
#2  0x000000000043b0f1 in bindlist_anything (x=<optimized out>, s=0x6c39b0, 
    argc=1, argv=0x7fffffffe0d0) at m_pd.c:108
#3  0x000000000043c629 in pd_typedmess (x=0x8ef320, s=<optimized out>, 
    argc=<optimized out>, argv=<optimized out>) at m_class.c:812
#4  0x0000000000442511 in binbuf_eval (x=<optimized out>, target=0x8ef320, 
    argc=0, argv=0x0) at m_binbuf.c:767
#5  0x00000000004478f9 in socketreceiver_read (x=0x6d9d10, fd=8)
    at s_inter.c:551
#6  0x00000000004463b1 in sys_domicrosleep (microsec=<optimized out>, pollem=1)
    at s_inter.c:191
#7  0x000000000044424d in m_pollingscheduler () at m_sched.c:511
#8  m_mainloop () at m_sched.c:571
#9  0x00007ffff677fead in __libc_start_main ()
   from /lib/x86_64-linux-gnu/libc.so.6
#10 0x00000000004170c1 in _start ()





>_____________________________________________

>From: Hans-Christoph Steiner <hans at at.or.at>
>To: Jonathan Wilkes <jancsika at yahoo.com>
>Cc: tim vets <timvets at gmail.com>; pd-list <pd-list at iem.at>
>Sent: Wednesday, September 28, 2011 2:19 PM
>Subject: gdb and Pd WAS: [PD] testtone comments
>
>
>On Sep 28, 2011, at 2:02 PM, Jonathan Wilkes wrote:
>
>>>_____________________________________________

>>> From: Hans-Christoph Steiner <hans at at.or.at>
>>> To: Jonathan Wilkes <jancsika at yahoo.com>
>>> Cc: tim vets <timvets at gmail.com>; pd-list <pd-list at iem.at>
>>> Sent: Wednesday, September 28, 2011 12:14 PM
>>> Subject: Re: [PD] testtone comments
>>> 
>>> 
>>> 
>>> 
>>> Hey Jonathan,
>>> 
>>> 
>>> Cool, thanks I'll include that.  I was thinking, it would nice if the list of credits at the bottom was randomized.  Could you add that?  Right now its in a pretty arbitrary order and it would be nice to add names without worrying about the order.
>> 
>> Yes, but I found that there is a segfault that pops up for me on Ubuntu Maverick if I clear the subpatches
>> 
>> and save, then close the patch.  I can't get gdb working with Pd at the moment and so can't figure out what's causing
>> 
>> the error (though I have suspicions it has to do with data structures...)
>
>You'll want to build Pd with -g in CFLAGS and remove -fomit-frame-pointer.  That should give you much better results with gdb.
>
>.hc
>
>> 
>>> 
>>> 
>>> .hc
>>> 
>>> 
>>> On Sep 28, 2011, at 10:12 AM, Jonathan Wilkes wrote:
>>> 
>>> Here's a fix for about.pd
>>>> (Also widened the window a bit so the entire version string can be read on
>>>> 
>>>> systems with larger fonts)
>>>> 
>>>> 
>>>> -Jonathan
>>>> 
>>>> 
>>>> 
>>>> 
>>>>>_____________________________________________

>>>>> From: tim vets <timvets at gmail.com>
>>>>> To: pd-list <pd-list at iem.at>
>>>>> Sent: Tuesday, September 27, 2011 8:02 AM
>>>>> Subject: Re: [PD] testtone comments
>>>>> 
>>>>> 
>>>>> oh and another detail:
>>>>> when selecting "About Pd", I get:
>>>>> 
>>>>> 
>>>>> error: [print Tcl Version]: got 2 args instead of at least 0, at most 1
>>>>>  print Tcl Version
>>>>> ... couldn't create
>>>>> error: [print Pd Version]: got 2 args instead of at least 0, at most 1
>>>>>  print Pd Version
>>>>> ... couldn't create
>>>>> 
>>>>> 
>>>>> I guess you could make those [print Tcl_Version] and [print Pd_Version] instead.
>>>>> 
>>>>> 
>>>>> gr,
>>>>> Tim
>>>>> 
>>>>> 2011/9/27 tim vets <timvets at gmail.com>
>>>>> 
>>>>> Hi, just a small remark,
>>>>>> In testtone.pd it says:
>>>>>> " To see Pd's DOCUMENTATION, select
>>>>>> "getting started" in the Help menu. "
>>>>>> It may have been there in the past,
>>>>>> but now there is no such thing as "getting started" in the Help menu.
>>>>>> At least not in my installation of 0.42.5-extended...
>>>>>> gr,
>>>>>> Tim
>>>>>> 
>>>>> 
>>>>>_____________________________________________

>>>>> Pd-list at iem.at mailing list
>>>>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
>>>>> 
>>>>> 
>>>>> <about.pd>_____________________________________________

>>>> Pd-list at iem.at mailing list
>>>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
>>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>>_____________________________________________

>>> 
>>> 
>>> Mistrust authority - promote decentralization.  - the hacker ethic
>>> 
>>> 
>>> 
>>> 
>
>
>
>
>
>_____________________________________________

>
>"Free software means you control what your computer does. Non-free software means someone else controls that, and to some extent controls you." - Richard M. Stallman
>
>
>
>
>

_____________________________________________

Pd-list at iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20111115/4b101b81/attachment.htm>


More information about the Pd-list mailing list