[GEM-dev] [ pd-gem-Bugs-2997533 ] part_render crash when speed is set high

SourceForge.net noreply at sourceforge.net
Thu May 6 15:03:52 CEST 2010


Bugs item #2997533, was opened at 2010-05-06 12:28
Message generated for change (Comment added) made by zomoipotoi
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=507079&aid=2997533&group_id=64325

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: rendering (e.g. display)
Group: linux
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By:  zomoipotoi (zomoipotoi)
Assigned to: Nobody/Anonymous (nobody)
Summary: part_render crash when speed is set high

Initial Comment:
I have a particle system with part_head with no arguments (defaults to 1000 particles max).
I use part_render and start rendering. 
Then I set part_head's speed to eg. 300, then my pd crash.

My system is: PD 0.42.5 - GEM 0.92.2 - Ubuntu 9.04 64 bit - NVIDIA GTX 260

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

>Comment By:  zomoipotoi (zomoipotoi)
Date: 2010-05-06 15:03

Message:
Hi Iohannes,

this is the gdb output when pd crashed:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fcb6c31b6f0 (LWP 16777)]
pd_typedmess (x=0x3f8000003f800000, s=0x1ca5e60, argc=2,
argv=0x7fff74341e90)
    at m_class.c:635
635	    t_class *c = *x;


this is the gdb backtrace:

#0  pd_typedmess (x=0x3f8000003f800000, s=0x1ca5e60, argc=2, 
    argv=0x7fff74341e90) at m_class.c:635
#1  0x0000000000469b9a in outlet_anything (x=<value optimized out>, 
    s=0x1ca5e60, argc=2, argv=0x7fff74341e90) at m_obj.c:390
#2  0x00007fcb6a178105 in GemBase::continueRender ()
   from /usr/local/lib/pd/extra/Gem.pd_linux
#3  0x00007fcb6a20188d in part_render::render ()
   from /usr/local/lib/pd/extra/Gem.pd_linux
#4  0x00007fcb6a178163 in GemBase::gem_renderMess ()
   from /usr/local/lib/pd/extra/Gem.pd_linux
#5  0x000000000046703a in pd_typedmess (x=0x25fe200, s=0x1ca5e60, argc=2,

    argv=0x7fff74341e90) at m_class.c:681
#6  0x0000000000469b9a in outlet_anything (x=<value optimized out>, 
    s=0x1ca5e60, argc=2, argv=0x7fff74341ff0) at m_obj.c:390
#7  0x00007fcb6a178105 in GemBase::continueRender ()
   from /usr/local/lib/pd/extra/Gem.pd_linux
#8  0x00007fcb6a17816e in GemBase::gem_renderMess ()
   from /usr/local/lib/pd/extra/Gem.pd_linux
#9  0x000000000046703a in pd_typedmess (x=0x2623c10, s=0x1ca5e60, argc=2,

    argv=0x7fff74341e90) at m_class.c:681
#10 0x0000000000469b9a in outlet_anything (x=<value optimized out>, 
    s=0x1ca5e60, argc=2, argv=0x7fff743420f0) at m_obj.c:390
#11 0x00007fcb6a178105 in GemBase::continueRender ()
#12 0x00007fcb6a17816e in GemBase::gem_renderMess ()
   from /usr/local/lib/pd/extra/Gem.pd_linux
#13 0x000000000046703a in pd_typedmess (x=0x26239f0, s=0x1ca5e60, argc=2,

    argv=0x7fff74341e90) at m_class.c:681
#14 0x0000000000469b9a in outlet_anything (x=<value optimized out>, 
    s=0x1ca5e60, argc=2, argv=0x7fff743421f0) at m_obj.c:390
#15 0x00007fcb6a178105 in GemBase::continueRender ()
   from /usr/local/lib/pd/extra/Gem.pd_linux
#16 0x00007fcb6a17816e in GemBase::gem_renderMess ()
   from /usr/local/lib/pd/extra/Gem.pd_linux
#17 0x000000000046703a in pd_typedmess (x=0x25fe080, s=0x1ca5e60, argc=2,

    argv=0x7fff74341e90) at m_class.c:681
#18 0x0000000000469b9a in outlet_anything (x=<value optimized out>, 
    s=0x1ca5e60, argc=2, argv=0x7fff743422f0) at m_obj.c:390
#19 0x00007fcb6a178105 in GemBase::continueRender ()
   from /usr/local/lib/pd/extra/Gem.pd_linux
#20 0x00007fcb6a17816e in GemBase::gem_renderMess ()
   from /usr/local/lib/pd/extra/Gem.pd_linux
#21 0x000000000046703a in pd_typedmess (x=0x25ffe40, s=0x1ca5e60, argc=2,

    argv=0x7fff74341e90) at m_class.c:681
#22 0x0000000000469b9a in outlet_anything (x=<value optimized out>, 
    s=0x1ca5e60, argc=2, argv=0x7fff743423f0) at m_obj.c:390
#23 0x00007fcb6a1c8f33 in gemhead::renderGL ()
   from /usr/local/lib/pd/extra/Gem.pd_linux
#24 0x00007fcb6a197e2b in GemMan::renderChain ()
   from /usr/local/lib/pd/extra/Gem.pd_linux
#25 0x00007fcb6a1983d4 in GemMan::render ()
   from /usr/local/lib/pd/extra/Gem.pd_linux
#26 0x0000000000474db6 in m_mainloop () at m_sched.c:372
#27 0x0000000000479fcd in sys_main (argc=<value optimized out>, 
    argv=<value optimized out>) at s_main.c:313
#28 0x00007fcb6b3085a6 in __libc_start_main () from /lib/libc.so.6
#29 0x00000000004107f9 in _start () at ../sysdeps/x86_64/elf/start.S:113

Thanks a lot!

dario

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

Comment By: IOhannes m zmlnig (zmoelnig)
Date: 2010-05-06 14:48

Message:
could you provide a backtrace of the crash?

on linux/osx/similar you can use gdb for producing one:
$ gdb -args /path/to/pd -lib Gem -open /my/faulty/patch.pd
[...]
(gdb) run
[... do something to trigger the crasher bug ...]
(gdb) backtrace
[...]

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

Comment By:  zomoipotoi (zomoipotoi)
Date: 2010-05-06 12:33

Message:
with -verbose flag the console says "Errore del bus" (italian) -> "Bus
error" (I think this is the translation) when the crash occur

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

Comment By:  zomoipotoi (zomoipotoi)
Date: 2010-05-06 12:30

Message:
pd crash with Segmentation fault

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=507079&aid=2997533&group_id=64325




More information about the GEM-dev mailing list