Bug 25590 - Падает с SIGSEGV на многих документах
Summary: Падает с SIGSEGV на многих документах
Alias: None
Product: Sisyphus
Classification: Development
Component: epdfview (show other bugs)
Version: unstable
Hardware: x86 Linux
: P3 major
Assignee: Valentin Rosavitskiy
QA Contact: qa-sisyphus
Depends on:
Reported: 2011-05-08 08:16 MSK by Evgenii Terechkov
Modified: 2011-05-26 19:02 MSK (History)
4 users (show)

See Also:

Минимальный документ, роняющий программу (162.37 KB, application/octet-stream)
2011-05-08 08:16 MSK, Evgenii Terechkov
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Evgenii Terechkov 2011-05-08 08:16:34 MSK
Created attachment 4927 [details]
Минимальный документ, роняющий программу

После обновления 0.1.7-alt2 на 0.1.7-alt3.20100621 стал падать с ошибкой сегментации примерно на %40 процентов документов. Откат на старую версию помогает. Xpdf открывает данные документы без проблем.
Comment 1 Ivan A. Melnikov 2011-05-09 10:03:43 MSK
Очень похоже на ту же проблему, что была с evince в #25246.
Comment 2 Evgenii Terechkov 2011-05-09 11:04:37 MSK
Трассировка, если чем-то поможет:

evg@evg ~ $gdb epdfview core                               
GNU gdb (GDB) 7.2-alt1 (ALT Linux)
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i586-alt-linux".
For bug reporting instructions, please see:
Reading symbols from /usr/bin/epdfview...Reading symbols from /usr/lib/debug/usr/bin/epdfview.debug...done.
BFD: Предупреждение: /home/evg/core усечён: ожидался размер ядра файла >= 36704256, найдено: 12722176.
[New Thread 16462]
[New Thread 16461]
Cannot access memory at address 0xb77e28c4
Cannot access memory at address 0xb77e28c4
Cannot access memory at address 0xb77e28c4
Reading symbols from /lib/ld-linux.so.2...Reading symbols from /usr/lib/debug/lib/ld-2.11.3.so.debug...done.
Loaded symbols for /lib/ld-linux.so.2
Failed to read a valid object file image from memory.
Core was generated by `epdfview DavidSmith-PeeringPolicyEnforcement.pdf'.
Program terminated with signal 11, Segmentation fault.
#0  0xb6f100ff in ?? ()
(gdb) bt
#0  0xb6f100ff in ?? ()
#1  0xb7731c9b in ?? ()
#2  0x00000001 in ?? ()
#3  0x0821d268 in ?? ()
#4  0x0804fbb5 in ePDFView::IDocument::setLinearized (this=0x80934a0, linearized=0x1 <Address 0x1 out of bounds>) at IDocument.cxx:769
#5  0x080549c2 in ePDFView::PDFDocument::loadMetadata (this=0x80934a0) at PDFDocument.cxx:369
#6  0x08055154 in ePDFView::PDFDocument::loadFile (this=0x80934a0, filename=0x815b2f0 "DavidSmith-PeeringPolicyEnforcement.pdf", 
    password=0x0, error=0xb47fb1ac) at PDFDocument.cxx:293
#7  0x080515b1 in ePDFView::JobLoad::run (this=0x812e860) at JobLoad.cxx:119
#8  0x0805126f in ePDFView::IJob::dispatcher (data=0x0) at IJob.cxx:59
#9  0xb773aabf in ?? ()
#10 0x00000000 in ?? ()
Comment 3 Lenar Shakirov 2011-05-26 18:57:53 MSK

* Mon May 10 2011 Ilya Mashkin <oddity@altlinux.ru> 0.1.7-alt4.20100621
- try to fix SIGSEGV (#25590)
Comment 4 Lenar Shakirov 2011-05-26 19:02:12 MSK
Работает, но при закрытии падает с SIGSEGV :)