[okular] [Bug 388175] core dump while opening a specific PDF document

2018-04-06 Thread Simon Andric
https://bugs.kde.org/show_bug.cgi?id=388175

Simon Andric  changed:

   What|Removed |Added

 CC||simonandr...@gmail.com

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 388175] core dump while opening a specific PDF document

2018-01-02 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=388175

--- Comment #11 from Michael Weghorn  ---
(In reply to Albert Astals Cid from comment #9)
> The crash is only on close, right? or can someone else reproduce a crash in
> any other time?

I saw the crash only on close, but maybe kts can say more.
(I just reproduced the issue on close quickly without any further testing.)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 388175] core dump while opening a specific PDF document

2018-01-02 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=388175

Albert Astals Cid  changed:

   What|Removed |Added

 Resolution|--- |UPSTREAM
 Status|UNCONFIRMED |RESOLVED

--- Comment #10 from Albert Astals Cid  ---
Poppler bug
https://cgit.freedesktop.org/poppler/poppler/commit/?id=9f08b62ea283ea66b35cfc6dab3e7f45bc4170b9

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 388175] core dump while opening a specific PDF document

2018-01-02 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=388175

--- Comment #9 from Albert Astals Cid  ---
The crash is only on close, right? or can someone else reproduce a crash in any
other time?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 388175] core dump while opening a specific PDF document

2018-01-01 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=388175

--- Comment #8 from Michael Weghorn  ---
(In reply to Albert Astals Cid from comment #7)
> Send me the file, i'll have a look at some point of the length of the
> universe i guess.

I have temporarily uploaded the file here: https://ombx.io/lZAyS1fl

I'll send you the password needed to access it by email.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 388175] core dump while opening a specific PDF document

2017-12-30 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=388175

--- Comment #6 from Michael Weghorn  ---
Note: Segfault also occurs when using Poppler's current master branch (as of
commit c9958ecb87de34b923a17521c8bb149569bacca8).

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 388175] core dump while opening a specific PDF document

2017-12-30 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=388175

--- Comment #5 from Michael Weghorn  ---
Note: Segfault also occurs when using Poppler from current master branch in git
(as of commit c9958ecb87de34b923a17521c8bb149569bacca8).

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 388175] core dump while opening a specific PDF document

2017-12-30 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=388175

--- Comment #4 from Michael Weghorn  ---
"kts" has sent me the PDF file by email. Since it is a book, I am not sure
whether it might be copyrighted, so I don't feel confident of making it
available publicly.

I can reproduce the problem (with custom build of Okular's current master
branch, as of commit d150c10bce8b2e8b729fbae27a2072c31bcad9d3).

In fact, Okular does crash, there is a segfault when closing Okular (user might
not recognize, since they want to close application anyways).

gdb backtrace:

Thread 1 "okular" received signal SIGSEGV, Segmentation fault.
0x7fffc9f51d51 in
Poppler::ScreenAnnotationPrivate::~ScreenAnnotationPrivate() () from
/usr/lib/x86_64-linux-gnu/libpoppler-qt5.so.1
(gdb) bt
#0  0x7fffc9f51d51 in
Poppler::ScreenAnnotationPrivate::~ScreenAnnotationPrivate() () from
/usr/lib/x86_64-linux-gnu/libpoppler-qt5.so.1
#1  0x7fffc9f51da9 in
Poppler::ScreenAnnotationPrivate::~ScreenAnnotationPrivate() () from
/usr/lib/x86_64-linux-gnu/libpoppler-qt5.so.1
#2  0x7fffc9f520e9 in Poppler::ScreenAnnotation::~ScreenAnnotation() ()
from /usr/lib/x86_64-linux-gnu/libpoppler-qt5.so.1
#3  0x7fffca1fdcb5 in disposeAnnotation (ann=0x565025b0) at
/home/michi/development/okular/generators/poppler/annots.cpp:42
#4  0x7fffd6c90d04 in Okular::Annotation::~Annotation (this=0x565025b0,
__in_chrg=) at
/home/michi/development/okular/core/annotations.cpp:522
#5  0x7fffd6c9fc16 in Okular::ScreenAnnotation::~ScreenAnnotation
(this=0x565025b0, __in_chrg=) at
/home/michi/development/okular/core/annotations.cpp:2857
#6  0x7fffd6c9fc32 in Okular::ScreenAnnotation::~ScreenAnnotation
(this=0x565025b0, __in_chrg=) at
/home/michi/development/okular/core/annotations.cpp:2859
#7  0x7fffd6d027a0 in Okular::Page::deleteAnnotations (this=0x562502d0)
at /home/michi/development/okular/core/page.cpp:813
#8  0x7fffd6cffe17 in Okular::Page::~Page (this=0x562502d0,
__in_chrg=) at /home/michi/development/okular/core/page.cpp:147
#9  0x7fffd6cc2f53 in Okular::Document::closeDocument (this=0x55894950)
at /home/michi/development/okular/core/document.cpp:2623
#10 0x7fffd7050d27 in Okular::Part::closeUrl (this=0x558461f0,
promptToSave=false) at /home/michi/development/okular/part.cpp:1815
#11 0x55567678 in Shell::~Shell (this=0x5584d2a0,
__in_chrg=, __vtt_parm=) at
/home/michi/development/okular/shell/shell.cpp:194
#12 0x555677da in Shell::~Shell (this=0x5584d2a0,
__in_chrg=, __vtt_parm=) at
/home/michi/development/okular/shell/shell.cpp:202
#13 0x7321d8e0 in QObject::event(QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x741d22a3 in QWidget::event(QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x742e4eeb in QMainWindow::event(QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x76dd0377 in KMainWindow::event(QEvent*) () from
/usr/lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#17 0x76e158a5 in KXmlGuiWindow::event(QEvent*) () from
/usr/lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#18 0x7419359c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x7419ae64 in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x731ee258 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x731f09cd in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x73247ac3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x7fffee241fa7 in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x7fffee2421e0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x7fffee24226c in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x732470ef in
QEventDispatcherGlib::processEvents(QFlags) ()
from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x731ec2aa in
QEventLoop::exec(QFlags) () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#28 0x731f5214 in QCoreApplication::exec() () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#29 0x55561638 in main (argc=2, argv=0x7fffde28) at
/home/michi/development/okular/shell/main.cpp:83
(gdb) 


In case anybody wants to have a look: Please let us know in case you need the
PDF file for testing or any further information.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 388175] core dump while opening a specific PDF document

2017-12-29 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=388175

--- Comment #3 from Michael Weghorn  ---
(In reply to kts from comment #2)
> It's above 4mb. To where do i need to upload?

I don't know whether there is an "official" way of sharing files that cannot be
uploaded here.
In general, you can upload the file using any service of your choice and add a
hyperlink here.
(You can also send me the file by email and I will do that, without the
guarantee that the file will be available forever there...)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 388175] core dump while opening a specific PDF document

2017-12-29 Thread kts
https://bugs.kde.org/show_bug.cgi?id=388175

--- Comment #2 from kts  ---
It's above 4mb. To where do i need to upload?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 388175] core dump while opening a specific PDF document

2017-12-28 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=388175

Michael Weghorn  changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

--- Comment #1 from Michael Weghorn  ---
(In reply to kts from comment #0)
> [...] I would send that specified PDF but how? Ask me more.

In case the document does not contain any confidential information or is
private for another reason, you can just attach it to this bug (using the "Add
an attachment" link).

-- 
You are receiving this mail because:
You are the assignee for the bug.