[PD-dev] [ pure-data-Bugs-1936531 ] PDe 0.40-3 crashes on opening the Path menu

SourceForge.net noreply at sourceforge.net
Tue May 20 04:20:34 CEST 2008


Bugs item #1936531, was opened at 2008-04-07 01:37
Message generated for change (Comment added) made by sf-robot
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=1936531&group_id=55736

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: pd-extended
Group: None
>Status: Closed
Resolution: Fixed
Priority: 9
Private: No
Submitted By: oli44 (oli44)
Assigned to: IOhannes m zmölnig (zmoelnig)
Summary: PDe 0.40-3 crashes on opening the Path menu

Initial Comment:
Platform : ubuntu gutsy i386

I start pd, open the Path menu straight away and pd crashes. Happens even if i open a patch previously.

here is a backtrace

(gdb) run
Starting program: /usr/local/bin/pd 
[Thread debugging using libthread_db enabled]
[New Thread -1211042128 (LWP 15433)]
tk scaling is 1.04205128205
<init> : Avifile RELEASE-0.7.47-070916-12:47-4.1.3
<init> : Available CPU flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf
<init> : 800.00 MHz Intel(R) Core(TM)2 Duo CPU     T7500  @ 2.20GHz processor detected
[New Thread -1248314480 (LWP 15438)]
*** stack smashing detected ***: /usr/local/bin/pd terminated

Program received signal SIGABRT, Aborted.
[Switching to Thread -1211042128 (LWP 15433)]
0xffffe410 in __kernel_vsyscall ()
(gdb) backtrace
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7d3b875 in raise () from /lib/tls/i686/cmov/libc.so.6
#2  0xb7d3d201 in abort () from /lib/tls/i686/cmov/libc.so.6
#3  0xb7d72e5c in ?? () from /lib/tls/i686/cmov/libc.so.6
#4  0x00000000 in ?? ()
(gdb) 


----------------------------------------------------------------------

>Comment By: SourceForge Robot (sf-robot)
Date: 2008-05-19 19:20

Message:
Logged In: YES 
user_id=1312539
Originator: NO

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).

----------------------------------------------------------------------

Comment By: IOhannes m zmölnig (zmoelnig)
Date: 2008-05-05 05:41

Message:
Logged In: YES 
user_id=564396
Originator: NO

it seems like miller has fixed my buffer-overflow when taking the patch.
i have checked in the changes to the pdext-0-40 branch.

additionally it is also attached..
File Added: s_path.diff

----------------------------------------------------------------------

Comment By: Hans-Christoph Steiner (eighthave)
Date: 2008-05-05 02:49

Message:
Logged In: YES 
user_id=27104
Originator: NO

IOhannes, Unless you feel like debugging this in Pd-0.40.3-extended, I
think I'll just remove the path portion of your patch from
Pd-0.40.3-extended, then deal with it in the next release cycle.

----------------------------------------------------------------------

Comment By: IOhannes m zmölnig (zmoelnig)
Date: 2008-05-05 01:39

Message:
Logged In: YES 
user_id=564396
Originator: NO

hmm, interestingly enough i was not able to crash a vanilla pd-0.41-4 with
about 49 paths

----------------------------------------------------------------------

Comment By: IOhannes m zmölnig (zmoelnig)
Date: 2008-05-05 01:32

Message:
Logged In: YES 
user_id=564396
Originator: NO

i suspect this to be a memory overflow where too many strings (paths) are
concatenated in a a string that cannot hold that many characters...

----------------------------------------------------------------------

Comment By: IOhannes m zmölnig (zmoelnig)
Date: 2008-05-05 01:31

Message:
Logged In: YES 
user_id=564396
Originator: NO

eighthave's comment on the mailinglist:

I was looking into this, it looks like it is caused by your Path/ 
Startup GUI patch, but I haven't pinned it down yet. Basically,  
builds from before I applied that patch don't crash, and builds after  
do crash on the Path menu.  It seems that the crash only happens when  
there are more than 30 or so elements in the Path menu, it does not  
crash with 0-10 elements.

----------------------------------------------------------------------

Comment By: IOhannes m zmölnig (zmoelnig)
Date: 2008-05-05 01:30

Message:
Logged In: YES 
user_id=564396
Originator: NO

hans' comment in the duplicate-bug#1953770

The Path... preferences pane causes Pd to crash if it has too many
elements
loaded in it. It seems to happen around 42 path elements.

----------------------------------------------------------------------

Comment By: IOhannes m zmölnig (zmoelnig)
Date: 2008-04-15 00:07

Message:
Logged In: YES 
user_id=564396
Originator: NO

i remember seen the same problem on XP autobuilds.

raised priority, as it is a crasher!



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=1936531&group_id=55736




More information about the Pd-dev mailing list