Bug#918370: libqt5gui5: Krita crashes with with QT 5.11.3

2019-01-22 Thread Lisandro Damián Nicanor Pérez Meyer
Control: tag -1 - moreinfo

On Mon, 21 Jan 2019 at 15:21, Dominique Dumont  wrote:
>
> On Sunday, 20 January 2019 10:59:36 CET Dominique Dumont wrote:
> > My daughter will do further tests and I'll keep you posted.
>
> She has used a Wacom tablet with krita the whole afternoon without problem.

Thanks to you all

I have just requested a binNMU for krita on all archs, this should be
enough to solve this bug.

Cheers!

-- 
Lisandro Damián Nicanor Pérez Meyer
http://perezmeyer.com.ar/
http://perezmeyer.blogspot.com/



Bug#918370: libqt5gui5: Krita crashes with with QT 5.11.3

2019-01-21 Thread Lisandro Damián Nicanor Pérez Meyer
tag 918370 moreinfo
thanks

El domingo, 20 de enero de 2019 06:59:36 -03 Dominique Dumont escribió:
> On vendredi 18 janvier 2019 18:44:41 CET Bernhard Übelacker wrote:
> > But I guess a Qt version containing a fix will not appear for Buster,
> > I wonder if the workarounds [1][2] for krita should be applied?
> 
> Looks like krita 4.1.7 already contains this workaround. Here's the relevant
> part found in krita 4.1.7 tarball (in libs/ui/input/kis_input_manager.cpp):
> 
> // See https://bugreports.qt.io/browse/QTBUG-72488
> #if QT_VERSION < QT_VERSION_CHECK(5, 11, 3)
> 
> But this workaround has no effect if krita was built with qt lib older than
> 5.11.3
> 
> I've rebuilt krita with up-to-date qt libs and the first test shows that
> krita no longer crashes using a tablet.
> 
> My daughter will do further tests and I'll keep you posted.
> 
> All the best

Thanks Dominique! If this is the case then we can simply fix it with a binNMU. 
Waiting for your results then.


-- 
Those are my principles. If you don't like them I have others.
 -- Groucho Marx

Lisandro Damián Nicanor Pérez Meyer
http://perezmeyer.com.ar/
http://perezmeyer.blogspot.com/


signature.asc
Description: This is a digitally signed message part.


Bug#918370: libqt5gui5: Krita crashes with with QT 5.11.3

2019-01-06 Thread Bernhard Übelacker
Control: reassign 918370 krita 1:4.1.7+dfsg-1
Control: tags 918370 + upstream fixed-upstream patch

Hello Johnny, dear Maintainer
I tried to get some more information, but I think it is not
reproducable without that tablet hardware.

For future bug reports it would be very helpful if debug symbols
get installed before retrieving the backtrace [1].

Find below the last frames what I assume they look like.

That looks really similar to upstream bug report [2].
And that report [2] has a duplicate [3], that seems to
be opened by you. It would have also been very helpful
if you noted that you already opened that bug upstream,
and got already some feedback there.

[2] points to two commits for each branches master and krita/4.1.

Kind regards,
Bernhard


[1] https://wiki.debian.org/HowToGetABacktrace#Installing_the_debugging_symbols
[2] https://bugs.kde.org/show_bug.cgi?id=401988
[3] https://bugs.kde.org/show_bug.cgi?id=402844


#0  0x7fa49789485b in raise () from /lib/x86_64-linux-gnu/libc.so.6: 
0x7fa497894859 <__GI_raise+265>: syscall
#1  0x7fa49787f535 in abort () from /lib/x86_64-linux-gnu/libc.so.6: 
0x7fa49787f530 <+284>:   callq  0x7fa497894750 <__GI_raise>
#2  0x7fa4978d6718 in __libc_message () from 
/lib/x86_64-linux-gnu/libc.so.6: 0x7fa4978d6713 <__libc_message+707>: 
callq  0x7fa49787f414 <__GI_abort>
#3  0x7fa4978dce3a in malloc_printerr () from 
/lib/x86_64-linux-gnu/libc.so.6: 0x7fa4978dce35 : 
callq  0x7fa4978d6450 <__libc_message>
#4  0x7fa4978de91d in _int_free () from /lib/x86_64-linux-gnu/libc.so.6: 
0x7fa4978de918 <_int_free+1608>: callq  0x7fa4978dce20 
#5  0x7fa4981dfcd0 in QTabletEvent::~QTabletEvent() () from 
/usr/lib/x86_64-linux-gnu/libQt5Gui.so.5: 0x7fa4981dfccb 
:   callq  0x7fa4981864e0 <_ZdlPvm@plt>
#6  0x7fa499df9497 in processTabletEvent () from 
/usr/lib/x86_64-linux-gnu/libkritaui.so.17: 0x7fa499df9492 
:callq 
 0x7fa499961660 <_ZN12QTabletEventD1Ev@plt>
#7  0x7fa499df3105 in QXcbConnection::xi2ReportTabletEvent () from 
/usr/lib/x86_64-linux-gnu/libkritaui.so.17: 0x7fa499df3100 
: 
  callq  0x7fa499df97a0 , double, int, 
int, double, double, int, long long, QFlags)>
#8  0x7fa499df3464 in QXcbConnection::xi2HandleTabletEvent () from 
/usr/lib/x86_64-linux-gnu/libkritaui.so.17: 0x7fa499df345f 
: callq  0x7fa499df2ef0 

#9  0x7fa499df7119 in QXcbConnection::xi2HandleEvent () from 
/usr/lib/x86_64-linux-gnu/libkritaui.so.17: 0x7fa499df7114 
:callq  0x7fa499df3360 

#10 0x7fa499dfa7f8 in KisXi2EventFilter::nativeEventFilter (eventType=..., 
result=, message=0x7fa48800f970, this=0x7fa49ac832c0 
<_ZZN12_GLOBAL__N_116Q_QGS_s_instance13innerFunctionEvE6holder>) at 
./libs/ui/input/wintab/kis_xi2_event_filter.cpp:115
...



Bug#918370: libqt5gui5: Krita crashes with with QT 5.11.3

2019-01-05 Thread Johnny
Package: libqt5gui5
Version: 5.11.3+dfsg-2
Severity: important

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
 Start krita use the use the huion pencil
   * What exactly did you do (or not do) that was effective (or
 ineffective)?
 Use the huion tablet pencil in krita.
   * What was the outcome of this action?
 Crash backtrace below.
   [New Thread 0x7fff8dffe700 (LWP 4662)]
free(): double free detected in tcache 2

Thread 1 "krita" received signal SIGABRT, Aborted.
0x74baa85b in raise () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) thread apply all backtrace

Thread 36 (Thread 0x7fff8dffe700 (LWP 4662)):
#0  0x72bc53d9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/lib/x86_64-linux-gnu/libpthread.so.0
#1  0x74f9436c in QWaitCondition::wait(QMutex*, unsigned long) () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x74f8c1d2 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x74f93cd7 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x72bbefa3 in start_thread () from /lib/x86_64-linux-
gnu/libpthread.so.0
#5  0x74c6c88f in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 35 (Thread 0x7fff8d7fd700 (LWP 4661)):
#0  0x72bc53d9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/lib/x86_64-linux-gnu/libpthread.so.0
#1  0x74f9436c in QWaitCondition::wait(QMutex*, unsigned long) () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x74f8c1d2 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x74f93cd7 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x72bbefa3 in start_thread () from /lib/x86_64-linux-
gnu/libpthread.so.0
#5  0x74c6c88f in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 34 (Thread 0x7fff8cffc700 (LWP 4660)):
#0  0x72bc53d9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/lib/x86_64-linux-gnu/libpthread.so.0
#1  0x74f9436c in QWaitCondition::wait(QMutex*, unsigned long) () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x74f8c1d2 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x74f93cd7 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x72bbefa3 in start_thread () from /lib/x86_64-linux-
gnu/libpthread.so.0
#5  0x74c6c88f in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 33 (Thread 0x7fff5bff4700 (LWP 4659)):
#0  0x72bc53d9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/lib/x86_64-linux-gnu/libpthread.so.0
#1  0x74f9436c in QWaitCondition::wait(QMutex*, unsigned long) () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x74f8c1d2 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x74f93cd7 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x72bbefa3 in start_thread () from /lib/x86_64-linux-
gnu/libpthread.so.0
#5  0x74c6c88f in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 28 (Thread 0x7fffb0eef700 (LWP 4654)):
#0  0x72bc53d9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/lib/x86_64-linux-gnu/libpthread.so.0
#1  0x74f9436c in QWaitCondition::wait(QMutex*, unsigned long) () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x74f8c1d2 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x74f93cd7 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x72bbefa3 in start_thread () from /lib/x86_64-linux-
gnu/libpthread.so.0
#5  0x74c6c88f in clone () from /lib/x86_64-linux-gnu/libc.so.6
--Type  for more, q to quit, c to continue without paging--

Thread 27 (Thread 0x7fffb1ef1700 (LWP 4653)):
#0  0x72bc53d9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/lib/x86_64-linux-gnu/libpthread.so.0
#1  0x74f9436c in QWaitCondition::wait(QMutex*, unsigned long) () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x74f8c1d2 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x74f93cd7 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x72bbefa3 in start_thread () from /lib/x86_64-linux-
gnu/libpthread.so.0
#5  0x74c6c88f in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 26 (Thread 0x7fffb16f0700 (LWP 4652)):
#0  0x72bc53d9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/lib/x86_64-linux-gnu/libpthread.so.0
#1  0x74f9436c in QWaitCondition::wait(QMutex*, unsigned long) () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x74f8c1d2 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x74f93cd7 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x72bbefa3 in start_thread () from /lib/x86_64-linux-
gnu/libpthread.so.0
#5  0x74c6c88f in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 25 (Thread 0x7fffb26f2700 (LWP 4651)):
#0  0x72bc53d9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from