Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] , 'valgrind ./work/.build/bin/zeno…' terminated by signal SIGSEGV (Address boundary error) #2062

Open
Martinfx opened this issue Dec 1, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Martinfx
Copy link

Martinfx commented Dec 1, 2024

Describe the bug (both Chinese and English are OK)

hi,
I tried to build the last tag. I have a problem with SIGSEGV on FreeBSD 14.1.

  1. run zenoedit
  2. click to a new file
  3. click to list -> debug ->print message
  4. crash

==3568== Process terminating with default action of signal 11 (SIGSEGV): dumping core
==3568==  Bad permissions for mapped region at address 0x91EAF98
==3568==    at 0x91EAF98: ??? (in /lib/libcxxrt.so.1)
==3568==    by 0x895932: ZenoSubGraphScene::onRowsInserted(QModelIndex const&, QModelIndex const&, int, int) (in /usr/ports/graphics/zeno/work/.build/bin/zenoedit)
==3568==    by 0x833F1D2: ??? (in /usr/local/lib/qt5/libQt5Core.so.5.15.15)
==3568==    by 0x628FFE: IGraphsModel::_rowsInserted(QModelIndex const&, QModelIndex const&, int, int) (in /usr/ports/graphics/zeno/work/.build/bin/zenoedit)
==3568==    by 0x65E59B: GraphsModel::on_subg_rowsInserted(QModelIndex const&, int, int) (in /usr/ports/graphics/zeno/work/.build/bin/zenoedit)
==3568==    by 0x833F10F: ??? (in /usr/local/lib/qt5/libQt5Core.so.5.15.15)
==3568==    by 0x82C0C46: QAbstractItemModel::endInsertRows() (in /usr/local/lib/qt5/libQt5Core.so.5.15.15)
==3568==    by 0x6ACE44: SubGraphModel::insertRow(int, QMap<int, QVariant> const&, QModelIndex const&) (in /usr/ports/graphics/zeno/work/.build/bin/zenoedit)
==3568==    by 0x6ACEB1: SubGraphModel::appendItem(QMap<int, QVariant> const&, bool) (in /usr/ports/graphics/zeno/work/.build/bin/zenoedit)
==3568==    by 0x66CB7C: GraphsModel::addNode(QMap<int, QVariant> const&, QModelIndex const&, bool) (in /usr/ports/graphics/zeno/work/.build/bin/zenoedit)
==3568==    by 0x780B380: QUndoStack::push(QUndoCommand*) (in /usr/local/lib/qt5/libQt5Widgets.so.5.15.15)
==3568==    by 0x66CC12: GraphsModel::addNode(QMap<int, QVariant> const&, QModelIndex const&, bool) (in /usr/ports/graphics/zeno/work/.build/bin/zenoedit)
==3568== 
==3568== HEAP SUMMARY:
==3568==     in use at exit: 193,084,793 bytes in 133,026 blocks
==3568==   total heap usage: 673,656 allocs, 540,630 frees, 926,317,494 bytes allocated
==3568== 
==3568== LEAK SUMMARY:
==3568==    definitely lost: 75,936 bytes in 1,444 blocks
==3568==    indirectly lost: 12,610 bytes in 495 blocks
==3568==      possibly lost: 96,059,705 bytes in 192 blocks
==3568==    still reachable: 96,897,588 bytes in 130,846 blocks
==3568==                       of which reachable via heuristic:
==3568==                         newarray           : 1,576 bytes in 17 blocks
==3568==                         multipleinheritance: 4,904 bytes in 4 blocks
==3568==         suppressed: 38,954 bytes in 49 blocks
==3568== Rerun with --leak-check=full to see details of leaked memory
==3568== 
==3568== Use --track-origins=yes to see where uninitialised values come from
==3568== For lists of detected and suppressed errors, rerun with: -s
==3568== ERROR SUMMARY: 498 errors from 8 contexts (suppressed: 0 from 0)
fish: Job 1, 'valgrind ./work/.build/bin/zeno…' terminated by signal SIGSEGV (Address boundary error)

Environment

  • System: FreeBSD 14.1
  • Zeno Version: zeno-2024.10.1/
  • Graphics card (for viewport bugs): NVIDIA GeForce GTX 1060 6GB
@Martinfx Martinfx added the bug Something isn't working label Dec 1, 2024
@Martinfx
Copy link
Author

#0  thr_kill () at thr_kill.S:4
#1  0x00000008089175d4 in __raise (s=s@entry=6) at /usr/src/lib/libc/gen/raise.c:50
#2  0x00000008089cab59 in abort () at /usr/src/lib/libc/stdlib/abort.c:64
#3  0x000000080869ed2d in ??? () at /usr/local/lib/gcc13/libstdc++.so.6
#4  0x00000008086ae756 in ??? () at /usr/local/lib/gcc13/libstdc++.so.6
#5  0x00000008086ae7b1 in std::terminate() () at /usr/local/lib/gcc13/libstdc++.so.6
#6  0x00000008086aea2c in __cxa_throw () at /usr/local/lib/gcc13/libstdc++.so.6
#7  0x000000080614c698 in std::unique_ptr<zeno::INodeClass, std::default_delete<zeno::INodeClass> >& zeno::safe_at<std::unique_ptr<zeno::INodeClass, std::default_delete<zeno::INodeClass> > >(std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::unique_ptr<zeno::INodeClass, std::default_delete<zeno::INodeClass> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::unique_ptr<zeno::INodeClass, std::default_delete<zeno::INodeClass> > > > >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string_view<char, std::char_traits<char> >) () at /usr/ports/graphics/zeno/work/.build/bin/libzeno.so
#8  0x0000000806148922 in zeno::Graph::callTempNode(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::shared_ptr<zeno::IObject>, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::shared_ptr<zeno::IObject> > > >) const () at /usr/ports/graphics/zeno/work/.build/bin/libzeno.so
#9  0x00000000005b0b9e in ZenoParamPathEdit::mousePressEvent(QGraphicsSceneMouseEvent*) ()
#10 0x0000000806f9dc94 in QGraphicsItem::sceneEvent(QEvent*) () at /usr/local/lib/qt5/libQt5Widgets.so.5
#11 0x0000000806fa56d5 in QGraphicsTextItem::sceneEvent(QEvent*) () at /usr/local/lib/qt5/libQt5Widgets.so.5
#12 0x0000000806fc130a in ??? () at /usr/local/lib/qt5/libQt5Widgets.so.5
#13 0x0000000806fc1a3b in ??? () at /usr/local/lib/qt5/libQt5Widgets.so.5
#14 0x0000000806fcad3b in QGraphicsScene::mousePressEvent(QGraphicsSceneMouseEvent*) () at /usr/local/lib/qt5/libQt5Widgets.so.5
#15 0x0000000806fc606f in QGraphicsScene::event(QEvent*) () at /usr/local/lib/qt5/libQt5Widgets.so.5
#16 0x0000000806c9a513 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/local/lib/qt5/libQt5Widgets.so.5
#17 0x0000000806c9b8ce in QApplication::notify(QObject*, QEvent*) () at /usr/local/lib/qt5/libQt5Widgets.so.5
#18 0x0000000807c2bfd1 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/local/lib/qt5/libQt5Core.so.5
#19 0x0000000806feef87 in QGraphicsView::mousePressEvent(QMouseEvent*) () at /usr/local/lib/qt5/libQt5Widgets.so.5
#20 0x0000000806cd413c in QWidget::event(QEvent*) () at /usr/local/lib/qt5/libQt5Widgets.so.5
#21 0x0000000806d70438 in QFrame::event(QEvent*) () at /usr/local/lib/qt5/libQt5Widgets.so.5
#22 0x0000000806feddad in QGraphicsView::viewportEvent(QEvent*) () at /usr/local/lib/qt5/libQt5Widgets.so.5
#23 0x0000000807c2c318 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () at /usr/local/lib/qt5/libQt5Core.so.5
#24 0x0000000806c9a4ff in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/local/lib/qt5/libQt5Widgets.so.5
#25 0x0000000806c9d40e in QApplication::notify(QObject*, QEvent*) () at /usr/local/lib/qt5/libQt5Widgets.so.5
#26 0x0000000807c2bfd1 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/local/lib/qt5/libQt5Core.so.5
#27 0x0000000806c9ae4c in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () at /usr/local/lib/qt5/libQt5Widgets.so.5
#28 0x0000000806cf0d6f in ??? () at /usr/local/lib/qt5/libQt5Widgets.so.5
#29 0x0000000806cefc7d in ??? () at /usr/local/lib/qt5/libQt5Widgets.so.5
#30 0x0000000806c9a513 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/local/lib/qt5/libQt5Widgets.so.5
#31 0x0000000806c9b8ce in QApplication::notify(QObject*, QEvent*) () at /usr/local/lib/qt5/libQt5Widgets.so.5
#32 0x0000000807c2bfd1 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/local/lib/qt5/libQt5Core.so.5
#33 0x00000008072a3121 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /usr/local/lib/qt5/libQt5Gui.so.5
#34 0x0000000807286ecb in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/local/lib/qt5/libQt5Gui.so.5
#35 0x000000087733a7af in ??? () at /usr/local/lib/qt5/libQt5XcbQpa.so.5
#36 0x000000080cc9d59b in ??? () at /usr/local/lib/libglib-2.0.so.0
#37 0x000000080cc9d95d in ??? () at /usr/local/lib/libglib-2.0.so.0
#38 0x000000080cc9d9f6 in g_main_context_iteration () at /usr/local/lib/libglib-2.0.so.0
#39 0x0000000807c81255 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/local/lib/qt5/libQt5Core.so.5
#40 0x0000000807c28916 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/local/lib/qt5/libQt5Core.so.5
#41 0x0000000807c2c641 in QCoreApplication::exec() () at /usr/local/lib/qt5/libQt5Core.so.5
#42 0x000000000054da5e in main ()
(gdb) exit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant