[okular] [Bug 447409] New: okular crash when try to insert annotation stamp

2021-12-23 Thread tommaso
https://bugs.kde.org/show_bug.cgi?id=447409

Bug ID: 447409
   Summary: okular crash when try to insert annotation stamp
   Product: okular
   Version: 21.12.0
  Platform: Neon Packages
OS: Linux
Status: REPORTED
  Keywords: drkonqi
  Severity: crash
  Priority: NOR
 Component: general
  Assignee: okular-devel@kde.org
  Reporter: codice...@gmail.com
  Target Milestone: ---

Application: okular (21.12.0)

Qt Version: 5.15.3
Frameworks Version: 5.89.0
Operating System: Linux 5.11.0-43-generic x86_64
Windowing System: X11
Distribution: KDE neon User - Plasma 25th Anniversary Edition
DrKonqi: 5.23.4 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
in annotation option i selected stamp to insert and okular is crashed

The crash can be reproduced every time.

-- Backtrace:
Application: Okular (okular), signal: Segmentation fault

[New LWP 24844]
[New LWP 24851]
[New LWP 24852]
[New LWP 24853]
[New LWP 24854]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x7fd1df7fdaff in __GI___poll (fds=0x7ffc0f5b23f8, nfds=1, timeout=1000) at
../sysdeps/unix/sysv/linux/poll.c:29
__preamble__
[Current thread is 1 (Thread 0x7fd1dbc92980 (LWP 24839))]

Thread 6 (Thread 0x7fd1c6048700 (LWP 24854)):
#0  futex_wait_cancelable (private=, expected=0,
futex_word=0x55e06661ac18) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55e06661abc8,
cond=0x55e06661abf0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55e06661abf0, mutex=0x55e06661abc8) at
pthread_cond_wait.c:638
#3  0x7fd1d0f56e7b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x7fd1d0f56a7b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x7fd1ded18609 in start_thread (arg=) at
pthread_create.c:477
#6  0x7fd1df80a293 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7fd1c6849700 (LWP 24853)):
#0  futex_wait_cancelable (private=, expected=0,
futex_word=0x55e06661ac18) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55e06661abc8,
cond=0x55e06661abf0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55e06661abf0, mutex=0x55e06661abc8) at
pthread_cond_wait.c:638
#3  0x7fd1d0f56e7b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x7fd1d0f56a7b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x7fd1ded18609 in start_thread (arg=) at
pthread_create.c:477
#6  0x7fd1df80a293 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fd1c2849700 (LWP 24852)):
#0  futex_wait_cancelable (private=, expected=0,
futex_word=0x55e06661ac18) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55e06661abc8,
cond=0x55e06661abf0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55e06661abf0, mutex=0x55e06661abc8) at
pthread_cond_wait.c:638
#3  0x7fd1d0f56e7b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x7fd1d0f56a7b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x7fd1ded18609 in start_thread (arg=) at
pthread_create.c:477
#6  0x7fd1df80a293 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fd1d0bbc700 (LWP 24851)):
#0  futex_wait_cancelable (private=, expected=0,
futex_word=0x55e06661ac18) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55e06661abc8,
cond=0x55e06661abf0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55e06661abf0, mutex=0x55e06661abc8) at
pthread_cond_wait.c:638
#3  0x7fd1d0f56e7b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x7fd1d0f56a7b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x7fd1ded18609 in start_thread (arg=) at
pthread_create.c:477
#6  0x7fd1df80a293 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fd1d9792700 (LWP 24844)):
#0  0x7fd1df7fdaff in __GI___poll (fds=0x7fd1cc004e60, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x7fd1de2f636e in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x7fd1de2f64a3 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x7fd1dfdcb61b in QEventDispatcherGlib::processEvents
(this=0x7fd1cc000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x7fd1dfd6f8ab in QEventLoop::exec (this=this@entry=0x7fd1d9791bf0,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x7fd1dfb892c2 in QThread::exec (this=) at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x7fd1e002cf4b in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5

[Okular-devel] [Bug 243434] crash when painting (PagePainter::scalePixmapOnImage with no backbuffer)

2010-12-27 Thread Tommaso Massimi
https://bugs.kde.org/show_bug.cgi?id=243434


Tommaso Massimi  changed:

   What|Removed |Added

 CC||tmass...@gmail.com




--- Comment #19 from Tommaso Massimi   2010-12-27 11:39:39 
---
Hi,
I have the same problem with okular version 0.11.2
I confirm that the problem disappear if I disable the side bar.

The problem appears each time I open the document I'm going to attach
Bye

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Okular-devel mailing list
Okular-devel@kde.org
https://mail.kde.org/mailman/listinfo/okular-devel


[Okular-devel] [Bug 243434] crash when painting (PagePainter::scalePixmapOnImage with no backbuffer)

2010-12-27 Thread Tommaso Massimi
https://bugs.kde.org/show_bug.cgi?id=243434





--- Comment #20 from Tommaso Massimi   2010-12-27 11:50:15 
---
Created an attachment (id=55283)
 --> (http://bugs.kde.org/attachment.cgi?id=55283)
pdf doc

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Okular-devel mailing list
Okular-devel@kde.org
https://mail.kde.org/mailman/listinfo/okular-devel


[Okular-devel] [Bug 243434] crash when painting (PagePainter::scalePixmapOnImage with no backbuffer)

2010-12-27 Thread Tommaso Massimi
https://bugs.kde.org/show_bug.cgi?id=243434





--- Comment #22 from Tommaso Massimi   2010-12-27 15:17:23 
---
Here it is.
I can open this document on my PC, only on my brother's PC I can see this
crash.

[...@sport ~]$ valgrind /usr/bin/okular /home/max/Desktop/doc.pdf 
==14056== Memcheck, a memory error detector
==14056== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al.
==14056== Using Valgrind-3.5.0 and LibVEX; rerun with -h for copyright info
==14056== Command: /usr/bin/okular /home/max/Desktop/doc.pdf
==14056== 
okular(14056)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
okular(14056)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
==14056== Conditional jump or move depends on uninitialised value(s)
==14056==at 0xA4DA6C7: ??? (in /usr/lib/kde4/okularpart.so)
==14056==by 0x4915FF2: QWidget::event(QEvent*) (in
/usr/lib/libQtGui.so.4.7.1)
==14056==by 0x4D49EA4: QFrame::event(QEvent*) (in
/usr/lib/libQtGui.so.4.7.1)
==14056==by 0x4DE93D0: QAbstractScrollArea::viewportEvent(QEvent*) (in
/usr/lib/libQtGui.so.4.7.1)
==14056==by 0xA4E08DD: ??? (in /usr/lib/kde4/okularpart.so)
==14056==by 0x4DEBE65: ??? (in /usr/lib/libQtGui.so.4.7.1)
==14056==by 0x56A4FBD:
QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) (in
/usr/lib/libQtCore.so.4.7.1)
==14056==by 0x48B570C: QApplicationPrivate::notify_helper(QObject*,
QEvent*) (in /usr/lib/libQtGui.so.4.7.1)
==14056==by 0x48BD667: QApplication::notify(QObject*, QEvent*) (in
/usr/lib/libQtGui.so.4.7.1)
==14056== 
okular(14056)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
==14056== Invalid read of size 4
==14056==at 0xA4C880D: ??? (in /usr/lib/kde4/okularpart.so)
==14056==by 0xA4C8EC2: ??? (in /usr/lib/kde4/okularpart.so)
==14056==by 0xA4CEF2F: ??? (in /usr/lib/kde4/okularpart.so)
==14056==by 0x3FFF: ???
==14056==  Address 0x6b15f30 is 0 bytes after a block of size 19,024 alloc'd
==14056==at 0x4023D7C: malloc (vg_replace_malloc.c:195)
==14056==by 0x5DCE6A3: XGetImage (in /usr/lib/libX11.so.6.3.0)
==14056==by 0x49CF8CC: QX11PixmapData::toImage(QRect const&) const (in
/usr/lib/libQtGui.so.4.7.1)
==14056==by 0x49C806C: QX11PixmapData::toImage() const (in
/usr/lib/libQtGui.so.4.7.1)
==14056==by 0x49B245C: QPixmap::toImage() const (in
/usr/lib/libQtGui.so.4.7.1)
==14056==by 0xA4C872B: ??? (in /usr/lib/kde4/okularpart.so)
==14056==by 0xA4C8EC2: ??? (in /usr/lib/kde4/okularpart.so)
==14056==by 0xA4CEF2F: ??? (in /usr/lib/kde4/okularpart.so)
==14056==by 0x3FFF: ???
==14056== 
==14056== Invalid read of size 4
==14056==at 0xA4C880D: ??? (in /usr/lib/kde4/okularpart.so)
==14056==by 0xA4C8EC2: ??? (in /usr/lib/kde4/okularpart.so)
==14056==by 0xA4DCE23: ??? (in /usr/lib/kde4/okularpart.so)
==14056==  Address 0xf5cec70 is not stack'd, malloc'd or (recently) free'd
==14056==

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Okular-devel mailing list
Okular-devel@kde.org
https://mail.kde.org/mailman/listinfo/okular-devel


[Okular-devel] [Bug 243434] crash when painting (PagePainter::scalePixmapOnImage with no backbuffer)

2010-12-27 Thread Tommaso Massimi
https://bugs.kde.org/show_bug.cgi?id=243434





--- Comment #23 from Tommaso Massimi   2010-12-27 15:24:45 
---
I'm sorry but the development packages are not available, 
so I can't produce a better report

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Okular-devel mailing list
Okular-devel@kde.org
https://mail.kde.org/mailman/listinfo/okular-devel


[Okular-devel] [Bug 243434] crash when painting (PagePainter::scalePixmapOnImage with no backbuffer)

2011-01-06 Thread Tommaso Massimi
https://bugs.kde.org/show_bug.cgi?id=243434





--- Comment #28 from Tommaso Massimi   2011-01-07 01:11:28 
---
@lordyoukai: better if you run

valgrind --track-origins=yes okular /path/to/my/file/that/crashes

and paste the output

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Okular-devel mailing list
Okular-devel@kde.org
https://mail.kde.org/mailman/listinfo/okular-devel