LST files importing crashes with Cairo enabled

Wanted to see if you guys experience the same problem.

See, I wanted to load image sequences for creating effects. Running the latest stable, with Cairo enabled. Imported .lst file.

…And Synfig crashes.

This doesn’t happen when Cairo is disabled, as it loads fine.

EDIT 09/15 Oups, Blend Method was Overlay, that’s why nothing wad diplayed! END EDIT

Tested with “testimport.lst”:

[code]FPS 24

ligne16-carte.png
ligne16-carte2.png
ligne16-carte.png
ligne16-carte2.png
ligne16-carte.png
ligne16-carte2.png
ligne16-carte.png
ligne16-carte2.png
ligne16-carte.png
ligne16-carte2.png
ligne16-carte.png
ligne16-carte2.png
ligne16-carte.png
ligne16-carte2.png[/code]

  1. Without cairo in workspace :

[code]synfig(22417) [07:51:22] info: Attempting to import /home/haricot/Images/testimport.lst
synfig(22417) [07:51:23] info: basename(curpath)=bin, Path adjusted to …/…/…/…/…/Images/testimport.lst

synfig(22417) [07:52:19] info: Setting preview
synfig(22417) [07:52:19] info: FPS = 24,000000
[/code]
Layer created , but no images displayed ( nothing either in preview). Then, activating cairo in workspace cause segfault!

  1. With cairo in workspace :

synfig(22417) [07:51:22] info: Attempting to import /home/haricot/Images/testimport.lst synfig(22417) [07:51:23] info: basename(curpath)=bin, Path adjusted to ../../../../../Images/testimport.lst Erreur de segmentation

Version de développement : Revision: 20130911 Branch: master Revision ID: 4c5400 Compilé le Sep 12 2013

But in your case do you have the png files visible with the Software render? I mean, are them reachable?
-G

Yup! Disabling Cairo, I can view the image sequences just fine with software renderer. Haven’t tried the “Preview” though…

In your case, are the images png? If so, please share them with me to reproduce the problem.
-G

Oups my dear !

Blend method for the Import Image Layer was set to “Overlay” !
That’s why nothing was displayed !

Anyway, segfault occured everytime i import “testimport.lst” cairo activated.
It goes more or less directly to segfault (from 0 to 2s , sometime i can have the chance to change Blend Method to Composite) … some event related ?

Open synfig
Active Cairo on workspace
Close synfig
Open Synfig
Import a .lst file
(direct or wait a little, moving the canevas windows, moving the cursor up to toolbox, changing Blend Method…)
Segfault.

Thread 5 (Thread 0xaf4feb40 (LWP 7130)):
#0  0xb7fde424 in __kernel_vsyscall ()
#1  0xb64957cb in poll () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
#2  0xb670840b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb66f97a0 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb66f9901 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb66f998e in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0xb671f2f3 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0xb7722cf1 in start_thread () from /lib/i386-linux-gnu/i686/cmov/libpthread.so.0
#8  0xb64a3fae in clone () from /lib/i386-linux-gnu/i686/cmov/libc.so.6

Thread 3 (Thread 0xb0613b40 (LWP 7128)):
#0  0xb7fde424 in __kernel_vsyscall ()
#1  0xb7726b93 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/i686/cmov/libpthread.so.0
#2  0xb673d760 in g_cond_wait_until () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb66cb939 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb66cc17e in g_async_queue_timeout_pop () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb671fccf in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0xb671f2f3 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0xb7722cf1 in start_thread () from /lib/i386-linux-gnu/i686/cmov/libpthread.so.0
#8  0xb64a3fae in clone () from /lib/i386-linux-gnu/i686/cmov/libc.so.6

Thread 1 (Thread 0xb5f9c880 (LWP 7124)):
#0  0x083d3db6 in synfig::Color::Color (this=0xbfffe704, c=...) at /home/haricot/Sources/Synfig/synfig/install/include/synfig-0.0/synfig/color.h:251
#1  0xb7a6e4c0 in etl::surface<synfig::Color, synfig::Color, synfig::ColorPrep>::linear_sample (this=0x9348874, x=252, y=147) at /home/haricot/Sources/Synfig/synfig/install/include/ETL/_surface.h:404
#2  0xb7a67eaf in synfig::Layer_Bitmap::get_color (this=0x93486e8, context=..., pos=...) at layer_bitmap.cpp:291
#3  0xb7ba759e in synfig::Context::get_color (this=0xbfffeac4, pos=...) at context.cpp:216
#4  0x0842aa00 in studio::Dock_Info::on_mouse_move (this=0x8bdfd38) at docks/dock_info.cpp:79
#5  0x0842d23e in sigc::bound_mem_functor0<void, studio::Dock_Info>::operator() (this=0x91faa34) at /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:1787
#6  0x0842d1b6 in sigc::adaptor_functor<sigc::bound_mem_functor0<void, studio::Dock_Info> >::operator() (this=0x91faa30) at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#7  0x0842d0b6 in sigc::internal::slot_call0<sigc::bound_mem_functor0<void, studio::Dock_Info>, void>::call_it (rep=0x91faa18) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#8  0x083ca3e6 in sigc::internal::signal_emit0<void, sigc::nil>::emit (impl=0x91f8d70) at /usr/include/sigc++-2.0/sigc++/signal.h:776
#9  0x083caf88 in sigc::signal0<void, sigc::nil>::emit (this=0x8fb303c) at /usr/include/sigc++-2.0/sigc++/signal.h:2673
#10 0x083caa3b in sigc::signal0<void, sigc::nil>::operator() (this=0x8fb303c) at /usr/include/sigc++-2.0/sigc++/signal.h:2681
#11 0x086c1106 in studio::WorkArea::on_drawing_area_event (this=0x8fb2cb8, event=0x91ee6e8) at workarea.cpp:1911
#12 0x086cfafa in sigc::bound_mem_functor1<bool, studio::WorkArea, _GdkEvent*>::operator() (this=0x8fb7714, _A_a1=@0xbffff304: 0x91ee6e8) at /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:1851
#13 0x086cf529 in sigc::adaptor_functor<sigc::bound_mem_functor1<bool, studio::WorkArea, _GdkEvent*> >::operator()<_GdkEvent* const&> (this=0x8fb7710, _A_arg1=@0xbffff304: 0x91ee6e8) at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:84
#14 0x086ceb6f in sigc::internal::slot_call1<sigc::bound_mem_functor1<bool, studio::WorkArea, _GdkEvent*>, bool, _GdkEvent*>::call_it (rep=0x8fb76f8, a_1=@0xbffff304: 0x91ee6e8) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:137
#15 0xb761ec7d in ?? () from /usr/lib/libgtkmm-2.4.so.1
#16 0xb6e8d8a2 in ?? () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#17 0xb67c3c56 in g_closure_invoke () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#18 0xb67d61c2 in ?? () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#19 0xb67ddd73 in g_signal_emit_valist () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#20 0xb67de2b3 in g_signal_emit () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#21 0xb6fc4c48 in ?? () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#22 0xb6e8b9a4 in gtk_propagate_event () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#23 0xb6e8bd38 in gtk_main_do_event () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#24 0xb6c5cae8 in ?? () from /usr/lib/i386-linux-gnu/libgdk-x11-2.0.so.0
#25 0xb66f9483 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#26 0xb66f9820 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#27 0xb66f9cfb in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#28 0xb6e8aad0 in gtk_main () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#29 0xb7599264 in Gtk::Main::run_impl() () from /usr/lib/libgtkmm-2.4.so.1
#30 0xb7599c9f in Gtk::Main::run() () from /usr/lib/libgtkmm-2.4.so.1
#31 0x083c2082 in main (argc=0, argv=0xbffffac4) at main.cpp:108

The private data of synfig::Color seems to receive an object with the private part unassigned

Sorry for the delay. Yes, the images are PNG. XD In fact, you can work with any PNG sequences (with dimension 1280x720, same as the Sif file) and it’ll crash. I’ll see if I can upload the files somewhere, in case you need.

EDIT: Here you go! copy.com/tbKjuiHJgeJc