Bug 285175 - Okular crash when opening and printing a file
Summary: Okular crash when opening and printing a file
Status: RESOLVED NOT A BUG
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.13.1
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-28 13:45 UTC by Andrey Rukhin
Modified: 2013-01-06 19:56 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Rukhin 2011-10-28 13:45:24 UTC
Application: okular (0.13.1)
KDE Platform Version: 4.7.2 (4.7.2)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-12-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
Double-clicked  an .eps file, Okular displayed it correctly.  Ctrl-P to print and the dialog appeared as expected.  When I accepted the (default) print config . it crashed.

-- Backtrace:
Application: Okular (okular), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f99a4a9e780 (LWP 25190))]

Thread 6 (Thread 0x7f9991344700 (LWP 25192)):
#0  0x00007f99a1cba773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f999eba8f68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f999eba9792 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f99994d1516 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f999ebce2b6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f999f07aefc in start_thread (arg=0x7f9991344700) at pthread_create.c:304
#6  0x00007f99a1cc689d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f998194e700 (LWP 25193)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f99a258a1ab in wait (time=18446744073709551615, this=0x19786c0) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x16024b0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f99a2586ba5 in QSemaphore::acquire (this=0x194ec60, n=1) at thread/qsemaphore.cpp:144
#4  0x00007f998414241f in GSRendererThread::run (this=0x194ec50) at ../../../generators/spectre/rendererthread.cpp:50
#5  0x00007f99a2589d05 in QThreadPrivate::start (arg=0x194ec50) at thread/qthread_unix.cpp:331
#6  0x00007f999f07aefc in start_thread (arg=0x7f998194e700) at pthread_create.c:304
#7  0x00007f99a1cc689d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f997dc9f700 (LWP 25197)):
#0  0x00007f99a1cba773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f999eba8f68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f999eba9429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f99a269bf3e in QEventDispatcherGlib::processEvents (this=0x153a760, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f99a266fcf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f99a266fef7 in QEventLoop::exec (this=0x7f997dc9edd0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f99a258727f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007f99a2652cbf in QInotifyFileSystemWatcherEngine::run (this=0x1a89670) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f99a2589d05 in QThreadPrivate::start (arg=0x1a89670) at thread/qthread_unix.cpp:331
#9  0x00007f999f07aefc in start_thread (arg=0x7f997dc9f700) at pthread_create.c:304
#10 0x00007f99a1cc689d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f9980928700 (LWP 25279)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f99a258a1ab in wait (time=18446744073709551615, this=0x1a68260) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1a63558, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f99a35607d4 in QFileInfoGatherer::run (this=0x1a63548) at dialogs/qfileinfogatherer.cpp:214
#4  0x00007f99a2589d05 in QThreadPrivate::start (arg=0x1a63548) at thread/qthread_unix.cpp:331
#5  0x00007f999f07aefc in start_thread (arg=0x7f9980928700) at pthread_create.c:304
#6  0x00007f99a1cc689d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f997bc6d700 (LWP 25280)):
#0  0x00007f99a1cba773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f999eba8f68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f999eba9429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f99a269bf3e in QEventDispatcherGlib::processEvents (this=0x1ae6600, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f99a266fcf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f99a266fef7 in QEventLoop::exec (this=0x7f997bc6cdd0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f99a258727f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007f99a2652cbf in QInotifyFileSystemWatcherEngine::run (this=0x1a63660) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f99a2589d05 in QThreadPrivate::start (arg=0x1a63660) at thread/qthread_unix.cpp:331
#9  0x00007f999f07aefc in start_thread (arg=0x7f997bc6d700) at pthread_create.c:304
#10 0x00007f99a1cc689d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f99a4a9e780 (LWP 25190)):
[KCrash Handler]
#6  0x00007f9983f2728a in spectre_exporter_pdf_do_page (exporter=0x1b7a980, page_index=<optimized out>) at spectre-exporter-pdf.c:100
#7  0x00007f998414157f in GSGenerator::print (this=0x19781b0, printer=...) at ../../../generators/spectre/generator_ghostview.cpp:134
#8  0x00007f99877e4b31 in isEmpty (this=0x7fffb7cc1420) at /usr/include/qt4/QtCore/qstring.h:708
#9  Okular::Part::setupPrint (this=0x1572030, printer=...) at ../part.cpp:2105
#10 0x0000000000000000 in ?? ()

Reported using DrKonqi
Comment 1 Albert Astals Cid 2011-10-28 18:17:39 UTC
Does this happen with all eps files or just this one? Which version of libspectre are you using?
Comment 2 Albert Astals Cid 2012-08-18 17:43:48 UTC
Waiting for an answer...
Comment 3 Albert Astals Cid 2013-01-06 19:56:29 UTC
4 months and no answer, closing as invalid.

If you can still reproduce please reopen the bug.