Code::Blocks Forums
Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: thender on July 19, 2019, 10:21:22 pm
-
Switching layout to "GDB/CDB debugger:Default"
(codeblocks:31683): Gtk-CRITICAL **: 09:37:56.615: IA__gtk_widget_set_size_request: assertion 'width >= -1' failed
[1]+ Segmentation fault (core dumped) codeblocks
I just started using CB on a new Ubuntu install. In 2 days it's crashed about 6-8 times.
I haven't figured out yet if there is a pattern or a way of reproducing it. This error has come up more than once but it has had different issues.
Is there something I can do to help find the issue? How can I open/view the core dumps?
-
You can start with two things:
1. Read https://wiki.ubuntu.com/Backtrace
2. Tell us what version are you using?
-
16.01 rev10692
Ubuntu 18.04.2 LTS
I opened the a core dump but I don't think I will get very far without the debug info. Where to go from here?
(gdb) thread apply all backtrace
Thread 9 (LWP 3386):
#0 0x00007f6688da5bf9 in ?? ()
#1 0x0000000000000001 in ?? ()
#2 0x00005586b525e310 in ?? ()
#3 0x00005586b525e030 in ?? ()
#4 0x0000000000000002 in ?? ()
#5 0x00005586b525e310 in ?? ()
#6 0x00007f66887b65c9 in ?? ()
#7 0x00007ffe5dd5c140 in ?? ()
#8 0x0000000188d282ed in ?? ()
#9 0xffffffff7fffffff in ?? ()
#10 0x1265826163817b00 in ?? ()
#11 0x000000000000002e in ?? ()
#12 0x00005586b525e030 in ?? ()
#13 0x0000000000000001 in ?? ()
#14 0x00007f667d16ed00 in ?? ()
#15 0x0000000000000000 in ?? ()
Thread 8 (LWP 3396):
#0 0x00007f66896309f3 in ?? ()
#1 0x0000000000000000 in ?? ()
-
Install the debug info package. It should be provided in both distro packages and the packages we ship.
BTW 16.01 is know to crash a lot on ubuntu, so you're better of switching to something newer like 17.12.