Synfigstudio 0.61.09 crashes during Import Image

Hello:

I am running v0.61.09 under Fedora Core 8 on a Dell Dimension 2400.

First, I give a big THANK YOU for refining how the Import Image layer works, in that I can assign separate image files for each keyframe. This is going to make rotoscoping significantly easier.

I am, however, running into a problem. When I assign a filename to a given keyframe, a waypoint is automatically created in the next sequential keyframe. If I right-click on the newly-created waypoint and then click on “Jump To”, Synfigstudio crashes.

I recompiled Synfig and Synfigstudio in debug mode, (and in configure changing the debug flag from “-g” to “-ggdb” to get complete debug information), and then ran Synfigstudio using “gdb”. When Studio crashed with a segment fault, here’s the stack dump.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1208367328 (LWP 6400)]
0x0868c3d7 in memset () from /lib/libc.so.6
Missing separate debuginfos, use: debuginfo-install atk.i386 beagle.i386 expat.i386 fontconfig.i386 freetype.i386 gcc.i386 glibc.i686 lcms.i3
86 libX11.i386 libXau.i386
libXcomposite.i386 libXcursor.i386 libXdamage.i386 libXdmcp.i386 libXext.i386 libXfixes.i386 libXinerama.i386 libXrandr.i386 libXrender.i386
libjpeg.i386 libmng.i386
libpng.i386 libselinux.i386 libxcb.i386 libxml2.i386 zlib.i386
(gdb) bt
#0 0x0868c3d7 in memset () from /lib/libc.so.6
#1 0x00495e9b in synfig::Surface::clear (this=0x0) at /usr/local/include/ETL/surface.h:308
#2 0x04ff1598 in Import::set_param (this=0xa556b20, param=@0xa58e5b0, value=@0xa58e5b4) at import.cpp:131
#3 0x004409e0 in synfig::Layer::set_param_list (this=0xa556b20, list=@0xbf9cc908) at layer.cpp:417
#4 0x00434ee1 in synfig::Context::set_time (this=0xbf9cc9b0, time={value
= 0.375}) at context.cpp:354
#5 0x004149c0 in synfig::Canvas::set_time (this=0xa260000, t={value_ = 0.375}) at canvas.cpp:296
#6 0x002306b1 in synfigapp::CanvasInterface::set_time (this=0xa365a88, x={value_ = 0.375}) at canvasinterface.cpp:111
#7 0x082289b9 in sigc::internal::slot_call0<sigc::bind_functor<-1, sigc::bound_mem_functor1<void, synfigapp::CanvasInterface, synfig::Time>,
synfig::Time, sigc::nil,
sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil>, void>::call_it (rep=0xa624610) at /usr/local/include/sigc+±2.0/sigc++/functors/mem_f
un.h:1851
#8 0x00d3661a in Glib::SignalProxyNormal::slot0_void_callback (self=0xa232480, data=0xa894b28) at /usr/local/include/sigc+±2.0/sigc++/funct
ors/slot.h:440
#9 0x010314a9 in IA__g_cclosure_marshal_VOID__VOID (closure=0xac18930, return_value=0x0, n_param_values=1, param_values=0xa1c6390, invocatio
n_hint=0xbf9ccc1c,
marshal_data=0xd365d0) at gmarshal.c:77
#10 0x01024033 in IA__g_closure_invoke (closure=0xac18930, return_value=0x0, n_param_values=1, param_values=0xa1c6390, invocation_hint=0xbf9c
cc1c) at gclosure.c:767
#11 0x01035681 in signal_emit_unlocked_R (node=0x9e024b8, detail=0, instance=0xa232480, emission_return=0x0, instance_and_params=0xa1c6390) a
t gsignal.c:3314
#12 0x010368b9 in IA__g_signal_emit_valist (instance=0xa232480, signal_id=123, detail=0, var_args=0xbf9cce1c “\032h�”) at gsignal.c:2977
#13 0x01036a79 in IA__g_signal_emit (instance=0xa232480, signal_id=123, detail=0) at gsignal.c:3034
#14 0x00b76868 in IA__gtk_widget_activate (widget=0xa232480) at gtkwidget.c:4776
#15 0x00a725ca in IA__gtk_menu_shell_activate_item (menu_shell=0xa3ab238, menu_item=0xa232480, force_deactivate=1) at gtkmenushell.c:1139
#16 0x00a74028 in gtk_menu_shell_button_release (widget=0xa3ab238, event=0xa6e1160) at gtkmenushell.c:678
#17 0x00a6b018 in gtk_menu_button_release (widget=0xa3ab238, event=0xa6e1160) at gtkmenu.c:2850
#18 0x00770e9b in Gtk::Widget_Class::button_release_event_callback (self=0xa3ab238, p0=0xa6e1160) at widget.cc:4683
#19 0x00a64ece in _gtk_marshal_BOOLEAN__BOXED (closure=0x9c13c18, return_value=0xbf9cd090, n_param_values=2, param_values=0x9d04cf0, invocati
on_hint=0xbf9cd07c,
marshal_data=0x770e40) at gtkmarshalers.c:84
#20 0x01022829 in g_type_class_meta_marshal (closure=0x9c13c18, return_value=0xbf9cd090, n_param_values=2, param_values=0x9d04cf0, invocation
_hint=0xbf9cd07c,
marshal_data=0xb4) at gclosure.c:878
#21 0x01024033 in IA__g_closure_invoke (closure=0x9c13c18, return_value=0xbf9cd090, n_param_values=2, param_values=0x9d04cf0, invocation_hint
=0xbf9cd07c) at
gclosure.c:767
#22 0x010359e3 in signal_emit_unlocked_R (node=0x9c133a0, detail=0, instance=0xa3ab238, emission_return=0xbf9cd1fc, instance_and_params=0x9d0
4cf0) at gsignal.c:3282
#23 0x0103673d in IA__g_signal_emit_valist (instance=0xa3ab238, signal_id=31, detail=0, var_args=) at gsignal.c:2987
#24 0x01036a79 in IA__g_signal_emit (instance=0xa3ab238, signal_id=31, detail=0) at gsignal.c:3034
#25 0x00b70c18 in gtk_widget_event_internal (widget=0xa3ab238, event=0xa6e1160) at gtkwidget.c:4745
#26 0x00a5de77 in IA__gtk_propagate_event (widget=0xa3ab238, event=0xa6e1160) at gtkmain.c:2391
#27 0x00a5f1a7 in IA__gtk_main_do_event (event=0xa6e1160) at gtkmain.c:1596
#28 0x00e01b3a in gdk_event_dispatch (source=0x9bd9c10, callback=0, user_data=0x0) at gdkevents-x11.c:2365
#29 0x0108a81c in IA__g_main_context_dispatch (context=0x9bd9c58) at gmain.c:2144
#30 0x0108dc6f in g_main_context_iterate (context=0x9bd9c58, block=1, dispatch=1, self=0x9bf5500) at gmain.c:2778
#31 0x0108e019 in IA__g_main_loop_run (loop=0x9c1b400) at gmain.c:2986
#32 0x00a5f5b4 in IA__gtk_main () at gtkmain.c:1200
#33 0x006ece07 in Gtk::Main::run_impl (this=0xbf9cd4d0) at main.cc:536
#34 0x006ecbf2 in Gtk::Main::run () at main.cc:483
#35 0x081b3eee in main (argc=0, argv=0xbf9cd5b4) at main.cpp:99

I’m not that familiar with C++ as opposed to C, so I wasn’t able to come up with a patch for you. Hopefully the stack dump will suffice.

Thanks again.

Looks like a problem where the surface is null. Could you post a backtrace with “bt full” instead of just “bt”?

Oh, and a list of steps you could take from a new canvas to the bug would be helpful for those developers who are not too familiar with the user interface.

If this behavior is repeatable please provide a sample buggy file (including the image file sources) to allow us repeat the problem by ourselves.
If you cannot post it for any reason, please write a recipe to repeat the crash like pabs suggested. I don’t fully understood your above quoted explanation/recipe.

-G

The sif files are not “buggy” per se, in fact if you create multiple waypoints without assigning image files and then save it, you can manually edit the sif file with a text editor and add in the filenames, and then re-running Synfigstudio it will successfully display the images.

As you requested, here is the step-by-step procedure to invoke the crash. Also, as requested the following stack dump was done using the “bt full” command. Thanks again for your help in isolating this problem.

  1. Run Synfigstudio

  2. In the Main Menu, select “File” and then “New”

  3. In the Root window, click the Menu caret, then Layer -> New Layer -> Other -> Import Image.
    This creates a new layer called “Import Image” in the Layer window.

  4. In the Root window, click the green sphere to go into Animate Mode.

  5. In the Params, Children, Keyframes, etc. window, click the keyframes tab and create some
    keyframes. Five are sufficient. They can be randomly placed in the Timetrack.

  6. Click on the first keyframe and with the “Import Image” layer highlighted in the Layer window,
    click the Params tab.

  7. Scroll the Params window down until you find the “Filename” parameter. It should say “”.
    Click on the Value portion until the “Find” button appears. Click the “Find” button. When the
    Choose File window appears, select an image of your choosing and press “Open”.

  8. The selected filename now appears in the Params window in the Value field. To cause Studio to
    open it, click on the “0f” on “Time Offset” below the Filename field. This should cause
    Studio to display the image in the Import Image Layer, and in the Timetrack two waypoints will
    appear, one in the first keyframe being edited and in the next adjacent keyframe.

  9. Here’s where Synfigstudio crashes: Move your mouse over to the second, adjacent waypoint that
    was created and right-click on it. In the popup menu choose “Jump To”. Studio crashes with
    the following crash dump (via GDB):

#0 0x0928d3d7 in memset () from /lib/libc.so.6
No symbol table info available.
#1 0x00495e9b in synfig::Surface::clear (this=0x0) at /usr/local/include/ETL/_surface.h:308
No locals.
#2 0x03a17598 in Import::set_param (this=0x9e12d80, param=@0x9e7aac8, value=@0x9e7aacc) at
import.cpp:131
newfilename = {static npos = 4294967295, _M_dataplus = {<std::allocator> =
{<__gnu_cxx::new_allocator> = {}, },
_M_p = 0x9edde24 “”}}
filename_with_path = {static npos = 4294967295, _M_dataplus = {<std::allocator> =
{<__gnu_cxx::new_allocator> = {}, },
M_p = 0x850afdc “”}}
PRETTY_FUNCTION = “virtual bool Import::set_param(const synfig::String&, const
synfig::ValueBase&)”
#3 0x004409e0 in synfig::Layer::set_param_list (this=0x9e12d80, list=@0xbf9a3758) at layer.cpp:417
ret = true
#4 0x00434ee1 in synfig::Context::set_time (this=0xbf9a3800, time={value
= 0.375}) at context.cpp:354
params = {_M_t = {
_M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<const std::basic_string<char,
std::char_traits, std::allocator >, synfig::ValueBase> > >> =
{<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<const std::basic_string<char,
std::char_traits, std::allocator >, synfig::ValueBase> > >> = {}, }, _M_key_compare = {<> = {}, }, _M_header = {_M_color =
std::_S_red, _M_parent = 0x9e7aab8, _M_left = 0x9e7aab8,
M_right = 0x9e7aab8}, M_node_count = 1}}}
#5 0x004149c0 in synfig::Canvas::set_time (this=0x9db0678, t={value
= 0.375}) at canvas.cpp:296
No locals.
#6 0x002306b1 in synfigapp::CanvasInterface::set_time (this=0x9d66870, x={value
= 0.375}) at
canvasinterface.cpp:111
children =
{<std::_List_base<etl::handlesynfig::Canvas,std::allocator<etl::handlesynfig::Canvas > >> = {
_M_impl = {<std::allocator<std::_List_node<etl::handlesynfig::Canvas > >> =
{<__gnu_cxx::new_allocator<std::_List_node<etl::handlesynfig::Canvas > >> = {}, }, _M_node = {_M_next = 0xbf9a38c8, _M_prev = 0x7c3972f}}}, }
interface = {obj = 0xbf9a38e8}
#7 0x082289b9 in sigc::internal::slot_call0<sigc::bind_functor<-1, sigc::bound_mem_functor1<void,
synfigapp::CanvasInterface, synfig::Time>, synfig::Time, sigc::nil, sigc::nil, sigc::nil, sigc::nil,
sigc::nil, sigc::nil>, void>::call_it (rep=0x9ff4598) at
/usr/local/include/sigc+±2.0/sigc++/functors/mem_fun.h:1851
No locals.
#8 0x00d3661a in Glib::SignalProxyNormal::slot0_void_callback (self=0x9e16de8, data=0xa129c60) at
/usr/local/include/sigc+±2.0/sigc++/functors/slot.h:440
slot =
#9 0x07c2c4a9 in IA__g_cclosure_marshal_VOID__VOID (closure=0x9d12948, return_value=0x0,
n_param_values=1, param_values=0x9e81180, invocation_hint=0xbf9a3a6c,
marshal_data=0xd365d0) at gmarshal.c:77
data1 = (gpointer) 0x9e16de8
data2 = (gpointer) 0x0
PRETTY_FUNCTION = “IA__g_cclosure_marshal_VOID__VOID”
#10 0x07c1f033 in IA__g_closure_invoke (closure=0x9d12948, return_value=0x0, n_param_values=1,
param_values=0x9e81180, invocation_hint=0xbf9a3a6c) at gclosure.c:767
marshal = (GClosureMarshal) 0x7c2c460 <IA__g_cclosure_marshal_VOID__VOID>
marshal_data = (gpointer) 0x0
PRETTY_FUNCTION = “IA__g_closure_invoke”
#11 0x07c30681 in signal_emit_unlocked_R (node=0x95f5cb8, detail=0, instance=0x9e16de8,
emission_return=0x0, instance_and_params=0x9e81180) at gsignal.c:3314
tmp =
handler = (Handler *) 0x9f1cbc0
accumulator = (SignalAccumulator *) 0x0
emission = {next = 0xbf9a3ec4, instance = 0x9e16de8, ihint = {signal_id = 123, detail = 0,
run_type = G_SIGNAL_RUN_LAST}, state = EMISSION_RUN, chain_type = 4}
class_closure = (GClosure *) 0x95f5ca0
handler_list = (Handler *) 0x9f1cbc0
return_accu = (GValue *) 0x0
accu = {g_type = 0, data = {{v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0,
v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}, {v_int = 0,
v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0,
v_pointer = 0x0}}}
signal_id = 123
max_sequential_handler_number = 13156
return_value_altered = 1
#12 0x07c318b9 in IA__g_signal_emit_valist (instance=0x9e16de8, signal_id=123, detail=0,
var_args=0xbf9a3c6c “\032h�”) at gsignal.c:2977
_flags =
_vtable =
_cvalues = {{v_int = 17909028, v_long = 17909028, v_int64 = 713475156866057508, v_double =
5.7856618465633459e-261, v_pointer = 0x1114524}, {v_int = 154603508,
v_long = 154603508, v_int64 = -4640330529559343116, v_double = -0.025619388163036619, v_pointer =
0x9370ff4}, {v_int = 17148444, v_long = 17148444,
v_int64 = 670092138884999708, v_double = 7.107065825410153e-264, v_pointer = 0x105aa1c}, {v_int =
153653488, v_long = 153653488, v_int64 = 664035891536761072,
v_double = 2.8692480168529007e-264, v_pointer = 0x92890f0}, {v_int = 141290328, v_long = 141290328,
v_int64 = 61578131675016024, v_double = 1.5248396671499043e-304,
v_pointer = 0x86beb58}, {v_int = 162295904, v_long = 162295904, v_int64 = -4640330735710080928,
v_double = -0.025618672933987674, v_pointer = 0x9ac7060}, {v_int = 1,
v_long = 1, v_int64 = 670092190407458817, v_double = 7.1071112394987342e-264, v_pointer = 0x1},
{v_int = 141290328, v_long = 141290328, v_int64 = 670092139009141592,
v_double = 7.1070659348340938e-264, v_pointer = 0x86beb58}}
lcopy_format =
n_values =
return_value = {g_type = 17909028, data = {{v_int = 156016640, v_uint = 156016640, v_long =
156016640, v_ulong = 156016640, v_int64 = 697055600110772224,
v_uint64 = 697055600110772224, v_float = 2.46308384e-33, v_double = 4.5157259556865542e-262,
v_pointer = 0x94ca000}, {v_int = -1080411112, v_uint = 3214556184,
v_long = -1080411112, v_ulong = 3214556184, v_int64 = 73658971513830424, v_uint64 =
73658971513830424, v_float = -1.20495892, v_double = 9.8836789833714544e-304,
v_pointer = 0xbf9a3c18}}}
error =
signal_return_type = 4
param_values = (GValue *) 0x9e81194
node = (SignalNode *) 0x95f5cb8
i = 2593
n_params = 0
PRETTY_FUNCTION = “IA__g_signal_emit_valist”
#13 0x07c31a79 in IA__g_signal_emit (instance=0x9e16de8, signal_id=123, detail=0) at gsignal.c:3034
var_args = 0xbf9a3c6c “\032h�”
#14 0x00b76868 in IA__gtk_widget_activate (widget=0x9e16de8) at gtkwidget.c:4776
PRETTY_FUNCTION = “IA__gtk_widget_activate”
#15 0x00a725ca in IA__gtk_menu_shell_activate_item (menu_shell=0x97ec750, menu_item=0x9e16de8,
force_deactivate=1) at gtkmenushell.c:1139
slist =
shells =
PRETTY_FUNCTION = “IA__gtk_menu_shell_activate_item”
#16 0x00a74028 in gtk_menu_shell_button_release (widget=0x97ec750, event=0x9d15a98) at
gtkmenushell.c:678
submenu = (GtkWidget *) 0x0
menu_shell =
#17 0x00a6b018 in gtk_menu_button_release (widget=0x97ec750, event=0x9d15a98) at gtkmenu.c:2850
priv =
#18 0x00770e9b in Gtk::Widget_Class::button_release_event_callback (self=0x97ec750, p0=0x9d15a98) at
widget.cc:4683
obj_base = (class Glib::ObjectBase * const) 0x9e174f8
#19 0x00a64ece in gtk_marshal_BOOLEAN__BOXED (closure=0x9516c18, return_value=0xbf9a3ee0,
n_param_values=2, param_values=0x9e0a628, invocation_hint=0xbf9a3ecc,
marshal_data=0x770e40) at gtkmarshalers.c:84
data1 = (gpointer) 0x97ec750
data2 =
v_return =
PRETTY_FUNCTION = "gtk_marshal_BOOLEAN__BOXED"
#20 0x07c1d829 in g_type_class_meta_marshal (closure=0x9516c18, return_value=0xbf9a3ee0,
n_param_values=2, param_values=0x9e0a628, invocation_hint=0xbf9a3ecc,
marshal_data=0xb4) at gclosure.c:878
callback =
#21 0x07c1f033 in IA__g_closure_invoke (closure=0x9516c18, return_value=0xbf9a3ee0, n_param_values=2,
param_values=0x9e0a628, invocation_hint=0xbf9a3ecc) at gclosure.c:767
marshal = (GClosureMarshal) 0x7c1d7e0 <g_type_class_meta_marshal>
marshal_data = (gpointer) 0xb4
PRETTY_FUNCTION = “IA__g_closure_invoke”
#22 0x07c309e3 in signal_emit_unlocked_R (node=0x95163a0, detail=0, instance=0x97ec750,
emission_return=0xbf9a404c, instance_and_params=0x9e0a628) at gsignal.c:3282
tmp =
handler = (Handler *) 0xbf9a3e98
accumulator = (SignalAccumulator *) 0x95163f0
emission = {next = 0x0, instance = 0x97ec750, ihint = {signal_id = 31, detail = 0, run_type =
G_SIGNAL_RUN_LAST}, state = EMISSION_RUN, chain_type = 156185648}
class_closure = (GClosure *) 0x9516c18
handler_list = (Handler *) 0x0
return_accu = (GValue *) 0xbf9a3ee0
accu = {g_type = 20, data = {{v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0,
v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}, {v_int = 0,
v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0,
v_pointer = 0x0}}}
signal_id = 31
max_sequential_handler_number = 13156
return_value_altered = 0
#23 0x07c3173d in IA__g_signal_emit_valist (instance=0x97ec750, signal_id=31, detail=0, var_args=) at gsignal.c:2987
flags =
vtable =
cvalues = {{v_int = -1080409880, v_long = -1080409880, v_int64 = 3214557416, v_double =
1.5882023858298086e-314, v_pointer = 0xbf9a40e8}, {v_int = 0, v_long = 0,
v_int64 = 0, v_double = 0, v_pointer = 0x0}, {v_int = 0, v_long = 0, v_int64 = 0, v_double = 0,
v_pointer = 0x0}, {v_int = 0, v_long = 0, v_int64 = 0, v_double = 0,
v_pointer = 0x0}, {v_int = 0, v_long = 0, v_int64 = 0, v_double = 0, v_pointer = 0x0}, {v_int = 0,
v_long = 0, v_int64 = 0, v_double = 0, v_pointer = 0x0}, {v_int = 0,
v_long = 0, v_int64 = 0, v_double = 0, v_pointer = 0x0}, {v_int = 0, v_long = 0, v_int64 = 0,
v_double = 0, v_pointer = 0x0}}
lcopy_format =
n_values =
return_value = {g_type = 20, data = {{v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 =
0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}, {
v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double =
0, v_pointer = 0x0}}}
error =
signal_return_type = 20
param_values = (GValue *) 0x9e0a63c
node = (SignalNode *) 0x95163a0
i = 1
n_params = 1
PRETTY_FUNCTION = “IA__g_signal_emit_valist”
#24 0x07c31a79 in IA__g_signal_emit (instance=0x97ec750, signal_id=31, detail=0) at gsignal.c:3034
var_args = 0xbf9a40cc “\230Z�\t�@\232�\230Z�\tP�~\t\037j�”
#25 0x00b70c18 in gtk_widget_event_internal (widget=0x97ec750, event=0x9d15a98) at gtkwidget.c:4745
signal_num =
return_val = 0
#26 0x00a5de77 in IA__gtk_propagate_event (widget=0x97ec750, event=0x9d15a98) at gtkmain.c:2391
window = (GtkWidget *) 0x97ec750
handled_event = 0
PRETTY_FUNCTION = “IA__gtk_propagate_event”
#27 0x00a5f1a7 in IA__gtk_main_do_event (event=0x9d15a98) at gtkmain.c:1596
event_widget = (GtkWidget *) 0x9e16de8
grab_widget = (GtkWidget *) 0x9e16de8
window_group = (GtkWindowGroup *) 0x95f8080
rewritten_event = (GdkEvent *) 0x0
tmp_list =
PRETTY_FUNCTION = “IA__gtk_main_do_event”
#28 0x00e01b3a in gdk_event_dispatch (source=0x94dcc10, callback=0, user_data=0x0) at
gdkevents-x11.c:2365
display =
event = (GdkEvent *) 0x9d15a98
#29 0x0885a81c in IA__g_main_context_dispatch (context=0x94dcc58) at gmain.c:2144
No locals.
#30 0x0885dc6f in g_main_context_iterate (context=0x94dcc58, block=1, dispatch=1, self=0x94f8500) at
gmain.c:2778
got_ownership =
max_priority = 2147483647
timeout = 55838
some_ready = 1
nfds =
allocated_nfds =
fds = (GPollFD *) 0x9d1e638
PRETTY_FUNCTION = “g_main_context_iterate”
#31 0x0885e019 in IA__g_main_loop_run (loop=0x95181d8) at gmain.c:2986
got_ownership = 14332736
self = (GThread *) 0x94f8500
PRETTY_FUNCTION = “IA__g_main_loop_run”
#32 0x00a5f5b4 in IA__gtk_main () at gtkmain.c:1200
tmp_list = (GList *) 0xbf9a4380
functions = (GList *) 0x0
init = (GtkInitFunction *) 0x2c2ca0
loop = (GMainLoop *) 0x95181d8
#33 0x006ece07 in Gtk::Main::run_impl (this=0xbf9a4320) at main.cc:536
No locals.
#34 0x006ecbf2 in Gtk::Main::run () at main.cc:483
No locals.
#35 0x081b3eee in main (argc=0, argv=0xbf9a4404) at main.cpp:99
file = {obj = 0x0, refcount = {counter
= 0x0}}
app = {Gtk::Main = {sigc::trackable = {callback_list
= 0x0}, vptr.Main = 0x845d1e8, static
signal_run
= {},
static signal_quit
= {}, static signal_key_snooper
= {}, static
instance
= 0xbf9a4320}, studio::IconController = {icon_factory = {
pCppObject
= 0x94f9c58}}, synfigapp_main = {obj = 0x95f8ef8, refcount = {counter
= 0x96d9cf0}},
static selected_instance = {obj = 0x9c91a88},
static selected_canvas_view = {obj = 0x9c8fe88}, static ui_manager
= {pCppObject
= 0x96eb670},
static dialog_input = 0x981c468, static device_tracker = 0x97ea418,
static auto_recover = 0x9826780, static dock_manager = 0x9703ea8, static dialog_setup = 0x980e0f8,
static dialog_gradient = 0x97e1800, static dialog_color = 0x97cd140,
static dialog_tool_options = 0x9769558, static distance_system = synfig::Distance::SYSTEM_POINTS,
static gamma = {gamma_r = 0.454544991, gamma_g = 0.454544991,
gamma_b = 0.454544991, black_level = 0, red_blue_level = 1, table_r_U16_to_U8 = {0 ‘\0’, 2 ‘\002’, 2
‘\002’, 3 ‘\003’, 3 ‘\003’, 3 ‘\003’, 4 ‘\004’, 4 ‘\004’, 4 ‘\004’,
4 ‘\004’, 5 ‘\005’, 5 ‘\005’, 5 ‘\005’, 5 ‘\005’, 5 ‘\005’, 6 ‘\006’, 6 ‘\006’, 6 ‘\006’, 6
‘\006’, 6 ‘\006’, 6 ‘\006’, 7 ‘\a’, 7 ‘\a’, 7 ‘\a’, 7 ‘\a’, 7 ‘\a’,
7 ‘\a’, 7 ‘\a’, 7 ‘\a’, 8 ‘\b’, 8 ‘\b’, 8 ‘\b’, 8 ‘\b’, 8 ‘\b’, 8 ‘\b’, 8 ‘\b’, 8 ‘\b’, 9 ‘\t’
<repeats 11 times>, 10 ‘\n’ <repeats 11 times>,
11 ‘\v’ <repeats 13 times>, 12 ‘\f’ <repeats 15 times>, 13 ‘\r’ <repeats 16 times>, 14 ‘\016’
<repeats 17 times>, 15 ‘\017’ <repeats 19 times>,
16 ‘\020’ <repeats 20 times>, 17 ‘\021’ <repeats 22 times>, 18 ‘\022’ <repeats 24 times>, 19
‘\023’ <repeats 25 times>, 20 ‘\024’ <repeats 26 times>,
21 ‘\025’ <repeats 29 times>, 22 ‘\026’ <repeats 29 times>, 23 ‘\027’ <repeats 32 times>, 24
‘\030’ <repeats 33 times>, 25 ‘\031’ <repeats 35 times>…},
table_g_U16_to_U8 = {0 ‘\0’, 2 ‘\002’, 2 ‘\002’, 3 ‘\003’, 3 ‘\003’, 3 ‘\003’, 4 ‘\004’, 4 ‘\004’, 4
‘\004’, 4 ‘\004’, 5 ‘\005’, 5 ‘\005’, 5 ‘\005’, 5 ‘\005’, 5 ‘\005’,
6 ‘\006’, 6 ‘\006’, 6 ‘\006’, 6 ‘\006’, 6 ‘\006’, 6 ‘\006’, 7 ‘\a’, 7 ‘\a’, 7 ‘\a’, 7 ‘\a’, 7
‘\a’, 7 ‘\a’, 7 ‘\a’, 7 ‘\a’, 8 ‘\b’, 8 ‘\b’, 8 ‘\b’, 8 ‘\b’, 8 ‘\b’,
8 ‘\b’, 8 ‘\b’, 8 ‘\b’, 9 ‘\t’ <repeats 11 times>, 10 ‘\n’ <repeats 11 times>, 11 ‘\v’ <repeats 13
times>, 12 ‘\f’ <repeats 15 times>, 13 ‘\r’ <repeats 16 times>,
14 ‘\016’ <repeats 17 times>, 15 ‘\017’ <repeats 19 times>, 16 ‘\020’ <repeats 20 times>, 17
‘\021’ <repeats 22 times>, 18 ‘\022’ <repeats 24 times>,
19 ‘\023’ <repeats 25 times>, 20 ‘\024’ <repeats 26 times>, 21 ‘\025’ <repeats 29 times>, 22
‘\026’ <repeats 29 times>, 23 ‘\027’ <repeats 32 times>,
24 ‘\030’ <repeats 33 times>, 25 ‘\031’ <repeats 35 times>…}, table_b_U16_to_U8 = {0 ‘\0’, 2
‘\002’, 2 ‘\002’, 3 ‘\003’, 3 ‘\003’, 3 ‘\003’, 4 ‘\004’, 4 ‘\004’,
4 ‘\004’, 4 ‘\004’, 5 ‘\005’, 5 ‘\005’, 5 ‘\005’, 5 ‘\005’, 5 ‘\005’, 6 ‘\006’, 6 ‘\006’, 6
‘\006’, 6 ‘\006’, 6 ‘\006’, 6 ‘\006’, 7 ‘\a’, 7 ‘\a’, 7 ‘\a’, 7 ‘\a’,
7 ‘\a’, 7 ‘\a’, 7 ‘\a’, 7 ‘\a’, 8 ‘\b’, 8 ‘\b’, 8 ‘\b’, 8 ‘\b’, 8 ‘\b’, 8 ‘\b’, 8 ‘\b’, 8 ‘\b’, 9
‘\t’ <repeats 11 times>, 10 ‘\n’ <repeats 11 times>,
11 ‘\v’ <repeats 13 times>, 12 ‘\f’ <repeats 15 times>, 13 ‘\r’ <repeats 16 times>, 14 ‘\016’
<repeats 17 times>, 15 ‘\017’ <repeats 19 times>,
16 ‘\020’ <repeats 20 times>, 17 ‘\021’ <repeats 22 times>, 18 ‘\022’ <repeats 24 times>, 19
‘\023’ <repeats 25 times>, 20 ‘\024’ <repeats 26 times>,
21 ‘\025’ <repeats 29 times>, 22 ‘\026’ <repeats 29 times>, 23 ‘\027’ <repeats 32 times>, 24
‘\030’ <repeats 33 times>, 25 ‘\031’ <repeats 35 times>…},
table_r_U8_to_F32 = {0, 0.080559954, 0.110395379, 0.132737085, 0.151280373, 0.167429715,
0.181896344, 0.195098668, 0.207307145, 0.218708351, 0.229437396, 0.239595711,
0.249261752, 0.258497655, 0.267353565, 0.275870711, 0.284083456, 0.292020679, 0.299707115,
0.307163954, 0.314409673, 0.321460336, 0.328330129, 0.335031599,
7 ‘\a’, 7 ‘\a’, 7 ‘\a’, 7 ‘\a’, 8 ‘\b’, 8 ‘\b’, 8 ‘\b’, 8 ‘\b’, 8 ‘\b’, 8 ‘\b’, 8 ‘\b’, 8 ‘\b’, 9
‘\t’ <repeats 11 times>, 10 ‘\n’ <repeats 11 times>,
11 ‘\v’ <repeats 13 times>, 12 ‘\f’ <repeats 15 times>, 13 ‘\r’ <repeats 16 times>, 14 ‘\016’
<repeats 17 times>, 15 ‘\017’ <repeats 19 times>,
16 ‘\020’ <repeats 20 times>, 17 ‘\021’ <repeats 22 times>, 18 ‘\022’ <repeats 24 times>, 19
‘\023’ <repeats 25 times>, 20 ‘\024’ <repeats 26 times>,
21 ‘\025’ <repeats 29 times>, 22 ‘\026’ <repeats 29 times>, 23 ‘\027’ <repeats 32 times>, 24
‘\030’ <repeats 33 times>, 25 ‘\031’ <repeats 35 times>…},
table_r_U8_to_F32 = {0, 0.080559954, 0.110395379, 0.132737085, 0.151280373, 0.167429715,
0.181896344, 0.195098668, 0.207307145, 0.218708351, 0.229437396, 0.239595711,
0.249261752, 0.258497655, 0.267353565, 0.275870711, 0.284083456, 0.292020679, 0.299707115,
0.307163954, 0.314409673, 0.321460336, 0.328330129, 0.335031599,
—Type to continue, or q to quit—
0.34157598, 0.347973228, 0.354232401, 0.360361546, 0.366368085, 0.372258753, 0.378039598,
0.383716255, 0.389293909, 0.394777268, 0.400170714, 0.405478299,
0.410703808, 0.415850729, 0.420922309, 0.425921619, 0.43085146, 0.435714543, 0.440513343,
0.445250213, 0.44992736, 0.454546899, 0.459110737, 0.463620812, 0.468078822,
0.472486466, 0.476845324, 0.481156856, 0.485422552, 0.489643693, 0.493821651, 0.497957587,
0.502052724, 0.506108165, 0.510124981, 0.514104187, 0.518046737,
0.521953642, 0.525825799, 0.52966398, 0.533469141, 0.537241936, 0.54098326, 0.544693708,
0.548374176, 0.552025139, 0.555647433, 0.559241533, 0.562808216, 0.566347897,
0.569861293, 0.57334882, 0.576811135, 0.580248654, 0.583661914, 0.587051392, 0.590417504,
0.593760788, 0.597081661, 0.60038048, 0.603657663, 0.606913686, 0.610148847,
0.613363564, 0.616558194, 0.619733095, 0.622888565, 0.626025021, 0.629142642, 0.632241905,
0.635323048, 0.638386309, 0.641432106, 0.644460559, 0.647472084,
0.650466919, 0.653445244, 0.656407356, 0.659353554, 0.662284076, 0.665199041, 0.668098807,
0.670983493, 0.673853457, 0.676708758, 0.679549694, 0.682376444,
0.685189247, 0.687988222, 0.690773606, 0.69354558, 0.696304321, 0.699050009, 0.701782823,
0.70450294, 0.707210481, 0.709905684, 0.712588608, 0.715259492, 0.717918456,
0.720565677, 0.723201215, 0.72582531, 0.728438139, 0.731039703, 0.73363024, 0.73620981,
0.738778591, 0.741336644, 0.743884206, 0.746421337, 0.748948157, 0.751464784,
0.753971398, 0.756467998, 0.758954704, 0.761431754, 0.763899088, 0.766356945, 0.768805385,
0.771244526, 0.773674369, 0.776095152, 0.778506875, 0.780909717,
0.783303678, 0.785688877, 0.788065434, 0.790433407, 0.792792916, 0.795144022, 0.797486842,
0.799821436, 0.802147806, 0.804466188, 0.806776524, 0.809078991,
0.811373591, 0.813660443, 0.815939605, 0.818211138, 0.820475161, 0.822731674, 0.824980855,
0.827222645, 0.829457164, 0.83168447, 0.833904684, 0.836117804,
0.838323951, 0.840523124, 0.842715383, 0.844900846, 0.847079575, 0.849251568, 0.851416945,
0.853575706, 0.855727911, 0.857873678, 0.860013008, 0.86214602,
0.864272654, 0.86639303, 0.868507266, 0.870615244, 0.872717202, 0.87481308, 0.876902938,
0.878986776, 0.881064773, 0.883136928, 0.885203183, 0.887263715, 0.889318526,
0.891367674, 0.89341116…}, table_g_U8_to_F32 = {0, 0.080559954, 0.110395379, 0.132737085,
0.151280373, 0.167429715, 0.181896344, 0.195098668, 0.207307145,
0.218708351, 0.229437396, 0.239595711, 0.249261752, 0.258497655, 0.267353565, 0.275870711,
0.284083456, 0.292020679, 0.299707115, 0.307163954, 0.314409673,
0.321460336, 0.328330129, 0.335031599, 0.34157598, 0.347973228, 0.354232401, 0.360361546,
0.366368085, 0.372258753, 0.378039598, 0.383716255, 0.389293909,
0.394777268, 0.400170714, 0.405478299, 0.410703808, 0.415850729, 0.420922309, 0.425921619,
0.43085146, 0.435714543, 0.440513343, 0.445250213, 0.44992736, 0.454546899,
0.459110737, 0.463620812, 0.468078822, 0.472486466, 0.476845324, 0.481156856, 0.485422552,
0.489643693, 0.493821651, 0.497957587, 0.502052724, 0.506108165,
0.510124981, 0.514104187, 0.518046737, 0.521953642, 0.525825799, 0.52966398, 0.533469141,
0.537241936, 0.54098326, 0.544693708, 0.548374176, 0.552025139, 0.555647433,
0.559241533, 0.562808216, 0.566347897, 0.569861293, 0.57334882, 0.576811135, 0.580248654,
0.583661914, 0.587051392, 0.590417504, 0.593760788, 0.597081661, 0.60038048,
0.603657663, 0.606913686, 0.610148847, 0.613363564, 0.616558194, 0.619733095, 0.622888565,
0.626025021, 0.629142642, 0.632241905, 0.635323048, 0.638386309,
0.641432106, 0.644460559, 0.647472084, 0.650466919, 0.653445244, 0.656407356, 0.659353554,
0.662284076, 0.665199041, 0.668098807, 0.670983493, 0.673853457,
0.676708758, 0.679549694, 0.682376444, 0.685189247, 0.687988222, 0.690773606, 0.69354558,
0.696304321, 0.699050009, 0.701782823, 0.70450294, 0.707210481, 0.709905684,
0.712588608, 0.715259492, 0.717918456, 0.720565677, 0.723201215, 0.72582531, 0.728438139,
0.731039703, 0.73363024, 0.73620981, 0.738778591, 0.741336644, 0.743884206,
0.746421337, 0.748948157, 0.751464784, 0.753971398, 0.756467998, 0.758954704, 0.761431754,
0.763899088, 0.766356945, 0.768805385, 0.771244526, 0.773674369,
0.776095152, 0.778506875, 0.780909717, 0.783303678, 0.785688877, 0.788065434, 0.790433407,
0.792792916, 0.795144022, 0.797486842, 0.799821436, 0.802147806,
0.804466188, 0.806776524, 0.809078991, 0.811373591, 0.813660443, 0.815939605, 0.818211138,
0.820475161, 0.822731674, 0.824980855, 0.827222645, 0.829457164,
0.83168447, 0.833904684, 0.836117804, 0.838323951, 0.840523124, 0.842715383, 0.844900846,
0.847079575, 0.849251568, 0.851416945, 0.853575706, 0.855727911,
0.857873678, 0.860013008, 0.86214602, 0.864272654, 0.86639303, 0.868507266, 0.870615244,
0.872717202, 0.87481308, 0.876902938, 0.878986776, 0.881064773, 0.883136928,
0.885203183, 0.887263715, 0.889318526, 0.891367674, 0.89341116…}, table_b_U8_to_F32 = {0,
0.080559954, 0.110395379, 0.132737085, 0.151280373, 0.167429715,
0.181896344, 0.195098668, 0.207307145, 0.218708351, 0.229437396, 0.239595711, 0.249261752,
0.258497655, 0.267353565, 0.275870711, 0.284083456, 0.292020679,
0.299707115, 0.307163954, 0.314409673, 0.321460336, 0.328330129, 0.335031599, 0.34157598,
0.347973228, 0.354232401, 0.360361546, 0.366368085, 0.372258753,
0.378039598, 0.383716255, 0.389293909, 0.394777268, 0.400170714, 0.405478299, 0.410703808,
0.415850729, 0.420922309, 0.425921619, 0.43085146, 0.435714543,
0.440513343, 0.445250213, 0.44992736, 0.454546899, 0.459110737, 0.463620812, 0.468078822,
0.472486466, 0.476845324, 0.481156856, 0.485422552, 0.489643693,
0.493821651, 0.497957587, 0.502052724, 0.506108165, 0.510124981, 0.514104187, 0.518046737,
0.521953642, 0.525825799, 0.52966398, 0.533469141, 0.537241936, 0.54098326,
0.544693708, 0.548374176, 0.552025139, 0.555647433, 0.559241533, 0.562808216, 0.566347897,
0.569861293, 0.57334882, 0.576811135, 0.580248654, 0.583661914,
0.587051392, 0.590417504, 0.593760788, 0.597081661, 0.60038048, 0.603657663, 0.606913686,
0.610148847, 0.613363564, 0.616558194, 0.619733095, 0.622888565,
0.626025021, 0.629142642, 0.632241905, 0.635323048, 0.638386309, 0.641432106, 0.644460559,
0.647472084, 0.650466919, 0.653445244, 0.656407356, 0.659353554,
0.662284076, 0.665199041, 0.668098807, 0.670983493, 0.673853457, 0.676708758, 0.679549694,
0.682376444, 0.685189247, 0.687988222, 0.690773606, 0.69354558,
0.696304321, 0.699050009, 0.701782823, 0.70450294, 0.707210481, 0.709905684, 0.712588608,
0.715259492, 0.717918456, 0.720565677, 0.723201215, 0.72582531, 0.728438139,
0.731039703, 0.73363024, 0.73620981, 0.738778591, 0.741336644, 0.743884206, 0.746421337,
0.748948157, 0.751464784, 0.753971398, 0.756467998, 0.758954704, 0.761431754,
0.763899088, 0.766356945, 0.768805385, 0.771244526, 0.773674369, 0.776095152, 0.778506875,
0.780909717, 0.783303678, 0.785688877, 0.788065434, 0.790433407,
0.792792916, 0.795144022, 0.797486842, 0.799821436, 0.802147806, 0.804466188, 0.806776524,
0.809078991, 0.811373591, 0.813660443, 0.815939605, 0.818211138,
0.820475161, 0.822731674, 0.824980855, 0.827222645, 0.829457164, 0.83168447, 0.833904684,
0.836117804, 0.838323951, 0.840523124, 0.842715383, 0.844900846,
0.847079575, 0.849251568, 0.851416945, 0.853575706, 0.855727911, 0.857873678, 0.860013008,
0.86214602, 0.864272654, 0.86639303, 0.868507266, 0.870615244, 0.872717202,
0.87481308, 0.876902938, 0.878986776, 0.881064773, 0.883136928, 0.885203183, 0.887263715,
0.889318526, 0.891367674, 0.89341116…}}, static about = 0x974b000,
static toolbox = 0x972d2d0, static instance_list =
{<std::_List_base<etl::handlestudio::Instance,std::allocator<etl::handlestudio::Instance > >> = {
_M_impl = {<std::allocator<std::_List_node<etl::handlestudio::Instance > >> =
{<__gnu_cxx::new_allocator<std::_List_node<etl::handlestudio::Instance > >> = {}, }, _M_node = {_M_next = 0x9de3d80, _M_prev = 0x9de3d80}}}, }, static
shutdown_in_progress = false,
static use_colorspace_gamma = true, static restrict_radius_ducks = false, static browser_command =
{static npos = 4294967295,
_M_dataplus = {<std::allocator> = {<__gnu_cxx::new_allocator> = {}, }, _M_p = 0x9b4e35c “xdg-open”}},
static custom_filename_prefix = {static npos = 4294967295,
_M_dataplus = {<std::allocator> = {<__gnu_cxx::new_allocator> = {}, }, _M_p = 0x98267ac "Synfig Animation "}},
static preferred_x_size = 2048, static preferred_y_size = 1556, static predefined_size = {static npos
= 4294967295,
_M_dataplus = {<std::allocator> = {<__gnu_cxx::new_allocator> = {}, },
_M_p = 0x982672c “2048x1556 Full Aperture Native 2K”}}}
x =
str = {static npos = 4294967295, _M_dataplus = {<std::allocator> =
{<__gnu_cxx::new_allocator> = {}, },
_M_p = 0x220f80 “U\211�S�\016���\201��=\a”}}
ret =

Cool, good crashing bug you found. :slight_smile:
Next time you want to paste the backtrace please use any debugging collaborative tool (pastebin.com is fine) to avoid spam the forum.
Also we would be so appreciated if you open a new tracker in the SF bug tracker for future references and bug tracking. Opening an account at sourceforge.net is a good thing to help on synfig project.

Sincerely it is a quite unusual bug. :slight_smile:

-G

Hmmmm, sometimes ‘this’ in frame 1 is 0 and sometimes it is a random value. I think maybe it is not initialised somewhere. Investigating a bit…

I found another way to trigger it: add the import layer, set the filename then set it to blank…

Looks like it is caused by the use of etl::surface::mirror in the png and jpeg importers, doesn’t seem to affect other importers.

Fixed it in SVN r2145, thanks for the report.

Glad I could find the bug for you! I seem to have a knack for stumbling across them.

I’ll take your advice about the “pastebin.com” recommendation for the next bug, if any, that I find. :slight_smile:

Thanks again for you folks fixing it so quickly. I apologize for being a newbie at this, but how
do I download “SVN r2145”?

Long answer:
Go to sysnfig.org/Build_instructions page and follow them to build the source. Read carefully all the needed packages for your operating system.

Short answer:

svn co https://synfig.svn.sourceforge.net/svnroot/synfig/ETL/trunk/ etl svn co https://synfig.svn.sourceforge.net/svnroot/synfig/synfig-core/trunk/ synfig-core svn co https://synfig.svn.sourceforge.net/svnroot/synfig/synfig-studio/trunk/ synfig-studio

Then follow the build instructions for our platform.

Ask here or at #synfig IRC if need more help
-G

i have the same problem!!! well…sort of!!! after i had imported a jpg image into synfig, i started zooming in, because the image was a little too far away, and fuzzy! and the program up and crashed!!! what’s up with that?

Does anyone know what the problem could be?!!!

Thanks in advance!

Thats a known bug - see the bug tracker linked from here:

synfig.org/Bugs

Right! u answered my question in the other thread! sorry that i asked it twice!!!

but i hope someone comes up with a fix for it soon, though!

i know…that someone COULD be me!!! :laughing: