I was exporting to PNG, when I found out that Inkscape was trying to export a huge image of something like 100000x100000. I waited 5 minutes and after having seen that the progress bar made no progresses, I clicked on abort button. Then Inkscape freezed, so I attached GDB on the freezed process, and hereunder there is the backtrace log. Operating system: Fedora 25 Inkscape version: inkscape-0.92.1-1.fc25.x86_64
$ gdb inkscape 21278 GNU gdb (GDB) Fedora 7.12.1-47.fc25 Copyright (C) 2017 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-redhat-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: http://www.gnu.org/software/gdb/bugs/. Find the GDB manual and other documentation resources online at: http://www.gnu.org/software/gdb/documentation/. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from inkscape...Reading symbols from /usr/lib/debug/usr/bin/inkscape.debug...done. done. Attaching to program: /usr/bin/inkscape, process 21278 [New LWP 21279] [New LWP 21280] [New LWP 21281] [New LWP 21284] [New LWP 21285] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". 0x00005598f9277b53 in pixbuf_from_argb32 (c=0) at display/cairo-utils.cpp:1212 1212 guint32 a = (c & 0xff000000) >> 24; (gdb) thread apply all backtrace
Thread 6 (Thread 0x7ff7f63ef700 (LWP 21285)): #0 0x00007ff80ec9701d in poll () at ../sysdeps/unix/syscall-template.S:84 #1 0x00007ff80fd9a166 in g_main_context_poll (priority=<optimized out>, n_fds=2, fds=0x7ff7f00010c0, timeout=<optimized out>, context=0x5598fbd4fd90) at gmain.c:4228 #2 0x00007ff80fd9a166 in g_main_context_iterate (context=0x5598fbd4fd90, block=block@...3051...=1, dispatch=dispatch@...3051...=1, self=<optimized out>) at gmain.c:3924 #3 0x00007ff80fd9a4f2 in g_main_loop_run (loop=0x5598fbd4fb40) at gmain.c:4125 #4 0x00007ff81037ea76 in gdbus_shared_thread_func (user_data=0x5598fbd4fd60) at gdbusprivate.c:247 #5 0x00007ff80fdc1b93 in g_thread_proxy (data=0x5598fbd28cf0) at gthread.c:784 #6 0x00007ff80ef686ca in start_thread (arg=0x7ff7f63ef700) at pthread_create.c:333 #7 0x00007ff80eca2f7f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105
Thread 5 (Thread 0x7ff7febf0700 (LWP 21284)): #0 0x00007ff80ec9701d in poll () at ../sysdeps/unix/syscall-template.S:84 #1 0x00007ff80fd9a166 in g_main_context_poll (priority=<optimized out>, n_fds=2, fds=0x7ff7f80008c0, timeout=<optimized out>, context=0x5598fbd4f6d0) at gmain.c:4228 #2 0x00007ff80fd9a166 in g_main_context_iterate (context=context@...3051...=0x5598fbd4f6d0, block=block@...3051...=1, dispatch=dispatch@...3051...=1, self=<optimized out>) at gmain.c:3924 #3 0x00007ff80fd9a27c in g_main_context_iteration (context=0x5598fbd4f6d0, may_block=may_block@...3051...=1) at gmain.c:3990 #4 0x00007ff80fd9a2c1 in glib_worker_main (data=<optimized out>) at gmain.c:5783 #5 0x00007ff80fdc1b93 in g_thread_proxy (data=0x5598fbd28ca0) at gthread.c:784 #6 0x00007ff80ef686ca in start_thread (arg=0x7ff7febf0700) at pthread_create.c:333 #7 0x00007ff80eca2f7f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105 ---Type <return> to continue, or q <return> to quit---
Thread 4 (Thread 0x7ff806875700 (LWP 21281)): #0 0x00007ff80ef6e460 in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007ff8175e1487 in GC_wait_marker () at pthread_support.c:2087 #2 0x00007ff8175d725a in GC_help_marker (my_mark_no=my_mark_no@...3051...=13) at mark.c:1207 #3 0x00007ff8175e1457 in GC_mark_thread (id=<optimized out>) at pthread_support.c:378 #4 0x00007ff80ef686ca in start_thread (arg=0x7ff806875700) at pthread_create.c:333 #5 0x00007ff80eca2f7f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105
Thread 3 (Thread 0x7ff807076700 (LWP 21280)): #0 0x00007ff80ef6e460 in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007ff8175e1487 in GC_wait_marker () at pthread_support.c:2087 #2 0x00007ff8175d725a in GC_help_marker (my_mark_no=my_mark_no@...3051...=13) at mark.c:1207 #3 0x00007ff8175e1457 in GC_mark_thread (id=<optimized out>) at pthread_support.c:378 #4 0x00007ff80ef686ca in start_thread (arg=0x7ff807076700) at pthread_create.c:333 #5 0x00007ff80eca2f7f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105
Thread 2 (Thread 0x7ff807877700 (LWP 21279)): #0 0x00007ff80ef6e460 in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007ff8175e1487 in GC_wait_marker () at pthread_support.c:2087 #2 0x00007ff8175d725a in GC_help_marker (my_mark_no=my_mark_no@...3051...=13) at mark.c:1207 #3 0x00007ff8175e1457 in GC_mark_thread (id=<optimized out>) at pthread_support.c:378 #4 0x00007ff80ef686ca in start_thread (arg=0x7ff807877700) at pthread_create.c:333 ---Type <return> to continue, or q <return> to quit--- #5 0x00007ff80eca2f7f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105
Thread 1 (Thread 0x7ff817cd7f40 (LWP 21278)): #0 0x00005598f9277b53 in pixbuf_from_argb32(unsigned int) (c=0) at display/cairo-utils.cpp:1212 #1 0x00005598f9277c94 in convert_pixels_argb32_to_pixbuf(unsigned char*, int, int, int) (data=data@...3051...=0x7ff7c17b6010 "", w=1000000, h=h@...3051...=64, stride=stride@...3051...=4000000) at display/cairo-utils.cpp:1263 #2 0x00005598f93a4357 in sp_export_get_rows(guchar const**, void**, int, int, void*) (rows=rows@...3051...=0x55990913bf30, to_free=to_free@...3051...=0x7ffca59c4dd8, row=row@...3051...=3456, num_rows=64, num_rows@...3051...=996544, data=data@...3051...=0x7ffca59c4ec0) at helper/png-write.cpp:352 #3 0x00005598f93a4907 in sp_png_write_rgba_striped(SPDocument*, gchar const*, unsigned long, unsigned long, double, double, void*, int (*)(guchar const**, void**, int, int, void*)) ( doc=doc@...3051...=0x5598fd82adc0, filename=filename@...3051...=0x559905425500 "/media/archivio/Roba Mia/Documenti/Universita/Sicurezza informatica presentazione/immagini/map.svg.png", width=width@...3051...=1000000, height=height@...3051...=1000000, xdpi=xdpi@...3051...=200, ydpi=ydpi@...3051...=200, data=data@...3051...=0x7ffca59c4ec0, get_rows= 0x5598f93a4110 <sp_export_get_rows(guchar const**, void**, int, int, void*)>) at helper/png-write.cpp:280 #4 0x00005598f93a4f9b in sp_export_png_file(SPDocument*, char const*, Geom::Rect const&, unsigned long, unsigned long, double, double, unsigned long, unsigned int (*)(float, void*), void*, bool, std::vector<SPItem*, std::allocator<SPItem*> > const&) (doc=0x5598fd82adc0, filename=filename@...3051...=0x559905425500 "/media/archivio/Roba Mia/Documenti/Universita/Sicurezza informatica presentazione/immagini/map.svg.png", area=..., width=width@...3051...=1000000, height=height@...3051...=1000000, xdpi=xdpi@...3051...=200, ydpi=ydpi@...3051...=200, bgcolor=bgcolor@...3051...=4294967040, status= 0x5598f95b6f20 <Inkscape::UI::Dialog::Export::onProgressCallback(float, void*)>, data=0x5599060996a0, force_overwrite=false, items_only=std::vector of length 0, capacity 0) at helper/png-write.cpp:473
#5 0x00005598f95bc234 in Inkscape::UI::Dialog::Export::onExport() (this=0x559900ea4390) at ui/dialog/export.cpp:1169 #6 0x00007ff812d2f3c8 in sigc::slot0<void>::operator()() const (this=0x559900ebed38) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:513 #7 0x00007ff812d2f3c8 in Glib::SignalProxyNormal::slot0_void_callback(_GObject*, void*) (self=<optimized out>, data=0x559900ebed30) at signalproxy.cc:104 #11 0x00007ff81008d43f in <emit signal ??? on instance 0x559900eaa2a0 [gtkmm__GtkButton]> (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out---Type <return> to continue, or q <return> to quit---
) at gsignal.c:3447
#8 0x00007ff8100723e5 in g_closure_invoke (closure=0x559900ebed80, return_value=return_value@...3051...=0x0, n_param_values=1, param_values=param_values@...3051...=0x7ffca59c5d30, invocation_hint=invocation_hint@...3051...=0x7ffca59c5cb0) at gclosure.c:804 #9 0x00007ff810084503 in signal_emit_unlocked_R (node=node@...3051...=0x5598ff006e60, detail=detail@...3051...=0, instance=instance@...3051...=0x559900eaa2a0, emission_return=emission_return@...3051...=0x0, instance_and_params=instance_and_params@...3051...=0x7ffca59c5d30) at gsignal.c:3705 #10 0x00007ff81008d05f in g_signal_emit_valist (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>, var_args=var_args@...3051...=0x7ffca59c5ef0) at gsignal.c:3391 #12 0x00007ff81457b015 in gtk_real_button_released (button=0x559900eaa2a0 [gtkmm__GtkButton]) at gtkbutton.c:1712 #16 0x00007ff81008d43f in <emit signal ??? on instance 0x559900eaa2a0 [gtkmm__GtkButton]> (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>) at gsignal.c:3447 #13 0x00007ff8100723e5 in g_closure_invoke (closure=closure@...3051...=0x5598ff00ef00, return_value=return_value@...3051...=0x0, n_param_values=1, param_values=param_values@...3051...=0x7ffca59c6190, invocation_hint=invocation_hint@...3051...=0x7ffca59c6110) at gclosure.c:804 #14 0x00007ff810083e04 in signal_emit_unlocked_R (node=node@...3051...=0x5598ff00ef30, detail=detail@...3051...=0, instance=instance@...3051...=0x559900eaa2a0, emission_return=emission_return@...3051...=0x0, instance_and_params=instance_and_params@...3051...=0x7ffca59c6190) at gsignal.c:3565 #15 0x00007ff81008d05f in g_signal_emit_valist (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>, var_args=var_args@...3051...=0x7ffca59c6350) at gsignal.c:3391 #17 0x00007ff814579c9c in gtk_button_button_release (widget=0x559900eaa2a0 [gtkmm__GtkButton], event=<optimized out>) at gtkbutton.c:1604 #22 0x00007ff81008d43f in <emit signal ??? on instance 0x559900eaa2a0 [gtkmm__GtkButton]> (instance=instance@...3051...=0x559900eaa2a0, signal_id=<optimized out>, detail=detail@...3051...=0) at gsignal.c:3447 #18 0x00007ff814631b9e in _gtk_marshal_BOOLEAN__BOXED (closure=0x5598feff7ea0, return_value=0x7ffca59c65d0, n_param_values=<optimized out>, param_values=0x7ffca59c6630, invocation_hint=<optimized out>, marshal_data=<optimized out>) at gtkmarshalers.c:86 #19 0x00007ff8100723e5 in g_closure_invoke (closure=closure@...3051...=0x5598feff7ea0, return_value=return_value@...3051...=0x7ffca59c65d0, n_param_values=2, param_values=param_values@...3051...=0x7ffca59c6630, invocation_hint=invocation_hint@...3051...=0x7ffca59c65b0) at gclosure.c:804 ---Type <return> to continue, or q <return> to quit--- #20 0x00007ff81008482d in signal_emit_unlocked_R (node=node@...3051...=0x5598feff7ef0, detail=detail@...3051...=0, instance=instance@...3051...=0x559900eaa2a0, emission_return=emission_return@...3051...=0x7ffca59c6750, instance_and_params=instance_and_params@...3051...=0x7ffca59c6630) at gsignal.c:3673 #21 0x00007ff81008cb8f in g_signal_emit_valist (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>, var_args=var_args@...3051...=0x7ffca59c6800) at gsignal.c:3401 #23 0x00007ff81476218c in gtk_widget_event_internal (widget=widget@...3051...=0x559900eaa2a0 [gtkmm__GtkButton], event=event@...3051...=0x7ff7e800c170) at gtkwidget.c:5017 #24 0x00007ff814762457 in IA__gtk_widget_event (widget=widget@...3051...=0x559900eaa2a0 [gtkmm__GtkButton], event=event@...3051...=0x7ff7e800c170) at gtkwidget.c:4814 #25 0x00007ff81462fe54 in IA__gtk_propagate_event (widget=0x559900eaa2a0 [gtkmm__GtkButton], event=0x7ff7e800c170) at gtkmain.c:2501 #26 0x00007ff81463021b in IA__gtk_main_do_event (event=0x7ff7e800c170) at gtkmain.c:1696 #27 0x00007ff81428d49c in gdk_event_dispatch (source=<optimized out>, callback=<optimized out>, user_data=<optimized out>) at gdkevents-x11.c:2425 #28 0x00007ff80fd99e52 in g_main_dispatch (context=0x5598fbd0b080) at gmain.c:3203 #29 0x00007ff80fd99e52 in g_main_context_dispatch (context=context@...3051...=0x5598fbd0b080) at gmain.c:3856 #30 0x00007ff80fd9a1d0 in g_main_context_iterate (context=0x5598fbd0b080, block=block@...3051...=1, dispatch=dispatch@...3051...=1, self=<optimized out>) at gmain.c:3929 #31 0x00007ff80fd9a4f2 in g_main_loop_run (loop=0x559904fda500) at gmain.c:4125 #32 0x00007ff81462f267 in IA__gtk_main () at gtkmain.c:1268 #33 0x00005598f90da28b in sp_main_gui(int, char const**) (argc=<optimized out>, argv=<optimized out>) at main.cpp:1150 #34 0x00007ff80ebbb401 in __libc_start_main (main= 0x5598f90bca30 <main(int, char**)>, argc=2, argv=0x7ffca59c6e18, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffca59c6e08) at ../csu/libc-start.c:289 #35 0x00005598f90d62ba in _start () (gdb)