[PD-dev] [ pure-data-Bugs-3411458 ] zexy's [sgn~] and [abs~] crash

SourceForge.net noreply at sourceforge.net
Mon Sep 19 14:34:00 CEST 2011


Bugs item #3411458, was opened at 2011-09-19 12:34
Message generated for change (Tracker Item Submitted) made by reduzent
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=3411458&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: externals
Group: v0.43
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Roman Haefeli (reduzent)
Assigned to: Nobody/Anonymous (nobody)
Summary: zexy's [sgn~] and [abs~] crash

Initial Comment:
If DSP is on and DSP graph is recompiled (new tilde object is generated and connected in a patcher window), zexy's [sgn~] and [abs~] do _sometimes_ crash. This happens only on one of two machines with the same version of Pd and zexy installed. 

How to trigger the crash:
1) pd -noprefs -lib zexy
2) turn DSP on
3) Create new patcher window (Ctrl-N)
4) Create [abs~], create a [+~] and connect them
5) If it does not crash yet, repeat step 4)

On one of my machines it virtually always crashes on the second iteration. 

GDB backtrace (with [abs~]):

Program received signal SIGSEGV, Segmentation fault.
sigABS_performSSE (w=0x81a53c0) at abs~.c:58
58	    out[0] = _mm_and_ps(in[0] , bitmask);
(gdb) backtrace
#0  sigABS_performSSE (w=0x81a53c0) at abs~.c:58
#1  0x080dd227 in dsp_tick () at d_ugen.c:336
#2  0x080c7f40 in sched_tick () at m_sched.c:382
#3  m_pollingscheduler () at m_sched.c:482
#4  m_mainloop () at m_sched.c:568
#5  0x080d49ab in main (argc=3, argv=0xbffff734) at s_entry.c:32

Backtrace with [sgn~] crashing:

Program received signal SIGSEGV, Segmentation fault.
sgnTilde_performSSE (w=0x81a53bc) at sgn~.c:93
93	    val=in[0];
(gdb) backtrace
#0  sgnTilde_performSSE (w=0x81a53bc) at sgn~.c:93
#1  0x080dd227 in dsp_tick () at d_ugen.c:336
#2  0x080c7f40 in sched_tick () at m_sched.c:382
#3  m_pollingscheduler () at m_sched.c:482
#4  m_mainloop () at m_sched.c:568
#5  0x080d49ab in main (argc=3, argv=0xbffff734) at s_entry.c:32

This is with / on:
- Ubuntu 11.04 i386
- Intel(R) Core(TM)2 Duo CPU     T8300
- Pd 0.43.1test2
- zexy from svn r15308

It does _not_ crash on this setup:
- Ubuntu 10.04 i386
- Intel(R) Core(TM)2 Duo CPU     U9400
- Pd 0.43.1test2
- zexy from svn r15308

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

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



More information about the Pd-dev mailing list