[krita] [Bug 380927] Krita quits each time I try to insert any shape

2017-06-09 Thread Rafael
https://bugs.kde.org/show_bug.cgi?id=380927

--- Comment #15 from Rafael  ---
(In reply to Boudewijn Rempt from comment #14)
> Ah, that sounds like the bug I fixed yesterday, though, that also had an
> infinite recursions. Could you paste the first page?

These are the last lines AFTER "run" but BEFORE crashing (I think there are
errors in there):

KConfigIni: In file /usr/share/pci.ids, line 29056: " Invalid entry (missing
'=')
"KConfigIni: In file /usr/share/pci.ids, line 29057: " Invalid entry (missing
'=')
"KConfigIni: In file /usr/share/pci.ids, line 29058: " Invalid entry (missing
'=')
[New Thread 0x7fffab36a700 (LWP 23829)]
[Thread 0x7fffab36a700 (LWP 23829) exited]
[New Thread 0x7fffab36a700 (LWP 23830)]
QLayout: Attempting to add QLayout "" to QWidget "", which already has a layout
Missing separate debuginfo for /usr/lib64/libcurl.so.4
Try: zypper install -C
"debuginfo(build-id)=0ab1a9ff834c649d1151de890215c929ccae1093"
Missing separate debuginfo for /usr/lib64/libgomp.so.1
Try: zypper install -C
"debuginfo(build-id)=13c8f565d3fb913fe54fd59763c32ac782bf043a"
Missing separate debuginfo for /usr/lib64/libnghttp2.so.14
Try: zypper install -C
"debuginfo(build-id)=fe98016066fb5cb389ca322ecd35399b7d03528c"
Missing separate debuginfo for /usr/lib64/libidn2.so.0
Try: zypper install -C
"debuginfo(build-id)=50911ac84863cc239d1ef2064b6ae3e8cb0c7064"
Missing separate debuginfo for /usr/lib64/libssh2.so.1
Try: zypper install -C
"debuginfo(build-id)=7666ac5befba7792ccc6481d8f43a005a5ef1054"
Missing separate debuginfo for /usr/lib64/libpsl.so.5
Try: zypper install -C
"debuginfo(build-id)=13f3d8c4f990e7f4ef47e5f8b5dba912edb4e25f"
Missing separate debuginfo for /usr/lib64/libgssapi_krb5.so.2
Try: zypper install -C
"debuginfo(build-id)=57d166ef6752c77bdba07868658458c5c0996b14"
Missing separate debuginfo for /usr/lib64/liblber-2.4.so.2
Try: zypper install -C
"debuginfo(build-id)=4818338af5510370793cf8696c78a395edacb103"
Missing separate debuginfo for /usr/lib64/libldap-2.4.so.2
Try: zypper install -C
"debuginfo(build-id)=433343ff4464cf44f1f4ee60f149b93ff622a7f1"
Missing separate debuginfo for /usr/lib64/libunistring.so.2
Try: zypper install -C
"debuginfo(build-id)=108ebd5db1e8b08d4c2672e73322006f5c22859c"
Missing separate debuginfo for /usr/lib64/libkrb5.so.3
Try: zypper install -C
"debuginfo(build-id)=d8853a396063b24f3dd83337a5257e17569bd8ae"
Missing separate debuginfo for /usr/lib64/libk5crypto.so.3
Try: zypper install -C
"debuginfo(build-id)=e90b756197bea351dafd747d53acf2249a146b90"
Missing separate debuginfo for /lib64/libcom_err.so.2
Try: zypper install -C
"debuginfo(build-id)=cfc341326dc2321327f9519e8b9a3c4b3c28a3a6"
Missing separate debuginfo for /usr/lib64/libkrb5support.so.0
Try: zypper install -C
"debuginfo(build-id)=1d9059d1a77e708cbca7149a93812b94f51705ce"
Missing separate debuginfo for /usr/lib64/libsasl2.so.3
Try: zypper install -C
"debuginfo(build-id)=68d62b407e52f23e0004330be0bf0e8a3e7a0c50"
Missing separate debuginfo for /usr/lib64/libkeyutils.so.1
Try: zypper install -C
"debuginfo(build-id)=e5410c27330fed0e9e88095d7bc25caad40b643a"
[Thread 0x7fffc77dd700 (LWP 23825) exited]
[Thread 0x7fffc7fde700 (LWP 23824) exited]
[Thread 0x7fffc87df700 (LWP 23823) exited]
[Thread 0x7fffc8fe0700 (LWP 23822) exited]

This are the new lines AFTER crash but BEFORE "thread apply all bt":
krita.lib.widgets: KoToolBox::setActiveTool( 9 ): no such button found
[Thread 0x7fffc77dd700 (LWP 23909) exited]
[Thread 0x7fffc87df700 (LWP 23908) exited]
[Thread 0x7fffc7fde700 (LWP 23906) exited]
[Thread 0x7fffc8fe0700 (LWP 23907) exited]
[New Thread 0x7fffc8fe0700 (LWP 24982)]
[New Thread 0x7fffc7fde700 (LWP 24983)]
[New Thread 0x7fffc87df700 (LWP 24984)]
[New Thread 0x7fffc77dd700 (LWP 24985)]

Thread 1 "krita" received signal SIGSEGV, Segmentation fault.
0x73271347 in ?? () from /usr/lib64/libxcb.so.1
(gdb) 

And here are the first large page after 
(gdb) thread apply all bt

Thread 27 (Thread 0x7fffc77dd700 (LWP 24985)):
#0  0x7fffeeb2a91c in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x7561aa08 in QWaitCondition::wait(QMutex*, unsigned long) () from
/usr/lib64/libQt5Core.so.5
#2  0x75615ebc in ?? () from /usr/lib64/libQt5Core.so.5
#3  0x756197cc in ?? () from /usr/lib64/libQt5Core.so.5
#4  0x7fffeeb244e7 in start_thread () from /lib64/libpthread.so.0
#5  0x74d10a2f in clone () from /lib64/libc.so.6

Thread 26 (Thread 0x7fffc87df700 (LWP 24984)):
#0  0x7fffeeb2a91c in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x7561aa08 in QWaitCondition::wait(QMutex*, unsigned long) () from
/usr/lib64/libQt5Core.so.5
#2  0x75615ebc in ?? () from /usr/lib64/libQt5Core.so.5
#3  0x756197cc in ?? () from /usr/lib64/libQt5Core.so.5
#4  0x7fffeeb244e7 in start_thread () from /lib64/libpthread.so.0
#5  0x74d10a2f in clone () from /lib64/libc.so.6

Thread 25 (Thread 0x7fffc7fde700 (LWP 24983)):
#0  0x7f

[krita] [Bug 380927] Krita quits each time I try to insert any shape

2017-06-09 Thread Boudewijn Rempt
https://bugs.kde.org/show_bug.cgi?id=380927

--- Comment #14 from Boudewijn Rempt  ---
Ah, that sounds like the bug I fixed yesterday, though, that also had an
infinite recursions. Could you paste the first page?

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 380927] Krita quits each time I try to insert any shape

2017-06-08 Thread Rafael
https://bugs.kde.org/show_bug.cgi?id=380927

--- Comment #13 from Rafael  ---
(In reply to Boudewijn Rempt from comment #3)
> type "thread apply all bt"
After this, terminal requires me to press "return" too much times, so part of
the text is lost. There must be some other way to get that text.
> and scroll until the end, then copy/paste

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 380927] Krita quits each time I try to insert any shape

2017-06-08 Thread Boudewijn Rempt
https://bugs.kde.org/show_bug.cgi?id=380927

--- Comment #12 from Boudewijn Rempt  ---
Ah, tumbleweed.  I cannot use that on my desktop because it breaks virtualbox,
but I guess I should install a vm, install krita and the debug symbols.

On opensuse, to get debug symbols, you need to enable the -Debug repositories
in Yast/Software Repositories, btw -- they are disabled by default.

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 380927] Krita quits each time I try to insert any shape

2017-06-07 Thread Rafael
https://bugs.kde.org/show_bug.cgi?id=380927

--- Comment #11 from Rafael  ---
(In reply to Boudewijn Rempt from comment #8)
> Yes -- no problem at all. I wonder if the problem is the version of Qt in
> opensuse or something like that. Which repo does Krita 3.1.4 come from?

The repo is http://download.opensuse.org/tumbleweed/repo/oss/

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 380927] Krita quits each time I try to insert any shape

2017-06-07 Thread Rafael
https://bugs.kde.org/show_bug.cgi?id=380927

--- Comment #10 from Rafael  ---
(In reply to mvowada from comment #7)
> (In reply to Rafael from comment #6)
> > In the appimage the issue is not present, it's working.
> > 
> > What's the matter now? Must I wait for a new version in OpenSUSE repos?
> > 
> > Regards
> 
> Hi Rafael and Boudewijn,
> Is it working well for you even with the rectangle shape?
> Apparently, I'm able to reproduce the crash with that.
> 
> GDB report and video example here:
> https://bugs.kde.org/show_bug.cgi?id=380436#c1

Yes, the appimage is working with any shape.

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 380927] Krita quits each time I try to insert any shape

2017-06-07 Thread mvowada
https://bugs.kde.org/show_bug.cgi?id=380927

--- Comment #9 from mvowada  ---
(In reply to Boudewijn Rempt from comment #8)
> Which repo does Krita 3.1.4 come from?

Thank you.
I'm guessing you asked Rafael about the OpenSUSE repo...
Me, I'm testing on Ubuntu 14.04 with Krita 3.1.4 appimage, Linux (x86_64)
release 3.13.0-39-generic

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 380927] Krita quits each time I try to insert any shape

2017-06-07 Thread Boudewijn Rempt
https://bugs.kde.org/show_bug.cgi?id=380927

--- Comment #8 from Boudewijn Rempt  ---
Yes -- no problem at all. I wonder if the problem is the version of Qt in
opensuse or something like that. Which repo does Krita 3.1.4 come from?

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 380927] Krita quits each time I try to insert any shape

2017-06-07 Thread mvowada
https://bugs.kde.org/show_bug.cgi?id=380927

mvowada  changed:

   What|Removed |Added

 CC||[email protected]

--- Comment #7 from mvowada  ---
(In reply to Rafael from comment #6)
> In the appimage the issue is not present, it's working.
> 
> What's the matter now? Must I wait for a new version in OpenSUSE repos?
> 
> Regards

Hi Rafael and Boudewijn,
Is it working well for you even with the rectangle shape?
Apparently, I'm able to reproduce the crash with that.

GDB report and video example here:
https://bugs.kde.org/show_bug.cgi?id=380436#c1

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 380927] Krita quits each time I try to insert any shape

2017-06-07 Thread Rafael
https://bugs.kde.org/show_bug.cgi?id=380927

--- Comment #6 from Rafael  ---
In the appimage the issue is not present, it's working.

What's the matter now? Must I wait for a new version in OpenSUSE repos?

Regards

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 380927] Krita quits each time I try to insert any shape

2017-06-07 Thread Rafael
https://bugs.kde.org/show_bug.cgi?id=380927

--- Comment #5 from Rafael  ---
(In reply to Boudewijn Rempt from comment #3)
> You should automatically get a backtrace in a dr konqui crash window. If
> that doesn't work, start on the command line with gdb:
> 
> gdb krita
> run
> reproduce crash
> type "thread apply all bt"
> and scroll until the end, then copy/paste

I didn't hear about Dr Konqui in last 2 versions of OpenSUSE. I think it's not
installed (or even exist) in newer versions.

About gdb, I launch "gdb krita" and then:
GNU gdb (GDB; openSUSE Tumbleweed) 7.12.1
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
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-suse-linux".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
.
Find the GDB manual and other documentation resources online at:
.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from krita...Missing separate debuginfo for /usr/bin/krita
Try: zypper install -C
"debuginfo(build-id)=5a9e9021f136a7356d5d616da8d8c281b099bd28"
(no debugging symbols found)...done.

But  zypper install -C
"debuginfo(build-id)=5a9e9021f136a7356d5d616da8d8c281b099bd28" doesn't work
(that kind of command NEVER works in my experiencie). So I installed
"krita-devel" and ... same results.

About appimage, I'll try later.

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 380927] Krita quits each time I try to insert any shape

2017-06-07 Thread Boudewijn Rempt
https://bugs.kde.org/show_bug.cgi?id=380927

--- Comment #4 from Boudewijn Rempt  ---
Oh -- and could you confirm that the appimage doesn't crash for you?

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 380927] Krita quits each time I try to insert any shape

2017-06-07 Thread Boudewijn Rempt
https://bugs.kde.org/show_bug.cgi?id=380927

--- Comment #3 from Boudewijn Rempt  ---
You should automatically get a backtrace in a dr konqui crash window. If that
doesn't work, start on the command line with gdb:

gdb krita
run
reproduce crash
type "thread apply all bt"
and scroll until the end, then copy/paste

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 380927] Krita quits each time I try to insert any shape

2017-06-07 Thread Rafael
https://bugs.kde.org/show_bug.cgi?id=380927

Rafael  changed:

   What|Removed |Added

 CC||[email protected]

--- Comment #2 from Rafael  ---
Sorry, I didn't consider it a duplicate error, cause the bug 378328 is under
"Text tools" and I considered this bug is a "Vector objects" one.
I'm sorry.

I'll try to get a backtrace (but not sure how to do it apart of installing
debug files).

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 380927] Krita quits each time I try to insert any shape

2017-06-07 Thread Boudewijn Rempt
https://bugs.kde.org/show_bug.cgi?id=380927

Boudewijn Rempt  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 CC||[email protected]
 Resolution|--- |DUPLICATE

--- Comment #1 from Boudewijn Rempt  ---
Hi Rafael,

This has been reported already. I could reproduce it, but only in the master
branch, not with the 3.1.4 appimage, so I'm not sure what's up there. It could
be useful if you'd install the debug packages, reproduce and attach the
backtrace the bug 378328

*** This bug has been marked as a duplicate of bug 378328 ***

-- 
You are receiving this mail because:
You are watching all bug changes.