On Thursday 10 December 2015 14:43:06 Shinnok wrote:
> Hi,
> 
> I'm having some trouble identifying the potential cause for this crash:
> Tarsnap(7631,0x7fff734b5000) malloc: *** error for object 0x7fff5fbfb4a8:
> pointer being freed was not allocated --
>    frame #2: 0x00007fff84e316e7 libsystem_c.dylib`abort + 129
>     frame #3: 0x00007fff877d9070 libsystem_malloc.dylib`free + 425
>     frame #4: 0x00000001004eb5f2 QtWidgets_debug`QMenu::~QMenu() + 34
>     frame #5: 0x000000010208079b
> QtCore_debug`QObjectPrivate::deleteChildren() + 235 frame

You added a child to the QWidget that was not created with "new". Given the 
pointer address, it is a stack variable.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to