Advertisement
Guest User

Untitled

a guest
Jun 27th, 2017
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 6.67 KB | None | 0 0
  1. Landscape Mode
  2. ==29824== Invalid free() / delete / delete[]
  3. ==29824==    at 0x4C253A5: operator delete(void*) (vg_replace_malloc.c:346)
  4. ==29824==    by 0x5262B75: QWidget::~QWidget() (in /usr/lib64/qt4/libQtGui.so.4.6.3)
  5. ==29824==    by 0x415488: AAMVACard::~AAMVACard() (aamvacard.h:12)
  6. ==29824==    by 0x5DDDDED: QObjectPrivate::deleteChildren() (in /usr/lib64/qt4/libQtCore.so.4.6.3)
  7. ==29824==    by 0x526275A: QWidget::~QWidget() (in /usr/lib64/qt4/libQtGui.so.4.6.3)
  8. ==29824==    by 0x5DDDDED: QObjectPrivate::deleteChildren() (in /usr/lib64/qt4/libQtCore.so.4.6.3)
  9. ==29824==    by 0x52631C0: QWidget::~QWidget() (in /usr/lib64/qt4/libQtGui.so.4.6.3)
  10. ==29824==    by 0x406AC5: MagRead::~MagRead() (magread.h:51)
  11. ==29824==    by 0x406789: main (main.cpp:33)
  12. ==29824==  Address 0xc4c4f28 is 504 bytes inside a block of size 608 alloc'd
  13. ==29824==    at 0x4C26A65: operator new(unsigned long) (vg_replace_malloc.c:220)
  14. ==29824==    by 0x4081F9: MagRead::aamvaPage() (magread.cpp:219)
  15. ==29824==    by 0x407752: MagRead::cardRead(MagCard) (magread.cpp:103)
  16. ==29824==    by 0x4140D9: MagRead::qt_metacall(QMetaObject::Call, int, void**) (moc_magread.cpp:81)
  17. ==29824==    by 0x5DE2181: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (in /usr/lib64/qt4/libQtCore.so.4.6.3)
  18. ==29824==    by 0x41467A: MagDecode::cardRead(MagCard) (moc_magdecode.cpp:92)
  19. ==29824==    by 0x40ED5E: MagDecode::processSwipe() (magdecode.cpp:94)
  20. ==29824==    by 0x40EB69: MagDecode::writeData(char const*, long long) (magdecode.cpp:56)
  21. ==29824==    by 0x5D70444: QIODevice::write(char const*, long long) (in /usr/lib64/qt4/libQtCore.so.4.6.3)
  22. ==29824==    by 0x4E43C98: QAudioInputPrivate::read(char*, long long) (in /usr/lib64/qt4/libQtMultimedia.so.4.6.3)
  23. ==29824==    by 0x4E43E11: QAudioInputPrivate::deviceReady() (in /usr/lib64/qt4/libQtMultimedia.so.4.6.3)
  24. ==29824==    by 0x4E48A84: QAudioInputPrivate::qt_metacall(QMetaObject::Call, int, void**) (in /usr/lib64/qt4/libQtMultimedia.so.4.6.3)
  25. ==29824==
  26. ==29824== Invalid free() / delete / delete[]
  27. ==29824==    at 0x4C253A5: operator delete(void*) (vg_replace_malloc.c:346)
  28. ==29824==    by 0x5DDDDED: QObjectPrivate::deleteChildren() (in /usr/lib64/qt4/libQtCore.so.4.6.3)
  29. ==29824==    by 0x5262C96: QWidget::~QWidget() (in /usr/lib64/qt4/libQtGui.so.4.6.3)
  30. ==29824==    by 0x415488: AAMVACard::~AAMVACard() (aamvacard.h:12)
  31. ==29824==    by 0x5DDDDED: QObjectPrivate::deleteChildren() (in /usr/lib64/qt4/libQtCore.so.4.6.3)
  32. ==29824==    by 0x526275A: QWidget::~QWidget() (in /usr/lib64/qt4/libQtGui.so.4.6.3)
  33. ==29824==    by 0x5DDDDED: QObjectPrivate::deleteChildren() (in /usr/lib64/qt4/libQtCore.so.4.6.3)
  34. ==29824==    by 0x52631C0: QWidget::~QWidget() (in /usr/lib64/qt4/libQtGui.so.4.6.3)
  35. ==29824==    by 0x406AC5: MagRead::~MagRead() (magread.h:51)
  36. ==29824==    by 0x406789: main (main.cpp:33)
  37. ==29824==  Address 0xc4c4f00 is 464 bytes inside a block of size 608 alloc'd
  38. ==29824==    at 0x4C26A65: operator new(unsigned long) (vg_replace_malloc.c:220)
  39. ==29824==    by 0x4081F9: MagRead::aamvaPage() (magread.cpp:219)
  40. ==29824==    by 0x407752: MagRead::cardRead(MagCard) (magread.cpp:103)
  41. ==29824==    by 0x4140D9: MagRead::qt_metacall(QMetaObject::Call, int, void**) (moc_magread.cpp:81)
  42. ==29824==    by 0x5DE2181: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (in /usr/lib64/qt4/libQtCore.so.4.6.3)
  43. ==29824==    by 0x41467A: MagDecode::cardRead(MagCard) (moc_magdecode.cpp:92)
  44. ==29824==    by 0x40ED5E: MagDecode::processSwipe() (magdecode.cpp:94)
  45. ==29824==    by 0x40EB69: MagDecode::writeData(char const*, long long) (magdecode.cpp:56)
  46. ==29824==    by 0x5D70444: QIODevice::write(char const*, long long) (in /usr/lib64/qt4/libQtCore.so.4.6.3)
  47. ==29824==    by 0x4E43C98: QAudioInputPrivate::read(char*, long long) (in /usr/lib64/qt4/libQtMultimedia.so.4.6.3)
  48. ==29824==    by 0x4E43E11: QAudioInputPrivate::deviceReady() (in /usr/lib64/qt4/libQtMultimedia.so.4.6.3)
  49. ==29824==    by 0x4E48A84: QAudioInputPrivate::qt_metacall(QMetaObject::Call, int, void**) (in /usr/lib64/qt4/libQtMultimedia.so.4.6.3)
  50. ==29824==
  51. ==29824== Invalid read of size 8
  52. ==29824==    at 0x52205CA: QBoxLayout::~QBoxLayout() (in /usr/lib64/qt4/libQtGui.so.4.6.3)
  53. ==29824==    by 0x4154BB: AAMVACard::~AAMVACard() (aamvacard.h:12)
  54. ==29824==    by 0x5DDDDED: QObjectPrivate::deleteChildren() (in /usr/lib64/qt4/libQtCore.so.4.6.3)
  55. ==29824==    by 0x526275A: QWidget::~QWidget() (in /usr/lib64/qt4/libQtGui.so.4.6.3)
  56. ==29824==    by 0x5DDDDED: QObjectPrivate::deleteChildren() (in /usr/lib64/qt4/libQtCore.so.4.6.3)
  57. ==29824==    by 0x52631C0: QWidget::~QWidget() (in /usr/lib64/qt4/libQtGui.so.4.6.3)
  58. ==29824==    by 0x406AC5: MagRead::~MagRead() (magread.h:51)
  59. ==29824==    by 0x406789: main (main.cpp:33)
  60. ==29824==  Address 0xc8 is not stack'd, malloc'd or (recently) free'd
  61. ==29824==
  62. ==29824==
  63. ==29824== Process terminating with default action of signal 11 (SIGSEGV)
  64. ==29824==  Access not within mapped region at address 0xC8
  65. ==29824==    at 0x52205CA: QBoxLayout::~QBoxLayout() (in /usr/lib64/qt4/libQtGui.so.4.6.3)
  66. ==29824==    by 0x4154BB: AAMVACard::~AAMVACard() (aamvacard.h:12)
  67. ==29824==    by 0x5DDDDED: QObjectPrivate::deleteChildren() (in /usr/lib64/qt4/libQtCore.so.4.6.3)
  68. ==29824==    by 0x526275A: QWidget::~QWidget() (in /usr/lib64/qt4/libQtGui.so.4.6.3)
  69. ==29824==    by 0x5DDDDED: QObjectPrivate::deleteChildren() (in /usr/lib64/qt4/libQtCore.so.4.6.3)
  70. ==29824==    by 0x52631C0: QWidget::~QWidget() (in /usr/lib64/qt4/libQtGui.so.4.6.3)
  71. ==29824==    by 0x406AC5: MagRead::~MagRead() (magread.h:51)
  72. ==29824==    by 0x406789: main (main.cpp:33)
  73. ==29824==  If you believe this happened as a result of a stack
  74. ==29824==  overflow in your program's main thread (unlikely but
  75. ==29824==  possible), you can try to increase the size of the
  76. ==29824==  main thread stack using the --main-stacksize= flag.
  77. ==29824==  The main thread stack size used in this run was 8388608.
  78. ==29824==
  79. ==29824== HEAP SUMMARY:
  80. ==29824==     in use at exit: 2,299,645 bytes in 14,813 blocks
  81. ==29824==   total heap usage: 297,155 allocs, 282,344 frees, 22,902,167 bytes allocated
  82. ==29824==
  83. ==29824== LEAK SUMMARY:
  84. ==29824==    definitely lost: 4,408 bytes in 19 blocks
  85. ==29824==    indirectly lost: 17,328 bytes in 542 blocks
  86. ==29824==      possibly lost: 709,174 bytes in 7,335 blocks
  87. ==29824==    still reachable: 1,568,735 bytes in 6,917 blocks
  88. ==29824==         suppressed: 0 bytes in 0 blocks
  89. ==29824== Rerun with --leak-check=full to see details of leaked memory
  90. ==29824==
  91. ==29824== For counts of detected and suppressed errors, rerun with: -v
  92. ==29824== Use --track-origins=yes to see where uninitialised values come from
  93. ==29824== ERROR SUMMARY: 4653 errors from 17 contexts (suppressed: 37 from 5)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement