[Okular-devel] [Bug 295504] New: crash printing to pdf format

Russell Ham RussellHam at alum.MIT.edu
Thu Mar 8 03:52:03 UTC 2012


https://bugs.kde.org/show_bug.cgi?id=295504

            Bug ID: 295504
          Severity: critical
           Version: unspecified
          Priority: NOR
          Assignee: okular-devel at kde.org
           Summary: crash printing to pdf format
    Classification: Unclassified
                OS: Linux
          Reporter: RussellHam at alum.MIT.edu
          Hardware: openSUSE RPMs
            Status: UNCONFIRMED
         Component: PDF backend
           Product: okular

User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:10.0.2) Gecko/20100101
Firefox/10.0.2
Build Identifier: 

Crashes printing hand-crafted Postscript envelope file to PDF format

Worked before most recent update

Reproducible: Always

Steps to Reproduce:
1. open PS file
2.select File/Print: Printer Name: Print to File(PDF)
3.select Properties:Page
Actual Results:  
Crash Reporting Assistant crashes with Unhandled Bugzilla Error when trying to
log in to report error(!!?).





Expected Results:  
Previous versions created a PDF which could be printed on another computer.


--------------------entire PS input:
%!PS


<</PageSize [677 302]
  /ManualFeed true>>setpagedevice

/Helvetica 11 selectfont

40 260 moveto (My Name)show
40 247 moveto (My Address)show
40 234 moveto (My City, State, Postcode)show

/Helvetica 13 selectfont

240 160 moveto (CORSAIR MEMORY)show
240 140 moveto (DEPT CM 12-904)show
240 120 moveto (PO BOX 540027)show
240 100 moveto (EL PASO TX 88554-0027)show
showpage

--------Head of backtrace: ----------------------------------------------------
Application: okular (0.13.2)
KDE Platform Version: 4.7.2 (4.7.2) "release 5"
Qt Version: 4.7.4
Operating System: Linux 3.1.9-1.4-desktop x86_64
Distribution: "openSUSE 12.1 (x86_64)"

-- Information about the crash:
<In detail, tell us what you were doing  when the application crashed.>

Printing to PDF file

The crash can be reproduced every time.

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

Thread 4 (Thread 0x7f0377fea700 (LWP 30607)):
#0  0x00007f03897ace6c in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007f038c11c4bb in wait (time=18446744073709551615, this=0x9ff710) at
thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0xa06ae0,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f038c118ef5 in QSemaphore::acquire (this=0xa25ec0, n=1) at
thread/qsemaphore.cpp:144
#4  0x00007f037b2bfb6f in GSRendererThread::run (this=0xa25eb0) at
/usr/src/debug/okular-4.7.2/generators/spectre/rendererthread.cpp:50
#5  0x00007f038c11c025 in QThreadPrivate::start (arg=0xa25eb0) at
thread/qthread_unix.cpp:331
#6  0x00007f03897a8f05 in start_thread () from /lib64/libpthread.so.0
#7  0x00007f038b86963d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f037701f700 (LWP 30610)):
#0  0x00007f03897ace6c in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007f038c11c4bb in wait (time=18446744073709551615, this=0xaec390) at
thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0xaebd68,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f038d0cb554 in QFileInfoGatherer::run (this=0xaebd58) at
dialogs/qfileinfogatherer.cpp:214
#4  0x00007f038c11c025 in QThreadPrivate::start (arg=0xaebd58) at
thread/qthread_unix.cpp:331
#5  0x00007f03897a8f05 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f038b86963d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f037681e700 (LWP 30611)):
#0  0x00007fff699a498f in clock_gettime ()
#1  0x00007f038611ce91 in clock_gettime () from /lib64/librt.so.1
#2  0x00007f038c16c114 in do_gettime (frac=0x7f037681db78, sec=0x7f037681db70)
at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007f038c22dd2d in QTimerInfoList::updateCurrentTime
(this=0x7f036c0020d0) at kernel/qeventdispatcher_unix.cpp:339
#5  0x00007f038c22e063 in QTimerInfoList::timerWait (this=0x7f036c0020d0,
tm=...) at kernel/qeventdispatcher_unix.cpp:442
#6  0x00007f038c22cacc in timerSourcePrepareHelper (src=<optimized out>,
timeout=0x7f037681dc5c) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007f038c22cb75 in timerSourcePrepare (source=<optimized out>,
timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00007f0388347b22 in g_main_context_prepare () from
/usr/lib64/libglib-2.0.so.0
#9  0x00007f038834892d in ?? () from /usr/lib64/libglib-2.0.so.0

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


More information about the Okular-devel mailing list