Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Notebook layout configuration (patch to test)
Jenna:
--- Quote from: jens on March 26, 2014, 11:01:58 am ---
--- Quote from: oBFusCATed on March 26, 2014, 10:25:47 am ---Please fix the nopch build, too:
--- End quote ---
This evening, if I'm back from work.
--- End quote ---
New patch atttached.
No changes except the NOPCH fixes.
EDIT:
actual patch in http://forums.codeblocks.org/index.php/topic,19100.msg133926.html#msg133926
oBFusCATed:
Building... I'll report if I see any problems...
oBFusCATed:
I've got this crash. It happened after I've quickly closed some files just after I've opened a workspace with many test projects.
--- Code: ---#42 0x00007f1ccb1370ac in wxFatalSignalHandler () at /var/tmp/portage/x11-libs/wxGTK-2.8.12.1-r1/work/wxPython-src-2.8.12.1/src/unix/utilsunx.cpp:1109
#43 <signal handler called>
#44 0x00007f1c9ff3a800 in CodeCompletion::OnEditorClosed (this=0x1bc5c10, event=...) at codecompletion.cpp:2432
#45 0x00007f1cccadcae9 in Manager::ProcessEvent (this=<optimized out>, event=...) at manager.cpp:261
#46 0x00007f1cccae90e2 in PluginManager::NotifyPlugins (this=<optimized out>, event=...) at pluginmanager.cpp:1445
#47 0x00007f1ccca9f9f1 in EditorBase::~EditorBase (this=0x5abfc70, __in_chrg=<optimized out>) at editorbase.cpp:133
#48 0x00007f1ccca34131 in cbEditor::~cbEditor (this=0x5abfc70, __in_chrg=<optimized out>) at cbeditor.cpp:728
#49 0x00007f1ccb8a9c0f in wxWindowBase::Destroy (this=<optimized out>) at /var/tmp/portage/x11-libs/wxGTK-2.8.12.1-r1/work/wxPython-src-2.8.12.1/src/common/wincmn.cpp:415
#50 0x00007f1ccc665467 in wxAuiNotebook::DeletePage (this=this@entry=0x1086ff0, page_idx=page_idx@entry=0) at /var/tmp/portage/x11-libs/wxGTK-2.8.12.1-r1/work/wxPython-src-2.8.12.1/src/aui/auibook.cpp:3302
#51 0x00007f1ccca28928 in cbAuiNotebook::DeletePage (this=0x1086ff0, page=page@entry=0) at cbauibook.cpp:492
#52 0x00007f1cccaadc15 in EditorManager::Close (this=0x96dde0, editor=0x5abfc70, dontsave=dontsave@entry=false) at editormanager.cpp:646
#53 0x00007f1cccaadee3 in EditorManager::CloseActive (this=<optimized out>, dontsave=dontsave@entry=false) at editormanager.cpp:607
#54 0x0000000000492a93 in MainFrame::OnFileClose (this=0x168f920, event=...) at main.cpp:2642
#55 0x00007f1ccb133dfe in ProcessEventIfMatches (event=..., handler=<optimized out>, entry=...) at /var/tmp/portage/x11-libs/wxGTK-2.8.12.1-r1/work/wxPython-src-2.8.12.1/src/common/event.cpp:1239
#56 wxEvtHandler::ProcessEventIfMatches (entry=..., handler=<optimized out>, event=...) at /var/tmp/portage/x11-libs/wxGTK-2.8.12.1-r1/work/wxPython-src-2.8.12.1/src/common/event.cpp:1214
#57 0x00007f1ccb133f7c in wxEventHashTable::HandleEvent (this=<optimized out>, event=..., self=self@entry=0x168f920) at /var/tmp/portage/x11-libs/wxGTK-2.8.12.1-r1/work/wxPython-src-2.8.12.1/src/common/event.cpp:906
#58 0x00007f1ccb134297 in ProcessEvent (event=..., this=0x168f920) at /var/tmp/portage/x11-libs/wxGTK-2.8.12.1-r1/work/wxPython-src-2.8.12.1/src/common/event.cpp:1301
#59 wxEvtHandler::ProcessEvent (this=0x168f920, event=...) at /var/tmp/portage/x11-libs/wxGTK-2.8.12.1-r1/work/wxPython-src-2.8.12.1/src/common/event.cpp:1272
#60 0x00007f1ccb134220 in ProcessEvent (event=..., this=0x168fc20) at /var/tmp/portage/x11-libs/wxGTK-2.8.12.1-r1/work/wxPython-src-2.8.12.1/src/common/event.cpp:1308
#61 wxEvtHandler::ProcessEvent (this=0x168fc20, event=...) at /var/tmp/portage/x11-libs/wxGTK-2.8.12.1-r1/work/wxPython-src-2.8.12.1/src/common/event.cpp:1272
#62 0x00007f1ccb134220 in ProcessEvent (event=..., this=0xf6b928) at /var/tmp/portage/x11-libs/wxGTK-2.8.12.1-r1/work/wxPython-src-2.8.12.1/src/common/event.cpp:1308
#63 wxEvtHandler::ProcessEvent (this=0xf6b928, event=...) at /var/tmp/portage/x11-libs/wxGTK-2.8.12.1-r1/work/wxPython-src-2.8.12.1/src/common/event.cpp:1272
#64 0x00007f1ccb134220 in ProcessEvent (event=..., this=0xf666c0) at /var/tmp/portage/x11-libs/wxGTK-2.8.12.1-r1/work/wxPython-src-2.8.12.1/src/common/event.cpp:1308
#65 wxEvtHandler::ProcessEvent (this=0xf666c0, event=...) at /var/tmp/portage/x11-libs/wxGTK-2.8.12.1-r1/work/wxPython-src-2.8.12.1/src/common/event.cpp:1272
#66 0x00007f1ccb134220 in ProcessEvent (event=..., this=0x100a900) at /var/tmp/portage/x11-libs/wxGTK-2.8.12.1-r1/work/wxPython-src-2.8.12.1/src/common/event.cpp:1308
#67 wxEvtHandler::ProcessEvent (this=0x100a900, event=...) at /var/tmp/portage/x11-libs/wxGTK-2.8.12.1-r1/work/wxPython-src-2.8.12.1/src/common/event.cpp:1272
--- End code ---
oBFusCATed:
Can you try this workspaces: http://cmpt.benbmp.org/codeblocks/test_projects/workspace_crashs.tar.bz2
Jenna:
--- Quote from: oBFusCATed on March 27, 2014, 01:33:54 am ---Can you try this workspaces: http://cmpt.benbmp.org/codeblocks/test_projects/workspace_crashs.tar.bz2
--- End quote ---
The crash is confirmed-
The cause is that the caption is not enough to distinguish between the tabs (obviously) if it's the same, so rebuilding the pane layout is broken, even if not closing any of the tabs.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version