tag 749508 + moreinfo
thanks

Hi,

thanks for your report.

On 2014-05-27 16:35, Yaroslav Halchenko wrote:
$> wget -q http://www.onerussian.com/tmp/NITRC_IR.ai

$> gdb --args inkscape NITRC_IR.ai
GNU gdb (GDB) 7.6.2 (Debian 7.6.2-1.1)
Copyright (C) 2013 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 "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/inkscape...(no debugging symbols found)...done.
(gdb) r
Starting program: /usr/bin/inkscape NITRC_IR.ai
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
inkscape: malloc.c:2368: sysmalloc: Assertion `(old_top ==
(((mbinptr) (((char *) &((av)->bins[((1) - 1) * 2])) -
__builtin_offsetof (struct malloc_chunk, fd)))) && old_size == 0) ||
((unsigned long) (old_size) >= (unsigned long)((((__builtin_offsetof
(struct malloc_chunk, fd_nextsize))+((2 * (sizeof(size_t))) - 1)) &
~((2 * (sizeof(size_t))) - 1))) && ((old_top)->size & 0x1) &&
((unsigned long)old_end & pagemask) == 0)' failed.

Program received signal SIGABRT, Aborted.
0x00007fffef3a93a9 in __GI_raise (sig=sig@entry=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:56
56 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0  0x00007fffef3a93a9 in __GI_raise (sig=sig@entry=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1  0x00007fffef3ac4c8 in __GI_abort () at abort.c:89
#2  0x00007fffef3ebd0d in __malloc_assert
(assertion=assertion@entry=0x7fffef4dac40 "(old_top == (((mbinptr)
(((char *) &((av)->bins[((1) - 1) * 2])) - __builtin_offsetof (struct
malloc_chunk, fd)))) && old_size == 0) || ((unsigned long) (old_size)
>= (unsigned long)((((__builtin_offs"...,
    file=file@entry=0x7fffef4d66d1 "malloc.c", line=line@entry=2368,
function=function@entry=0x7fffef4d6a58 <__func__.11276> "sysmalloc")
at malloc.c:290
#3  0x00007fffef3ee889 in sysmalloc (av=0x7fffef717620 <main_arena>,
nb=416) at malloc.c:2365
#4 _int_malloc (av=0x7fffef717620 <main_arena>, bytes=408) at malloc.c:3743 #5 0x00007fffef3efc80 in __GI___libc_malloc (bytes=408) at malloc.c:2858
#6  0x00007fffefeb1e6d in operator new(unsigned long) () from
/usr/lib/x86_64-linux-gnu/libstdc++.so.6
#7  0x00007ffff04dc56d in PDFDoc::PDFDoc(GooString*, GooString*,
GooString*, void*) () from /usr/lib/x86_64-linux-gnu/libpoppler.so.44
#8  0x00007ffff017130f in poppler_document_new_from_file () from
/usr/lib/x86_64-linux-gnu/libpoppler-glib.so.8
#9  0x000000000079e224 in

Inkscape::Extension::Internal::PdfImportDialog::PdfImportDialog(PDFDoc*,
char const*) ()
#10 0x000000000079eb03 in

Inkscape::Extension::Internal::PdfInput::open(Inkscape::Extension::Input*,
char const*) ()
#11 0x000000000077ffda in
Inkscape::Extension::open(Inkscape::Extension::Extension*, char
const*) ()
#12 0x0000000000635f50 in sp_file_open(Glib::ustring const&,
Inkscape::Extension::Extension*, bool, bool) ()
#13 0x000000000062b703 in sp_main_gui(int, char const**) ()
#14 0x000000000060f1ff in main ()

Interesting, it seems that malloc is indirectly crashing, just for
408 bytes.  I cannot reproduce it here, so if you still can, I'd
suggest to
a) make sure poppler-dbg is installed
b) run valgrind on something "lighter", like poppler's pdftoppm
   (if you can reproduce the problem with it), or otherwise on
   inkscape

On the other hand...

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
APT policy: (900, 'testing'), (600, 'unstable'), (300, 'experimental')

... your system is a testing installation, yet...

ii  libc6              2.18-4
ii  multiarch-support  2.18-5

... these two come from the same source (eglibc), yet
a) their versions are not the same
b) none of them is up-to-date wrt what's currently in testing
   (2.18-7)

ii  libstdc++6         4.8.2-1

This is not up-to-date either.

Hence my suggestion is to make sure your system is *really*
up-to-date first.

Thanks,
--
Pino Toscano


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to