Author Topic: "Set program arguments" window freezes in Ubuntu 17.04 but not in Lubuntu 17.04  (Read 956 times)

Offline bolevole

  • Multiple posting newcomer
  • *
  • Posts: 10
I have clean installed codeblocks 16.01 on Ubuntu 17.04 64bit but opening "Set program arguments" window freezes whole IDE.
I can't exit window, when it freezes( most of the time ) window stays white and widgets are not drawn, only solution is to kill process.
Strange thing is this problem does not occur on my other machine with Lubuntu 17.04 32bit OS.
Both are installed from repositories.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 10277
Can you gather a backtrace from gdb when this problem happens?
<debugger plugin maintainer>
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline bolevole

  • Multiple posting newcomer
  • *
  • Posts: 10
Can you gather a backtrace from gdb when this problem happens?

Trace:

Code: [Select]
#0  0x00007f2094b1ed8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f2094548576 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2094548902 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2093cda507 in gtk_main () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#4  0x00007f2095ee7335 in wxGUIEventLoop::DoRun() () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#5  0x00007f2095647edb in wxEventLoopBase::Run() () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#6  0x00007f2095f6a09d in wxDialog::ShowModal() () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#7  0x00007f209787ae32 in cbProject::SelectTarget (this=<optimized out>, initial=<optimized out>, evenIfOne=<optimized out>)
    at cbproject.cpp:1134
#8  0x00007f209560606e in wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&, wxEvent&) const ()
   from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#9  0x00007f209578bb05 in wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) ()
   from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#10 0x00007f209578bbfb in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) ()
   from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#11 0x00007f209578bfab in wxEvtHandler::TryHereOnly(wxEvent&) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#12 0x00007f209578bdb3 in wxEvtHandler::DoTryChain(wxEvent&) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#13 0x00007f209578c095 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#14 0x00007f20960fb7c8 in wxWindowBase::TryAfter(wxEvent&) () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#15 0x00007f209578be07 in wxEvtHandler::SafelyProcessEvent(wxEvent&) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#16 0x00007f20960a07af in wxMenuBase::SendEvent(int, int) () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#17 0x00007f2095f840eb in ?? () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#18 0x00007f20936b2c25 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#19 0x00007f20936c4c32 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#20 0x00007f20936cd88c in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#21 0x00007f20936cdc6f in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#22 0x00007f208a78f3b0 in ?? () from /usr/lib/x86_64-linux-gnu/libunity-gtk2-parser.so.0
#23 0x00007f2093913d27 in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#24 0x00007f209454822a in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007f20945485e0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007f209454868c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007f2093cda721 in gtk_main_iteration () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#28 0x00007f2095ee74d5 in wxGUIEventLoop::YieldFor(long) () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#29 0x00007f2095ed2516 in wxClipboard::DoIsSupported(wxDataFormat const&) ()
   from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#30 0x00007f2095ed335c in wxClipboard::GetData(wxDataObject&) () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#31 0x00007f2097913fc3 in EditorManager::OnAppActivated (this=0x55b1151a5d90, event=...) at editormanager.cpp:1961
#32 0x00007f2097979730 in Manager::ProcessEvent (this=<optimized out>, event=...) at manager.cpp:263
#33 0x000055b113eb0522 in CodeBlocksApp::OnAppActivate (this=0x55b114b25760, event=...) at app.cpp:1302
#34 0x00007f209560606e in wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&, wxEvent&) const ()
   from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#35 0x00007f209578bb05 in wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) ()
   from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#36 0x00007f209578bbfb in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) ()
   from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#37 0x00007f209578bfab in wxEvtHandler::TryHereOnly(wxEvent&) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#38 0x00007f209578c033 in wxEvtHandler::ProcessEventLocally(wxEvent&) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#39 0x00007f209578c095 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#40 0x00007f2095fba2f0 in wxAppBase::SetActive(bool, wxWindow*) () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#41 0x00007f2096033aa9 in wxFrameBase::OnInternalIdle() () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#42 0x00007f20960fcdd3 in wxWindowBase::SendIdleEvents(wxIdleEvent&) () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#43 0x00007f2095f7425f in wxFrame::SendIdleEvents(wxIdleEvent&) () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#44 0x00007f2095fba6dd in wxAppBase::ProcessIdle() () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#45 0x00007f2095ec72e6 in wxApp::DoIdle() () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#46 0x00007f2095ec73c3 in ?? () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#47 0x00007f209454822a in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#48 0x00007f20945485e0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#49 0x00007f2094548902 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#50 0x00007f2093cda507 in gtk_main () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#51 0x00007f2095ee7335 in wxGUIEventLoop::DoRun() () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#52 0x00007f2095647edb in wxEventLoopBase::Run() () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#53 0x00007f209560d3d6 in wxAppConsoleBase::MainLoop() () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#54 0x000055b113eb109a in CodeBlocksApp::OnRun (this=0x55b114b25760) at app.cpp:850
#55 0x00007f2095699930 in wxEntry(int&, wchar_t**) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#56 0x000055b113e9947e in main (argc=1, argv=<optimized out>) at app.cpp:322

Offline bolevole

  • Multiple posting newcomer
  • *
  • Posts: 10
Also there is same problem with Project -> Properties window

Trace:
Code: [Select]
#0  0x00007fa4404ecd8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fa43ff16576 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa43ff16902 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa43f6a8507 in gtk_main () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#4  0x00007fa4418b5335 in wxGUIEventLoop::DoRun() () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#5  0x00007fa441015edb in wxEventLoopBase::Run() () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#6  0x00007fa44193809d in wxDialog::ShowModal() () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#7  0x000055d66dc91c96 in (anonymous namespace)::ProjectShowOptions (project=project@entry=0x55d674f22400)
    at projectmanagerui.cpp:3014
#8  0x000055d66dc92127 in ProjectManagerUI::OnProperties (this=0x55d67014be50, event=...) at projectmanagerui.cpp:1627
#9  0x00007fa440fd406e in wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&, wxEvent&) const ()
   from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#10 0x00007fa441159b05 in wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) ()
   from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#11 0x00007fa441159bfb in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) ()
   from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#12 0x00007fa441159fab in wxEvtHandler::TryHereOnly(wxEvent&) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#13 0x00007fa441159db3 in wxEvtHandler::DoTryChain(wxEvent&) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#14 0x00007fa44115a095 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#15 0x00007fa441ac97c8 in wxWindowBase::TryAfter(wxEvent&) () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#16 0x00007fa441159e07 in wxEvtHandler::SafelyProcessEvent(wxEvent&) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#17 0x00007fa441a6e7af in wxMenuBase::SendEvent(int, int) () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#18 0x00007fa4419520eb in ?? () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#19 0x00007fa43f080c25 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#20 0x00007fa43f092c32 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#21 0x00007fa43f09b88c in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#22 0x00007fa43f09bc6f in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#23 0x00007fa43615d3b0 in ?? () from /usr/lib/x86_64-linux-gnu/libunity-gtk2-parser.so.0
#24 0x00007fa43f2e1d27 in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#25 0x00007fa43ff1622a in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007fa43ff165e0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007fa43ff1668c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007fa43f6a8721 in gtk_main_iteration () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#29 0x00007fa4418b54d5 in wxGUIEventLoop::YieldFor(long) () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#30 0x00007fa4418a0516 in wxClipboard::DoIsSupported(wxDataFormat const&) ()
   from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#31 0x00007fa4418a135c in wxClipboard::GetData(wxDataObject&) () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#32 0x00007fa4432e1fc3 in EditorManager::OnAppActivated (this=0x55d670373260, event=...) at editormanager.cpp:1961
#33 0x00007fa443347730 in Manager::ProcessEvent (this=<optimized out>, event=...) at manager.cpp:263
#34 0x000055d66dbca522 in CodeBlocksApp::OnAppActivate (this=0x55d66fcd1760, event=...) at app.cpp:1302
#35 0x00007fa440fd406e in wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&, wxEvent&) const ()
   from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#36 0x00007fa441159b05 in wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) ()
   from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#37 0x00007fa441159bfb in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) ()
   from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#38 0x00007fa441159fab in wxEvtHandler::TryHereOnly(wxEvent&) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#39 0x00007fa44115a033 in wxEvtHandler::ProcessEventLocally(wxEvent&) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#40 0x00007fa44115a095 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#41 0x00007fa4419882f0 in wxAppBase::SetActive(bool, wxWindow*) () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#42 0x00007fa441a01aa9 in wxFrameBase::OnInternalIdle() () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#43 0x00007fa441acadd3 in wxWindowBase::SendIdleEvents(wxIdleEvent&) () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#44 0x00007fa44194225f in wxFrame::SendIdleEvents(wxIdleEvent&) () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#45 0x00007fa4419886dd in wxAppBase::ProcessIdle() () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#46 0x00007fa4418952e6 in wxApp::DoIdle() () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#47 0x00007fa4418953c3 in ?? () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#48 0x00007fa43ff1622a in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#49 0x00007fa43ff165e0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#50 0x00007fa43ff16902 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#51 0x00007fa43f6a8507 in gtk_main () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#52 0x00007fa4418b5335 in wxGUIEventLoop::DoRun() () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#53 0x00007fa441015edb in wxEventLoopBase::Run() () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#54 0x00007fa440fdb3d6 in wxAppConsoleBase::MainLoop() () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#55 0x000055d66dbcb09a in CodeBlocksApp::OnRun (this=0x55d66fcd1760) at app.cpp:850
#56 0x00007fa441067930 in wxEntry(int&, wchar_t**) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#57 0x000055d66dbb347e in main (argc=1, argv=<optimized out>) at app.cpp:322

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 10277
Hm, it is another one of those clipboard issues :(
Can you try the latest nightly available?
If it doesn't work it will be best to create a ticket on sf.net page, so we don't forget about the issue.
<debugger plugin maintainer>
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline bolevole

  • Multiple posting newcomer
  • *
  • Posts: 10
Hm, it is another one of those clipboard issues :(
Can you try the latest nightly available?
If it doesn't work it will be best to create a ticket on sf.net page, so we don't forget about the issue.

Well problem still persists
Since there is no binary provided for ubuntu, I compiled latest nightly myself from source

Trace:

Code: [Select]
#0  0x00007f957cfbdd8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f957c9e7576 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f957c9e7902 in g_main_loop_run () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f957c179507 in gtk_main () at /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#4  0x00007f957e386335 in wxGUIEventLoop::DoRun() () at /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#5  0x00007f957dae6edb in wxEventLoopBase::Run() () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#6  0x00007f957e40909d in wxDialog::ShowModal() () at /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#7  0x00007f957fd3af72 in cbProject::SelectTarget(int, bool) () at /usr/local/lib/libcodeblocks.so.0
#8  0x00007f957daa506e in wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&, wxEvent&) const ()
    at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#9  0x00007f957dc2ab05 in wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) ()
    at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#10 0x00007f957dc2abfb in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) ()
    at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#11 0x00007f957dc2afab in wxEvtHandler::TryHereOnly(wxEvent&) () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#12 0x00007f957dc2adb3 in wxEvtHandler::DoTryChain(wxEvent&) () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#13 0x00007f957dc2b095 in wxEvtHandler::ProcessEvent(wxEvent&) () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#14 0x00007f957e59a7c8 in wxWindowBase::TryAfter(wxEvent&) () at /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#15 0x00007f957dc2ae07 in wxEvtHandler::SafelyProcessEvent(wxEvent&) () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#16 0x00007f957e53f7af in wxMenuBase::SendEvent(int, int) () at /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#17 0x00007f957e4230eb in  () at /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#18 0x00007f957bb51c25 in g_closure_invoke () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#19 0x00007f957bb63c32 in  () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#20 0x00007f957bb6c88c in g_signal_emit_valist () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#21 0x00007f957bb6cc6f in g_signal_emit () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#22 0x00007f9572c2e3b0 in  () at /usr/lib/x86_64-linux-gnu/libunity-gtk2-parser.so.0
#23 0x00007f957bdb2d27 in  () at /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#24 0x00007f957c9e722a in g_main_context_dispatch () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007f957c9e75e0 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007f957c9e768c in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007f957c179721 in gtk_main_iteration () at /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#28 0x00007f957e3864d5 in wxGUIEventLoop::YieldFor(long) () at /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#29 0x00007f957e371516 in wxClipboard::DoIsSupported(wxDataFormat const&) () at /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#30 0x00007f957e37235c in wxClipboard::GetData(wxDataObject&) () at /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#31 0x00007f957fdc6a21 in EditorManager::OnAppActivated(CodeBlocksEvent&) () at /usr/local/lib/libcodeblocks.so.0
#32 0x00007f957fe2bcc0 in Manager::ProcessEvent(CodeBlocksEvent&) () at /usr/local/lib/libcodeblocks.so.0
#33 0x00005625c39ed802 in  ()
#34 0x00007f957daa506e in wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&, wxEvent&) const ()
    at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#35 0x00007f957dc2ab05 in wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) ()
    at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#36 0x00007f957dc2abfb in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) ()
    at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#37 0x00007f957dc2afab in wxEvtHandler::TryHereOnly(wxEvent&) () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#38 0x00007f957dc2b033 in wxEvtHandler::ProcessEventLocally(wxEvent&) () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#39 0x00007f957dc2b095 in wxEvtHandler::ProcessEvent(wxEvent&) () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#40 0x00007f957e4592f0 in wxAppBase::SetActive(bool, wxWindow*) () at /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#41 0x00007f957e4d2aa9 in wxFrameBase::OnInternalIdle() () at /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#42 0x00007f957e59bdd3 in wxWindowBase::SendIdleEvents(wxIdleEvent&) () at /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#43 0x00007f957e41325f in wxFrame::SendIdleEvents(wxIdleEvent&) () at /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#44 0x00007f957e4596dd in wxAppBase::ProcessIdle() () at /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#45 0x00007f957e3662e6 in wxApp::DoIdle() () at /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#46 0x00007f957e3663c3 in  () at /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#47 0x00007f957c9e722a in g_main_context_dispatch () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#48 0x00007f957c9e75e0 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#49 0x00007f957c9e7902 in g_main_loop_run () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#50 0x00007f957c179507 in gtk_main () at /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#51 0x00007f957e386335 in wxGUIEventLoop::DoRun() () at /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#52 0x00007f957dae6edb in wxEventLoopBase::Run() () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#53 0x00007f957daac3d6 in wxAppConsoleBase::MainLoop() () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#54 0x00005625c39ee35a in  ()
#55 0x00007f957db38930 in wxEntry(int&, wchar_t**) () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#56 0x00005625c39d63f2 in  ()
#57 0x00007f957cee13f1 in __libc_start_main (main=
    0x5625c39d63e0, argc=1, argv=0x7ffc3a043868, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc3a043858) at ../csu/libc-start.c:291
#58 0x00005625c39e9a2a in  ()

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 10277
I see this problem in a ubuntu 17.04 vm. So lets see what I can do to fix it.
<debugger plugin maintainer>
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 10277
@bolevole: Can you try to build from this branch https://github.com/obfuscated/codeblocks_sf/tree/experiments/copy_paste and see if the bugs disappear?
<debugger plugin maintainer>
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 10277
This should be fixed in rev 11136.
<debugger plugin maintainer>
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline bolevole

  • Multiple posting newcomer
  • *
  • Posts: 10
@bolevole: Can you try to build from this branch https://github.com/obfuscated/codeblocks_sf/tree/experiments/copy_paste and see if the bugs disappear?

Sorry for late reply.
So far i was not able to reproduce bug.
Thank you for fixing this issue