Skip to content

Instantly share code, notes, and snippets.

@jrideout
Created June 4, 2012 19:27
Show Gist options
  • Save jrideout/2870320 to your computer and use it in GitHub Desktop.
Save jrideout/2870320 to your computer and use it in GitHub Desktop.
synfigstudio gdb backtrace
$ gdb synfigstudio
GNU gdb 6.3.50-20050815 (Apple version gdb-1708) (Mon Aug 15 16:03:10 UTC 2011)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin"...Reading symbols for shared libraries .............................. done
(gdb) run
Starting program: /usr/local/bin/synfigstudio
Reading symbols for shared libraries .+++++++++++++++++++++++++++++........warning: Could not find object file "/private/tmp/homebrew-libffi-3.0.11-zcve/libffi-3.0.11/x86_64-apple-darwin10.8.0/src/.libs/prep_cif.o" - no debug information available for "prep_cif.c".
warning: Could not find object file "/private/tmp/homebrew-libffi-3.0.11-zcve/libffi-3.0.11/x86_64-apple-darwin10.8.0/src/.libs/types.o" - no debug information available for "types.c".
warning: Could not find object file "/private/tmp/homebrew-libffi-3.0.11-zcve/libffi-3.0.11/x86_64-apple-darwin10.8.0/src/.libs/raw_api.o" - no debug information available for "raw_api.c".
warning: Could not find object file "/private/tmp/homebrew-libffi-3.0.11-zcve/libffi-3.0.11/x86_64-apple-darwin10.8.0/src/.libs/java_raw_api.o" - no debug information available for "java_raw_api.c".
warning: Could not find object file "/private/tmp/homebrew-libffi-3.0.11-zcve/libffi-3.0.11/x86_64-apple-darwin10.8.0/src/.libs/closures.o" - no debug information available for "closures.c".
warning: Could not find object file "/private/tmp/homebrew-libffi-3.0.11-zcve/libffi-3.0.11/x86_64-apple-darwin10.8.0/src/x86/.libs/ffi64.o" - no debug information available for "ffi64.c".
warning: Could not find object file "/private/tmp/homebrew-libffi-3.0.11-zcve/libffi-3.0.11/x86_64-apple-darwin10.8.0/src/x86/.libs/darwin64.o" - no debug information available for "{standard input}".
........................................................................................................ done
synfig studio -- starting up application...
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
synfig(11199) [13:25:40] info: Loading modules from /usr/local/Cellar/synfig/0.63.03/etc/synfig_modules.cfg
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries .. done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
(synfigstudio:11199): GLib-GObject-CRITICAL **: Object class gtkmm__CustomObject_N6studio15ValueBase_EntryE doesn't implement property 'editing-canceled' from interface 'GtkCellEditable'
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: 13 at address: 0x0000000000000000
0x000000010171397a in _cairo_gstate_save ()
(gdb) bt
#0 0x000000010171397a in _cairo_gstate_save ()
#1 0x000000010170e118 in cairo_save ()
#2 0x00000001001a775e in studio::Renderer_Canvas::render_vfunc ()
#3 0x0000000100284f0c in studio::WorkArea::refresh ()
#4 0x0000000100294e18 in sigc::internal::slot_call1<sigc::bound_mem_functor1<bool, studio::WorkArea, _GdkEventExpose*>, bool, _GdkEventExpose*>::call_it ()
#5 0x0000000100aab870 in (anonymous namespace)::Widget_signal_expose_event_callback ()
#6 0x00000001010cde55 in _gtk_marshal_BOOLEAN__BOXED ()
#7 0x00000001018ec9de in g_closure_invoke ()
#8 0x00000001018facc5 in signal_emit_unlocked_R ()
#9 0x00000001018fc12b in g_signal_emit_valist ()
#10 0x00000001018fc625 in g_signal_emit ()
#11 0x00000001011967e3 in gtk_widget_event_internal ()
#12 0x00000001010cc7b6 in gtk_main_do_event ()
#13 0x00000001014b1512 in _gdk_window_process_updates_recurse ()
#14 0x00000001014b1473 in _gdk_window_process_updates_recurse ()
#15 0x00000001014b0a3a in gdk_window_process_updates_internal ()
#16 0x00000001014b0d3e in gdk_window_process_all_updates ()
#17 0x000000010106d245 in gtk_container_idle_sizer ()
#18 0x000000010149535b in gdk_threads_dispatch ()
#19 0x000000010195e8e4 in g_main_context_dispatch ()
#20 0x000000010195fe22 in g_main_context_iterate ()
#21 0x000000010195fe7c in g_main_context_iteration ()
#22 0x00000001010cc87d in gtk_main_iteration_do ()
#23 0x0000000100a4170b in Gtk::Main::iteration_impl ()
#24 0x0000000100a4169b in Gtk::Main::iteration ()
#25 0x00000001002739d7 in studio::SplashProgress::task ()
#26 0x00000001001c9787 in studio::App::App ()
#27 0x0000000100001949 in main ()
(gdb)
@genete
Copy link

genete commented Jun 5, 2012

Hi!
Please provide the branch or source origin where you build this Synfig Studio version. Also, the commands used to build the binaries would help.
In case that you directly used a dmg package, please let us know which is the one you used.
It is known that there is a bug on the latest release that is fixed on the master branch that might cause the crash.
Also, report what did you do to produce the crash on Synfig Studio.
Cheers

@jrideout
Copy link
Author

jrideout commented Jun 5, 2012

I used hombrew

require 'formula'

class Synfigstudio < Formula
  homepage 'http://synfig.org'
  url 'http://downloads.sourceforge.net/project/synfig/synfigstudio/0.63.03/synfigstudio-0.63.03.tar.gz'
  md5 'a166ff4917b0e058cae96e51aa273080'

  skip_clean :all # So modules will load

  depends_on 'gettext'
  depends_on 'libsigc++'
  depends_on 'gtkmm'
  depends_on 'etl'
  depends_on 'synfig'

  def install
    system "./configure", "--disable-debug",
                          "--disable-dependency-tracking",
                          "--prefix=#{prefix}"
    system "make install"
  end
end

I just downloaded the dmg (v0.63.05) package, and it worked without crashing. There is now a homebrew issue to address this: Homebrew/legacy-homebrew#12589

I might try and modify the build to use the 0.63.05 source, rather than 0.63.03.

Also, report what did you do to produce the crash on Synfig Studio

I just executed the binary on the command line /usr/local/bin/synfigstudio. The crash occurred on startup.

@genete
Copy link

genete commented Jun 5, 2012 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment