After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 616822 - Critical warnings when opening a contact
Critical warnings when opening a contact
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Contacts
2.30.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-addressbook-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2010-04-26 06:23 UTC by Akhil Laddha
Modified: 2010-08-02 10:12 UTC
See Also:
GNOME target: ---
GNOME version: 2.29/2.30


Attachments
Patch to use new icon names (5.73 KB, patch)
2010-08-01 18:33 UTC, Rob Bradford
accepted-commit_now Details | Review

Description Akhil Laddha 2010-04-26 06:23:42 UTC
evolution 2.31.1

When i double click on any contact to open it, i see critical warnings on evolution terminal

(evolution:29398): e-image-chooser.c-CRITICAL **: image_chooser_set_icon_name: assertion `icon_info != NULL' failed

(evolution:29398): Gtk-WARNING **: Unknown property: GtkExpander.shadow-type

(evolution:29398): e-image-chooser.c-CRITICAL **: e_image_chooser_set_from_file: assertion `filename != NULL' failed
[Thread 0xa70c7b70 (LWP 29464) exited]
Comment 1 Milan Crha 2010-04-26 17:31:28 UTC
I see only that "Unknown property: GtkExpander.shadow-type", could you get a backtrace of those other two, please?
Comment 2 Milan Crha 2010-04-26 17:34:47 UTC
Though those are probably because of missing icons for the "contact" (a person in the left-top corner in the contact editor), which used to be 48x48, but is 16x16 now.
Comment 3 Akhil Laddha 2010-04-27 06:31:13 UTC
Will valgrind traces help here ?

(evolution:11228): e-image-chooser.c-CRITICAL **: image_chooser_set_icon_name: assertion `icon_info != NULL' failed
==11228== Invalid write of size 4
==11228==    at 0x62837B2: ??? (in /usr/lib/gtk-2.0/modules/libgnomebreakpad.so)
==11228==    by 0x5818F1A: g_logv (gmessages.c:519)
==11228==    by 0x5819296: g_log (gmessages.c:569)
==11228==    by 0x4338761: image_chooser_set_property (e-image-chooser.c:339)
==11228==    by 0x5788227: g_object_constructor (gobject.c:973)
==11228==    by 0xD0B5277: ???
==11228==  Address 0xd913bd0 is 0 bytes after a block of size 64 alloc'd
==11228==    at 0x4025FCB: calloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==11228==    by 0x5817409: g_malloc0 (gmem.c:152)
==11228==    by 0x62837A1: ??? (in /usr/lib/gtk-2.0/modules/libgnomebreakpad.so)
==11228==    by 0x5818F1A: g_logv (gmessages.c:519)
==11228==    by 0x5819296: g_log (gmessages.c:569)
==11228==    by 0x4338761: image_chooser_set_property (e-image-chooser.c:339)
==11228==    by 0x5788227: g_object_constructor (gobject.c:973)
==11228==    by 0xD0B5277: ???
==11228==
Comment 4 Milan Crha 2010-04-27 08:23:18 UTC
> by 0xD0B5277: ???

Hmm, I was hoping in this, to know from where it was called to create itself. But, seeing Fridrich's notes on IRC about missing icons [1] [2] (similar for master), I believe it'll help you here too, so you'll have the same output on console as me, (comment #1)
Could you try to update and rebuild, please?

[1] http://git.gnome.org/browse/evolution/commit/?h=gnome-2-30&id=9c987e31662913efcce3db05e0700d1e647903d3

[2] http://git.gnome.org/browse/evolution/commit/?h=gnome-2-30&id=7bbe63b9dab8a9a7bd023c8d061eaf60bf55df19
Comment 5 Akhil Laddha 2010-04-27 09:34:02 UTC
I still see these warnings even after upgrading to latest master.
Comment 6 Akhil Laddha 2010-05-03 07:05:22 UTC
In mapi address book, i am seeing one more warning when opening a contact.

(evolution:11065): eab-widgets-CRITICAL **: contact_display_url_requested: assertion `icon_info != NULL' failed

  • #0 IA__g_logv
    at gmessages.c line 430
  • #1 IA__g_log
    at gmessages.c line 569
  • #2 IA__g_return_if_fail_warning
    at gmessages.c line 584
  • #3 contact_display_url_requested
    at eab-contact-display.c line 963
  • #4 html_g_cclosure_marshal_VOID__STRING_POINTER
    at htmlmarshal.c line 158
  • #5 g_type_class_meta_marshal
    at gclosure.c line 878
  • #6 IA__g_closure_invoke
    at gclosure.c line 767
  • #7 signal_emit_unlocked_R
    at gsignal.c line 3286
  • #8 IA__g_signal_emit_valist
    at gsignal.c line 2981
  • #9 IA__g_signal_emit
    at gsignal.c line 3038
  • #10 html_engine_url_requested_cb
    at gtkhtml.c line 496
  • #11 html_g_cclosure_marshal_VOID__STRING_POINTER
    at htmlmarshal.c line 158
  • #12 IA__g_closure_invoke
    at gclosure.c line 767
  • #13 signal_emit_unlocked_R
    at gsignal.c line 3248
  • #14 IA__g_signal_emit_valist
    at gsignal.c line 2981
  • #15 IA__g_signal_emit_by_name
    at gsignal.c line 3075
  • #16 html_image_factory_register
    at htmlimage.c line 1458
  • #17 html_image_init
    at htmlimage.c line 859
  • #18 html_image_new
    at htmlimage.c line 878
  • #19 element_parse_img
    at htmlengine.c line 2739
  • #20 parse_one_token
    at htmlengine.c line 3981
  • #21 new_parse_body
    at htmlengine.c line 1428
  • #22 html_engine_timer_event
    at htmlengine.c line 4940
  • #23 html_engine_stream_end
    at htmlengine.c line 5003
  • #24 gtk_html_stream_close
    at gtkhtml-stream.c line 137
  • #25 gtk_html_load_from_string
    at gtkhtml.c line 4168
  • #26 web_view_load_string
    at e-web-view.c line 892
  • #27 e_web_view_load_string
    at e-web-view.c line 1486
  • #28 eab_contact_display_render_normal
    at eab-contact-display.c line 662
  • #29 eab_contact_display_set_contact
    at eab-contact-display.c line 1222
  • #30 e_book_shell_content_set_preview_contact
    at e-book-shell-content.c line 603
  • #31 book_shell_view_selection_change_foreach
    at e-book-shell-view-private.c line 94
  • #32 e_bit_array_foreach
    at e-bit-array.c line 201
  • #33 esma_foreach
    at e-selection-model-array.c line 261
  • #34 e_selection_model_foreach
    at e-selection-model.c line 272
  • #35 selection_change
    at e-book-shell-view-private.c line 123
  • #36 IA__g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #37 IA__g_closure_invoke
    at gclosure.c line 767
  • #38 signal_emit_unlocked_R
    at gsignal.c line 3248
  • #39 IA__g_signal_emit_valist
    at gsignal.c line 2981
  • #40 IA__g_signal_emit
    at gsignal.c line 3038
  • #41 addressbook_view_emit_selection_change
    at e-addressbook-view.c line 153
  • #42 IA__g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #43 IA__g_closure_invoke
    at gclosure.c line 767
  • #44 signal_emit_unlocked_R
    at gsignal.c line 3248
  • #45 IA__g_signal_emit_valist
    at gsignal.c line 2981
  • #46 IA__g_signal_emit
    at gsignal.c line 3038
  • #47 selection_change
    at e-minicard-view-widget.c line 321
  • #48 IA__g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #49 IA__g_closure_invoke
    at gclosure.c line 767
  • #50 signal_emit_unlocked_R
    at gsignal.c line 3248
  • #51 IA__g_signal_emit_valist
    at gsignal.c line 2981
  • #52 IA__g_signal_emit
    at gsignal.c line 3038
  • #53 e_selection_model_selection_changed
    at e-selection-model.c line 685
  • #54 esma_select_single_row
    at e-selection-model-array.c line 449
  • #55 e_selection_model_select_single_row
    at e-selection-model.c line 378
  • #56 e_selection_model_do_something
    at e-selection-model.c line 443
  • #57 e_selection_model_maybe_do_something
    at e-selection-model.c line 489
  • #58 e_reflow_selection_event_real
    at e-reflow.c line 1434
  • #59 e_minicard_view_selection_event
    at e-minicard-view.c line 429
  • #60 e_marshal_INT__OBJECT_BOXED
    at e-marshal.c line 936
  • #61 g_type_class_meta_marshal
    at gclosure.c line 878
  • #62 IA__g_closure_invoke
    at gclosure.c line 767
  • #63 signal_emit_unlocked_R
    at gsignal.c line 3286
  • #64 IA__g_signal_emit_valist
    at gsignal.c line 2991
  • #65 IA__g_signal_emit
    at gsignal.c line 3038
  • #66 e_minicard_selected
    at e-minicard.c line 1117
  • #67 e_minicard_event
    at e-minicard.c line 578
  • #68 gnome_canvas_marshal_BOOLEAN__BOXED
    from /usr/lib/libgnomecanvas-2.so.0
  • #69 g_type_class_meta_marshal
    at gclosure.c line 878
  • #70 IA__g_closure_invoke
    at gclosure.c line 767
  • #71 signal_emit_unlocked_R
    at gsignal.c line 3286
  • #72 IA__g_signal_emit_valist
    at gsignal.c line 2991
  • #73 IA__g_signal_emit_by_name
    at gsignal.c line 3075
  • #74 emit_event
    at e-canvas.c line 246
  • #75 e_canvas_button
    at e-canvas.c line 514
  • #76 _gtk_marshal_BOOLEAN__BOXED
    at gtkmarshalers.c line 84
  • #77 g_type_class_meta_marshal
    at gclosure.c line 878
  • #78 IA__g_closure_invoke
    at gclosure.c line 767
  • #79 signal_emit_unlocked_R
    at gsignal.c line 3286
  • #80 IA__g_signal_emit_valist
    at gsignal.c line 2991
  • #81 IA__g_signal_emit
    at gsignal.c line 3038
  • #82 gtk_widget_event_internal
    at gtkwidget.c line 4943
  • #83 IA__gtk_propagate_event
    at gtkmain.c line 2442
  • #84 IA__gtk_main_do_event
    at gtkmain.c line 1608
  • #85 gdk_event_dispatch
    at gdkevents-x11.c line 2372
  • #86 g_main_dispatch
    at gmain.c line 1960
  • #87 IA__g_main_context_dispatch
    at gmain.c line 2513
  • #88 g_main_context_iterate
    at gmain.c line 2591
  • #89 IA__g_main_loop_run
    at gmain.c line 2799
  • #90 IA__gtk_main
    at gtkmain.c line 1219
  • #91 main
    at main.c line 548

Comment 7 Milan Crha 2010-05-10 16:16:23 UTC
The last trace is looking for im-aim icon. You can reproduce with any contact, just have them stored AIM value for it. Mine icon is in
/usr/share/icons/gnome/16x16/apps/im-aim.png
provided by gnome-icon-theme-2.28.0-1.fc12.noarch

For the contact editor I see:
/usr/share/icons/gnome/16x16/stock/generic/stock_person.png
though it should be 48x48, as I mentioned in the comment #2 above.

Was these dropped from the latest gnome-icon-theme as well?
Comment 8 Milan Crha 2010-05-10 16:27:46 UTC
Created commit 05148d6 in evo master (2.31.2+) for GtkExpander::shadow-type

Only icons left here.
Comment 9 Rob Bradford 2010-08-01 18:33:57 UTC
Created attachment 166938 [details] [review]
Patch to use new icon names

commit 728951346b2d7694be3d4b9554667f23944b1451
Author: Rob Bradford <rob@linux.intel.com>
Date:   Sun Aug 1 19:29:56 2010 +0100

    addressbook/gui, plugins/groupwise, widgets/misc: Update to new icon theme
    
    Since gnome-icon-theme 2.30.x the icon name for the default avatar has changed
    from stock_person to avatar-default
    
    Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=616822
Comment 10 Matthew Barnes 2010-08-02 02:23:18 UTC
(In reply to comment #9)
> Created an attachment (id=166938) [details] [review]
> Patch to use new icon names

Approved.  Can you also bump the minimum required gnome-icon-theme in configure.ac to 2.30.0?
Comment 11 Rob Bradford 2010-08-02 10:12:39 UTC
commit 68341973d40b9ac5ffbc3f4132af0656194df13e
Author: Rob Bradford <rob@linux.intel.com>
Date:   Mon Aug 2 11:08:48 2010 +0100

    build: Update gnome-icon-theme dependency for new default-avatar icon

commit b6b72b0c4a269333d5375e864a82e6b9588ffd07
Author: Rob Bradford <rob@linux.intel.com>
Date:   Sun Aug 1 19:29:56 2010 +0100

    addressbook/gui, plugins/groupwise, widgets/misc: Update to new icon theme
    
    Since gnome-icon-theme 2.30.x the icon name for the default avatar has changed
    from stock_person to avatar-default
    
    Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=616822

All committed! Thanks!