Author Topic: wxsmith crashing after upgrade to Ubuntu 17.04  (Read 2579 times)

Offline awake

  • Multiple posting newcomer
  • *
  • Posts: 25
wxsmith crashing after upgrade to Ubuntu 17.04
« on: May 31, 2017, 08:02:45 pm »
All,

Not sure if the problem is actually with the upgrade to 17.04, or something else - but after the upgrade, I've not been able to get wxsmith to successfully open any existing project - all of it shows up in the explorer bar on the left, but only part of it shows up visibly, and the toolbar and side panel do not show. Same behavior with either the stock Ubuntu C:B 16.01 or the Damien_Moore PPA version.

When I tried building a completely new project, wxsmith worked fine ... until the frame began to get slightly complicated: I started with wxFrame, then wxSizer, then wxPanel, then wxSizer (horizontal), which contains two additional sizers (both vertical), one with two buttons and one with a button, a text box, and a radio button. At that point, when leaving the project, C:B crashes.

I'm sure I need to provide additional information, but this is my first posting here (though I've been using C:B successfully for many years), so please let me know what will be most helpful to supply. Thanks!


Offline stahta01

  • Lives here!
  • ****
  • Posts: 5937
    • My Best Post
Re: wxsmith crashing after upgrade to Ubuntu 17.04
« Reply #1 on: May 31, 2017, 10:41:37 pm »
Not an Ubuntu user; but, there are many CB/wxWidgets problems when running under the Unity desktop.

One poster implied the issue was partly caused by the Ubuntu built wxWidgets/wxGTK; but, I have no idea if that is true.

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

Offline awake

  • Multiple posting newcomer
  • *
  • Posts: 25
Re: wxsmith crashing after upgrade to Ubuntu 17.04
« Reply #2 on: May 31, 2017, 11:22:23 pm »
Update - I decided to try building C:B from source to see if that eliminated the problem. New problem: can't build C:B from source using configure/make -- I finally got a clean configure and make, but then I cannot get it to compile. If I compile wxWidgets --using-stl, then I get one set of errors; if I compile wxWidgets without stl, then I get a different set of errors; and either way, I can't seem to figure out a way around the problems. Has anyone successfully compiled C:B on Ubuntu 17.04 using wxWidgets 3.03?? If so, any and all help will be most appreciated!

On edit - as I was typing, Tim's email came in. Tim, I'm compiling wxWidgets 3.03 rather than relying on the built-in wxWidgets libraries. wx-config correctly points to the version I compiled - monolithic, with XRC, unicode - and as I said, trying both using-stl and not.

Offline BlueHazzard

  • Lives here!
  • ****
  • Posts: 1516
Re: wxsmith crashing after upgrade to Ubuntu 17.04
« Reply #3 on: May 31, 2017, 11:43:46 pm »
without error message it is difficult to help...
have you looked at the wiki:
http://wiki.codeblocks.org/index.php/Installing_Code::Blocks_from_source_on_Linux

there are also some ppas out there:
https://launchpad.net/~damien-moore/+archive/ubuntu/codeblocks-stable
https://launchpad.net/~pasgui/+archive/ppa/

i don't know if there are active...

Online oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 10262
Re: wxsmith crashing after upgrade to Ubuntu 17.04
« Reply #4 on: June 01, 2017, 01:46:33 am »
Don't bother building yourself. Use any of the prebuilt packages, a nightly PPA will be best.

First read this https://wiki.ubuntu.com/Backtrace and them post some backtraces.
If you post the exact steps needed to reproduce the problem, then we could try to reproduce them ourselves and then fix them.
Make sure that the steps executed multiple times result in the same problem.
<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 awake

  • Multiple posting newcomer
  • *
  • Posts: 25
Re: wxsmith crashing after upgrade to Ubuntu 17.04
« Reply #5 on: June 01, 2017, 02:07:05 pm »
Thanks, BlueHazzard and oBFusCATed. I realized after Blue's reply that I should not have mixed up my topics - better to stay focused on the problem with wxsmith.

oBFusCATed, thanks for pointing me to how to do the backtrace. I have a conference all day today, so it will be this evening before I can do it - but I will indeed do and post the backtrace, and describe the exact steps. Thanks!

Offline awake

  • Multiple posting newcomer
  • *
  • Posts: 25
Re: wxsmith crashing after upgrade to Ubuntu 17.04
« Reply #6 on: June 01, 2017, 05:55:03 pm »
Got a chance to run an initial sample of this:

Using the Ubuntu 17.04 repository version of codeblocks (version 16.01+dfsg-2) on the following system (uname -a): Linux <my-laptop-name> 4.10.0-21-generic #23-Ubuntu SMP Fri Apr 28 16:14:22 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

The laptop is a Dell Inspiron 15 3000 series running a 7th-generation Intel Core i5 with Intel HD Graphics 620 (Kabylake GT2); 8 GB RAM

Procedure:
 
Open codeblocks
Create a new wxWidgets project; name as desired; accept all defaults
In the blank frame, place a wxBoxSizer  (I'll call this the outer sizer)
In the outer sizer, place a wxPanel
In the panel, place a wxBoxSizer (I'll call this the inner sizer)
In the sizer, place two buttons; just leave them with the default Label and other settings
Set the inner sizer to be wxVERTICAL
Save the project
Attempt to close the project - at this point, C:B crashes

Below is the back trace. I'm sure there is probably more I need to do to provide information - if you can direct me in the right direction, I will be happy to do so.

Code: [Select]
GNU gdb (Ubuntu 7.12.50.20170314-0ubuntu1) 7.12.50.20170314-git
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from codeblocks...(no debugging symbols found)...done.
(gdb) handle SIG33 pass nostop pnpoprint
Signal        Stop Print Pass to program Description
SIG33         No No Yes Real-time event 33
(gdb) set pagination 0
(gdb) run
Starting program: /usr/bin/codeblocks
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
11:37:55: Warning: Mismatch between the program and library build versions detected.
The library used 3.0 (wchar_t,compiler with C++ ABI 1010,wx containers,compatible with 2.8),
and your program used 3.0 (wchar_t,compiler with C++ ABI 1009,wx containers,compatible with 2.8).
[New Thread 0x7fffe86ea700 (LWP 9824)]
[New Thread 0x7fffe7ee9700 (LWP 9825)]
[New Thread 0x7fffe74b6700 (LWP 9826)]
[New Thread 0x7fffe5eb8700 (LWP 9827)]
[New Thread 0x7fffe56b7700 (LWP 9828)]
[New Thread 0x7fffe4ca5700 (LWP 9831)]
[New Thread 0x7fffcffff700 (LWP 9832)]
[New Thread 0x7fffcf7fe700 (LWP 9833)]
[New Thread 0x7fffceffd700 (LWP 9834)]
[Thread 0x7fffceffd700 (LWP 9834) exited]
[Thread 0x7fffe5eb8700 (LWP 9827) exited]
[New Thread 0x7fffb1229700 (LWP 9851)]
[New Thread 0x7fffe5eb8700 (LWP 9852)]
Starting Code::Blocks Release 16.01  rev 10692 2016-06-15, 06:57:50 - wx3.0.2 (Linux, unicode) - 64 bit
Initialize EditColourSet .....
Initialize EditColourSet: done.
Loading menubar...
SmartIndentHDL: loaded
Cscope: loaded
OccurrencesHighlighting: loaded
FileManager: loaded
OpenFilesList: loaded
wxSmith: loaded
wxSmithMime: loaded
EditorTweaks: loaded
Abbreviations: loaded
NassiShneidermanPlugin: loaded
EditorConfig: loaded
CB_Koders: loaded
ProjectOptionsManipulator: loaded
AStylePlugin: loaded
FilesExtensionHandler: loaded
wxSmithContribItems: loaded
HelpPlugin: loaded
copystrings: loaded
SmartIndentPascal: loaded
cbDragScroll: loaded
Exporter: loaded
Cccc: loaded
AutoVersioning: loaded
Profiler: loaded
ScriptedWizard: loaded
DoxyBlocks: loaded
CppCheck: loaded
ClassWizard: loaded
CodeStat: loaded
RegExTestbed: loaded
SmartIndentPython: loaded
cbKeyBinder: loaded
EnvVars: loaded
SmartIndentXML: loaded
CodeSnippets: loaded
SmartIndentCpp: loaded
SmartIndentLua: loaded
ToDoList: loaded
SmartIndentFortran: loaded
ToolsPlus: loaded
SpellChecker: loaded
ThreadSearch: loaded
Compiler: loaded
HeaderFixup: loaded
BYOGames: loaded
Valgrind: loaded
ProjectsImporter: loaded
ReopenEditor: loaded
HexEditor: loaded
Autosave: loaded
Debugger: loaded
IncrementalSearch: loaded
wxSmithAui: loaded
MouseSap: loaded
CodeCompletion: loaded
SymTab: loaded
lib_finder: loaded
BrowseTracker: loaded
SmartIndentHDL plugin activated
Cscope plugin activated
OccurrencesHighlighting plugin activated
FileManager plugin activated
Open files list plugin activated
wxSmith plugin activated
wxSmith - MIME plugin plugin activated
Editor Tweaks plugin: Building menu
Editor Tweaks plugin: making the menu 15
Editor Tweaks plugin: Folding menu
EditorTweaks plugin activated
Abbreviations plugin activated
NassiShneidermanPlugin plugin activated
EditorConfig plugin for Code::Blocks plugin activated
Koders query plugin activated
Project options manipulator plugin activated
Source code formatter (AStyle) plugin activated
Files extension handler plugin activated
wxSmith - Contrib Items plugin activated
Help plugin plugin activated
Copy Strings to clipboard plugin activated
SmartIndentPascal plugin activated
DragScroll plugin activated
Source Exporter plugin activated
Cccc plugin activated
AutoVersioning plugin activated
Code profiler plugin activated
Project wizard added for 'Empty project'
Project wizard added for 'Fortran application'
Project wizard added for 'Fortran library'
Project wizard added for 'Fortran DLL'
Project wizard added for 'Console application'
Project wizard added for 'D application'
Project wizard added for 'FLTK project'
Project wizard added for 'GLFW project'
Project wizard added for 'GLUT project'
Project wizard added for 'GTK+ project'
Project wizard added for 'Irrlicht project'
Project wizard added for 'Lightfeather project'
Project wizard added for 'Matlab project'
Project wizard added for 'OpenCV project'
Project wizard added for 'OpenGL project'
Project wizard added for 'Ogre project'
Project wizard added for 'Code::Blocks plugin'
Project wizard added for 'QT4 project'
Project wizard added for 'SDL project'
Project wizard added for 'SFML project'
Project wizard added for 'Static library'
Project wizard added for 'Shared library'
Project wizard added for 'wxWidgets project'
Build-target wizard added for 'Console'
Build-target wizard added for 'Static library'
Build-target wizard added for 'wxWidgets'
Project wizard added for 'ARM Project'
Project wizard added for 'AVR Project'
Project wizard added for 'TriCore Project'
Project wizard added for 'PowerPC Project'
Project wizard added for 'MCS51 Project'
File(s) wizard added for 'Empty file'
File(s) wizard added for 'C/C++ source'
File(s) wizard added for 'C/C++ header'
File(s) wizard added for 'Fortran source'
Scripted wizard plugin activated
DoxyBlocks plugin activated
CppCheck plugin activated
Class wizard plugin activated
Code statistics plugin activated
Regular expressions testbed plugin activated
SmartIndentPython plugin activated
Keyboard shortcuts plugin activated
Environment variabl[New Thread 0x7fffceffd700 (LWP 9906)]

(codeblocks:9820): Gtk-CRITICAL **: IA__gtk_tree_model_iter_nth_child: assertion 'n >= 0' failed
[New Thread 0x7fffb0905700 (LWP 9908)]
[Thread 0x7fffb0905700 (LWP 9908) exited]
[Thread 0x7fffe56b7700 (LWP 9828) exited]

** (codeblocks:9820): CRITICAL **: murrine_style_draw_box: assertion 'width >= -1' failed
es plugin activated
SmartIndentXML plugin activated
Code snippets plugin activated
SmartIndentCpp plugin activated
SmartIndentLua plugin activated
Todo List plugin activated
SmartIndentFortran plugin activated
ToolsPlus plugin activated
SpellChecker plugin activated
ThreadSearch plugin activated
Added compiler "GNU GCC Compiler"
Added compiler "Intel C/C++ Compiler"
Added compiler "GDC D Compiler"
Added compiler "GNU Fortran Compiler"
Added compiler "G95 Fortran Compiler"
Added compiler "GNU GCC Compiler for ARM"
Added compiler "GNU GCC Compiler for PowerPC (HighTec)"
Added compiler "PGI Fortran Compiler"
Added compiler "GNU GCC Compiler for LM32"
Added compiler "Small Device C Compiler"
Added compiler "GNU GCC Compiler for MSP430 (HighTec)"
Added compiler "*No Compiler*"
Added compiler "GNU GCC Compiler for LM8"
Added compiler "Tiny C Compiler"
Added compiler "Digital Mars D Compiler"
Added compiler "LLVM D Compiler"
Added compiler "GNU GCC Compiler for ZPU"
Added compiler "GNU GCC Compiler for Blackfin"
Added compiler "GNU GCC Compiler for TriCore (HighTec)"
Added compiler "LLVM Clang Compiler"
Added compiler "GNU GCC Compiler for AVR"
Added compiler "mingw_cross_compiler"
Compiler plugin activated
Header Fixup plugin activated
BYO Games plugin activated
Valgrind plugin activated
Foreign projects importer plugin activated
ReopenEditor plugin activated
HexEditor plugin activated
Autosave plugin activated
Debugger plugin activated
IncrementalSearch plugin activated
wxSmith - Aui plugin activated
MouseSap plugin activated
Code completion plugin activated
Symbol Table Plugin plugin activated
Library finder plugin activated
BrowseTracker plugin activated
Loading toolbar...
ClassBrowser::UpdateClassBrowserView(): No active project available.
ClassBrowser::OnThreadEvent(): Updating class browser...
ClassBrowser::OnThreadEvent(): Class browser updated.
Initializing plugins...
Generated file /home/uwake/programs/wx/wxsmith/testApp.h
Project's base path: /home/uwake/programs/wx/wxsmith/
Project's common toplevel path: /home/uwake/programs/wx/wxsmith/
Generated file /home/uwake/programs/wx/wxsmith/testApp.cpp
Generated file /home/uwake/programs/wx/wxsmith/testMain.h
Generated file /home/uwake/programs/wx/wxsmith/testMain.cpp
Generated file /home/uwake/programs/wx/wxsmith/wxsmith/testframe.wxs
Generated file /home/uwake/programs/wx/wxsmith/wx_pch.h
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicod[New Thread 0x7fffe56b7700 (LWP 9918)]
[Thread 0x7fffe56b7700 (LWP 9918) exited]
e 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla uni
Thread 1 "codeblocks" received signal SIGSEGV, Segmentation fault.
0x0000000000000061 in ?? ()
(gdb) quit
A debugging session is active.

Inferior 1 [process 9820] will be killed.

Quit anyway? (y or n) y

Offline awake

  • Multiple posting newcomer
  • *
  • Posts: 25
Re: wxsmith crashing after upgrade to Ubuntu 17.04
« Reply #7 on: June 01, 2017, 06:24:48 pm »
Here is a second run - same version of codeblocks, etc., but this time using the advanced wxWidgets settings and clicking on "Use dynamic libraries" and on "Unicode." This time it lasted longer - I could do the simple frame described above, and close the project without crashing; I could even open it up and close it again without crashing. However, when I started adding additional complexity - within the "inner sizer," adding two additional wxBoxSizers, one with two buttons and one with a button, a text control, and a radio button - then when I save and close the project, it crashes. First part of backtrace included below [had to do this in two posts due to length]:

Code: [Select]
GNU gdb (Ubuntu 7.12.50.20170314-0ubuntu1) 7.12.50.20170314-git
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from codeblocks...Reading symbols from /usr/lib/debug/.build-id/61/5fb9e48115a766921c25b041645fea6340d9a1.debug...done.
done.
(gdb) handle SIG33 pass nostop noprint
Signal        Stop Print Pass to program Description
SIG33         No No Yes Real-time event 33
(gdb) set pagination 0
(gdb) run
Starting program: /usr/bin/codeblocks
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
12:10:34: Warning: Mismatch between the program and library build versions detected.
The library used 3.0 (wchar_t,compiler with C++ ABI 1010,wx containers,compatible with 2.8),
and your program used 3.0 (wchar_t,compiler with C++ ABI 1009,wx containers,compatible with 2.8).
[New Thread 0x7fffe86ea700 (LWP 10616)]
[New Thread 0x7fffe7ee9700 (LWP 10617)]
[New Thread 0x7fffe74b6700 (LWP 10618)]
[New Thread 0x7fffe5eb8700 (LWP 10619)]
[New Thread 0x7fffe56b7700 (LWP 10620)]
[New Thread 0x7fffe4ca5700 (LWP 10623)]
[New Thread 0x7fffcffff700 (LWP 10624)]
[New Thread 0x7fffcf7fe700 (LWP 10625)]
[New Thread 0x7fffceffd700 (LWP 10626)]
[New Thread 0x7fffce7fc700 (LWP 10627)]
[Thread 0x7fffce7fc700 (LWP 10627) exited]
[Thread 0x7fffe56b7700 (LWP 10620) exited]
[Thread 0x7fffe5eb8700 (LWP 10619) exited]
[New Thread 0x7fffac96c700 (LWP 10646)]
[New Thread 0x7fffe5eb8700 (LWP 10647)]
Starting Code::Blocks Release 16.01  rev 10692 2016-06-15, 06:57:50 - wx3.0.2 (Linux, unicode) - 64 bit
Initialize EditColourSet .....
Initialize EditColourSet: done.
Loading menubar...
SmartIndentHDL: loaded
Cscope: loaded
OccurrencesHighlighting: loaded
FileManager: loaded
OpenFilesList: loaded
wxSmith: loaded
wxSmithMime: loaded
EditorTweaks: loaded
Abbreviations: loaded
NassiShneidermanPlugin: loaded
EditorConfig: loaded
CB_Koders: loaded
ProjectOptionsManipulator: loaded
AStylePlugin: loaded
FilesExtensionHandler: loaded
wxSmithContribItems: loaded
HelpPlugin: loaded
copystrings: loaded
SmartIndentPascal: loaded
cbDragScroll: loaded
Exporter: loaded
Cccc: loaded
AutoVersioning: loaded
Profiler: loaded
ScriptedWizard: loaded
DoxyBlocks: loaded
CppCheck: loaded
ClassWizard: loaded
CodeStat: loaded
RegExTestbed: loaded
SmartIndentPython: loaded
cbKeyBinder: loaded
EnvVars: loaded
SmartIndentXML: loaded
CodeSnippets: loaded
SmartIndentCpp: loaded
SmartIndentLua: loaded
ToDoList: loaded
SmartIndentFortran: loaded
ToolsPlus: loaded
SpellChecker: loaded
ThreadSearch: loaded
Compiler: loaded
HeaderFixup: loaded
BYOGames: loaded
Valgrind: loaded
ProjectsImporter: loaded
ReopenEditor: loaded
HexEditor: loaded
Autosave: loaded
Debugger: loaded
IncrementalSearch: loaded
wxSmithAui: loaded
MouseSap: loaded
CodeCompletion: loaded
SymTab: loaded
lib_finder: loaded
BrowseTracker: loaded
SmartIndentHDL plugin activated
Cscope plugin activated
OccurrencesHighlighting plugin activated
FileManager plugin activated
Open files list plugin activated
wxSmith plugin activated
wxSmith - MIME plugin plugin activated
Editor Tweaks plugin: Building menu
Editor Tweaks plugin: making the menu 15
Editor Tweaks plugin: Folding menu
EditorTweaks plugin activated
Abbreviations plugin activated
NassiShneidermanPlugin plugin activated
EditorConfig plugin for Code::Blocks plugin activated
Koders query plugin activated
Project options manipulator plugin activated
Source code formatter (AStyle) plugin activated
Files extension handler plugin activated
wxSmith - Contrib Items plugin activated
Help plugin plugin activated
Copy Strings to clipboard plugin activated
SmartIndentPascal plugin activated
DragScroll plugin activated
Source Exporter plugin activated
Cccc plugin activated
AutoVersioning plugin activated
Code profiler plugin activated
Project wizard added for 'Empty project'
Project wizard added for 'Fortran application'
Project wizard added for 'Fortran library'
Project wizard added for 'Fortran DLL'
Project wizard added for 'Console application'
Project wizard added for 'D application'
Project wizard added for 'FLTK project'
Project wizard added for 'GLFW project'
Project wizard added for 'GLUT project'
Project wizard added for 'GTK+ project'
Project wizard added for 'Irrlicht project'
Project wizard added for 'Lightfeather project'
Project wizard added for 'Matlab project'
Project wizard added for 'OpenCV project'
Project wizard added for 'OpenGL project'
Project wizard added for 'Ogre project'
Project wizard added for 'Code::Blocks plugin'
Project wizard added for 'QT4 project'
Project wizard added for 'SDL project'
Project wizard added for 'SFML project'
Project wizard added for 'Static library'
Project wizard added for 'Shared library'
Project wizard added for 'wxWidgets project'
Build-target wizard added for 'Console'
Build-target wizard added for 'Static library'
Build-target wizard added for 'wxWidgets'
Project wizard added for 'ARM Project'
Project wizard added for 'AVR Project'
Project wizard added for 'TriCore Project'
Project wizard added for 'PowerPC Project'
Project wizard added for 'MCS51 Project'
File(s) wizard added for 'Empty file'
File(s) wizard added for 'C/C++ source'
File(s) wizard added for 'C/C++ header'
File(s) wizard added for 'Fortran source'
Scripted wizard plugin activated
DoxyBlocks plugin activated
CppCheck plugin activated
Class wizard plugin activated
Code statistics plugin activated
Regular expressions testbed plugin activated
SmartIndentPython plugin activated
Keyboard shortcuts plugin activated
Environment variabl[New Thread 0x7fffe56b7700 (LWP 10701)]

(codeblocks:10612): Gtk-CRITICAL **: IA__gtk_tree_model_iter_nth_child: assertion 'n >= 0' failed
[New Thread 0x7fffce7fc700 (LWP 10703)]
[Thread 0x7fffce7fc700 (LWP 10703) exited]
[Thread 0x7fffceffd700 (LWP 10626) exited]

** (codeblocks:10612): CRITICAL **: murrine_style_draw_box: assertion 'width >= -1' failed
es plugin activated
SmartIndentXML plugin activated
Code snippets plugin activated
SmartIndentCpp plugin activated
SmartIndentLua plugin activated
Todo List plugin activated
SmartIndentFortran plugin activated
ToolsPlus plugin activated
SpellChecker plugin activated
ThreadSearch plugin activated
Added compiler "GNU GCC Compiler"
Added compiler "Intel C/C++ Compiler"
Added compiler "GDC D Compiler"
Added compiler "GNU Fortran Compiler"
Added compiler "G95 Fortran Compiler"
Added compiler "GNU GCC Compiler for ARM"
Added compiler "GNU GCC Compiler for PowerPC (HighTec)"
Added compiler "PGI Fortran Compiler"
Added compiler "GNU GCC Compiler for LM32"
Added compiler "Small Device C Compiler"
Added compiler "GNU GCC Compiler for MSP430 (HighTec)"
Added compiler "*No Compiler*"
Added compiler "GNU GCC Compiler for LM8"
Added compiler "Tiny C Compiler"
Added compiler "Digital Mars D Compiler"
Added compiler "LLVM D Compiler"
Added compiler "GNU GCC Compiler for ZPU"
Added compiler "GNU GCC Compiler for Blackfin"
Added compiler "GNU GCC Compiler for TriCore (HighTec)"
Added compiler "LLVM Clang Compiler"
Added compiler "GNU GCC Compiler for AVR"
Added compiler "mingw_cross_compiler"
Compiler plugin activated
Header Fixup plugin activated
BYO Games plugin activated
Valgrind plugin activated
Foreign projects importer plugin activated
ReopenEditor plugin activated
HexEditor plugin activated
Autosave plugin activated
Debugger plugin activated
IncrementalSearch plugin activated
wxSmith - Aui plugin activated
MouseSap plugin activated
Code completion plugin activated
Symbol Table Plugin plugin activated
Library finder plugin activated
BrowseTracker plugin activated
Loading toolbar...
ClassBrowser::UpdateClassBrowserView(): No active project available.
ClassBrowser::OnThreadEvent(): Updating class browser...
ClassBrowser::OnThreadEvent(): Class browser updated.
Initializing plugins...
Generated file /home/uwake/programs/wx/wxsmith/testApp.h
Project's base path: /home/uwake/programs/wx/wxsmith/
Project's common toplevel path: /home/uwake/programs/wx/wxsmith/
Generated file /home/uwake/programs/wx/wxsmith/testApp.cpp
Generated file /home/uwake/programs/wx/wxsmith/testMain.h
Generated file /home/uwake/programs/wx/wxsmith/testMain.cpp
Generated file /home/uwake/programs/wx/wxsmith/wxsmith/testframe.wxs
Generated file /home/uwake/programs/wx/wxsmith/wx_pch.h
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicod[New Thread 0x7fffceffd700 (LWP 10707)]
e 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla uni[Thread 0x7fffceffd700 (LWP 10707) exited]
[New Thread 0x7fffa7fff700 (LWP 10763)]
[New Thread 0x7fffceffd700 (LWP 10821)]
versal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Removed test from all deps

<to be continued ...>

Offline awake

  • Multiple posting newcomer
  • *
  • Posts: 25
Re: wxsmith crashing after upgrade to Ubuntu 17.04
« Reply #8 on: June 01, 2017, 06:28:18 pm »
Backtrace continued:

Code: [Select]
NativeParser::DeleteParser(): Deleting parser for project 'test'!
ClassBrowser::UpdateClassBrowserView(): No active project available.
ClassBrowser::OnThreadEvent(): Updating class browser...
ClassBrowser::OnThreadEvent(): Class browser updated.
ClassBrowser::OnThreadEvent(): Updating class browser...
ClassBrowser::OnThreadEvent(): Class browser updated.
Loading project file...
Parsing project file...
Loading target gtk
Loading project files...
6 files loaded
Done loading project in 2ms
Project's base path: /home/uwake/programs/wx/wxsmith/
Project's common toplevel path: /home/uwake/programs/wx/wxsmith/
NativeParser::DoFullParsing(): Adding cpp/c files to batch-parser
NativeParser::DoFullParsing(): Added 2 source file(s) for project 'test' to batch-parser...
ClassBrowser::UpdateClassBrowserView(): No active project available.
NativeParser::CreateParser(): Finish creating a new parser for project 'test'
ClassBrowser::OnThreadEvent(): Updating class browser...
ClassBrowser::OnThreadEvent(): Class browser updated.
NativeParser::OnParserStart(): Starting batch parsing for project 'test'...
NativeParser::OnParserEnd(): Project 'test' parsing stage done!
Project 'test' parsing stage done (6 total parsed files, 328 tokens in 0 minute(s), 0.032 seconds).
ClassBrowser::OnThreadEvent(): Updating class browser...
ClassBrowser::OnThreadEvent(): Class browser updated.
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final[Thread 0x7fffceffd700 (LWP 11012) exited]
 encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Reparsing when file changed: /home/uwake/programs/wx/wxsmith/testMain.cpp
NativeParser::OnParserStart(): Starting re-parsing for project 'test'...
Project 'test' parsing stage done (6 total parsed files, 328 tokens in 0 minute(s), 0.007 seconds).
ClassBrowser::OnThreadEvent(): Updating class browser...
ClassBrowser::OnThreadEvent(): Class browser updated.
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicod[Thread 0x7fffa7fff700 (LWP 11011) exited]

Thread 1 "codeblocks" received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
(gdb) quit
A debugging session is active.

Inferior 1 [process 10612] will be killed.

Quit anyway? (y or n) y

Offline awake

  • Multiple posting newcomer
  • *
  • Posts: 25
Re: wxsmith crashing after upgrade to Ubuntu 17.04
« Reply #9 on: June 01, 2017, 06:30:51 pm »
In both of these backtraces, I notice a warning about a library mismatch (near the beginning), and a couple of assertion failures - not sure if these are clues or false leads ...

Online oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 10262
Re: wxsmith crashing after upgrade to Ubuntu 17.04
« Reply #10 on: June 01, 2017, 06:51:42 pm »
Sorry but there is no info about backtraces in all three logs.
Please make sure you've installed the debug symbols (-dbg packages) and when codeblocks crashes make sure to execute the bt command of "thread apply all bt" command.
<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!]

Online oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 10262
Re: wxsmith crashing after upgrade to Ubuntu 17.04
« Reply #11 on: June 01, 2017, 06:53:28 pm »
Also make sure to disable the class browser in the Settings -> Editor -> Code completion!
This is known to cause many random problems and crashes.
<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 awake

  • Multiple posting newcomer
  • *
  • Posts: 25
Re: wxsmith crashing after upgrade to Ubuntu 17.04
« Reply #12 on: June 01, 2017, 08:18:50 pm »
Ah, I see - I didn't scroll down far enough in the wiki page. My apologies, and thanks for being patient with me.

This time it took a couple of tries before it crashed - I kept adding some complexity to the frame, saving, closing the project. On the third round, it crashed. I'm assuming you want just the part that is shown once I issue the backtrace commands; that is what I have included below:

Code: [Select]
Thread 1 "codeblocks" received signal SIGSEGV, Segmentation fault.
0x000055555af22240 in ?? ()
(gdb) bacjkgtrace full
#0  0x000055555af22240 in  ()
#1  0x0000555555674636 in MainFrame::OnEditMenuUpdateUI(wxUpdateUIEvent&) (this=0x555555ec25a0, event=...) at main.cpp:4050
        ed = 0x0
        eb = 0x55555b0d5000
        hasSel = <optimized out>
        canUndo = true
        canRedo = false
        canPaste = <optimized out>
        canCut = false
        canSelAll = false
        mbar = 0x555556323480
#2  0x00007ffff543306e in wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&, wxEvent&) const () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#3  0x00007ffff55b8b05 in wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#4  0x00007ffff55b8bfb in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#5  0x00007ffff55b8fab in wxEvtHandler::TryHereOnly(wxEvent&) () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#6  0x00007ffff55b8db3 in wxEvtHandler::DoTryChain(wxEvent&) () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#7  0x00007ffff55b9095 in wxEvtHandler::ProcessEvent(wxEvent&) () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#8  0x00007ffff5f287c8 in wxWindowBase::TryAfter(wxEvent&) () at /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#9  0x00007ffff5f06a86 in wxToolBarBase::UpdateWindowUI(long) () at /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#10 0x00007ffff5f29dd3 in wxWindowBase::SendIdleEvents(wxIdleEvent&) () at /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#11 0x00007ffff5f29e20 in wxWindowBase::SendIdleEvents(wxIdleEvent&) () at /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#12 0x00007ffff5da125f in wxFrame::SendIdleEvents(wxIdleEvent&) () at /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#13 0x00007ffff5de76dd in wxAppBase::ProcessIdle() () at /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#14 0x00007ffff5cf42e6 in wxApp::DoIdle() () at /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#15 0x00007ffff5cf43c3 in  () at /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#16 0x00007ffff437522a in g_main_context_dispatch () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007ffff43755e0 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007ffff4375902 in g_main_loop_run () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007ffff3b07507 in gtk_main () at /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#20 0x00007ffff5d14335 in wxGUIEventLoop::DoRun() () at /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#21 0x00007ffff5474edb in wxEventLoopBase::Run() () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#22 0x00007ffff543a3d6 in wxAppConsoleBase::MainLoop() () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#23 0x00005555555ee09a in CodeBlocksApp::OnRun() (this=0x555555a1c7f0) at app.cpp:850
        retval = <optimized out>
#24 0x00007ffff54c6930 in wxEntry(int&, wchar_t**) () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#25 0x00005555555d647e in main(int, char**) (argc=1, argv=<optimized out>) at app.cpp:322
(gdb) info registerts
rax            0x55555b263360 93825089811296
rbx            0x555556323480 93825006711936
rcx            0x0 0
rdx            0x7ffff62ae8b0 140737323395248
rsi            0x0 0
rdi            0x55555b0d5000 93825088180224
rbp            0x0 0x0
rsp            0x7fffffffd6c8 0x7fffffffd6c8
r8             0x4 4
r9             0x1 1
r10            0x0 0
r11            0x0 0
r12            0x555555ec25a0 93825002120608
r13            0x55555b0d5000 93825088180224
r14            0x7ffff58578f0 140737312553200
r15            0x0 0
rip            0x55555af22240 0x55555af22240
eflags         0x10202 [ IF RF ]
cs             0x33 51
ss             0x2b 43
ds             0x0 0
es             0x0 0
fs             0x0 0
gs             0x0 0
(gdb) x/16i $pc
=> 0x55555af22240: rcr    $0xe4,%al
   0x55555af22243: pop    %rdx
   0x55555af22244: push   %rbp
   0x55555af22245: push   %rbp
   0x55555af22246: add    %al,(%rax)
   0x55555af22248: add    %al,(%rax)
   0x55555af2224a: add    %al,(%rax)
   0x55555af2224c: add    %al,(%rax)
   0x55555af2224e: add    %al,(%rax)
   0x55555af22250: add    %al,(%rax)
   0x55555af22252: add    %al,(%rax)
   0x55555af22254: add    %al,(%rax)
   0x55555af22256: add    %al,(%rax)
   0x55555af22258: add    %al,(%rax)
   0x55555af2225a: add    %al,(%rax)
   0x55555af2225c: add    %al,(%rax)
(gdb) thread apply all backtrace

Thread 13 (Thread 0x7fffceffd700 (LWP 11741)):
#0  0x00007ffff51c2510 in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ffff5587a43 in  () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#2  0x00007ffff5588494 in  () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#3  0x00007fffb1297552 in ClassBrowserBuilderThread::Entry() (this=0x55555a9fe4d0) at classbrowserbuilderthread.cpp:204
#4  0x00007ffff5586c72 in wxThread::CallEntry() () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#5  0x00007ffff558f303 in  () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#6  0x00007ffff51bc6da in start_thread (arg=0x7fffceffd700) at pthread_create.c:456
#7  0x00007ffff495717f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 12 (Thread 0x7fffe56b7700 (LWP 11687)):
#0  0x00007ffff494cf73 in select () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fffbb77be46 in MonDescriptors::do_select() (this=0x7fffe56b5790) at directorymonitor.cpp:70
#2  0x00007fffbb77be46 in DirMonitorThread::Entry() (this=0x555557076f50) at directorymonitor.cpp:164
#3  0x00007ffff5586c72 in wxThread::CallEntry() () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#4  0x00007ffff558f303 in  () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#5  0x00007ffff51bc6da in start_thread (arg=0x7fffe56b7700) at pthread_create.c:456
#6  0x00007ffff495717f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 11 (Thread 0x7fffb1229700 (LWP 11686)):
#0  0x00007ffff51c2510 in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ffff5587a43 in  () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#2  0x00007ffff5588494 in  () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#3  0x00007ffff76aeed3 in cbThreadPool::cbWorkerThread::Entry() (this=0x555556faf250) at cbthreadpool.cpp:202
#4  0x00007ffff5586c72 in wxThread::CallEntry() () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#5  0x00007ffff558f303 in  () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#6  0x00007ffff51bc6da in start_thread (arg=0x7fffb1229700) at pthread_create.c:456
#7  0x00007ffff495717f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 9 (Thread 0x7fffcf7fe700 (LWP 11668)):
#0  0x00007ffff51c2510 in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ffff5587a43 in  () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#2  0x00007ffff5588494 in  () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#3  0x00007ffff7775a3a in BackgroundThread::Entry() (this=0x5555560f7a58) at ./backgroundthread.h:152
#4  0x00007ffff5586c72 in wxThread::CallEntry() () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#5  0x00007ffff558f303 in  () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#6  0x00007ffff51bc6da in start_thread (arg=0x7fffcf7fe700) at pthread_create.c:456
#7  0x00007ffff495717f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 8 (Thread 0x7fffcffff700 (LWP 11667)):
#0  0x00007ffff51c2510 in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ffff5587a43 in  () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#2  0x00007ffff5588494 in  () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#3  0x00007ffff7775a3a in BackgroundThread::Entry() (this=0x5555560f7a20) at ./backgroundthread.h:152
#4  0x00007ffff5586c72 in wxThread::CallEntry() () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#5  0x00007ffff558f303 in  () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#6  0x00007ffff51bc6da in start_thread (arg=0x7fffcffff700) at pthread_create.c:456
#7  0x00007ffff495717f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 7 (Thread 0x7fffe4ca5700 (LWP 11666)):
#0  0x00007ffff51c2510 in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ffff5587a43 in  () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#2  0x00007ffff5588494 in  () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#3  0x00007ffff7775a3a in BackgroundThread::Entry() (this=0x5555560f79e8) at ./backgroundthread.h:152
#4  0x00007ffff5586c72 in wxThread::CallEntry() () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#5  0x00007ffff558f303 in  () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#6  0x00007ffff51bc6da in start_thread (arg=0x7fffe4ca5700) at pthread_create.c:456
#7  0x00007ffff495717f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 4 (Thread 0x7fffe74b6700 (LWP 11661)):
#0  0x00007ffff494b18d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007ffff4375576 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff437568c in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fffe8b4b46d in  () at /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
#4  0x00007ffff439cf65 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ffff51bc6da in start_thread (arg=0x7fffe74b6700) at pthread_create.c:456
#6  0x00007ffff495717f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 3 (Thread 0x7fffe7ee9700 (LWP 11660)):
#0  0x00007ffff494b18d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007ffff4375576 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff4375902 in g_main_loop_run () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff092a476 in  () at /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007ffff439cf65 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ffff51bc6da in start_thread (arg=0x7fffe7ee9700) at pthread_create.c:456
#6  0x00007ffff495717f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 2 (Thread 0x7fffe86ea700 (LWP 11659)):
#0  0x00007ffff494b18d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007ffff4375576 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff437568c in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff43756d1 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ffff439cf65 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ffff51bc6da in start_thread (arg=0x7fffe86ea700) at pthread_create.c:456
#6  0x00007ffff495717f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 1 (Thread 0x7ffff7fac280 (LWP 11655)):
#0  0x000055555af22240 in  ()
#1  0x0000555555674636 in MainFrame::OnEditMenuUpdateUI(wxUpdateUIEvent&) (this=0x555555ec25a0, event=...) at main.cpp:4050
#2  0x00007ffff543306e in wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&, wxEvent&) const () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#3  0x00007ffff55b8b05 in wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#4  0x00007ffff55b8bfb in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#5  0x00007ffff55b8fab in wxEvtHandler::TryHereOnly(wxEvent&) () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#6  0x00007ffff55b8db3 in wxEvtHandler::DoTryChain(wxEvent&) () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#7  0x00007ffff55b9095 in wxEvtHandler::ProcessEvent(wxEvent&) () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#8  0x00007ffff5f287c8 in wxWindowBase::TryAfter(wxEvent&) () at /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#9  0x00007ffff5f06a86 in wxToolBarBase::UpdateWindowUI(long) () at /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#10 0x00007ffff5f29dd3 in wxWindowBase::SendIdleEvents(wxIdleEvent&) () at /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#11 0x00007ffff5f29e20 in wxWindowBase::SendIdleEvents(wxIdleEvent&) () at /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#12 0x00007ffff5da125f in wxFrame::SendIdleEvents(wxIdleEvent&) () at /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#13 0x00007ffff5de76dd in wxAppBase::ProcessIdle() () at /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#14 0x00007ffff5cf42e6 in wxApp::DoIdle() () at /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#15 0x00007ffff5cf43c3 in  () at /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#16 0x00007ffff437522a in g_main_context_dispatch () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007ffff43755e0 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007ffff4375902 in g_main_loop_run () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007ffff3b07507 in gtk_main () at /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#20 0x00007ffff5d14335 in wxGUIEventLoop::DoRun() () at /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#21 0x00007ffff5474edb in wxEventLoopBase::Run() () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#22 0x00007ffff543a3d6 in wxAppConsoleBase::MainLoop() () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#23 0x00005555555ee09a in CodeBlocksApp::OnRun() (this=0x555555a1c7f0) at app.cpp:850
#24 0x00007ffff54c6930 in wxEntry(int&, wchar_t**) () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#25 0x00005555555d647e in main(int, char**) (argc=1, argv=<optimized out>) at app.cpp:322
(gdb) quit
A debugging session is active.

Inferior 1 [process 11655] will be killed.

Quit anyway? (y or n) y

Online Commaster

  • Multiple posting newcomer
  • *
  • Posts: 71
Re: wxsmith crashing after upgrade to Ubuntu 17.04
« Reply #13 on: June 01, 2017, 08:30:04 pm »
That spot looks really different from the nightly source... Maybe it has already been fixed? (Although it looks like the function calls have been deoptimised)

Offline awake

  • Multiple posting newcomer
  • *
  • Posts: 25
Re: wxsmith crashing after upgrade to Ubuntu 17.04
« Reply #14 on: June 02, 2017, 07:37:40 pm »
The more I try to use C:B, the more strange behavior and unexpected crashes I am getting - yes, with the class browser disabled. I'm getting the same issues whether using the Ubuntu repository version of C:B or the ppa:damien-moore/codeblocks version. Several attachments included below to try to demonstrate / duplicate / diagnose the problems I'm having.

First attachment below is a C:B project that has worked fine in the past (e.g., before the recent upgrade to Ubuntu 17.04), but now when I attempt to go into wxsmith to adjust the layout, wxsmith only displays part of the layout, and when the project is closed, it attempts to update the .h and .cpp files to reflect an utterly-messed-up version. OR, sometimes when the project is closed, the program simply hangs.

Second attachment below is a backtrace of an example of the latter, C:B hanging when attempting to exit the attached sample project.

More and more I'm wondering about incompatible libraries. Here is a list of the libraries found running find -iname libwx* from /usr:

Code: [Select]
cd /usr
find -iname libwx*

./share/lintian/overrides/libwxgtk3.0-0v5
./share/lintian/overrides/libwxbase3.0-0v5
./share/doc/libwxgtk3.0-0v5
./share/doc/libwxsmithlib0
./share/doc/libwxbase3.0-0v5
./lib/libwxsmithlib.so.0.0.1
./lib/x86_64-linux-gnu/libwx_gtk2u_aui-3.0.so.0.2.0
./lib/x86_64-linux-gnu/libwx_baseu_xml-3.0.so.0
./lib/x86_64-linux-gnu/libwx_baseu_xml-3.0.so.0.2.0
./lib/x86_64-linux-gnu/libwx_gtk2u_adv-3.0.so.0.2.0
./lib/x86_64-linux-gnu/libwx_gtk2u_qa-3.0.so.0
./lib/x86_64-linux-gnu/libwx_gtk2u_adv-3.0.so.0
./lib/x86_64-linux-gnu/libwx_gtk2u_ribbon-3.0.so.0.2.0
./lib/x86_64-linux-gnu/libwx_gtk2u_html-3.0.so.0.2.0
./lib/x86_64-linux-gnu/libwx_gtk2u_gl-3.0.so.0.2.0
./lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
./lib/x86_64-linux-gnu/libwx_gtk2u_stc-3.0.so.0
./lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0.2.0
./lib/x86_64-linux-gnu/libwx_gtk2u_html-3.0.so.0
./lib/x86_64-linux-gnu/libwx_gtk2u_propgrid-3.0.so.0
./lib/x86_64-linux-gnu/libwx_gtk2u_aui-3.0.so.0
./lib/x86_64-linux-gnu/libwx_gtk2u_qa-3.0.so.0.2.0
./lib/x86_64-linux-gnu/libwx_baseu_net-3.0.so.0.2.0
./lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0.2.0
./lib/x86_64-linux-gnu/libwx_gtk2u_xrc-3.0.so.0
./lib/x86_64-linux-gnu/libwx_gtk2u_xrc-3.0.so.0.2.0
./lib/x86_64-linux-gnu/libwx_baseu_net-3.0.so.0
./lib/x86_64-linux-gnu/libwx_gtk2u_stc-3.0.so.0.2.0
./lib/x86_64-linux-gnu/libwx_gtk2u_gl-3.0.so.0
./lib/x86_64-linux-gnu/libwx_gtk2u_propgrid-3.0.so.0.2.0
./lib/x86_64-linux-gnu/libwx_gtk2u_richtext-3.0.so.0.2.0
./lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
./lib/x86_64-linux-gnu/libwx_gtk2u_richtext-3.0.so.0
./lib/x86_64-linux-gnu/libwx_gtk2u_ribbon-3.0.so.0
./lib/codeblocks/wxContribItems/libwxchartctrl.so.0.0.1
./lib/codeblocks/wxContribItems/libwxmathplot.so.0
./lib/codeblocks/wxContribItems/libwxmathplot.so.0.0.1
./lib/codeblocks/wxContribItems/libwxkwic.so.0
./lib/codeblocks/wxContribItems/libwxflatnotebook.so.0
./lib/codeblocks/wxContribItems/libwxcustombutton.so.0
./lib/codeblocks/wxContribItems/libwxkwic.so.0.0.1
./lib/codeblocks/wxContribItems/libwxspeedbutton.so.0.0.1
./lib/codeblocks/wxContribItems/libwxflatnotebook.so.0.0.1
./lib/codeblocks/wxContribItems/libwximagepanel.so.0.0.1
./lib/codeblocks/wxContribItems/libwximagepanel.so.0
./lib/codeblocks/wxContribItems/libwxspeedbutton.so.0
./lib/codeblocks/wxContribItems/libwxcustombutton.so.0.0.1
./lib/codeblocks/wxContribItems/libwxchartctrl.so.0
./lib/codeblocks/wxContribItems/libwxled.so.0.0.1
./lib/codeblocks/wxContribItems/libwxled.so.0
./lib/codeblocks/plugins/libwxsmith.so
./lib/codeblocks/plugins/libwxsmithcontribitems.so
./lib/codeblocks/plugins/libwxSmithAui.so
./lib/libwxsmithlib.so.0

 I notice in this list that there is no monolithic libwx library - the documentation on building C:B from source suggests that this is a necessity. Is this perhaps a part of the problem?