using 1.0.1 r1290 does not start the program.
these are the info from valgrind
billy@localhost:~/rpmbuild/RPMS/x86_64> valgrind simulide
==29683== Memcheck, a memory error detector
==29683== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==29683== Using Valgrind-3.18.1 and LibVEX; rerun with -h for copyright info
==29683== Command: simulide
==29683==
==29683== Invalid read of size 8
==29683== at 0x5518F14: QTreeWidgetItem::addChild(QTreeWidgetItem*) (in /usr/lib64/libQt5Widgets.so.5.15.2)
==29683== by 0x4C9B7F: ComponentSelector::addItem(QString, QTreeWidgetItem*, QString, QString) (in /usr/bin/simulide)
==29683== by 0x4CE01B: ComponentSelector::addItem(LibraryItem*) (in /usr/bin/simulide)
==29683== by 0x4CE2AA: ComponentSelector::LoadLibraryItems() (in /usr/bin/simulide)
==29683== by 0x4CE3E7: ComponentSelector::ComponentSelector(QWidget*) (in /usr/bin/simulide)
==29683== by 0x45880C: MainWindow::createWidgets() (in /usr/bin/simulide)
==29683== by 0x459F66: MainWindow::MainWindow() (in /usr/bin/simulide)
==29683== by 0x455BDD: main (in /usr/bin/simulide)
==29683== Address 0x30 is not stack'd, malloc'd or (recently) free'd
==29683==
==29683==
==29683== Process terminating with default action of signal 11 (SIGSEGV): dumping core
==29683== Access not within mapped region at address 0x30
==29683== at 0x5518F14: QTreeWidgetItem::addChild(QTreeWidgetItem*) (in /usr/lib64/libQt5Widgets.so.5.15.2)
==29683== by 0x4C9B7F: ComponentSelector::addItem(QString, QTreeWidgetItem*, QString, QString) (in /usr/bin/simulide)
==29683== by 0x4CE01B: ComponentSelector::addItem(LibraryItem*) (in /usr/bin/simulide)
==29683== by 0x4CE2AA: ComponentSelector::LoadLibraryItems() (in /usr/bin/simulide)
==29683== by 0x4CE3E7: ComponentSelector::ComponentSelector(QWidget*) (in /usr/bin/simulide)
==29683== by 0x45880C: MainWindow::createWidgets() (in /usr/bin/simulide)
==29683== by 0x459F66: MainWindow::MainWindow() (in /usr/bin/simulide)
==29683== by 0x455BDD: main (in /usr/bin/simulide)
==29683== If you believe this happened as a result of a stack
==29683== overflow in your program's main thread (unlikely but
==29683== possible), you can try to increase the size of the
==29683== main thread stack using the --main-stacksize= flag.
==29683== The main thread stack size used in this run was 8388608.
==29683==
==29683== HEAP SUMMARY:
==29683== in use at exit: 4,689,552 bytes in 49,469 blocks
==29683== total heap usage: 218,453 allocs, 168,984 frees, 108,288,579 bytes allocated
==29683==
==29683== LEAK SUMMARY:
==29683== definitely lost: 12,024 bytes in 127 blocks
==29683== indirectly lost: 7,164 bytes in 248 blocks
==29683== possibly lost: 8,096 bytes in 31 blocks
==29683== still reachable: 4,662,252 bytes in 49,062 blocks
==29683== suppressed: 16 bytes in 1 blocks
==29683== Rerun with --leak-check=full to see details of leaked memory
==29683==
==29683== For lists of detected and suppressed errors, rerun with: -s
==29683== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
My distro is opensuse 15.4
I remain at your disposal for any further info you may need.
these are the info from valgrind
billy@localhost:~/rpmbuild/RPMS/x86_64> valgrind simulide
==29683== Memcheck, a memory error detector
==29683== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==29683== Using Valgrind-3.18.1 and LibVEX; rerun with -h for copyright info
==29683== Command: simulide
==29683==
==29683== Invalid read of size 8
==29683== at 0x5518F14: QTreeWidgetItem::addChild(QTreeWidgetItem*) (in /usr/lib64/libQt5Widgets.so.5.15.2)
==29683== by 0x4C9B7F: ComponentSelector::addItem(QString, QTreeWidgetItem*, QString, QString) (in /usr/bin/simulide)
==29683== by 0x4CE01B: ComponentSelector::addItem(LibraryItem*) (in /usr/bin/simulide)
==29683== by 0x4CE2AA: ComponentSelector::LoadLibraryItems() (in /usr/bin/simulide)
==29683== by 0x4CE3E7: ComponentSelector::ComponentSelector(QWidget*) (in /usr/bin/simulide)
==29683== by 0x45880C: MainWindow::createWidgets() (in /usr/bin/simulide)
==29683== by 0x459F66: MainWindow::MainWindow() (in /usr/bin/simulide)
==29683== by 0x455BDD: main (in /usr/bin/simulide)
==29683== Address 0x30 is not stack'd, malloc'd or (recently) free'd
==29683==
==29683==
==29683== Process terminating with default action of signal 11 (SIGSEGV): dumping core
==29683== Access not within mapped region at address 0x30
==29683== at 0x5518F14: QTreeWidgetItem::addChild(QTreeWidgetItem*) (in /usr/lib64/libQt5Widgets.so.5.15.2)
==29683== by 0x4C9B7F: ComponentSelector::addItem(QString, QTreeWidgetItem*, QString, QString) (in /usr/bin/simulide)
==29683== by 0x4CE01B: ComponentSelector::addItem(LibraryItem*) (in /usr/bin/simulide)
==29683== by 0x4CE2AA: ComponentSelector::LoadLibraryItems() (in /usr/bin/simulide)
==29683== by 0x4CE3E7: ComponentSelector::ComponentSelector(QWidget*) (in /usr/bin/simulide)
==29683== by 0x45880C: MainWindow::createWidgets() (in /usr/bin/simulide)
==29683== by 0x459F66: MainWindow::MainWindow() (in /usr/bin/simulide)
==29683== by 0x455BDD: main (in /usr/bin/simulide)
==29683== If you believe this happened as a result of a stack
==29683== overflow in your program's main thread (unlikely but
==29683== possible), you can try to increase the size of the
==29683== main thread stack using the --main-stacksize= flag.
==29683== The main thread stack size used in this run was 8388608.
==29683==
==29683== HEAP SUMMARY:
==29683== in use at exit: 4,689,552 bytes in 49,469 blocks
==29683== total heap usage: 218,453 allocs, 168,984 frees, 108,288,579 bytes allocated
==29683==
==29683== LEAK SUMMARY:
==29683== definitely lost: 12,024 bytes in 127 blocks
==29683== indirectly lost: 7,164 bytes in 248 blocks
==29683== possibly lost: 8,096 bytes in 31 blocks
==29683== still reachable: 4,662,252 bytes in 49,062 blocks
==29683== suppressed: 16 bytes in 1 blocks
==29683== Rerun with --leak-check=full to see details of leaked memory
==29683==
==29683== For lists of detected and suppressed errors, rerun with: -s
==29683== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
My distro is opensuse 15.4
I remain at your disposal for any further info you may need.
Last edited by arcachofo on Thu Jul 07, 2022 2:20 pm; edited 1 time in total (Reason for editing : Mark as solved (green color))