User forums > Help
wxsmith crashing after upgrade to Ubuntu 17.04
cacb:
--- Quote from: oBFusCATed on June 06, 2017, 08:25:47 pm ---Have you disabled the symbol browser?
--- End quote ---
Are you referring to the plugin called "Symbol Table Plugin" or something else? That plugin is currently enabled.
Reading through the thread I noticed "Settings -> Editor -> Code completion" which I now disabled.
--- Quote from: oBFusCATed on June 06, 2017, 08:25:47 pm ---If you're not using wxSmith then your issue is related to something else. In this topic we're discussing wxSmith related crashes.
--- End quote ---
I do use wxSmith, so it could very well be related to it.
--- Quote from: oBFusCATed on June 06, 2017, 08:25:47 pm ---Also to make your reports useful please provide backtraces. Here https://wiki.ubuntu.com/Backtrace you can read how to gather them.
--- End quote ---
I will have a look at that, thanks.
EDIT: I notice that I have a couple of pretty large files in /var/crash/
The latest one is called _usr_bin_codeblocks.1000.crash and is 21.2 MB
This is from a wxSmith session that crashed .
Would it be useful?
oBFusCATed:
--- Quote from: cacb on June 06, 2017, 10:12:45 pm ---Would it be useful?
--- End quote ---
These are probably core files. So you can load them in gdb and then try to see if the backtrace produced by the bt or thread apply all bt commands is any useful.
@awake: The drawing artefacts should be fixed in rev 11086. Can you try it against wx3.0 and tell me if this really the case?
awake:
Sure, I'll give it a try - but it will be tomorrow at the earliest; I'm away from the office today.
awake:
oBFusCATed,
I was able to try this today - using revision 11087 rather than 11086 - on my virtual machine on the 4th-gen i5 processor. I compiled rev 11087 against a monolithic build of wxGTK 3.03. All went smoothly, and yes, the flickering is fixed and the scroll bars work smoothly. I haven't tried this on my laptop with the 7th gen i5 - which as noted above, seemed to be slightly less stable than the virtual machine - since I am actively back in process on a project, and, given that I have a working copy of C:B based on wxGTK 2.8, I didn't want to take the time to uninstall and re-install - "if it ain't broke, don't fix it." :)
Again, thanks so much for your work and your patient guidance through this process!
awake:
oBFusCATed,
I also had a chance to set up a virtual Ubuntu 17.04 machine on my laptop with the 7th-gen i5 processor. There too the problem with the flickering / scrollbars appears to be fixed.
In the meantime, however, I've noticed a different problem, but I'm not sure if it counts as a wxsmith problem or a wxWidgets problem.
In the newer versions of wxWidgets (e.g., 3.0 and up), there is a recommendation that a control included inside a static box sizer should be created with the static box (contained within the sizer) as the parent, rather than the panel or other window that is normally used as the parent. Why does this matter? Well, it probably doesn't, most of the time ... until I spent two hours trying to figure out why I couldn't get drag-and-drop to work on a listbox inside a static box sizer. If the listbox is in a regular sizer, drag-and-drop works fine; if it is inside a static box sizer AND the static box is used as the parent, it also works fine. But if it is in a static box sizer and the underlying panel (for example) is the parent -- which is how wxsmith currently constructs the code -- then drag-and-drop will not work, and as I can testify there is no obvious reason why not.
As I said, it could be argued that this is a wxWidgets problem ... but they DO recommend using the static box as the parent, and if that is done (for all of the widgets that are inside the static box sizer), then drag and drop works as advertised ... so perhaps wxsmith ought to be changed to reflect that recommendation?
I'm also not sure if this is the appropriate way or place to bring this up - happy to take guidance on how I should offer this suggestion!
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version