FS#43631 - [qtcurve] Inkscape crashes under KDE4 with gtk2 theme set to qtcurve

Attached to Project: Community Packages
Opened by Marcus Behrendt (mareex) - Friday, 30 January 2015, 08:18 GMT
Last edited by Antonio Rojas (arojas) - Monday, 05 June 2017, 15:53 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To speps (archspeps)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 6
Private No

Details

Description:

When gtk2 theme is set to qtcurve, inkscape crahes after a few seconds of use.
An empty dialog is shown within inkscape. After closing this dialog inkscape is closed.


Steps to reproduce:

In KDE4 set gtk2 theme to qtcurve and start inkscape.
   coredump (4.3 KiB)
This task depends upon

Closed by  Antonio Rojas (arojas)
Monday, 05 June 2017, 15:53 GMT
Reason for closing:  Fixed
Comment by Jan de Groot (JGC) - Friday, 30 January 2015, 11:58 GMT
This is probably a bug in qtcurve.
Comment by Tomasz Przybył (FadeMind) - Friday, 30 January 2015, 15:06 GMT
-- mod delete this --

Comment by Marcus Behrendt (mareex) - Friday, 30 January 2015, 15:29 GMT
I use 'breeze' with slight modifactions

Here a short video of the situation:
https://www.youtube.com/watch?v=x1W1sYEndo8&feature=youtu.be
Comment by Doug Newgard (Scimmia) - Friday, 30 January 2015, 15:48 GMT
Does it happen when you run it with the stock theme?
Comment by Marcus Behrendt (mareex) - Friday, 30 January 2015, 16:02 GMT
Yes even with with the default qtcurve theme. The crash happens in a time between 5 seconds and 1 minute - even then when I don't interact with inkscape.
Everything is stable when I use 'oxygen-gtk'.

Once a few weeks ago I had a problem with qtcurve in an older version of Eclipse. It did segfault when I tried to start Eclipse.

As Jan pointed out before, maybe qtcurve is a bit buggy.
Comment by Tomasz Przybył (FadeMind) - Friday, 30 January 2015, 16:06 GMT
Well:
Inkscape have memory leak under QtCurve theme:

[tomasz@arch ~]$ inkscape

Emergency save activated!
Emergency save completed. Inkscape will close now.
If you can reproduce this crash, please file a bug at www.inkscape.org
with a detailed description of the steps leading to the crash, so we can fix it.
Terminated

I'm using KZukitwo theme.
http://i.imgur.com/oggCXog.png

But when I select GTK Theme instead QtCurve Inkscape app working fine. IMO QtCurve regression.

Already reported upstream: https://github.com/QtCurve/qtcurve-gtk2/issues/3


Comment by speps (archspeps) - Tuesday, 03 February 2015, 10:29 GMT
@mareex @FadeMind

Please try this patched builds:

http://pkgbuild.com/~speps/pkgs/qtcurve/qtcurve-gtk2-1.8.18-3-i686.pkg.tar.xz (i686)
http://pkgbuild.com/~speps/pkgs/qtcurve/qtcurve-gtk2-1.8.18-3-x86_64.pkg.tar.xz (x86_64)

I added a null pointer check into the code at some point, this seems to work for me.
Let me know.
Comment by Tomasz Przybył (FadeMind) - Tuesday, 03 February 2015, 11:46 GMT
@speps
Patched version working like a charm without issues.
Comment by Marcus Behrendt (mareex) - Tuesday, 03 February 2015, 19:38 GMT
Yes that solved The issue.
Comment by Jonas Abrahamsson (JKAbrams) - Monday, 30 March 2015, 21:20 GMT
https://bugs.kde.org/show_bug.cgi?id=343704
Said to be fixed in master, but there has been no release of qtcurve for 14 months.
Comment by Jonas Abrahamsson (JKAbrams) - Monday, 30 March 2015, 21:33 GMT
The qtcurve-git package is not compatible with KF5, could we patch this one with the nullpointer-check-patch (https://gist.github.com/anonymous/8e6e4ea32dabf03cf630) until a new qtcurve is released?
Comment by Götz (goetzc) - Wednesday, 17 June 2015, 16:45 GMT
@speps I can confirm that the patch and your package fixes the crash.

Could this patch be applied until upstream includes it?
Comment by RK (keoz) - Monday, 06 July 2015, 16:29 GMT
"Could this patch be applied until upstream includes it?"

Same request.

Loading...