mcvsama/haruhi — Issue #135: Crash in ~Port
Author: mcvsama
Created: 2011-12-16 18:12:38+00:00
State: open
Labels: Crasher

```
Program received signal SIGSEGV, Segmentation fault.
std::_Rb_tree, std::_Select1st >, std::less, std::allocator > >::_M_erase (this=0xb6b0b8, __x=0xfff9f9f900000000) at haruhi/widgets/knob.cc:608
608 } // namespace Haruhi
(gdb) whe
#0 std::_Rb_tree, std::_Select1st >, std::less, std::allocator > >::_M_erase (this=0xb6b0b8, __x=0xfff9f9f900000000) at haruhi/widgets/knob.cc:608
#1 0x0000000000555a56 in ~_Rb_tree (this=0xb6b0b8, __in_chrg=) at /usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.2/../../../../include/c++/4.6.2/bits/stl_tree.h:639
#2 ~map (this=0xb6b0b8, __in_chrg=) at /usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.2/../../../../include/c++/4.6.2/bits/stl_map.h:88
#3 ~Knob (this=0xb6b030, __in_chrg=) at haruhi/widgets/knob.h:70
#4 Haruhi::Knob::~Knob (this=, __in_chrg=) at haruhi/widgets/knob.h:70
#5 0x000000000053a9c0 in Yuki::PartWidget::~PartWidget (this=0xb627b0, __in_chrg=) at plugins/yuki/part_widget.cc:399
#6 0x000000000053ac01 in Yuki::PartWidget::~PartWidget (this=0xb627b0, __in_chrg=) at plugins/yuki/part_widget.cc:416
#7 0x00007ffff550b4a5 in QObjectPrivate::deleteChildren() () from /usr/lib/libQtCore.so.4
#8 0x00007ffff5a3253a in QWidget::~QWidget() () from /usr/lib/libQtGui.so.4
#9 0x00007ffff5e35dc9 in QStackedWidget::~QStackedWidget() () from /usr/lib/libQtGui.so.4
#10 0x00007ffff550b4a5 in QObjectPrivate::deleteChildren() () from /usr/lib/libQtCore.so.4
#11 0x00007ffff5a3253a in QWidget::~QWidget() () from /usr/lib/libQtGui.so.4
#12 0x00007ffff5e417c9 in QTabWidget::~QTabWidget() () from /usr/lib/libQtGui.so.4
#13 0x00007ffff550b4a5 in QObjectPrivate::deleteChildren() () from /usr/lib/libQtCore.so.4
#14 0x00007ffff5a3253a in QWidget::~QWidget() () from /usr/lib/libQtGui.so.4
#15 0x00007ffff5e35dc9 in QStackedWidget::~QStackedWidget() () from /usr/lib/libQtGui.so.4
#16 0x00007ffff550b4a5 in QObjectPrivate::deleteChildren() () from /usr/lib/libQtCore.so.4
#17 0x00007ffff5a3253a in QWidget::~QWidget() () from /usr/lib/libQtGui.so.4
#18 0x0000000000555f78 in ~PartManagerWidget (this=0xbc8e00, __in_chrg=) at plugins/yuki/part_manager_widget.h:37
#19 Yuki::PartManagerWidget::~PartManagerWidget (this=0xbc8e00, __in_chrg=) at plugins/yuki/part_manager_widget.h:37
#20 0x0000000000540ca3 in ~Plugin (this=0xbc8550, __in_chrg=) at plugins/yuki/plugin.cc:48
#21 Yuki::Plugin::~Plugin (this=, __in_chrg=) at plugins/yuki/plugin.cc:50
#22 0x00000000004e4948 in Haruhi::PluginLoader::unload (this=, plugin=0xbc8550) at haruhi/plugin/plugin_loader.cc:71
#23 0x00000000004e7d15 in Haruhi::Patch::unload_plugin (this=0xa8bde0, plugin=0xbc8550) at haruhi/session/patch.cc:351
#24 0x00000000004e7e35 in Haruhi::Patch::~Patch (this=0xa8bde0, __in_chrg=) at haruhi/session/patch.cc:299
#25 0x00000000004e7f5d in Haruhi::Patch::~Patch (this=0xa8bde0, __in_chrg=) at haruhi/session/patch.cc:306
#26 0x00007ffff550b4a5 in QObjectPrivate::deleteChildren() () from /usr/lib/libQtCore.so.4
#27 0x00007ffff5a3253a in QWidget::~QWidget() () from /usr/lib/libQtGui.so.4
#28 0x00000000004ec058 in ~Program (this=0xa8bab0, __in_chrg=) at haruhi/session/program.cc:43
#29 Haruhi::Program::~Program (this=, __in_chrg=) at haruhi/session/program.cc:45
#30 0x00000000004f3130 in Haruhi::Session::~Session (this=0x9c87b0, __in_chrg=) at haruhi/session/session.cc:483
#31 0x00000000004f3289 in Haruhi::Session::~Session (this=0x9c87b0, __in_chrg=) at haruhi/session/session.cc:490
#32 0x000000000047208e in Haruhi::Haruhi::run_ui (this=0x7fffffffdd10) at haruhi/application/haruhi.cc:115
#33 0x00000000004722a0 in Haruhi::Haruhi::Haruhi (this=0x7fffffffdd10, argc=, argv=, envp=) at haruhi/application/haruhi.cc:73
#34 0x00000000004689c4 in main (argc=1, argv=0x7fffffffdea8, envp=0x7fffffffdeb8) at haruhi/application/main.cc:57
```