Menu

#224 [pix_multitexture] crashes when destroyed after window creation

0.94
closed-fixed
any
5
2014-08-28
2014-06-24
Anonymous
No

this has been tested on 2 different linux (ubuntu 14.04) computers, 1 using an intel HD 4000 GPU, the other a NVIDIA GeForce9650GT.

to reproduce:

  • open [pix_multitexture] help file
  • create the Gem rendering window
  • check that some images are loaded
  • Then delete pix_multitexture.
  • -> pd crashes with a coredump

gdb backtrace:

#0  0x000000000046ff80 in inlet_free ()
#1  0x00007ffff4196fa1 in pix_multitexture::~pix_multitexture (this=0xc55860, 
    __in_chrg=<optimized out>) at pix_multitexture.cpp:72
#2  0x00007ffff4196ff9 in pix_multitexture::~pix_multitexture (this=0xc55860, 
    __in_chrg=<optimized out>) at pix_multitexture.cpp:76
#3  0x000000000046d0f9 in pd_free ()
#4  0x000000000041723d in glist_delete ()
#5  0x000000000044e4ae in canvas_doclear ()
#6  0x00000000004531fd in canvas_cut ()
#7  0x000000000046f065 in pd_typedmess ()
#8  0x000000000046ee0b in pd_typedmess ()
#9  0x00000000004788bc in binbuf_eval ()
#10 0x000000000048295c in socketreceiver_read ()
#11 0x0000000000481d0d in sys_domicrosleep.constprop ()
#12 0x000000000047ec6d in m_mainloop ()
#13 0x00007ffff6df5ec5 in __libc_start_main (main=0x4118f0 <main>, argc=1, 
    argv=0x7fffffffdf78, init=<optimized out>, fini=<optimized out>, 
    rtld_fini=<optimized out>, stack_end=0x7fffffffdf68) at libc-start.c:287
#14 0x000000000041191e in _start ()

Related

Bugs: #231

Discussion

  • IOhannes m zmölnig

    • labels: --> linux, crash, pix_multitexture
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,5 +1,5 @@
     pix_multitexture crash when destroyed.
    -this is tested on 2 diferent linux (ubuntu 14.04) computer, 1 using an intel HD 4000 GPU, the other a NVIDIA GeForce9650GT.
    +this is tested on 2 different linux (ubuntu 14.04) computer, 1 using an intel HD 4000 GPU, the other a NVIDIA GeForce9650GT.
    
     to reproduce : open pix_multitexture help file, create the Gem rendering window, check that some images are loaded. Then delet pix_multitexture.
     pd crash with a coredump.
    
    • assigned_to: IOhannes m zmölnig
    • Group: linux --> 0.94
     
  • IOhannes m zmölnig

    • summary: pix_multitexture crash when destroyed --> [pix_multitexture] crashes when destroyed after window creation
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,10 +1,16 @@
    -pix_multitexture crash when destroyed.
    -this is tested on 2 different linux (ubuntu 14.04) computer, 1 using an intel HD 4000 GPU, the other a NVIDIA GeForce9650GT.
    +this has been tested on 2 different linux (ubuntu 14.04) computers, 1 using an intel HD 4000 GPU, the other a NVIDIA GeForce9650GT.
    
    -to reproduce : open pix_multitexture help file, create the Gem rendering window, check that some images are loaded. Then delet pix_multitexture.
    -pd crash with a coredump.
    +to reproduce:
    
    -gdb backtrace :
    + - open `[pix_multitexture]` help file
    + - create the Gem rendering window
    + - check that some images are loaded
    + - Then delete pix_multitexture.
    + - -> *pd **crashes** with a coredump*
    +
    +gdb backtrace:
    +
    +~~~~~~~
     #0  0x000000000046ff80 in inlet_free ()
     #1  0x00007ffff4196fa1 in pix_multitexture::~pix_multitexture (this=0xc55860, 
         __in_chrg=<optimized out>) at pix_multitexture.cpp:72
    @@ -24,4 +30,4 @@
         argv=0x7fffffffdf78, init=<optimized out>, fini=<optimized out>, 
         rtld_fini=<optimized out>, stack_end=0x7fffffffdf68) at libc-start.c:287
     #14 0x000000000041191e in _start ()
    -
    +~~~~~~~
    
    • OS: --> any
     
  • IOhannes m zmölnig

    another backtrace (by antoine):

    http://pastebin.com/aZiaiEXb

     
  • IOhannes m zmölnig

    • status: open --> closed-fixed
    • Release: 0.93-git --> 0.94
     
  • IOhannes m zmölnig

    fixed with [8acee3]

     

    Related

    Commit: [8acee3]

Anonymous
Anonymous

Add attachments
Cancel