Bug 44990 - inkscape-1.1.2-alt1: segfault при попытке открыть файл abode illustrator
Summary: inkscape-1.1.2-alt1: segfault при попытке открыть файл abode illustrator
Status: NEW
Alias: None
Product: Sisyphus
Classification: Development
Component: inkscape (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Vitaly Lipatov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-21 02:03 MSK by Andrew Savchenko
Modified: 2023-01-21 02:03 MSK (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Savchenko 2023-01-21 02:03:33 MSK
Берём официальный логотип Базальта:
https://www.basealt.ru/fileadmin/user_upload/poligrafia/base-alt-logo-CMYK-and-PANTONE.ai

Пробуем открыть в inkscape-1.1.2-alt1 из Сизифа:
 $ gdb --args inkscape base-alt-logo-CMYK-and-PANTONE.ai
[...]
Thread 1 "inkscape" received signal SIGSEGV, Segmentation fault.
CairoOutputDev::doPath (this=this@entry=0x555555679960, c=0x555556819e20, path=0x0, state=0x5555568d0890) at /usr/src/debug/poppler-23.01.0/poppler/CairoOutputDev.cc:848
848         for (i = 0; i < path->getNumSubpaths(); ++i) {
(gdb) bt
#0  CairoOutputDev::doPath (this=this@entry=0x555555679960, c=0x555556819e20, path=0x0, state=0x5555568d0890)
    at /usr/src/debug/poppler-23.01.0/poppler/CairoOutputDev.cc:848
#1  0x00007ffff560abbf in CairoOutputDev::clip (this=0x555555679960, state=0x5555568d0890) at /usr/src/debug/poppler-23.01.0/poppler/CairoOutputDev.cc:1400
#2  0x00007ffff533d012 in Gfx::Gfx (this=<optimized out>, docA=<optimized out>, outA=<optimized out>, pageNum=<optimized out>, resDict=<optimized out>,
    hDPI=<optimized out>, vDPI=<optimized out>, box=<optimized out>, cropBox=<optimized out>, rotate=<optimized out>, abortCheckCbkA=<optimized out>,
    abortCheckCbkDataA=<optimized out>, xrefA=<optimized out>, this=<optimized out>, docA=<optimized out>, outA=<optimized out>, pageNum=<optimized out>,
    resDict=<optimized out>, hDPI=<optimized out>, vDPI=<optimized out>, box=<optimized out>, cropBox=<optimized out>, rotate=<optimized out>,
    abortCheckCbkA=<optimized out>, abortCheckCbkDataA=<optimized out>, xrefA=<optimized out>) at /usr/src/debug/poppler-22.03.0/poppler/Gfx.cc:500
#3  0x00007ffff539f1e9 in Page::createGfx (this=this@entry=0x5555567ea630, out=out@entry=0x555555679960, hDPI=hDPI@entry=72, vDPI=72, rotate=rotate@entry=0,
    useMediaBox=useMediaBox@entry=false, crop=<optimized out>, crop@entry=true, sliceX=sliceX@entry=-1, sliceY=-1, sliceW=-1, sliceH=-1, printing=false,
    abortCheckCbk=0x0, abortCheckCbkData=0x0, xrefA=0x5555568d20f0) at /usr/src/debug/poppler-22.03.0/poppler/Page.cc:550
#4  0x00007ffff539f4e6 in Page::displaySlice (this=0x5555567ea630, out=0x555555679960, hDPI=72, vDPI=<optimized out>, rotate=0, useMediaBox=false, crop=true,
    sliceX=-1, sliceY=-1, sliceW=-1, sliceH=-1, printing=false, abortCheckCbk=0x0, abortCheckCbkData=0x0, annotDisplayDecideCbk=0x0,
    annotDisplayDecideCbkData=0x0, copyXRef=false) at /usr/src/debug/poppler-22.03.0/poppler/Page.cc:571
#5  0x00007ffff55f05b3 in _poppler_page_render (page=0x5555568e0c00, cairo=0x555556819e20, printing=<optimized out>, print_flags=<optimized out>)
    at /usr/src/debug/poppler-23.01.0/glib/poppler-page.cc:331
#6  0x00007ffff71a5611 in Inkscape::Extension::Internal::PdfImportDialog::_setPreviewPage (this=0x55555676ab00, page=<optimized out>)
    at /usr/src/debug/inkscape-1.1.2/src/extension/internal/pdfinput/pdf-input.cpp:628
#7  0x00007ffff71a9049 in Inkscape::Extension::Internal::PdfImportDialog::PdfImportDialog (this=<optimized out>, doc=..., this=<optimized out>, doc=...)
    at /usr/src/debug/inkscape-1.1.2/src/extension/internal/pdfinput/pdf-input.cpp:351
#8  0x00007ffff71b5974 in std::make_unique<Inkscape::Extension::Internal::PdfImportDialog, std::shared_ptr<PDFDoc>&, char const*&> ()
    at /usr/include/c++/12/bits/unique_ptr.h:1065
#9  Inkscape::Extension::Internal::PdfInput::open (this=<optimized out>, uri=0x55555678c340 "/home/bircoph/Downloads/base-alt-logo-CMYK-and-PANTONE.ai")
    at /usr/src/debug/inkscape-1.1.2/src/extension/internal/pdfinput/pdf-input.cpp:710
#10 0x00007ffff70f28c6 in Inkscape::Extension::open (key=<optimized out>, filename=0x55555678c340 "/home/bircoph/Downloads/base-alt-logo-CMYK-and-PANTONE.ai")
    at /usr/src/debug/inkscape-1.1.2/src/extension/system.cpp:125
#11 0x00007ffff71ea136 in ink_file_open (file=..., cancelled_param=0x0) at /usr/include/c++/12/bits/basic_string.h:234
#12 0x00007ffff794658e in InkscapeApplication::document_open (this=0x5555555aa940, file=..., cancelled=0x0)
    at /usr/src/debug/inkscape-1.1.2/src/inkscape-application.cpp:131
#13 0x00007ffff79555c1 in InkscapeApplication::on_open (this=0x5555555aa940, files=..., hint=...)
    at /usr/src/debug/inkscape-1.1.2/src/inkscape-application.cpp:1021
#14 0x00007ffff67d2482 in sigc::slot2<void, Glib::ustring const&, bool>::operator() (_A_a2=@0x7fffffffdd60: 112, _A_a1=..., this=0x55555569ffb8)
    at /usr/include/sigc++-2.0/sigc++/functors/slot.h:798
#15 (anonymous namespace)::Application_signal_open_notify_callback (self=0x55555565b210, files=<optimized out>, n_files=<optimized out>,
    hint=0x555555741dc0 "", data=0x55555569ffb0) at ../untracked/gio/giomm/application.cc:120
#16 0x00007ffff57ec780 in g_closure_invoke (closure=0x5555556a0000, return_value=0x0, n_param_values=4, param_values=0x7fffffffdf60,
    invocation_hint=0x7fffffffdee0) at ../gobject/gclosure.c:832
#17 0x00007ffff5818f54 in signal_emit_unlocked_R.isra.0 (node=node@entry=0x55555569e120, detail=detail@entry=0, instance=instance@entry=0x55555565b210,
    emission_return=emission_return@entry=0x0, instance_and_params=instance_and_params@entry=0x7fffffffdf60) at ../gobject/gsignal.c:3867
#18 0x00007ffff580965a in g_signal_emit_valist (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>,
    var_args=var_args@entry=0x7fffffffe150) at ../gobject/gsignal.c:3549
#19 0x00007ffff58098df in g_signal_emit (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>) at ../gobject/gsignal.c:3606
--Type <RET> for more, q to quit, c to continue without paging--c
#20 0x00007ffff590c55c in g_application_real_local_command_line (application=<optimized out>, arguments=0x7fffffffe298, exit_status=0x7fffffffe294) at ../gio/gapplication.c:1169
#21 0x00007ffff5916ca0 in g_application_run (application=0x55555565b210, argc=<optimized out>, argv=0x5555555a8510) at ../gio/gapplication.c:2540
#22 0x00007ffff5e2e18c in __libc_start_call_main (main=main@entry=0x5555555563a0 <main(int, char**)>, argc=argc@entry=2, argv=argv@entry=0x7fffffffe3e8) at ../sysdeps/nptl/libc_start_call_main.h:58
#23 0x00007ffff5e2e245 in __libc_start_main_impl (main=0x5555555563a0 <main(int, char**)>, argc=2, argv=0x7fffffffe3e8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffe3d8) at ../csu/libc-start.c:392
#24 0x0000555555556ba1 in _start ()