[Interest] Container members in abstract base class?

Jonathan Greig redteam316 at gmail.com
Wed May 22 16:03:29 CEST 2013


I've attached the relevant files and a partial backtrace.

- Swyped from my droid.

On May 22, 2013 7:33 AM, "André Somers" <andre at familiesomers.nl> wrote:

Op 22-5-2013 14:25, Jonathan Greig schreef:

>
> I have an abstract base class that contains a private QHash member.
> There is a public functio...
You'll need to show us the relevant code. Most likely it is a bug on
your side.

André

--
You like Qt?
I am looking for collegues to join me at i-Optics!

_______________________________________________
Interest mailing list
Interest at qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130522/08e07b18/attachment.html>
-------------- next part --------------
...
BaseObject Constructor()
CircleObject Constructor()
activeView()

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff62938cc in QHashData::detach_helper2(void (*)(QHashData::Node*, void*), void (*)(QHashData::Node*), int, int) ()
   from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
(gdb) bt
#0  0x00007ffff62938cc in QHashData::detach_helper2(void (*)(QHashData::Node*, void*), void (*)(QHashData::Node*), int, int) ()
   from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#1  0x000000000048ce56 in QHash<QString, QPointF>::detach_helper (this=0x13263e8) at /usr/include/qt4/QtCore/qhash.h:584
#2  0x000000000048ccb2 in QHash<QString, QPointF>::detach (this=0x13263e8) at /usr/include/qt4/QtCore/qhash.h:303
#3  0x000000000048ca76 in QHash<QString, QPointF>::insert (this=0x13263e8, akey=..., avalue=...)
    at /usr/include/qt4/QtCore/qhash.h:756
#4  0x000000000048c9e9 in BaseObject::setObjectRubberPoint (this=0x13263c0, key=..., point=...) at object-base.cpp:75
#5  0x000000000044d45c in View::setRubberPoint (this=0xfd19f0, key=..., point=...) at view.cpp:153
#6  0x000000000043cf3c in MainWindow::nativeSetRubberPoint (this=0x7e6d80, key=..., x=-51.5, y=-35.5)
    at mainwindow-commands.cpp:895
#7  0x000000000049e1dc in javaSetRubberPoint (context=0x7fffdfc00138) at javascript/native-javascript.cpp:363
#8  0x00007ffff7b1dca8 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: view.cpp
Type: text/x-c++src
Size: 259 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130522/08e07b18/attachment.cpp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: object-base.h
Type: text/x-chdr
Size: 1793 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130522/08e07b18/attachment.h>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: object-base.cpp
Type: text/x-c++src
Size: 722 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130522/08e07b18/attachment-0001.cpp>


More information about the Interest mailing list