
On 2013-07-31 22:54 +0200, Markus Engel wrote:
On 2013-07-31 22:20 +0200, su_v wrote:
JFYI - compiling your branch with Apple clang 3.1 on OS X 10.7.5 results in lots of warnings about mismatched tags (852 with r11718),
<…>
Inkscape trunk used to have lots of these warnings too, once basic clang support was available - see comment #33 ff in https://bugs.launchpad.net/inkscape/+bug/992124
Attached is a list of the warnings (grepped for 'Wmismatched-tags').
Thanks. I hope I fixed most of them.
- Warnings (compiler):
r11721 is down to 56 warnings about mismatched tags :) (new list attached - IIRC those about 'ColorProfile' originate from trunk)
- Warnings (runtime):
Testing the latest (clean) build with default (fresh) preferences, these warnings are printed to the console when opening 'Fill and Stroke', in addition to a couple of 'TypeNotRegistered' exceptions (see attached console log):
(inkscape:77083): GLib-GObject-WARNING **: invalid uninstantiatable type `(null)' in cast to `GObject'
(inkscape:77083): GLib-GObject-CRITICAL **: void g_object_set(gpointer, const gchar *, ...): assertion `G_IS_OBJECT (object)' failed
(inkscape:77083): GLib-GObject-WARNING **: invalid uninstantiatable type `(null)' in cast to `GObject'
(inkscape:77083): GLib-GObject-CRITICAL **: void g_object_set(gpointer, const gchar *, ...): assertion `G_IS_OBJECT (object)' failed
Note: the same critical warnings appear already at launch time if the preferences haven't been reset (preferences.xml removed) but have last been saved with a regular trunk build.
- Crash (not reproduced with current trunk builds):
1) launch inkscape (default prefs) 2) switch to the text tool (use keyboard shortcut 'T') (do not click on the canvas yet) 3) tap <space> once to switch tools (last used tool <-> select tool) 4) repeat step 3 a couple of times
-> crash:
GLib-GObject:ERROR:gsignal.c:634:void handler_unref_R(guint, gpointer, Handler *): assertion failed: (hlist->tail_before == handler)
Program received signal SIGABRT, Aborted. 0x00007fff93822ce2 in __pthread_kill () (gdb) bt #0 0x00007fff93822ce2 in __pthread_kill () #1 0x00007fff9b0297d2 in pthread_kill () #2 0x00007fff9b01aa7a in abort () #3 0x0000000102e82ff3 in g_assertion_message () #4 0x0000000102e83038 in g_assertion_message_expr () #5 0x0000000102e04456 in handler_unref_R () #6 0x0000000102e04c12 in signal_handlers_foreach_matched_R () #7 0x0000000102e04da8 in g_signal_handlers_disconnect_matched () #8 0x00000001015806b1 in gtk_im_multicontext_set_slave () #9 0x0000000101580c7c in gtk_im_multicontext_finalize () #10 0x0000000102df7a82 in g_object_unref () #11 0x00000001001a0f24 in SPTextContext::finish () #12 0x0000000100028c59 in SPDesktop::set_event_context2 () #13 0x00000001001ac3ce in tools_switch () #14 0x000000010005a3b9 in SPEventContext::root_handler () #15 0x00000001001a464a in SPTextContext::root_handler () #16 0x000000010005b3b6 in sp_event_context_virtual_root_handler () #17 0x000000010002f9b3 in sp_desktop_root_handler () #18 0x00000001002c1663 in sp_marshal_BOOLEAN__POINTER () #19 0x0000000102df2d7d in g_closure_invoke () #20 0x0000000102e05856 in signal_emit_unlocked_R () #21 0x0000000102e068cf in g_signal_emit_valist () #22 0x0000000102e06bca in g_signal_emit () #23 0x000000010021e31d in SPCanvasImpl::emitEvent () #24 0x0000000101595448 in _gtk_marshal_BOOLEAN__BOXED () #25 0x0000000102df2da0 in g_closure_invoke () #26 0x0000000102e05989 in signal_emit_unlocked_R () #27 0x0000000102e068cf in g_signal_emit_valist () #28 0x0000000102e06bca in g_signal_emit () #29 0x0000000101689d63 in gtk_widget_event_internal () #30 0x00000001016975df in gtk_window_propagate_key_event () #31 0x000000010169aecf in gtk_window_key_release_event () #32 0x0000000101595448 in _gtk_marshal_BOOLEAN__BOXED () #33 0x0000000102df2d7d in g_closure_invoke () #34 0x0000000102e05989 in signal_emit_unlocked_R () #35 0x0000000102e068cf in g_signal_emit_valist () #36 0x0000000102e06bca in g_signal_emit () #37 0x0000000101689d63 in gtk_widget_event_internal () #38 0x0000000101593733 in gtk_propagate_event () #39 0x00000001015933ef in gtk_main_do_event () #40 0x0000000101940a25 in gdk_event_dispatch () #41 0x0000000102e65867 in g_main_context_dispatch () #42 0x0000000102e65b75 in g_main_context_iterate () #43 0x0000000102e65dfa in g_main_loop_run () #44 0x0000000101592d74 in gtk_main () #45 0x0000000100002c2b in sp_main_gui () #46 0x0000000100001fa4 in start () (gdb)