User forums > Nightly builds
The 08 October 2018 build (11499) is out.
Biplab:
--- Quote from: oBFusCATed on October 11, 2018, 12:20:28 am ---
--- Quote from: Biplab on October 10, 2018, 07:50:46 pm ---Line 324 IncrementalSelectArrayIterator::GetDisplayText is possibly the culprit.
--- End quote ---
This line is just fine. Some of the two arrays is containing invalid data. Can you tell me which one and what is the incorrect value?
--- End quote ---
Following patch can fix this issue. Please check if this is breaking anything.
--- Code: ---Index: src/src/goto_file.cpp
===================================================================
--- src/src/goto_file.cpp (revision 11503)
+++ src/src/goto_file.cpp (working copy)
@@ -71,6 +71,8 @@
SetTitle(title);
labelCtrl->SetLabel(message);
+ // Set iterator first to avoid crash
+ m_ResultList->SetIterator(iterator);
// Call this here to make sure the column widths are correctly calculated.
m_handler.Init(m_ResultList, m_Text);
@@ -82,7 +84,6 @@
column.SetText( _("Column") );
column.SetWidth(columnWidth);
m_ResultList->InsertColumn(0, column);
- m_ResultList->SetIterator(iterator);
// Call Fit to make sure all GetSize methods return correct values.
m_sizer->Fit(this);
--- End code ---
I uploaded a test build at the following url -
--- Quote ---http://codeblocks.biplab.in/mirror/nightly/rev11503test/CB_20181012_rev11503_test_win64.7z
--- End quote ---
Request others to test this build and confirm the fix.
oBFusCATed:
Can you post full backtrace of the crash?
Biplab:
--- Quote from: oBFusCATed on October 13, 2018, 12:53:26 am ---Can you post full backtrace of the crash?
--- End quote ---
Full backtrace is similar to what @Quiss posted. Posting again-
--- Quote ----------------------
Error occurred on Wednesday, October 10, 2018 at 22:49:49.
codeblocks.exe caused an Access Violation at location 00000000709F40BB in module codeblocks.dll Reading from location FFFFFFFFFFFFFFFF.
AddrPC Params
00000000709F40BB 00000000008CAA50 000000000C885D10 0000000000000000 codeblocks.dll!IncrementalListCtrl::OnGetItemText
0000000069ED9C92 00000000013E2A80 00007FFC4A873380 00000000000EA8B0 wxmsw311u_gcc_cb.dll!wxListCtrl::MSWOnNotify
0000000069E79964 0000AF985E35ECDF 0000000000050940 0000000000000434 wxmsw311u_gcc_cb.dll!wxWindow::MSWHandleMessage
0000000069E67EBC 0000000080006010 0000000000000042 0000000000000000 wxmsw311u_gcc_cb.dll!wxWindow::MSWWindowProc
00007FFC4A8C6CC1 0000AF9800000000 0000000069E708C0 00000000000309E4 USER32.dll!UserCallWinProcCheckWow
00007FFC4A8C62CE 0000000000000000 0000000000050900 0000000000000329 USER32.dll!SendMessageWorker
00007FFC4A8C6058 00000000008CB340 0000000000000000 00000000008CB259 USER32.dll!SendMessageW
00007FFC3C6A1DE9 00007FFC4A30DBB0 00000000008CC290 0000000000000040 COMCTL32.dll!CCSendNotify
00007FFC3C6A07F1 0000000000000000 0000000000000000 000000000F679490 COMCTL32.dll!CLVItemStore::OnGetItem
00007FFC3C652D99 0000000000000000 0000000000000000 0000000000000000 COMCTL32.dll!CListView::GetItem
00007FFC3C69E01E 0000000000000001 0000000000000000 0000000080006010 COMCTL32.dll!CListView::WndProc
00007FFC3C69C279 0000000080006010 0000000000000001 0000000000000000 COMCTL32.dll!CListView::s_WndProc
00007FFC4A8C6CC1 0000000000050940 00007FFC3C69C210 0000000000050940 USER32.dll!UserCallWinProcCheckWow
00007FFC4A8C688B 00000000008CBBB0 0000000000000000 0000000000000000 USER32.dll!CallWindowProcW
00007FFC3C67D96B 0000000000000000 0000000000000000 00000000008CBBB0 COMCTL32.dll!CallNextSubclassProc
00007FFC3C67DA88 0000000000000000 0000000000050940 0000000000000000 COMCTL32.dll!CallNextSubclassProc
00007FFC3C67D802 0000000080006010 00000000008CBDB0 00000000008CC330 COMCTL32.dll!MasterSubclassProc
00007FFC4A8C6CC1 0000000000050940 00007FFC3C67D760 0000000000050940 USER32.dll!UserCallWinProcCheckWow
00007FFC4A8C688B 000000000C885D10 00000000008CC290 000000000000104B USER32.dll!CallWindowProcW
0000000069E6E6A0 00007FFC4A8C6FC2 0000000000000000 0000000000000000 wxmsw311u_gcc_cb.dll!wxWindow::MSWDefWindowProc
0000000069E67EE4 0000000080006010 00000000008CC330 0000000000000000 wxmsw311u_gcc_cb.dll!wxWindow::MSWWindowProc
00007FFC4A8C6CC1 0000000000000000 0000000069E708C0 0000000000050940 USER32.dll!UserCallWinProcCheckWow
00007FFC4A8C62CE 0000000000000402 00000000008CC200 0000000000000000 USER32.dll!SendMessageWorker
00007FFC4A8C6058 0000000000000000 0000000000000004 00000000008CC7D8 USER32.dll!SendMessageW
0000000069ED3F3D 000000000C885D10 000000000000284B 0000000000000000 wxmsw311u_gcc_cb.dll!wxListCtrl::GetItem
0000000069ED904C 00000000008CC9B0 00007FFC49A3789E 000000000F75EF20 wxmsw311u_gcc_cb.dll!wxListCtrl::MSWOnNotify
0000000069E79964 0000000000000000 0000000003C90018 0000000000000000 wxmsw311u_gcc_cb.dll!wxWindow::MSWHandleMessage
0000000069E67EBC 0000000080006010 00007FFC3C67E3F2 0000000000000001 wxmsw311u_gcc_cb.dll!wxWindow::MSWWindowProc
00007FFC4A8C6CC1 00007FFC00000000 0000000069E708C0 00000000000309E4 USER32.dll!UserCallWinProcCheckWow
00007FFC4A8C62CE 0000000000000000 0000000000050900 0000000000000329 USER32.dll!SendMessageWorker
00007FFC4A8C6058 00000000008CCF40 0000000000000000 00000000008CCEB9 USER32.dll!SendMessageW
00007FFC3C6A1DE9 0000000000000002 0000000000000000 0000000000000001 COMCTL32.dll!CCSendNotify
00007FFC3C654464 0000000000000000 0000000000000000 0000000000000000 COMCTL32.dll!CLVItemStore::_SendChange
00007FFC3C6A118A 0000EDE62E282765 0000000000000001 0000000000000001 COMCTL32.dll!CLVItemStore::OnSetItemState
00007FFC3C6A0003 00007FFC4A8C6FC2 00007FFC4A8C6B37 0000000000000003 COMCTL32.dll!CListView::SetItemState
00007FFC3C69E16F 0000000000000001 0000000000000000 0000000080006010 COMCTL32.dll!CListView::WndProc
00007FFC3C69C279 0000000080006010 0000000000000001 0000000000000000 COMCTL32.dll!CListView::s_WndProc
00007FFC4A8C6CC1 0000000000050940 00007FFC3C69C210 0000000000050940 USER32.dll!UserCallWinProcCheckWow
00007FFC4A8C688B 00000000008CD7E0 0000000000000000 0000000000000000 USER32.dll!CallWindowProcW
00007FFC3C67D96B 0000000000000000 0000000000000000 00000000008CD7E0 COMCTL32.dll!CallNextSubclassProc
00007FFC3C67DA88 0000000000000000 0000000000050940 0000000000000000 COMCTL32.dll!CallNextSubclassProc
00007FFC3C67D802 0000000080006010 0000000000000000 0000000000000001 COMCTL32.dll!MasterSubclassProc
00007FFC4A8C6CC1 0000000000050940 00007FFC3C67D760 0000000000050940 USER32.dll!UserCallWinProcCheckWow
00007FFC4A8C688B 000000000C885D10 00000000008CDE70 000000000000102B USER32.dll!CallWindowProcW
0000000069E6E6A0 0000000000000000 0000000080006010 0000000000000048 wxmsw311u_gcc_cb.dll!wxWindow::MSWDefWindowProc
0000000069E67EE4 0000000080006010 0000000000000000 000000000C9DCE40 wxmsw311u_gcc_cb.dll!wxWindow::MSWWindowProc
00007FFC4A8C6CC1 0000000000000001 0000000069E708C0 0000000000050940 USER32.dll!UserCallWinProcCheckWow
00007FFC4A8C62CE 0000000000000001 0000000000000000 0000000000000000 USER32.dll!SendMessageWorker
00007FFC4A8C6058 00000000008CDE70 00000000008CDEC8 0000000000000000 USER32.dll!SendMessageW
0000000069ED81BB 00000000008CED00 00000000709F2F85 00000000008CED08 wxmsw311u_gcc_cb.dll!wxListCtrl::SetItemState
00000000709F35A1 000000000C885D10 00000000008CED00 00000000008CED5C codeblocks.dll!FilterItemsFinalize
00000000709F372C 00000000008CEC48 000000000C885D10 00000000008CE550 codeblocks.dll!IncrementalSelectHandler::FilterItems
00000000709F32DC 00000000008CEC48 000000000C885D10 000000000CA4BE20 codeblocks.dll!IncrementalSelectHandler::Init
0000000000455479 00000000008CE900 0000000002935890 00000000008CED00 codeblocks.exe!0x55479
0000000000454E1B 00000000008CE900 0000000002935890 00000000008CED00 codeblocks.exe!0x54e1b
0000000000496D77 0000000002A8C270 00000000008CF370 0000000000000002 codeblocks.exe!0x96d77
0000000069C03536 0000000000000001 0000000069D661A7 0000000000000801 wxmsw311u_gcc_cb.dll!wxAppConsoleBase::CallEventHandler
0000000069D65C2E 0000000000000000 0000000002935890 0000000002935890 wxmsw311u_gcc_cb.dll!wxEvtHandler::ProcessEventIfMatchesId
0000000069D65D33 0000000002A8C270 0000000006F972E0 0000000000000000 wxmsw311u_gcc_cb.dll!wxEventHashTable::HandleEvent
0000000069D664A7 0000000000010302 0000000000000111 0000000000000000 wxmsw311u_gcc_cb.dll!wxEvtHandler::TryHereOnly
0000000069D65ED3 0000000000000000 00000000031C47F0 00000000FFFFFFFF wxmsw311u_gcc_cb.dll!wxEvtHandler::DoTryChain
0000000069D66568 8100000000000000 00007FFC4A8C457D 0000000000000001 wxmsw311u_gcc_cb.dll!wxEvtHandler::ProcessEvent
000000006A08C6B5 0000000000000003 00007FFC4A8C8B56 00000000008CF350 wxmsw311u_gcc_cb.dll!wxWindowBase::TryAfter
0000000069D6825B 00000000013E4DF0 000000000C902520 00000000000A0653 wxmsw311u_gcc_cb.dll!wxEvtHandler::SafelyProcessEvent
000000006A030885 00000000091FAE70 000000006A03060F 0000000000000003 wxmsw311u_gcc_cb.dll!wxMenuBase::DoProcessEvent
000000006A0309BB 0000000000000047 00000000008CF560 0000000100000050 wxmsw311u_gcc_cb.dll!wxMenuBase::SendEvent
0000000069EC25F8 0000000002935890 00000000000006B8 0000000000000000 wxmsw311u_gcc_cb.dll!wxFrame::HandleCommand
0000000069EC3AC0 0000000080006010 0000000000000001 0000000000000000 wxmsw311u_gcc_cb.dll!wxFrame::MSWWindowProc
00007FFC4A8C6CC1 00000000008CF798 0000000069E708C0 00000000000705FA USER32.dll!UserCallWinProcCheckWow
00007FFC4A8C699C 0000000000000000 0000000000000000 0000000000010302 USER32.dll!DispatchClientMessage
00007FFC4A8D0453 000000000000003F 00007FFC4AD80C80 0000000000000001 USER32.dll!__fnDWORD
00007FFC4C8BDC04 0000000069E93EE9 0000000000000001 0000000000000000 ntdll.dll!KiUserCallbackDispatch
00007FFC490812A4 0000000000000001 0000000000000000 000000000000003F win32u.dll!NtUserTranslateAccelerator
0000000069E93EE9 0000000002935890 FFFFFFFF00000000 00000000008CFA20 wxmsw311u_gcc_cb.dll!wxAcceleratorTable::Translate
0000000069EC23B4 0000000000000000 0000000000000000 00000000008CFA10 wxmsw311u_gcc_cb.dll!wxFrame::MSWDoTranslateMessage
0000000000511778 0000000002935890 00000000008CFA10 0000000000000000 codeblocks.exe!0x111778
0000000069EBCE68 01D460BD72ED733A 0000000000000000 0000000000000000 wxmsw311u_gcc_cb.dll!wxGUIEventLoop::PreProcessMessage
0000000069EBCD81 00000000089FE6B0 000000006AC9E100 0000000000000000 wxmsw311u_gcc_cb.dll!wxGUIEventLoop::ProcessMessage
0000000069EBCBB9 000000006AC9E140 000000000CA26DB0 000000006AC9E140 wxmsw311u_gcc_cb.dll!wxGUIEventLoop::Dispatch
0000000069C3DE72 000000006AC9E140 00007FFC4AD09960 0000000000000040 wxmsw311u_gcc_cb.dll!wxEventLoopManual::ProcessEvents
0000000069C3DF3B 00000000028463C0 000000000CA26DB0 0000000000000008 wxmsw311u_gcc_cb.dll!wxEventLoopManual::DoRun
0000000069C3DB1A 000000000956F460 000000020000001C 000000000965F800 wxmsw311u_gcc_cb.dll!wxEventLoopBase::Run
0000000069C082FA 0000000000000000 0000000002846450 00000000F50001F4 wxmsw311u_gcc_cb.dll!wxAppConsoleBase::MainLoop
00000000004051AE 00000000028463C0 0000000069D7314B 00000000000E2482 codeblocks.exe!0x51ae
0000000069C87138 000000000000002D 000000000000002D 0000000000000000 wxmsw311u_gcc_cb.dll!wxInitialize
00000000004022E3 0000000000400000 0000000000000000 00000000000E364F codeblocks.exe!0x22e3
00000000004013E8 0000000000000000 0000000000000000 0000000000000000 codeblocks.exe!0x13e8
00000000004014EB 0000000000000000 0000000000000000 0000000000000000 codeblocks.exe!0x14eb
00007FFC4AE03034 0000000000000000 0000000000000000 0000000000000000 KERNEL32.DLL!BaseThreadInitThunk
00007FFC4C891461 0000000000000000 0000000000000000 0000000000000000 ntdll.dll!RtlUserThreadStart
--- End quote ---
Quiss:
Yes, patch fixes the issue. Without that, after step into this line:
--- Code: ---list.SetItemState(0, wxLIST_STATE_SELECTED, wxLIST_STATE_SELECTED);
--- End code ---
It goes to:
--- Code: ---wxString IncrementalListCtrl::OnGetItemText(long item, long column) const
{
return m_Iterator->GetDisplayText(item, column);
}
--- End code ---
Which is where crash occures.
headkase:
--- Quote from: atzetrue on October 16, 2018, 09:43:17 pm ---Hey guys i got a Problem on Manjaro/Arch with Version 17.12
i installed CB through official repo and it crashs at copy text ( strg + c / + v )
now i installed through AUR codeblocks-svn and its fine, but i didnt find official nightlies for linux.
where could i find and how to install that?
--- End quote ---
You're on Manjaro, not Arch. Manjaro configures things for you so you don't actually know how it's set up like you know with Arch.
codeblocks-svn from the AUR is the proper way to build from source. Makepkg with that and it will pull in the most current version at the time you invoked it.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version