Author Topic: segmentation fault (core dumped) in settings  (Read 973 times)

Offline buzz_lightzyear

  • Single posting newcomer
  • *
  • Posts: 8
segmentation fault (core dumped) in settings
« on: February 14, 2018, 10:03:32 pm »
Hi there,

I have installed the following Version of Code::Blocks: Release 17.12 rev 11256 (2017-12-28 10:44:41) gcc 5.4.0 Linux/unicode - 64 bit

As I wanted to add new code abbreviations, I have discovered a bug. Goto: Settings -> Editor -> Abbreviations and type a "{" in the code example field... in my case on ubuntu 16.04 64bit it ends in a core dump. I have only discovered this bug in the Abbreviations-Sector. The other fields seems to work fine with the "{"

Can someone reproduce this bug or is it a problem on my system?

Thx & GN
buzzzz
« Last Edit: February 14, 2018, 10:14:52 pm by buzz_lightzyear »

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 11284
    • Travis build status
Re: segmentation fault (core dumped) in settings
« Reply #1 on: February 15, 2018, 12:24:34 am »
How have you installed this version?

Can you post a backtrace?
https://wiki.ubuntu.com/Backtrace
(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 buzz_lightzyear

  • Single posting newcomer
  • *
  • Posts: 8
Re: segmentation fault (core dumped) in settings
« Reply #2 on: February 19, 2018, 08:54:51 pm »
Hey,

sorry for the late reply. Here is the backtrace I have received with gdb:

Code: [Select]
(gdb) attach 3420
Attaching to process 3420
[New LWP 3421]
[New LWP 3422]
[New LWP 3423]
[New LWP 3424]
[New LWP 3425]
[New LWP 3448]
[New LWP 3521]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f3c0175c74d in poll () at ../sysdeps/unix/syscall-template.S:84
84 ../sysdeps/unix/syscall-template.S: No such file or directory.
(gdb) continue
Continuing.

Thread 1 "codeblocks" received signal SIGSEGV, Segmentation fault.
0x0000000000006cac in ?? ()
(gdb) continue
Continuing.

Thread 1 "codeblocks" received signal SIGSEGV, Segmentation fault.
0x00007f3c01a39ccb in ?? () from /lib/x86_64-linux-gnu/libgcc_s.so.1
(gdb) continue
Continuing.
Couldn't get registers: No such process.
Couldn't get registers: No such process.
Couldn't get registers: No such process.
(gdb) [Thread 0x7f3bdd7fa700 (LWP 3521) exited]
[Thread 0x7f3bd202b700 (LWP 3448) exited]
[Thread 0x7f3bf4e19700 (LWP 3425) exited]
[Thread 0x7f3bf5e1b700 (LWP 3423) exited]
[Thread 0x7f3bf6978700 (LWP 3422) exited]
[Thread 0x7f3bf7179700 (LWP 3421) exited]
[Thread 0x7f3c05090a00 (LWP 3420) exited]

I have added the repo from

Code: [Select]
http://ppa.launchpad.net/damien-moore/codeblocks-stable/ubuntu

and installed it with sudo apt-get install codeblocks.

YS,
buzzzzz

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6370
    • My Best Post
Re: segmentation fault (core dumped) in settings
« Reply #3 on: February 19, 2018, 10:19:47 pm »
Hey,

sorry for the late reply. Here is the backtrace I have received with gdb:

and installed it with sudo apt-get install codeblocks.

YS,
buzzzzz

I did not see the bt command after the segfault, did I miss it?
bt is the back trace command

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline buzz_lightzyear

  • Single posting newcomer
  • *
  • Posts: 8
Re: segmentation fault (core dumped) in settings
« Reply #4 on: February 19, 2018, 10:49:35 pm »
oh shit... sorry :-D

bt:

Code: [Select]
(gdb) bt
#0  0x0000000000006cac in ?? ()
#1  0x00007ffff76bc83a in CCManager::OnEditorTooltip(CodeBlocksEvent&) () from /usr/lib/libcodeblocks.so.0
#2  0x00007ffff77a6340 in Manager::ProcessEvent(CodeBlocksEvent&) () from /usr/lib/libcodeblocks.so.0
#3  0x00007ffff76b19d7 in cbStyledTextCtrl::EmulateDwellStart() () from /usr/lib/libcodeblocks.so.0
#4  0x00007ffff76b344e in cbStyledTextCtrl::OnKeyDown(wxKeyEvent&) () from /usr/lib/libcodeblocks.so.0
#5  0x00007ffff54401fe in wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&, wxEvent&) const () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#6  0x00007ffff55c66e7 in wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#7  0x00007ffff55c67db in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#8  0x00007ffff55c6b8b in wxEvtHandler::TryHereOnly(wxEvent&) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#9  0x00007ffff55c6c13 in wxEvtHandler::ProcessEventLocally(wxEvent&) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#10 0x00007ffff55c6c75 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#11 0x00007ffff55c69e7 in wxEvtHandler::SafelyProcessEvent(wxEvent&) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#12 0x00007ffff5d586cb in ?? () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#13 0x00007ffff3b1eaec in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#14 0x00007ffff34f3fa5 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#15 0x00007ffff3505fc1 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#16 0x00007ffff350e7f9 in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#17 0x00007ffff350f08f in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#18 0x00007ffff3c3693c in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#19 0x00007ffff3c4a40d in gtk_window_propagate_key_event () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#20 0x00007ffff5d44b48 in ?? () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#21 0x00007ffff3b1eaec in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#22 0x00007ffff34f3fa5 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#23 0x00007ffff3505fc1 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#24 0x00007ffff350e7f9 in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#25 0x00007ffff350f08f in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#26 0x00007ffff3c3693c in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#27 0x00007ffff3b1d367 in gtk_propagate_event () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#28 0x00007ffff3b1d63b in gtk_main_do_event () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#29 0x00007ffff3791c8c in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#30 0x00007ffff4081197 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007ffff40813f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007ffff4081712 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007ffff3b1c697 in gtk_main () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#34 0x00007ffff5d24ed5 in wxGUIEventLoop::DoRun() () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#35 0x00007ffff5482353 in wxEventLoopBase::Run() () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#36 0x00007ffff5da7cdd in wxDialog::ShowModal() () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#37 0x0000000000519c6c in ?? ()
#38 0x00007ffff54401fe in wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&, wxEvent&) const () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#39 0x00007ffff55c66e7 in wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#40 0x00007ffff55c67db in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#41 0x00007ffff55c6b8b in wxEvtHandler::TryHereOnly(wxEvent&) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#42 0x00007ffff55c6993 in wxEvtHandler::DoTryChain(wxEvent&) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#43 0x00007ffff55c6c75 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#44 0x00007ffff5f39de8 in wxWindowBase::TryAfter(wxEvent&) () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#45 0x00007ffff55c69e7 in wxEvtHandler::SafelyProcessEvent(wxEvent&) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#46 0x00007ffff5edebff in wxMenuBase::SendEvent(int, int) () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#47 0x00007ffff5dc20eb in ?? () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#48 0x00007ffff34f3fa5 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#49 0x00007ffff3505fc1 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#50 0x00007ffff350ed5c in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#51 0x00007ffff350f08f in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#52 0x00007ffff3c356ee in gtk_widget_activate () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#53 0x00007ffff3b308dd in gtk_menu_shell_activate_item () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#54 0x00007ffff3b30c46 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#55 0x00007ffff3b1eaec in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#56 0x00007ffff34f3fa5 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#57 0x00007ffff350656e in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#58 0x00007ffff350e7f9 in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#59 0x00007ffff350f08f in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#60 0x00007ffff3c3693c in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#61 0x00007ffff3b1d284 in gtk_propagate_event () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#62 0x00007ffff3b1d63b in gtk_main_do_event () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#63 0x00007ffff3791c8c in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#64 0x00007ffff4081197 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#65 0x00007ffff40813f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#66 0x00007ffff4081712 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#67 0x00007ffff3b1c697 in gtk_main () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#68 0x00007ffff5d24ed5 in wxGUIEventLoop::DoRun() () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#69 0x00007ffff5482353 in wxEventLoopBase::Run() () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#70 0x00007ffff5447666 in wxAppConsoleBase::MainLoop() () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#71 0x0000000000473c4a in ?? ()
#72 0x00007ffff54d3f70 in wxEntry(int&, wchar_t**) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#73 0x000000000045b9e2 in ?? ()
#74 0x00007ffff4578830 in __libc_start_main (main=0x45b9d0, argc=2, argv=0x7fffffffeaf8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffeae8) at ../csu/libc-start.c:291
#75 0x000000000046f3c9 in ?? ()


Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 11284
    • Travis build status
Re: segmentation fault (core dumped) in settings
« Reply #5 on: February 19, 2018, 11:49:38 pm »
How are you installing codeblocks? Can you install symbols and then repeat the steps to crash it?
(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 blauzahn

  • Multiple posting newcomer
  • *
  • Posts: 86
Re: segmentation fault (core dumped) in settings
« Reply #6 on: February 20, 2018, 07:57:08 am »

I can confirm this crash. I see it as well with trunk svn 11288 and wx3.1.1 (as of today) on Ubuntu and Antergos x86_64.

steps are:
settings | Editor... | Abbreviations
Keywords: Add bla
Code: {
->

Code: [Select]
Thread 1Thread 1 "codeblocks" received signal SIGSEGV, Segmentation fault.
0x0000000000006e68 in ?? ()
(gdb) bt
#0  0x0000000000006e68 in ?? ()
#1  0x00007ffff76cca4b in CCManager::OnEditorTooltip(CodeBlocksEvent&) () from /usr/local/lib/libcodeblocks.so.0
#2  0x00007ffff77a2260 in Manager::ProcessEvent(CodeBlocksEvent&) () from /usr/local/lib/libcodeblocks.so.0
#3  0x00007ffff76c2ae4 in cbStyledTextCtrl::EmulateDwellStart() () from /usr/local/lib/libcodeblocks.so.0
#4  0x00007ffff76c4114 in cbStyledTextCtrl::OnKeyDown(wxKeyEvent&) () from /usr/local/lib/libcodeblocks.so.0
#5  0x00007ffff4d9a213 in wxAppConsoleBase::HandleEvent (this=0x8af850, handler=0x43e0200, func=
    (void (wxEvtHandler::*)(wxEvtHandler * const, wxEvent &)) 0x7ffff76c3ff0 <cbStyledTextCtrl::OnKeyDown(wxKeyEvent&)>, event=...)
    at ../trunk/src/common/appbase.cpp:657
#6  0x00007ffff4d9a286 in wxAppConsoleBase::CallEventHandler (this=0x8af850, handler=0x43e0200, functor=..., event=...)
    at ../trunk/src/common/appbase.cpp:669
#7  0x00007ffff4eae96a in wxEvtHandler::ProcessEventIfMatchesId (entry=..., handler=0x43e0200, event=...) at ../trunk/src/common/event.cpp:1396
#8  0x00007ffff4ead7af in wxEventHashTable::HandleEvent (this=0x7ffff7dcaa00 <cbStyledTextCtrl::sm_eventHashTable>, event=..., self=0x43e0200)
    at ../trunk/src/common/event.cpp:1004
#9  0x00007ffff4eaee53 in wxEvtHandler::TryHereOnly (this=0x43e0200, event=...) at ../trunk/src/common/event.cpp:1593
#10 0x00007ffff4eb090d in wxEvtHandler::TryBeforeAndHere (this=0x43e0200, event=...) at ../trunk/include/wx/event.h:3873
#11 0x00007ffff4eaec7b in wxEvtHandler::ProcessEventLocally (this=0x43e0200, event=...) at ../trunk/src/common/event.cpp:1526
#12 0x00007ffff4eaec13 in wxEvtHandler::ProcessEvent (this=0x43e0200, event=...) at ../trunk/src/common/event.cpp:1499
#13 0x00007ffff4eaef03 in wxEvtHandler::SafelyProcessEvent (this=0x43e0200, event=...) at ../trunk/src/common/event.cpp:1617
#14 0x00007ffff59fdb5e in wxWindowBase::HandleWindowEvent (this=0x43e0200, event=...) at ../trunk/src/common/wincmn.cpp:1539
#15 0x00007ffff58624be in gtk_window_key_press_callback (gdk_event=0x4b23f00, win=0x43e0200) at ../trunk/src/gtk/window.cpp:1210
#16 0x00007ffff4607fac in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#17 0x00007ffff2d91fa5 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#18 0x00007ffff2da3fc1 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#19 0x00007ffff2dac7f9 in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#20 0x00007ffff2dad08f in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#21 0x00007ffff4745c3c in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#22 0x00007ffff4765cbb in gtk_window_propagate_key_event () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#23 0x00007ffff5858dec in wxgtk_tlw_key_press_event (widget=0xa490e0, event=0x4b23f00) at ../trunk/src/gtk/toplevel.cpp:217
#24 0x00007ffff4607fac in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#25 0x00007ffff2d91fa5 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#26 0x00007ffff2da3fc1 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#27 0x00007ffff2dac7f9 in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#28 0x00007ffff2dad08f in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#29 0x00007ffff4745c3c in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#30 0x00007ffff46054c9 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#31 0x00007ffff46071bc in gtk_main_do_event () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#32 0x00007ffff4174d92 in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-3.so.0
#33 0x00007ffff2abb197 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007ffff2abb3f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007ffff2abb712 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007ffff4606395 in gtk_main () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#37 0x00007ffff5846ecb in wxGUIEventLoop::DoRun (this=0x3ff4aa0) at ../trunk/src/gtk/evtloop.cpp:65
#38 0x00007ffff4dd6008 in wxEventLoopBase::Run (this=0x3ff4aa0) at ../trunk/src/common/evtloopcmn.cpp:76
#39 0x00007ffff58b0eb2 in wxDialog::ShowModal (this=0x7fffffffc710) at ../trunk/src/gtk/dialog.cpp:177
#40 0x000000000051ac39 in MainFrame::OnSettingsEditor(wxCommandEvent&) ()
#41 0x00007ffff4d9a213 in wxAppConsoleBase::HandleEvent (this=0x8af850, handler=0xe06600, func=
#42 0x00007ffff4d9a286 in wxAppConsoleBase::CallEventHandler (this=0x8af850, handler=0xe06600, functor=..., event=...)
    at ../trunk/src/common/appbase.cpp:669
#43 0x00007ffff4eae96a in wxEvtHandler::ProcessEventIfMatchesId (entry=..., handler=0xe06600, event=...) at ../trunk/src/common/event.cpp:1396
#44 0x00007ffff4ead7af in wxEventHashTable::HandleEvent (this=0x7e5740 <MainFrame::sm_eventHashTable>, event=..., self=0xe06600)
    at ../trunk/src/common/event.cpp:1004
#45 0x00007ffff4eaee53 in wxEvtHandler::TryHereOnly (this=0xe06600, event=...) at ../trunk/src/common/event.cpp:1593
#46 0x00007ffff4eb090d in wxEvtHandler::TryBeforeAndHere (this=0xe06600, event=...) at ../trunk/include/wx/event.h:3873
#47 0x00007ffff4eaebfe in wxEvtHandler::ProcessEvent (this=0xe06600, event=...) at ../trunk/src/common/event.cpp:1495
#48 0x00007ffff4eaed07 in wxEvtHandler::DoTryChain (this=0xd46e48, event=...) at ../trunk/src/common/event.cpp:1558
#49 0x00007ffff4eaec92 in wxEvtHandler::ProcessEventLocally (this=0xd46e48, event=...) at ../trunk/src/common/event.cpp:1526
#50 0x00007ffff4eaec13 in wxEvtHandler::ProcessEvent (this=0xd46e48, event=...) at ../trunk/src/common/event.cpp:1499
#51 0x00007ffff5a031de in wxWindowBase::TryAfter (this=0x1341b50, event=...) at ../trunk/src/common/wincmn.cpp:3456
#52 0x00007ffff4eaec46 in wxEvtHandler::ProcessEvent (this=0x1341b50, event=...) at ../trunk/src/common/event.cpp:1512
#53 0x00007ffff4eaef03 in wxEvtHandler::SafelyProcessEvent (this=0x1341b50, event=...) at ../trunk/src/common/event.cpp:1617
#54 0x00007ffff59fdb5e in wxWindowBase::HandleWindowEvent (this=0x1341b50, event=...) at ../trunk/src/common/wincmn.cpp:1539
#55 0x00007ffff59af783 in wxMenuBase::DoProcessEvent (menu=0x150d0f0, event=..., win=0xe06600) at ../trunk/src/common/menucmn.cpp:673
#56 0x00007ffff59af69b in wxMenuBase::SendEvent (this=0x150d0f0, itemid=-2307, checked=-1) at ../trunk/src/common/menucmn.cpp:643
#57 0x00007ffff58c15a2 in menuitem_activate (item=0x1511150) at ../trunk/src/gtk/menu.cpp:543
#58 0x00007ffff2d91fa5 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#59 0x00007ffff2da3fc1 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#60 0x00007ffff2dacd5c in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#61 0x00007ffff2dad08f in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#62 0x00007ffff47480de in gtk_widget_activate () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#63 0x00007ffff4625746 in gtk_menu_shell_activate_item () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#64 0x00007ffff4625a74 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#65 0x00007ffff460809a in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#66 0x00007ffff2d921d4 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#67 0x00007ffff2dac4b8 in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#68 0x00007ffff2dad08f in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#69 0x00007ffff4745c3c in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#70 0x00007ffff46053be in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#71 0x00007ffff46071bc in gtk_main_do_event () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#72 0x00007ffff4174d92 in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-3.so.0
#73 0x00007ffff2abb197 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#74 0x00007ffff2abb3f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#75 0x00007ffff2abb712 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#76 0x00007ffff4606395 in gtk_main () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#77 0x00007ffff5846ecb in wxGUIEventLoop::DoRun (this=0x2bfb590) at ../trunk/src/gtk/evtloop.cpp:65
#78 0x00007ffff4dd6008 in wxEventLoopBase::Run (this=0x2bfb590) at ../trunk/src/common/evtloopcmn.cpp:76
#79 0x00007ffff4d996bf in wxAppConsoleBase::MainLoop (this=0x8af850) at ../trunk/src/common/appbase.cpp:380
#80 0x00007ffff4d993f3 in wxAppConsoleBase::OnRun (this=0x8af850) at ../trunk/src/common/appbase.cpp:301
#81 0x00007ffff58f4c1b in wxAppBase::OnRun (this=0x8af850) at ../trunk/src/common/appcmn.cpp:335
#82 0x000000000048cae9 in CodeBlocksApp::OnRun() ()
#83 0x00007ffff4e07bf6 in wxEntry (argc=@0x7ffff5169270: 1, argv=0x8aee00) at ../trunk/src/common/init.cpp:507
#84 0x00007ffff4e07cbb in wxEntry (argc=@0x7fffffffde3c: 1, argv=0x7fffffffdf28) at ../trunk/src/common/init.cpp:519
#85 0x00000000004760a2 in main ()

Code: [Select]
$ wx-config --version
3.1.1

ubuntu debug packages gtk3* gtk-3* are installed, yet some symbols remain ??

For this test installed wxwidgets via make installed, so that:
file /usr/local/lib/libwx*1.0.0
   ...   are not stripped

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 11284
    • Travis build status
Re: segmentation fault (core dumped) in settings
« Reply #7 on: February 20, 2018, 09:05:39 am »
blauzahn: Can you paste the output of wx-config --list? What version of ubuntu are you using?
(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 blauzahn

  • Multiple posting newcomer
  • *
  • Posts: 86
Re: segmentation fault (core dumped) in settings
« Reply #8 on: February 20, 2018, 09:13:58 am »
Code: [Select]
$ wx-config --list

    Default config is gtk3-unicode-3.1

  Default config will be used for output

Ubuntu 16.04, Linux 4.13.0-26-generic

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 11284
    • Travis build status
Re: segmentation fault (core dumped) in settings
« Reply #9 on: February 20, 2018, 08:19:17 pm »
Can you reproduce this with the default libwxgtk lib package in ubuntu?
Unfortunately this is the only ubuntu I don't have in wm. :(
(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!]