synfig crashing

synfig 63.04
ubuntu 10.10
64bit version

everything is working well, until I press ctrl or alt or shift (usually after about 20mins of use) and then it crashes just from the 1 button press. Is there a log file I can check for you guys?

The files Im working with are not HUGE, but I do have 3 different files open and they are linked.

You can run synfigstudio from a terminal:
$ synfigstudio
It would allow to you to read any message that has been drop to the terminal during the crash.
It is a very weird crash since pressing only one key … Do you have one context (tool, selection or whatever) where the crash is predictable? Also, does it happen if you run Synfig Studio in other distribution (11.04, 11.10) but in the same machine?
Crashes that happens after some period of time are difficult to track. There isn’t any way to trigger it earlier and in a predictable way?

Thanks for quick response.
I dont have the other versions of linux so I cant test it. (might test the same files in windows, but the windows version runs about 10x slower than on linux)

I caught a crash just now, this time it was simply a mouse click after I removed a layer

Remove Layer ‘motion-blur’ Successful
*** glibc detected *** synfigstudio: double free or corruption (fasttop): 0x00000000040b7e90 ***
======= Backtrace: =========
======= Memory map: ========
00400000-00992000 r-xp 00000000 07:00 23034 /usr/bin/synfigstudio
00a91000-00a95000 rw-p 00591000 07:00 23034 /usr/bin/synfigstudio
00a95000-00ac8000 rw-p 00000000 00:00 0
0253f000-0477b000 rw-p 00000000 00:00 0 [heap]
7fe950000000-7fe952da9000 rw-p 00000000 00:00 0
7fe952da9000-7fe954000000 —p 00000000 00:00 0
7fe958000000-7fe95a986000 rw-p 00000000 00:00 0
7fe95a986000-7fe95c000000 —p 00000000 00:00 0
7fe95f4b8000-7fe95f4b9000 —p 00000000 00:00 0
7fe95f4b9000-7fe95fcb9000 rw-p 00000000 00:00 0
7fe95fcb9000-7fe95fcba000 —p 00000000 00:00 0
7fe95fcba000-7fe9604ba000 rw-p 00000000 00:00 0
7fe96051c000-7fe960552000 r-xp 00000000 07:00 3327 /usr/lib/
7fe960552000-7fe960751000 —p 00036000 07:00 3327 /usr/lib/
7fe960751000-7fe960752000 r–p 00035000 07:00 3327 /usr/lib/
7fe960752000-7fe960755000 rw-p 00036000 07:00 3327 /usr/lib/
7fe960755000-7fe960788000 r-xp 00000000 07:00 3959 /usr/lib/
7fe960788000-7fe960988000 —p 00033000 07:00 3959 /usr/lib/
7fe960988000-7fe960989000 r–p 00033000 07:00 3959 /usr/lib/
7fe960989000-7fe96098a000 rw-p 00034000 07:00 3959 /usr/lib/
7fe9609a4000-7fe9609a6000 r-xp 00000000 07:00 6737 /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/
7fe9609a6000-7fe960ba5000 —p 00002000 07:00 6737 /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/
7fe960ba5000-7fe960ba6000 r–p 00001000 07:00 6737 /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/
7fe960ba6000-7fe960ba7000 rw-p 00002000 07:00 6737 /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/
7fe960ba7000-7fe960bc0000 r–s 00000000 07:00 164477 /usr/share/mime/mime.cache
7fe960bc0000-7fe961117000 r–p 00000000 07:00 164591 /usr/share/icons/hicolor/icon-theme.cache
7fe961117000-7fe9633c1000 r–p 00000000 07:00 166092 /usr/share/icons/gnome/icon-theme.cache
7fe9633c1000-7fe963492000 r–p 00000000 07:00 136239 /usr/share/icons/Humanity/icon-theme.cache
7fe963492000-7fe9634f2000 rw-s 00000000 00:04 3702797 /SYSV00000000 (deleted)
7fe9634f2000-7fe9634f4000 r-xp 00000000 07:00 147071 /lib/
7fe9634f4000-7fe9636f3000 —p 00002000 07:00 147071 /lib/
7fe9636f3000-7fe9636f4000 r–p 00001000 07:00 147071 /lib/
7fe9636f4000-7fe9636f5000 rw-p 00002000 07:00 147071 /lib/
7fe9636f5000-7fe963700000 r-xp 00000000 07:00 133509 /lib/
7fe963700000-7fe963900000 —p 0000b000 07:00 133509 /lib/
7fe963900000-7fe963901000 r–p 0000b000 07:00 133509 /lib/
7fe963901000-7fe963902000 rw-p 0000c000 07:00 133509 /lib/
7fe963902000-7fe963918000 r-xp 00000000 07:00 3953 /usr/lib/
7fe963918000-7fe963b18000 —p 00016000 07:00 3953 /usr/lib/
7fe963b18000-7fe963b19000 r–p 00016000 07:00 3953 /usr/lib/
7fe963b19000-7fe963b1a000 rw-p 00017000 07:00 3953 /usr/lib/
7fe963b1a000-7fe963b42000 r-xp 00000000 07:00 7346 /usr/lib/gio/modules/
7fe963b42000-7fe963d42000 —p 00028000 07:00 7346 /usr/lib/gio/modules/
7fe963d42000-7fe963d43000 r–p 00028000 07:00 7346 /usr/lib/gio/modules/
7fe963d43000-7fe963d44000 rw-p 00029000 07:00 7346 /usr/lib/gio/modules/
7fe963d44000-7fe963d4b000 r-xp 00000000 07:00 6844 /usr/lib/gio/modules/
7fe963d4b000-7fe963f4a000 —p 00007000 07:00 6844 /usr/lib/gio/modules/
7fe963f4a000-7fe963f4b000 r–p 00006000 07:00 6844 /usr/lib/gio/modules/
7fe963f4b000-7fe963f4c000 rw-p 00007000 07:00 6844 /usr/lib/gio/modules/
7fe963f4c000-7fe963f8c000 r-xp 00000000 07:00 3679 /usr/lib/
7fe963f8c000-7fe96418c000 —p 00040000 07:00 3679 /usr/lib/
7fe96418c000-7fe96418d000 r–p 00040000 07:00 3679 /usr/lib/
7fe96418d000-7fe96418e000 rw-p 00041000 07:00 3679 /usr/lib/
7fe96418e000-7fe96418f000 rw-p 00000000 00:00 0
7fe96418f000-7fe9641cf000 r-xp 00000000 07:00 132505 /lib/
7fe9641cf000-7fe9643cf000 —p 00040000 07:00 132505 /lib/
7fe9643cf000-7fe9643d0000 r–p 00040000 07:00 132505 /lib/
7fe9643d0000-7fe9643d1000 rw-p 00041000 07:00 132505 /lib/
7fe9643d1000-7fe9643d6000 r-xp 00000000 07:00 901 /usr/lib/gtk-2.0/2.10.0/immodules/
7fe9643d6000-7fe9645d5000 —p 00005000 07:00 901 /usr/lib/gtk-2.0/2.10.0/immodules/
7fe9645d5000-7fe9645d6000 r–p 00004000 07:00 901 /usr/lib/gtk-2.0/2.10.0/immodules/
7fe9645d6000-7fe9645d7000 rw-p 00005000 07:00 901 /usr/lib/gtk-2.0/2.10.0/immodules/
7fe9645d7000-7fe9645d9000 r-xp 00000000 07:00 2144 /usr/lib/gconv/
7fe9645d9000-7fe9647d8000 —p 00002000 07:00 2144 Aborted

It happened again, this time just with an alt (I was getting ready to delete a waypoint with alt-mouse click)
It just seg faulted (I dont think the last 3 lines before that are related)

synfig(7290) [08:02:07 PM] warning: layer_pastecanvas.cpp:413 bounding box shrank while rendering?
synfig(7290) [08:02:07 PM] warning: layer_pastecanvas.cpp:413 bounding box shrank while rendering?
synfig(7290) [08:02:07 PM] warning: layer_pastecanvas.cpp:413 bounding box shrank while rendering?
Segmentation fault

If I dont use the keyboard short cuts
(ALT+mouse) to delete waypoints
(CTRL+mouse scroll) to zoom

and use the mouse buttom version of those, then it doesnt crash…

I dont think this happen with the 62.xx version I had, was something changed in the event handler for these keypresses perhaps?

So it means that you know how to make it crash. Can you reproduce the crash consistently? (small recipe with predictable crash)
Apart of download it again and reinstall, you could try to create your own package and see if that helps.

Download the autobuild script and run it to create your own package. Then install it in your system: … 91;hb=HEAD
Instructions are listed inside the build script.
Good luck

I occasionally have this problem as well. I am on Debian (Wheezy), but I compiled Synfig and its dependencies.
Reproducable by:

Get BLine tool.
Check the ‘Region’ and ‘Advanced Outline’ boxes, so both are created.
Draw a shape (I only had to use two vertices, both with tangents). I did not loop vertices.
Get Normal tool, to finish shape.
My window manager allows me to focus a window by hovering over it, so I hover over the layers list.
Press Shift or Ctrl.

Perhaps this has something to do with both layers (outline and fill) being selected while pressing a modifier key?

I also remember this happening with the mouse over the workarea, but forgot how to reproduce that one.

If you don’t follow this step, does the crash happen?
And which windows manager are you using? This might be critical to reproduce a bug like that.

It tends to happen right after I create an Adv. Outline and Region at the same time, click normal, then press a modifier key. There have been other cases, but I do not remember the specific details. I think it happens if I use a modifier on any window. I’ll test that…

I use FVWM with the SloppyFocus style enabled, i.e. hovering over a window gives it focus.

It looks like only hovering over the right window makes it do this.

“right” means the one on the right or the “proper one”?
If you disable the SloppyFocus style, does it happen?