[okular] [Bug 275203] okular crashes when reading some *.chm files

2020-12-17 Thread Mihail Kasadjikov
https://bugs.kde.org/show_bug.cgi?id=275203

--- Comment #26 from Mihail Kasadjikov  ---
Hi.

Now I still use the old KDE4, okular, chm backend and so on (debian jessie).
But Xserver, mesa and gcc are fresh. And now okular works without crashes.

$ dpkg -l okular* libchm1 *mesa* xserver* libgcc1 libstdc++6 | awk '/^ii/{print
$2" "$3}' | column -t
glx-alternative-mesa0.8.0+nmu1
libchm1 2:0.40a-3+b1
libegl-mesa0:amd64  20.3.0-1
libegl-mesa0:i386   20.3.0-1
libegl1-mesa:amd64  20.3.0-1
libegl1-mesa:i386   20.3.0-1
libgcc1:amd64   1:9.3.0-11ubuntu0~14.04
libgcc1:i3861:9.3.0-11ubuntu0~14.04
libgl1-mesa-dri:amd64   20.3.0-1
libgl1-mesa-dri:i38620.3.0-1
libgl1-mesa-glx:amd64   20.3.0-1
libgl1-mesa-glx:i38620.3.0-1
libglapi-mesa:amd64 20.3.0-1
libglapi-mesa:i386  20.3.0-1
libgles2-mesa:amd64 20.3.0-1
libgles2-mesa:i386  20.3.0-1
libglu1-mesa:amd64  9.0.0-2
libglu1-mesa:i386   9.0.0-2
libglx-mesa0:amd64  20.3.0-1
libglx-mesa0:i386   20.3.0-1
libosmesa6:amd6420.3.0-1
libosmesa6:i386 20.3.0-1
libstdc++6:amd649.3.0-11ubuntu0~14.04
libstdc++6:i386 9.3.0-11ubuntu0~14.04
libwayland-egl1-mesa:amd64  20.3.0-1
mesa-common-dev:amd64   20.3.0-1
mesa-utils  8.2.0-1
mesa-va-drivers:amd64   20.3.0-1
mesa-va-drivers:i38620.3.0-1
mesa-vdpau-drivers:amd6420.3.0-1
mesa-vulkan-drivers:amd64   20.3.0-1
mesa-vulkan-drivers:i38620.3.0-1
okular  4:16.08.2-1.1
okular-extra-backends   4:16.08.2-1.1
xserver-common  2:1.20.9-2.1
xserver-xephyr  2:1.20.9-2.1
xserver-xorg1:7.7+16.1
xserver-xorg-core   2:1.20.9-2.1
xserver-xorg-core-dbgsym2:1.20.9-2.1
xserver-xorg-input-evdev1:2.10.4-1.1
xserver-xorg-input-kbd  1:1.9.0-1.1
xserver-xorg-input-mouse1:1.9.2-1.1
xserver-xorg-legacy 2:1.20.9-2.1
xserver-xorg-video-amdgpu   19.1.0-2.1
xserver-xorg-video-radeon   1:7.10.0-1

Maybe this bug related to difference in SSE2 implementation in intel and AMD.
The same problem was investigated and solved for game Mass Effect for example:
https://cookieplmonster.github.io/2020/07/19/silentpatch-mass-effect/

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

[okular] [Bug 275203] okular crashes when reading some *.chm files

2018-11-16 Thread Mihail Kasadjikov
https://bugs.kde.org/show_bug.cgi?id=275203

Mihail Kasadjikov  changed:

   What|Removed |Added

  Component|CHM backend |XPS backend

--- Comment #21 from Mihail Kasadjikov  ---
Guys.
All information that I can collect as a user I've provided in 2012. And no any
recomendations about how and where to dig, no another activity at all was for 6
years.
I use KDE 4 and Debian 8 on my workstation and laptop and even backported
(rebuilt) the most fresh KDE4 related packages from debian-testing into my
local repo some years ago. But I am not a c++ developer and can not do deep
investigation into source code or libs, stack traces and so on.
What can i do as an user except "just throw out KDE4"?

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

[okular] [Bug 275203] okular crashes when reading some *.chm files

2018-11-16 Thread Mihail Kasadjikov
https://bugs.kde.org/show_bug.cgi?id=275203

--- Comment #22 from Mihail Kasadjikov  ---
So, I have a kubuntu 18.04 on my old laptop (just for some tests not for work)
and I've tried to reproduce this bug on it. It is reproduced.

CPU is AMD Turion(tm) 64 X2 Mobile TL-56.

Application: okular (1.3.3)

Qt Version: 5.9.5
Frameworks Version: 5.44.0
Operating System: Linux 4.15.0-38-generic x86_64
Distribution: Ubuntu 18.04.1 LTS

The crash can be reproduced every time.

-- Backtrace:
Application: Okular (okular), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fa1dc67e800 (LWP 2202))]

Thread 4 (Thread 0x7fa1adf13700 (LWP 2205)):
#0  0x7fa1d536b9f3 in futex_wait_cancelable (private=,
expected=0, futex_word=0x557f623fff48) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x557f623ffef8,
cond=0x557f623fff20) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x557f623fff20, mutex=0x557f623ffef8) at
pthread_cond_wait.c:655
#3  0x7fa1b2bb939b in ?? () from /usr/lib/x86_64-linux-gnu/dri/r300_dri.so
#4  0x7fa1b2bb90c7 in ?? () from /usr/lib/x86_64-linux-gnu/dri/r300_dri.so
#5  0x7fa1d53656db in start_thread (arg=0x7fa1adf13700) at
pthread_create.c:463
#6  0x7fa1d85a088f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fa1bc3fc700 (LWP 2204)):
#0  0x7fa1d858f0b4 in __GI___libc_read (fd=7, buf=0x7fa1bc3fbb60,
nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:27
#1  0x7fa1d32efa00 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x7fa1d32aaf27 in g_main_context_check () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x7fa1d32ab3e0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x7fa1d32ab54c in g_main_context_iteration () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x7fa1d8edc90b in
QEventDispatcherGlib::processEvents(QFlags) ()
from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x7fa1d8e819ea in
QEventLoop::exec(QFlags) () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x7fa1d8ca022a in QThread::exec() () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x7fa1d9359d45 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#9  0x7fa1d8ca516d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x7fa1d53656db in start_thread (arg=0x7fa1bc3fc700) at
pthread_create.c:463
#11 0x7fa1d85a088f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fa1cae97700 (LWP 2203)):
#0  0x7fa1d8593bf9 in __GI___poll (fds=0x7fa1cae96ca8, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x7fa1d5ffe747 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x7fa1d600036a in xcb_wait_for_event () from
/usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x7fa1cdc442a9 in ?? () from
/usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x7fa1d8ca516d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x7fa1d53656db in start_thread (arg=0x7fa1cae97700) at
pthread_create.c:463
#6  0x7fa1d85a088f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fa1dc67e800 (LWP 2202)):
[KCrash Handler]
#6  0x7fa1d9eb23d8 in QWidget::window() const () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#7  0x7fa1d9ec7984 in QWidget::render(QPainter*, QPoint const&, QRegion
const&, QFlags) () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#8  0x7fa1d9ec803b in QWidget::render(QPaintDevice*, QPoint const&, QRegion
const&, QFlags) () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#9  0x7fa1ac9432e2 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5KHtml.so.5
#10 0x7fa1ac943811 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5KHtml.so.5
#11 0x7fa1ac921d87 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5KHtml.so.5
#12 0x7fa1ac926ba8 in khtml::RenderLayer::paintLayer(khtml::RenderLayer*,
QPainter*, QRect const&, bool) () from
/usr/lib/x86_64-linux-gnu/libKF5KHtml.so.5
#13 0x7fa1ac9266b6 in khtml::RenderLayer::paintLayer(khtml::RenderLayer*,
QPainter*, QRect const&, bool) () from
/usr/lib/x86_64-linux-gnu/libKF5KHtml.so.5
#14 0x7fa1ac92674b in khtml::RenderLayer::paintLayer(khtml::RenderLayer*,
QPainter*, QRect const&, bool) () from
/usr/lib/x86_64-linux-gnu/libKF5KHtml.so.5
#15 0x7fa1ac7a7709 in KHTMLView::paint(QPainter*, QRect const&, int, bool*)
() from /usr/lib/x86_64-linux-gnu/libKF5KHtml.so.5
#16 0x7fa1ad45d8ac in ?? () from
/usr/lib/x86_64-linux-gnu/qt5/plugins/okular/generators/okularGenerator_chmlib.so
#17 0x7fa1d8eb25b5 in QMetaObject::activate(QObject*, int, int, void**) ()
from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x7fa1ac7ac195 in KHTMLView::timerEvent(QTimerEvent*) () from
/usr/lib/x86_64-linux-gnu/libKF5KHtml.so.5
#19 0x7fa1d8eb30db in QObject::event(QEvent*) ()

[konqueror] [Bug 275203] okular crashes when reading some *.chm files

2018-10-30 Thread Mihail Kasadjikov
https://bugs.kde.org/show_bug.cgi?id=275203

--- Comment #16 from Mihail Kasadjikov  ---
Created attachment 115988
  --> https://bugs.kde.org/attachment.cgi?id=115988&action=edit
New crash information added by DrKonqi

okular (0.20.2) on KDE Platform 4.14.34 using Qt 4.8.7

Still crashes.

$ okular --version
Qt: 4.8.7
KDE: 4.14.34
Okular: 0.20.2

-- Backtrace (Reduced):
#6  0x7fbc249ac149 in QWidgetPrivate::prepareToRender(QRegion const&,
QFlags) (this=this@entry=0x68c2280, region=...,
renderFlags=...) at kernel/qwidget.cpp:5409
#7  0x7fbc249ad1e9 in QWidgetPrivate::render(QPaintDevice*, QPoint const&,
QRegion const&, QFlags, bool) (this=0x68c2280,
target=target@entry=0x6706540, targetOffset=..., sourceRegion=...,
renderFlags=..., readyToRender=readyToRender@entry=false) at
kernel/qwidget.cpp:5668
#8  0x7fbc249ad619 in QWidget::render(QPaintDevice*, QPoint const&, QRegion
const&, QFlags) (this=this@entry=0x682f850,
target=target@entry=0x6706540, targetOffset=..., sourceRegion=...,
renderFlags=...) at kernel/qwidget.cpp:5184
#9  0x7fbc0feee69e in copyWidget(QRect const&, QPainter*, QWidget*, int,
int, QPixmap*, bool) (r=..., p=p@entry=0x7ffcbcc05f10,
widget=widget@entry=0x682f850, tx=tx@entry=0, ty=ty@entry=602,
buffer=0x6706540, buffered=true) at
../../khtml/rendering/render_replaced.cpp:719
#10 0x7fbc0feeec0a in
khtml::RenderWidget::paintWidget(khtml::RenderObject::PaintInfo&, QWidget*,
int, int, QPixmap**) (pI=..., widget=0x682f850, tx=0, ty=602,
buffer=buffer@entry=0x26954f0) at ../../khtml/rendering/render_replaced.cpp:788

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

[konqueror] [Bug 275203] okular crashes when reading some *.chm files

2018-10-30 Thread Mihail Kasadjikov
https://bugs.kde.org/show_bug.cgi?id=275203

--- Comment #17 from Mihail Kasadjikov  ---
I have two versions of document:
https://yadi.sk/d/Gzc66qSUwHnmeQ — opens normally
https://yadi.sk/d/ONYUBmjLlxtH4A — crashes

And I've discovered that okular crashes on my machine with AMD CPU (A10-6800K).
On my old laptop with intel i7-620L it works with both documents normally.
Maybe the cause is in SSE4a or AVX support?

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