Bug#810501: file: no detection for dosbox's pcjr rom cartrage format

2021-01-10 Thread Francis Laniel
Hi.


First, I hope you are fine and the same for your relatives.

I sent a patch to file which implements the detection of PCjr cartridge file 
based on the information given in this bug report.
The patch was merged yesterday so this bug should now be fixed:
https://github.com/file/file/commit/6fc66d12c0ca172f4681adb63c6f662ac33cbc7c

Le met know if I made a mistake in my implementation.


Best regards.



Bug#931646: Kmail crashes when I click on mail

2019-07-09 Thread Francis Laniel
Hello,


Thank your for your fast answer.

Indeed, the NULL value for abstime seems totally unrelated... I was made wrong 
by the trace colored it in red...

I thank your for the links you provided, they are quite interesting.
This a pain that the big seems really complex and I do not have any knowledge 
in DRM and nouveau...
I will go on with the environment variables as workaround if kmail really 
crashes a lot.


Best regards.

Le mardi 9 juillet 2019, 00:19:32 CEST Bernhard Übelacker a écrit :
> Hello Francis Laniel,
> I am just looking at some crashes in some random packages,
> and found this nouveau issue familiar.
> 
> I guess __pthread_cond_wait_common should be able to
> handle a NULL for abstime - e.g. should "Block without a timeout".
>
> https://sources.debian.org/src/glibc/2.28-10/nptl/pthread_cond_wait.c/#L499
> 
> There are also some many more bugs reported that all end with these
> nouveau_pushbuf_kick/nouveau_pushbuf_data calls triggering
> that "Assertion `kref' failed.", that might be related:
> https://bugs.debian.org/927954
> https://bugs.debian.org/929130
> https://bugs.freedesktop.org/show_bug.cgi?id=91632
> https://bugs.freedesktop.org/show_bug.cgi?id=98039
> https://bugzilla.redhat.com/show_bug.cgi?id=1350275
> https://bugs.archlinux.org/task/59057
> https://bugreports.qt.io/browse/QTBUG-41242
> 
> The last one mentions as a workaround setting an
> environment variable LIBGL_ALWAYS_SOFTWARE=1 or
> QT_XCB_FORCE_SOFTWARE_OPENGL=1, maybe on of these still helps?
> 
> Kind regards,
> Bernhard



Bug#931646: Kmail crashes when I click on mail

2019-07-08 Thread Francis Laniel
Package: kmail
Version: 4:18.08.3-1

When I click on a mail it sometimes crashes kmail.

The bug seems to be caused by the fact that argument abstime of function 
__pthread_cond_wait_common is NULL (see the attached traces).

I have this bug since update to Debian 10 with Linux 4.19.37-5.

Apparently, this bug is related to OpenGL and nouveau driver (https://
bugs.kde.org/show_bug.cgi?id=388050#c1).
If you have some information about it I would like to investigate.Application: KMail (kmail), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7ff1b582cf00 (LWP 1860))]

Thread 33 (Thread 0x7ff114d4d700 (LWP 1931)):
#0  futex_reltimed_wait_cancelable (private=0, reltime=0x7ff114d4c400, 
expected=0, futex_word=0x7ff114d4c5e8) at 
../sysdeps/unix/sysv/linux/futex-internal.h:142
#1  __pthread_cond_wait_common (abstime=0x7ff114d4c4a0, mutex=0x7ff114d4c598, 
cond=0x7ff114d4c5c0) at pthread_cond_wait.c:533
#2  __pthread_cond_timedwait (cond=0x7ff114d4c5c0, mutex=0x7ff114d4c598, 
abstime=0x7ff114d4c4a0) at pthread_cond_wait.c:667
#3  0x7ff1c3950a37 in ?? () from 
/usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#4  0x7ff1c395330a in ?? () from 
/usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#5  0x7ff1c39533f2 in ?? () from 
/usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#6  0x7ff1c3957981 in ?? () from 
/usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#7  0x7ff1c3958e61 in ?? () from 
/usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#8  0x7ff1c3961c81 in ?? () from 
/usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#9  0x7ff1c9efffa3 in start_thread (arg=) at 
pthread_create.c:486
#10 0x7ff1cc4cb4cf in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 32 (Thread 0x7ff11554e700 (LWP 1930)):
#0  futex_reltimed_wait_cancelable (private=0, reltime=0x7ff11554d400, 
expected=0, futex_word=0x7ff11554d5e8) at 
../sysdeps/unix/sysv/linux/futex-internal.h:142
#1  __pthread_cond_wait_common (abstime=0x7ff11554d4a0, mutex=0x7ff11554d598, 
cond=0x7ff11554d5c0) at pthread_cond_wait.c:533
#2  __pthread_cond_timedwait (cond=0x7ff11554d5c0, mutex=0x7ff11554d598, 
abstime=0x7ff11554d4a0) at pthread_cond_wait.c:667
#3  0x7ff1c3950a37 in ?? () from 
/usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#4  0x7ff1c395330a in ?? () from 
/usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#5  0x7ff1c39533f2 in ?? () from 
/usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#6  0x7ff1c3957981 in ?? () from 
/usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#7  0x7ff1c3958e61 in ?? () from 
/usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#8  0x7ff1c3961c81 in ?? () from 
/usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#9  0x7ff1c9efffa3 in start_thread (arg=) at 
pthread_create.c:486
#10 0x7ff1cc4cb4cf in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 31 (Thread 0x7ff115d4f700 (LWP 1929)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x7ff1c14b8fb8) at 
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x7ff1c14b8f68, 
cond=0x7ff1c14b8f90) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x7ff1c14b8f90, mutex=0x7ff1c14b8f68) at 
pthread_cond_wait.c:655
#3  0x7ff1c13c2e6a in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#4  0x7ff1c13c2e89 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#5  0x7ff1c9efffa3 in start_thread (arg=) at 
pthread_create.c:486
#6  0x7ff1cc4cb4cf in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 30 (Thread 0x7ff116550700 (LWP 1916)):
#0  0x7557db34 in clock_gettime ()
#1  0x7ff1cc4d8ff6 in __GI___clock_gettime (clock_id=1, tp=0x7ff11654f3e0) 
at ../sysdeps/unix/clock_gettime.c:115
#2  0x7ff1cc9d21a1 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x7ff1cc9d09d9 in QTimerInfoList::updateCurrentTime() () from 
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x7ff1cc9d0fd5 in QTimerInfoList::timerWait(timespec&) () from 
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x7ff1cc9d25fe in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x7ff1c937a669 in g_main_context_prepare () from 
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x7ff1c937b06b in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x7ff1c937b25c in g_main_context_iteration () from 
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x7ff1cc9d287b in 
QEventDispatcherGlib::processEvents(QFlags) () 
from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x7ff1cc98027b in 
QEventLoop::exec(QFlags) () from 
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x7ff1cc7cfec6 in QThread::exec() () from 
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x7ff1cc7d9aa7 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x7ff1c9efffa3 in start_thread (arg=) at 
pthread_create.c:486