This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Installing krita 2.7.2 on ubuntu gnome 13.10

Tags: None
(comma "," separated)
User avatar
americogobbo
Registered Member
Posts
11
Karma
0
Hi all,
I'm trying install krita 2.7.2 on ubuntu gnome 13.10... I've tested without the backports ppa of kde enabled, but the result is always the same: krita opens only from terminal with 'sudo su'.
I've tried install krita via ubuntu central software (first time in a new box installation), with synaptic reinstall krita... after I've include the backports ppa... the message with normal user via terminal is:
===
jag@saucy:~$ krita
Compiled for arch: ::Vc::SSE41Impl
Features supported:
"SSE2" --- yes
"SSE3" --- yes
"SSSE3" --- yes
"SSE4.1" --- yes
"SSE4.2" --- no
"SSE4a" --- no
"AVX " --- no
QCoreApplication::postEvent: Unexpected null receiver
Segmentation fault (core dumped)
===
Someone can help me?
thanks.
slangkamp
KDE Developer
Posts
607
Karma
4
Did a window open and show a backtrace? If so we need that to see what's happening.
User avatar
americogobbo
Registered Member
Posts
11
Karma
0
Hi,
Well, I've a new install and I verified the executable previleges for all kde and krita files. I've applied chmod o+x in all folders of krita... but it seems isn't here the problem.
Now I've open krita as root, I've an small draw and used some brushes presets and finally save as krita doc, the messages in my terminal are:
===
Compiled for arch: ::Vc::SSE41Impl
Features supported:
"SSE2" --- yes
"SSE3" --- yes
"SSSE3" --- yes
"SSE4.1" --- yes
"SSE4.2" --- no
"SSE4a" --- no
"AVX " --- no
QCoreApplication::postEvent: Unexpected null receiver
QCoreApplication::postEvent: Unexpected null receiver
"/org/freedesktop/UDisks2/drives/HL_DT_ST_DVDRAM_GH22NS70_K2JB52H5542" : property "Drive" does not exist
"/org/freedesktop/UDisks2/drives/ST31000524AS_5VP8QFLM" : property "Drive" does not exist
"/org/freedesktop/UDisks2/drives/ST3500418AS_5VM8PQXV" : property "Drive" does not exist
"/org/freedesktop/UDisks2/drives/ST3500418AS_5VM8PQXV" : property "DeviceNumber" does not exist
"/org/freedesktop/UDisks2/drives/ST3500418AS_5VM8PQXV" : property "Device" does not exist
"/org/freedesktop/UDisks2/drives/ST31000524AS_5VP8QFLM" : property "DeviceNumber" does not exist
"/org/freedesktop/UDisks2/drives/ST31000524AS_5VP8QFLM" : property "Device" does not exist
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20 (X_GetProperty)
Resource id: 0x18
WARNING (KoResourceItemChooser::updatePreview): the resource "2B pencil Grain 2 b" has created a non-rgb32 image thumbnail. It may not work properly.
WARNING (KoResourceItemChooser::updatePreview): the resource "2B pencil Grain 2 b" has created a non-rgb32 image thumbnail. It may not work properly.
connect failed: No such file or directory
krita(23853)/kdeui (kdelibs): No such XML file "/root/.kde/share/apps/"
WARINING: there is no intersection point in the basic smoothing algoriths
WARINING: there is no intersection point in the basic smoothing algoriths
WARNING (KoResourceItemChooser::updatePreview): the resource "2B pencil Grain 2 b" has created a non-rgb32 image thumbnail. It may not work properly.
WARNING (KoResourceItemChooser::updatePreview): the resource "Sc_Scratches2" has created a non-rgb32 image thumbnail. It may not work properly.
WARINING: there is no intersection point in the basic smoothing algoriths
WARINING: there is no intersection point in the basic smoothing algoriths
krita(23853) KArchiveDirectory::addEntry: directory "/" has entry "mimetype" already
QCoreApplication::postEvent: Unexpected null receiver
QCoreApplication::postEvent: Unexpected null receiver
===
I've croped some warnings :) of same kind.
If you open as normal user krita via terminal the program close simply and the errors are on my first message.
Is possible, via terminal have more informations of krita while opens with normal user?

---
I've find a log of crashes on /var/log: apport.log and I paste below:
ERROR: apport (pid 3776) Mon Oct 7 14:33:55 2013: called for pid 3729, signal 11, core limit 0
ERROR: apport (pid 3776) Mon Oct 7 14:33:55 2013: executable: /usr/bin/krita (command line "krita")
ERROR: apport (pid 3776) Mon Oct 7 14:33:55 2013: debug: session gdbus call: (true,)

ERROR: apport (pid 3776) Mon Oct 7 14:34:14 2013: wrote report /var/crash/_usr_bin_krita.1000.crash
ERROR: apport (pid 6385) Mon Oct 7 14:37:26 2013: called for pid 6378, signal 11, core limit 0
ERROR: apport (pid 6385) Mon Oct 7 14:37:26 2013: executable: /usr/bin/krita (command line "krita")
ERROR: apport (pid 6385) Mon Oct 7 14:37:26 2013: debug: session gdbus call: (true,)

ERROR: apport (pid 6385) Mon Oct 7 14:37:26 2013: this executable already crashed 2 times, ignoring
ERROR: apport (pid 13759) Mon Oct 7 14:58:25 2013: called for pid 13736, signal 11, core limit 0
ERROR: apport (pid 13759) Mon Oct 7 14:58:25 2013: executable: /usr/bin/krita (command line "krita")
ERROR: apport (pid 13759) Mon Oct 7 14:58:25 2013: debug: session gdbus call: (true,)

ERROR: apport (pid 13759) Mon Oct 7 14:58:26 2013: this executable already crashed 2 times, ignoring
ERROR: apport (pid 14638) Mon Oct 7 15:00:51 2013: called for pid 14615, signal 11, core limit 0
ERROR: apport (pid 14638) Mon Oct 7 15:00:51 2013: executable: /usr/bin/krita (command line "krita")
ERROR: apport (pid 14638) Mon Oct 7 15:00:51 2013: debug: session gdbus call: (true,)

ERROR: apport (pid 14638) Mon Oct 7 15:00:51 2013: this executable already crashed 2 times, ignoring
ERROR: apport (pid 14825) Mon Oct 7 15:01:25 2013: called for pid 14818, signal 11, core limit 0
ERROR: apport (pid 14825) Mon Oct 7 15:01:25 2013: executable: /usr/bin/krita (command line "krita")
ERROR: apport (pid 14825) Mon Oct 7 15:01:25 2013: debug: session gdbus call: (true,)

ERROR: apport (pid 14825) Mon Oct 7 15:01:25 2013: this executable already crashed 2 times, ignoring
ERROR: apport (pid 15064) Mon Oct 7 15:02:07 2013: called for pid 15041, signal 11, core limit 0
ERROR: apport (pid 15064) Mon Oct 7 15:02:07 2013: executable: /usr/bin/krita (command line "krita")
ERROR: apport (pid 15064) Mon Oct 7 15:02:07 2013: debug: session gdbus call: (true,)

ERROR: apport (pid 15064) Mon Oct 7 15:02:07 2013: this executable already crashed 2 times, ignoring
ERROR: apport (pid 15219) Mon Oct 7 15:02:35 2013: called for pid 15212, signal 11, core limit 0
ERROR: apport (pid 15219) Mon Oct 7 15:02:35 2013: executable: /usr/bin/krita (command line "krita")
ERROR: apport (pid 15219) Mon Oct 7 15:02:35 2013: debug: session gdbus call: (true,)

ERROR: apport (pid 15219) Mon Oct 7 15:02:36 2013: this executable already crashed 2 times, ignoring
ERROR: apport (pid 15632) Mon Oct 7 15:03:51 2013: called for pid 15625, signal 11, core limit 0
ERROR: apport (pid 15632) Mon Oct 7 15:03:51 2013: executable: /usr/bin/krita (command line "krita")
ERROR: apport (pid 15632) Mon Oct 7 15:03:51 2013: debug: session gdbus call: (true,)

ERROR: apport (pid 15632) Mon Oct 7 15:03:51 2013: this executable already crashed 2 times, ignoring
ERROR: apport (pid 15772) Mon Oct 7 15:04:16 2013: called for pid 15765, signal 11, core limit 0
ERROR: apport (pid 15772) Mon Oct 7 15:04:16 2013: executable: /usr/bin/krita (command line "krita")
ERROR: apport (pid 15772) Mon Oct 7 15:04:16 2013: debug: session gdbus call: (true,)

ERROR: apport (pid 15772) Mon Oct 7 15:04:16 2013: this executable already crashed 2 times, ignoring
ERROR: apport (pid 15960) Mon Oct 7 15:04:49 2013: called for pid 15953, signal 11, core limit 0
ERROR: apport (pid 15960) Mon Oct 7 15:04:49 2013: executable: /usr/bin/krita (command line "krita")
ERROR: apport (pid 15960) Mon Oct 7 15:04:49 2013: debug: session gdbus call: (true,)

ERROR: apport (pid 15960) Mon Oct 7 15:04:49 2013: this executable already crashed 2 times, ignoring
ERROR: apport (pid 16328) Mon Oct 7 15:05:56 2013: called for pid 16321, signal 11, core limit 0
ERROR: apport (pid 16328) Mon Oct 7 15:05:56 2013: executable: /usr/bin/krita (command line "krita")
ERROR: apport (pid 16328) Mon Oct 7 15:05:56 2013: debug: session gdbus call: (true,)

ERROR: apport (pid 16328) Mon Oct 7 15:05:57 2013: this executable already crashed 2 times, ignoring
ERROR: apport (pid 16518) Mon Oct 7 15:06:29 2013: called for pid 16511, signal 11, core limit 0
ERROR: apport (pid 16518) Mon Oct 7 15:06:29 2013: executable: /usr/bin/krita (command line "krita")
ERROR: apport (pid 16518) Mon Oct 7 15:06:29 2013: debug: session gdbus call: (true,)

ERROR: apport (pid 16518) Mon Oct 7 15:06:30 2013: this executable already crashed 2 times, ignoring
ERROR: apport (pid 16641) Mon Oct 7 15:06:51 2013: called for pid 16634, signal 11, core limit 0
ERROR: apport (pid 16641) Mon Oct 7 15:06:51 2013: executable: /usr/bin/krita (command line "krita")
ERROR: apport (pid 16641) Mon Oct 7 15:06:51 2013: debug: session gdbus call: (true,)

ERROR: apport (pid 16641) Mon Oct 7 15:06:51 2013: this executable already crashed 2 times, ignoring
ERROR: apport (pid 16796) Mon Oct 7 15:07:19 2013: called for pid 16789, signal 11, core limit 0
ERROR: apport (pid 16796) Mon Oct 7 15:07:19 2013: executable: /usr/bin/krita (command line "krita")
ERROR: apport (pid 16796) Mon Oct 7 15:07:19 2013: debug: session gdbus call: (true,)

ERROR: apport (pid 16796) Mon Oct 7 15:07:19 2013: this executable already crashed 2 times, ignoring
ERROR: apport (pid 17127) Mon Oct 7 15:08:18 2013: called for pid 17120, signal 11, core limit 0
ERROR: apport (pid 17127) Mon Oct 7 15:08:18 2013: executable: /usr/bin/krita (command line "krita")
ERROR: apport (pid 17127) Mon Oct 7 15:08:18 2013: debug: session gdbus call: (true,)

ERROR: apport (pid 17127) Mon Oct 7 15:08:18 2013: this executable already crashed 2 times, ignoring
ERROR: apport (pid 17169) Mon Oct 7 15:08:24 2013: called for pid 17162, signal 11, core limit 0
ERROR: apport (pid 17169) Mon Oct 7 15:08:24 2013: executable: /usr/bin/krita (command line "krita")
ERROR: apport (pid 17169) Mon Oct 7 15:08:24 2013: debug: session gdbus call: (true,)

ERROR: apport (pid 17169) Mon Oct 7 15:08:24 2013: this executable already crashed 2 times, ignoring
ERROR: apport (pid 19696) Mon Oct 7 15:16:06 2013: called for pid 19689, signal 11, core limit 0
ERROR: apport (pid 19696) Mon Oct 7 15:16:06 2013: executable: /usr/bin/krita (command line "krita")
ERROR: apport (pid 19696) Mon Oct 7 15:16:06 2013: debug: session gdbus call: (true,)

ERROR: apport (pid 19696) Mon Oct 7 15:16:06 2013: this executable already crashed 2 times, ignoring
ERROR: apport (pid 21468) Mon Oct 7 15:21:33 2013: called for pid 21461, signal 11, core limit 0
ERROR: apport (pid 21468) Mon Oct 7 15:21:33 2013: executable: /usr/bin/krita (command line "krita")
ERROR: apport (pid 21468) Mon Oct 7 15:21:33 2013: debug: session gdbus call: (true,)

ERROR: apport (pid 21468) Mon Oct 7 15:21:34 2013: this executable already crashed 2 times, ignoring
ERROR: apport (pid 824) Mon Oct 7 15:57:57 2013: called for pid 817, signal 11, core limit 0
ERROR: apport (pid 824) Mon Oct 7 15:57:57 2013: executable: /usr/bin/krita (command line "krita")
ERROR: apport (pid 824) Mon Oct 7 15:57:57 2013: debug: session gdbus call: (true,)

ERROR: apport (pid 824) Mon Oct 7 15:57:57 2013: this executable already crashed 2 times, ignoring
User avatar
americogobbo
Registered Member
Posts
11
Karma
0
I've installed in the same box (ubuntu gnome 13.10) the kde-plasma-desktop.
Reinstall krita on kde desktop and the error is the same.
User avatar
scummos
Global Moderator
Posts
1175
Karma
7
OS
Try to look for a krita-debug or krita-dbg package and install it if it exists. Then, run "gdb krita", type "run", and when it crashes type "backtrace". Post the result here, please.

Greetings,
Sven


I'm working on the KDevelop IDE.
User avatar
americogobbo
Registered Member
Posts
11
Karma
0
Hi,
the packages that you've mentioned don't exists on ubuntu-gnome repositories.
But gdb is already installed.

The backtrace using 'gdb krita' on ubuntu-gnome 13.10 (gnome) and after 'run' are:
===
jag@saucy:~$ gdb krita
GNU gdb (GDB) 7.6-ubuntu
Copyright (C) 2013 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".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/krita...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/krita
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Compiled for arch: ::Vc::SSE41Impl
Features supported:
"SSE2" --- yes
"SSE3" --- yes
"SSSE3" --- yes
"SSE4.1" --- yes
"SSE4.2" --- no
"SSE4a" --- no
"AVX " --- no
[New Thread 0x7fffcc3b0700 (LWP 12027)]
[New Thread 0x7fffcbbaf700 (LWP 12028)]
QCoreApplication::postEvent: Unexpected null receiver
[New Thread 0x7fffcad5e700 (LWP 12029)]
[New Thread 0x7fffca55d700 (LWP 12030)]
[New Thread 0x7fffc9d5c700 (LWP 12031)]
[New Thread 0x7fffc955b700 (LWP 12032)]
[Thread 0x7fffc955b700 (LWP 12032) exited]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffcad5e700 (LWP 12029)]
0x00007fffcd0de7cb in ?? () from /usr/lib/libkritalibbrush.so.12
(gdb)
====

Backtrace using "kde-desktop-plasma" installed in same box:
===
jag@saucy:~$ gdb krita
GNU gdb (GDB) 7.6-ubuntu
Copyright (C) 2013 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".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/krita...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/krita
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Compiled for arch: ::Vc::SSE41Impl
Features supported:
"SSE2" --- yes
"SSE3" --- yes
"SSSE3" --- yes
"SSE4.1" --- yes
"SSE4.2" --- no
"SSE4a" --- no
"AVX " --- no
[New Thread 0x7fffd1c76700 (LWP 15705)]
[New Thread 0x7fffd1475700 (LWP 15706)]
QCoreApplication::postEvent: Unexpected null receiver
[New Thread 0x7fffcbfff700 (LWP 15707)]
[New Thread 0x7fffcb7fe700 (LWP 15708)]
[New Thread 0x7fffcaffd700 (LWP 15709)]
[New Thread 0x7fffca7fc700 (LWP 15710)]
[Thread 0x7fffca7fc700 (LWP 15710) exited]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffcbfff700 (LWP 15707)]
0x0000000000000000 in ?? ()
(gdb)
User avatar
scummos
Global Moderator
Posts
1175
Karma
7
OS
You forgot to type "backtrace" ;)


I'm working on the KDevelop IDE.
User avatar
americogobbo
Registered Member
Posts
11
Karma
0
Sorry :-)
Now with 'backtrace', made on ubuntu-gnome 13.10 (gnome)
====
jag@saucy:~$ gdb krita
GNU gdb (GDB) 7.6-ubuntu
Copyright (C) 2013 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".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/krita...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/krita
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Compiled for arch: ::Vc::SSE41Impl
Features supported:
"SSE2" --- yes
"SSE3" --- yes
"SSSE3" --- yes
"SSE4.1" --- yes
"SSE4.2" --- no
"SSE4a" --- no
"AVX " --- no
[New Thread 0x7fffdc880700 (LWP 32025)]
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
kbuildsycoca4 running...
kbuildsycoca4(32031) KBuildSycoca::checkTimestamps: checking file timestamps
kbuildsycoca4(32031) KBuildSycoca::checkTimestamps: timestamps check ok
kbuildsycoca4(32031) kdemain: Emitting notifyDatabaseChanged ()
[New Thread 0x7fffc7b4a700 (LWP 32033)]
[New Thread 0x7fffc7349700 (LWP 32034)]
QCoreApplication::postEvent: Unexpected null receiver
[New Thread 0x7fffc64f8700 (LWP 32035)]
[New Thread 0x7fffc5cf7700 (LWP 32036)]
[New Thread 0x7fffc54f6700 (LWP 32037)]
[New Thread 0x7fffc4cf5700 (LWP 32038)]
[Thread 0x7fffc4cf5700 (LWP 32038) exited]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffc64f8700 (LWP 32035)]
0x00007fffc88787cb in ?? () from /usr/lib/libkritalibbrush.so.12
(gdb) backtrace
#0 0x00007fffc88787cb in ?? () from /usr/lib/libkritalibbrush.so.12
#1 0x00007fffc8876b32 in KisImagePipeBrush::initFromData(QByteArray const&) ()
from /usr/lib/libkritalibbrush.so.12
#2 0x0000000000000000 in ?? ()
(gdb)
User avatar
halla
KDE Developer
Posts
5092
Karma
20
OS
At a hunch, it looks like your normal user has got a broken .gih file installed. Try moving away .kde/share/apps/krita and restart. If that works, I'd be very interested in that .gih file.
User avatar
americogobbo
Registered Member
Posts
11
Karma
0
Hi Boundewijn,
thanks of tip... I've move all my gih brushes in other folder and krita is open with normal user :-)
I've made some tests with my dynamic brushes made for gimp... some of these brushes are a bit complex (1 or more dimensions) others not.
This is the link for my collection: http://code.google.com/p/forks-and-dril ... loads/list
I'm interested to understand the differences between the dynamic brushes of gimp and krita... it seems that krita has only 1 dimension, is it correct?
The brushes that were in the .kde/share/apps/krita, that caused the crash you can download here: http://forks-and-drills.googlecode.com/ ... hed.tar.gz
On the archive.tar.gz the series centipede-5* are saved on krita.
The original forks-jag_wet-centipede-5.gih have 10 layers, 2 dimensions [5(Random), 2(velocity)], 128x128px,
I don't know the reason... but this series it seems broken...

---
Do you have some documentation about which .gih kind is supported on krita?
--
thanks
User avatar
halla
KDE Developer
Posts
5092
Karma
20
OS
Krita shouldn't crash on any .gih, of course. These are the gimp parasites we support on load:

constant, incremental, random, pressure, angle, tiltx, tilty

We can only create brushes that have constant, incremental, random, pressure and angle parasites.

In general, creating animated brushes in Krita is a bit underdeveloped, probably because most people use presets with the all the other dynamics.
User avatar
americogobbo
Registered Member
Posts
11
Karma
0
Thanks,
About the dimensions... the .gih brushes can be made with until four.
How krita sees the .gih brushes with 2 or more dimensions?
User avatar
halla
KDE Developer
Posts
5092
Karma
20
OS
Judging from the code... I'd say we support all of them. But I see very few gih brushes in real life, so there might be issues. It needs testing.

int chooseNextBrush(const KisPaintInformation& info) const {
quint32 brushIndex = 0;

for (int i = 0; i < m_parasite.dim; i++) {
int index = selectPre(m_parasite.selection[i],
m_parasite.index[i],
m_parasite.rank[i], info);

brushIndex += m_parasite.brushesCount[i] * index;
}
brushIndex %= m_brushes.size();
return brushIndex;
}


Bookmarks



Who is online

Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]