Bug 369280 - krita crashes every 5 mins
Summary: krita crashes every 5 mins
Status: RESOLVED DUPLICATE of bug 368599
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: git master (please specify the git hash!)
Platform: Gentoo Packages Linux
: NOR critical
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-24 10:35 UTC by Shrinidhi Rao
Modified: 2016-09-28 09:45 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Shrinidhi Rao 2016-09-24 10:35:18 UTC
Please help here. We are trying to use Krita in our studio and its giving problems like crazy . crashing randomly every 5 - 10 mins .
Artists are feeling very uncomfortable . 

This is the outputs in the log files everytime krita crashes 
Sep 24 15:54:55 localhost krita[16507]: QCursor: Cannot create bitmap cursor; invalid bitmap(s)
Sep 24 15:54:57 localhost krita[16507]: QObject::connect: invalid null parameter
Sep 24 15:54:57 localhost krita[16507]: QObject::connect: invalid null parameter
Sep 24 15:54:57 localhost krita[16507]: QObject::connect: invalid null parameter
Sep 24 15:54:57 localhost krita[16507]: QObject::connect: invalid null parameter
Sep 24 15:55:01 localhost krita[16507]: QCursor: Cannot create bitmap cursor; invalid bitmap(s)
Sep 24 15:55:01 localhost krita[16507]: QCursor: Cannot create bitmap cursor; invalid bitmap(s)
Sep 24 15:55:01 localhost krita[16507]: QCursor: Cannot create bitmap cursor; invalid bitmap(s)
Sep 24 15:55:01 localhost krita[16507]: QCursor: Cannot create bitmap cursor; invalid bitmap(s)
Sep 24 15:55:01 localhost krita[16507]: QCursor: Cannot create bitmap cursor; invalid bitmap(s)
Sep 24 15:55:01 localhost krita[16507]: QCursor: Cannot create bitmap cursor; invalid bitmap(s)
Sep 24 15:55:01 localhost krita[16507]: QCursor: Cannot create bitmap cursor; invalid bitmap(s)
Sep 24 15:55:01 localhost krita[16507]: QCursor: Cannot create bitmap cursor; invalid bitmap(s)
Sep 24 15:55:01 localhost krita[16507]: QCursor: Cannot create bitmap cursor; invalid bitmap(s)
Sep 24 15:55:01 localhost krita[16507]: QCursor: Cannot create bitmap cursor; invalid bitmap(s)
Sep 24 15:55:01 localhost krita[16507]: QCursor: Cannot create bitmap cursor; invalid bitmap(s)
Sep 24 15:55:01 localhost krita[16507]: QCursor: Cannot create bitmap cursor; invalid bitmap(s)
Sep 24 15:55:01 localhost krita[16507]: QCursor: Cannot create bitmap cursor; invalid bitmap(s)
Sep 24 15:55:01 localhost krita[16507]: QCursor: Cannot create bitmap cursor; invalid bitmap(s)
Sep 24 15:55:01 localhost krita[16507]: QCursor: Cannot create bitmap cursor; invalid bitmap(s)
Sep 24 15:55:01 localhost krita[16507]: QCursor: Cannot create bitmap cursor; invalid bitmap(s)
Sep 24 15:55:01 localhost krita[16507]: QCursor: Cannot create bitmap cursor; invalid bitmap(s)
Sep 24 15:55:01 localhost krita[16507]: QCursor: Cannot create bitmap cursor; invalid bitmap(s)
Sep 24 15:55:01 localhost krita[16507]: QCursor: Cannot create bitmap cursor; invalid bitmap(s)
Sep 24 15:55:01 localhost krita[16507]: QCursor: Cannot create bitmap cursor; invalid bitmap(s)
Sep 24 15:55:01 localhost krita[16507]: QCursor: Cannot create bitmap cursor; invalid bitmap(s)
Sep 24 15:55:01 localhost krita[16507]: QCursor: Cannot create bitmap cursor; invalid bitmap(s)
Sep 24 15:55:01 localhost krita[16507]: QCursor: Cannot create bitmap cursor; invalid bitmap(s)
Sep 24 15:55:07 localhost krita[16507]: QObject::connect: invalid null parameter
Sep 24 15:55:07 localhost krita[16507]: QObject::connect: invalid null parameter
Sep 24 15:55:07 localhost krita[16507]: QObject::connect: invalid null parameter
Sep 24 15:55:07 localhost krita[16507]: QObject::connect: invalid null parameter
Sep 24 15:55:10 localhost krita[16507]: QCursor: Cannot create bitmap cursor; invalid bitmap(s)
Sep 24 15:55:10 localhost krita[16507]: QCursor: Cannot create bitmap cursor; invalid bitmap(s)
Sep 24 15:55:10 localhost krita[16507]: QCursor: Cannot create bitmap cursor; invalid bitmap(s)
Sep 24 15:55:10 localhost krita[16507]: QCursor: Cannot create bitmap cursor; invalid bitmap(s)
Sep 24 15:55:10 localhost krita[16507]: QCursor: Cannot create bitmap cursor; invalid bitmap(s)
Sep 24 15:55:10 localhost krita[16507]: QCursor: Cannot create bitmap cursor; invalid bitmap(s)
Sep 24 15:55:10 localhost krita[16507]: QCursor: Cannot create bitmap cursor; invalid bitmap(s)
Sep 24 15:55:10 localhost krita[16507]: QCursor: Cannot create bitmap cursor; invalid bitmap(s)
Sep 24 15:55:10 localhost krita[16507]: QCursor: Cannot create bitmap cursor; invalid bitmap(s)
Sep 24 15:55:10 localhost krita[16507]: QCursor: Cannot create bitmap cursor; invalid bitmap(s)
Sep 24 15:55:10 localhost krita[16507]: QCursor: Cannot create bitmap cursor; invalid bitmap(s)
Sep 24 15:55:10 localhost krita[16507]: QCursor: Cannot create bitmap cursor; invalid bitmap(s)
Sep 24 15:55:10 localhost krita[16507]: QCursor: Cannot create bitmap cursor; invalid bitmap(s)
Sep 24 15:55:10 localhost krita[16507]: QCursor: Cannot create bitmap cursor; invalid bitmap(s)
Sep 24 15:55:10 localhost krita[16507]: QCursor: Cannot create bitmap cursor; invalid bitmap(s)
Sep 24 15:55:10 localhost krita[16507]: QCursor: Cannot create bitmap cursor; invalid bitmap(s)
Sep 24 15:55:10 localhost krita[16507]: QCursor: Cannot create bitmap cursor; invalid bitmap(s)
Sep 24 15:55:10 localhost krita[16507]: QCursor: Cannot create bitmap cursor; invalid bitmap(s)
Sep 24 15:55:10 localhost krita[16507]: QCursor: Cannot create bitmap cursor; invalid bitmap(s)
Sep 24 15:55:10 localhost kwin_x11[9103]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 8760, resource id: 50331673, major code: 15 (QueryTree), minor code: 0
Sep 24 15:55:11 localhost drkonqi[16871]: found lsb_release
Sep 24 15:55:11 localhost drkonqi[16871]: Using /proc to determine executable path
Sep 24 15:55:11 localhost drkonqi[16871]: Executable is: "/usr/bin/krita"
Sep 24 15:55:11 localhost drkonqi[16871]: Executable exists: true
Sep 24 15:55:11 localhost drkonqi[16871]: QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-jayaram'
Sep 24 15:55:11 localhost drkonqi[16871]: Enabling drkonqi crash catching
Sep 24 15:55:11 localhost drkonqi[16871]: XSync seems available and ready
Sep 24 15:55:11 localhost drkonqi[16871]: XSync Inited
Sep 24 15:55:11 localhost drkonqi[16871]: Supported, init completed
Sep 24 15:55:11 localhost drkonqi[16871]: Created alarm 60817409
Sep 24 15:55:11 localhost kded5[9068]: Registering "org.kde.StatusNotifierItem-16871-1/StatusNotifierItem" to system tray
Sep 24 15:55:11 localhost plasmashell[9107]: Registering "org.kde.StatusNotifierItem-16871-1/StatusNotifierItem"
Sep 24 15:55:11 localhost plasmashell[9107]: QQuickItem::stackAfter: Cannot stack after 0x23d4630, which must be a sibling
Sep 24 15:55:11 localhost plasmashell[9107]: Currrent active notifications: QHash()
Sep 24 15:55:11 localhost plasmashell[9107]: Guessing partOf as: 0
Sep 24 15:55:11 localhost plasmashell[9107]:  New Notification:  "Krita Closed Unexpectedly" "Please report this error to help improve this software." -1 & Part of: 0
Sep 24 15:55:11 localhost plasmashell[9107]: file:///usr/lib64/qt5/qml/QtQuick/Controls/Button.qml:100: TypeError: Cannot read property of null
Sep 24 15:55:11 localhost plasmashell[9107]: file:///usr/lib64/qt5/qml/QtQuick/Controls/Button.qml:100: TypeError: Cannot read property of null
Sep 24 15:55:11 localhost plasmashell[9107]: Couldn't find node shadow. Skipping rendering.
Sep 24 15:55:13 localhost drkonqi[16871]: Sending SIGSTOP to process




Reproducible: Couldn't Reproduce
Comment 1 Shrinidhi Rao 2016-09-24 10:39:34 UTC
qt 5.7 
plasma 5.8.90
Comment 2 Shrinidhi Rao 2016-09-24 11:05:22 UTC
FYI : we also work in a hostile environment where the home directory and production storage are network based.
Comment 3 wolthera 2016-09-24 18:08:20 UTC
Can you make a backtrace with gdb?
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/Debugging_with_GDB
Comment 4 Shrinidhi Rao 2016-09-26 11:32:21 UTC
2016-09-26 16:43:37]  krita[15514]: segfault at 10000000f ip 00007f829bcff51d sp 00007ffc64497760 error 4 in libc-2.23.so[7f829bc88000+195000]
Comment 5 Halla Rempt 2016-09-26 11:40:31 UTC
I'm afraid that that's not a useful backtrace. If gentoo has a debug build, please use that and give us the full stacktrace.

And could you try running the appimage instead of gentoo packages? I have no idea what gentoo does when build Krita, and I don't have a gentoo system to test that, but if the appimage runs fine, it's a gentoo problem.
Comment 6 Shrinidhi Rao 2016-09-26 11:52:47 UTC
i am running the app image now .. didnt have the time to do a debug build. The app image is much better .. and crashes like 3-4 times a day .. trust me .. its much better than the live version . also we are using glibc 2.23 .
Comment 7 Halla Rempt 2016-09-26 11:55:27 UTC
What are you doing when the appimage crashes for you? It should be pretty stable, unless you get one of the development versions. 

In any case, if there's no crashing-every-5-minutes with the appimage, but there is with whatever gentoo provides, then gentoo must have made a mess of it.
Comment 8 Shrinidhi Rao 2016-09-26 12:08:10 UTC
There is no every 5 mins crash now :) . also its random . when the artist are busy painting or sometimes not paiting . it just crashes with that same segfault with glibc . i suspect the glibc version .
Comment 9 Shrinidhi Rao 2016-09-27 06:35:36 UTC
one thing consistent  when crashing using the appimage is when the artist uses the transform tool and scales the portion and presses enter . krita hangs like for 2 - 3 secs and crashes . but when trying to reproduce it doesnt crash . its like almost random .. but the steps taken by the artist when it crashes is the almost same 90% of the time  .. use transform tool - > scale - > press enter .
Comment 10 Halla Rempt 2016-09-27 09:14:04 UTC
Hm, could be -- about the transform tool, we've got bug 368599 under investigation.

*** This bug has been marked as a duplicate of bug 368599 ***
Comment 11 Shrinidhi Rao 2016-09-28 09:45:45 UTC
I dont think its related to faulty memory . i ran a memcheck to confirm . It happens on 2 of our computers which use only krita .