| Summary: | Gtk apps crash when using kgtk | ||
|---|---|---|---|
| Product: | TDE | Reporter: | Calvin Morrison <mutantturkey> |
| Component: | other (any) | Assignee: | Timothy Pearson <kb9vqf> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | CC: | bugwatch, darrella |
| Priority: | P5 | ||
| Version: | 3.5.13 [Trinity] | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Compiler Version: | TDE Version String: | ||
| Application Version: | Application Name: | ||
| Attachments: |
affected area
back trace for geany. backtrace 2 patch to fix problems actual patch, whoops :) |
||
Created attachment 93 [details]
back trace for geany.
Here is the backtrace for geany
I am unable to reproduce this bug on the Trinity 3.5.13 nightly builds, and the attached backtrace does not help. Please provide a detailed set of instructions on how to make geany crash. Thanks! Created attachment 94 [details]
backtrace 2
okay with some additional research and debug builds, I've deduced that it is the gtk-qt-engine that is crashing. To reproduce this with geany, you must have a C file loaded(well thats the one that i know works, so use it) and make sure you have tags/functions visible in the right sidebar. Then resize it randomly for a little bit, After enough time it crashes (I don't know exactly when or why) but it has to do with resizing it. As far as I can tell this is caused by multiple drawing operations in rapid succession on a single graphics element (in this case an arrow within the resized tree view sidebar). As I still cannot cause the crash on my systems my debugging abilities are limited.
It would help if you could print the exact parameters being passed to the crashing function by inserting this line of code directly before line 486 in qt_theme_draw.c.
printf("parent: %p %p %d %d %d %d %d %d\n\r", window,style, GTK_WIDGET_STATE(parent), arrow_type, x, y, width, height); fflush(stdout);
Recompile gtk-qt-engine, run geany from a terminal, and try to force it to crash. When it does, post the last lines of output here.
I am not 100% sure that this bug is in Trinity. Can you crash geany on your machine from within a Gnome or other non-Trinity session?
Created attachment 95 [details]
patch to fix problems
Here is the patch. It removes some deprecated code and replaces it with the newer function that works. I also took the liberty of fixing up the other build warnings.
Calvin Morrison
Created attachment 96 [details]
actual patch, whoops :)
Patch committed to SVN in revision 1258270. Thanks for reporting, and for the patch! |
Created attachment 92 [details] affected area I've had problems with several applications crashing because of kgtk/qtengine ( I think ) It has been happening when going into scrollable columns/trees. I have attached a backtrack of the application and a screenshot of the affected area