Bug 29609

Summary: okular зависает при просмотре некоторых PDF
Product: Branch p7 Reporter: Pavel Nakonechnyi <zorg1331>
Component: kde4-okularAssignee: Sergey V Turchin <zerg>
Status: CLOSED FIXED QA Contact: qa-p7 <qa-p7>
Severity: major    
Priority: P3 CC: barssc
Version: не указана   
Hardware: all   
OS: Linux   

Description Pavel Nakonechnyi 2013-11-25 15:37:15 MSK
После одного из обновлений с 21.11.2013 или ранее (обнаружено только 25.11.2013), okular перестал открывать некоторые PDF файлы.

При их открытии (точнее, какой-то специально сформированной страницы этих PDF), происходит "подвисание" программы, помогает только "kill -9".

При запуске из терминала никаких сообщений нет, ".xsession-errors" пуст, ядро 3.10.18-std-def-alt1, видео -- встроенный Intel.

При этом atril работает.

Пример PDF можно найти тут: http://www.microsemi.com/document-portal/doc_download/127024-mt88l89-datasheet-feb11
Comment 1 Pavel Nakonechnyi 2013-11-27 14:44:28 MSK
Дополнение.

Если во время "подвисания" okular перезапустить avahi-daemon (systemctl restart avahi-daemon), PDF'ка открывается полностью.

Выяснено путем просмотра backtrace okular'a:

Program received signal SIGINT, Interrupt.
0x00007ffff513eb2d in poll () at ../sysdeps/unix/syscall-template.S:81
81      T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
(gdb) backtrace 
#0  0x00007ffff513eb2d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fffda3bf050 in poll (__timeout=250, __nfds=<optimized out>, __fds=<optimized out>) at /usr/include/bits/poll2.h:46
#2  cups_dnssd_poll_cb (pollfds=<optimized out>, num_pollfds=<optimized out>, timeout=<optimized out>, context=0x7fffffffaf20) at dest.c:3020
#3  0x00007fffd9f58cbb in avahi_simple_poll_run (s=s@entry=0x1065110) at simple-watch.c:527
#4  0x00007fffd9f58e98 in avahi_simple_poll_iterate (s=0x1065110, timeout=timeout@entry=250) at simple-watch.c:602
#5  0x00007fffda3c1546 in cupsEnumDests (flags=<optimized out>, msec=-1, cancel=0x0, type=0, mask=0, cb=0x7ffff667f290 <enum_dest_cb(void*, unsigned int, cups_dest_t*)>, user_data=0x7fffffffafd0) at dest.c:1055
#6  0x00007ffff667f571 in resolveCups () at painting/qcups.cpp:159
#7  0x00007ffff667f715 in QCUPSSupport::isAvailable () at painting/qcups.cpp:295
#8  0x00007ffff65e5764 in QPdfBaseEngine::QPdfBaseEngine (this=0xfec4e0, dd=..., f=...) at painting/qpdf.cpp:924
#9  0x00007ffff65f73f6 in QPSPrintEngine::QPSPrintEngine (this=0xfec4e0, m=QPrinter::ScreenResolution) at painting/qprintengine_ps.cpp:667
#10 0x00007ffff65f8cef in QPrinterPrivate::createDefaultEngines (this=this@entry=0x102c800) at painting/qprinter.cpp:198
#11 0x00007ffff65fa21d in QPrinter::init (this=this@entry=0x7fffffffb220, mode=mode@entry=QPrinter::ScreenResolution) at painting/qprinter.cpp:679
#12 0x00007ffff65fb3a9 in QPrinter::QPrinter (this=0x7fffffffb220, mode=QPrinter::ScreenResolution) at painting/qprinter.cpp:603
#13 0x00007fffe522878e in Okular::DocumentPrivate::namePaperSize (this=this@entry=0x89c1b0, inchesWidth=inchesWidth@entry=8.3194444444444446, inchesHeight=10.791666666666666) at /usr/src/debug/okular-4.11.3/core/document.cpp:174
Comment 2 Sergey V Turchin 2013-11-29 16:18:47 MSK
qt4-4.8.5-alt3.M70P.1
Comment 3 Sergey V Turchin 2013-12-02 14:43:46 MSK
*** Bug 29619 has been marked as a duplicate of this bug. ***
Comment 4 Sergey V Turchin 2013-12-02 15:25:03 MSK
Со сборкой произошла задержка. Завтра должно приехать. http://git.altlinux.org/tasks/109761/