<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>29609</bug_id>
          
          <creation_ts>2013-11-25 15:37:15 +0400</creation_ts>
          <short_desc>okular зависает при просмотре некоторых PDF</short_desc>
          <delta_ts>2013-12-02 15:25:03 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>Distributions</classification>
          <product>Branch p7</product>
          <component>kde4-okular</component>
          <version>не указана</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Pavel Nakonechnyi">zorg1331</reporter>
          <assigned_to name="Sergey V Turchin">zerg</assigned_to>
          <cc>barssc</cc>
          
          <qa_contact name="qa-p7@altlinux.org">qa-p7</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>143911</commentid>
    <comment_count>0</comment_count>
    <who name="Pavel Nakonechnyi">zorg1331</who>
    <bug_when>2013-11-25 15:37:15 +0400</bug_when>
    <thetext>После одного из обновлений с 21.11.2013 или ранее (обнаружено только 25.11.2013), okular перестал открывать некоторые PDF файлы.

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

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

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

Пример PDF можно найти тут: http://www.microsemi.com/document-portal/doc_download/127024-mt88l89-datasheet-feb11</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>143941</commentid>
    <comment_count>1</comment_count>
    <who name="Pavel Nakonechnyi">zorg1331</who>
    <bug_when>2013-11-27 14:44:28 +0400</bug_when>
    <thetext>Дополнение.

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

Выяснено путем просмотра backtrace okular&apos;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=&lt;optimized out&gt;, __fds=&lt;optimized out&gt;) at /usr/include/bits/poll2.h:46
#2  cups_dnssd_poll_cb (pollfds=&lt;optimized out&gt;, num_pollfds=&lt;optimized out&gt;, timeout=&lt;optimized out&gt;, 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=&lt;optimized out&gt;, msec=-1, cancel=0x0, type=0, mask=0, cb=0x7ffff667f290 &lt;enum_dest_cb(void*, unsigned int, cups_dest_t*)&gt;, 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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>143996</commentid>
    <comment_count>2</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2013-11-29 16:18:47 +0400</bug_when>
    <thetext>qt4-4.8.5-alt3.M70P.1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>144006</commentid>
    <comment_count>3</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2013-12-02 14:43:46 +0400</bug_when>
    <thetext>*** Bug 29619 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>144007</commentid>
    <comment_count>4</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2013-12-02 15:25:03 +0400</bug_when>
    <thetext>Со сборкой произошла задержка. Завтра должно приехать. http://git.altlinux.org/tasks/109761/</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>