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 324661 - GNOME panel crashes and hangs on start (invalid pointer free()) if applet is not found
GNOME panel crashes and hangs on start (invalid pointer free()) if applet is ...
Status: RESOLVED DUPLICATE of bug 323996
Product: gnome-panel
Classification: Other
Component: panel
2.13.x
Other All
: Normal critical
: ---
Assigned To: Panel Maintainers
Panel Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-12-21 00:46 UTC by Saleem Abdulrasool
Modified: 2005-12-21 09:41 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14


Attachments
invalid-pointer-free.patch (267 bytes, patch)
2005-12-21 05:03 UTC, Saleem Abdulrasool
none Details | Review

Description Saleem Abdulrasool 2005-12-21 00:46:17 UTC
Steps to reproduce:
1. Install an applet and add to gnome-panel
2. Remove applet from system
3. Restart gnome-panel


Stack trace:
  • #0 __kernel_vsyscall
  • #1 raise
    from /lib/tls/libc.so.6
  • #2 abort
    from /lib/tls/libc.so.6
  • #3 __fsetlocking
    from /lib/tls/libc.so.6
  • #4 malloc_usable_size
    from /lib/tls/libc.so.6
  • #5 free
    from /lib/tls/libc.so.6
  • #6 g_free
    from /usr/lib/libglib-2.0.so.0
  • #7 panel_applet_frame_loading_failed
    at panel-applet-frame.c line 1031
  • #8 panel_applet_frame_activated
    at panel-applet-frame.c line 1241
  • #9 bonobo_moniker_resolve_async_default
    from /usr/lib/libbonobo-2.so.0
  • #10 bonobo_moniker_client_new_from_name_async
    from /usr/lib/libbonobo-2.so.0
  • #11 ORBit_small_demarshal_async
    from /usr/lib/libORBit-2.so.0
  • #12 giop_invoke_async
    from /usr/lib/libORBit-2.so.0
  • #13 giop_connection_handle_input
    from /usr/lib/libORBit-2.so.0
  • #14 link_connection_set_max_buffer
    from /usr/lib/libORBit-2.so.0
  • #15 link_servers_move_io_T
    from /usr/lib/libORBit-2.so.0
  • #16 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #17 g_main_context_acquire
    from /usr/lib/libglib-2.0.so.0
  • #18 g_main_context_iteration
    from /usr/lib/libglib-2.0.so.0
  • #19 link_main_iteration
    from /usr/lib/libORBit-2.so.0
  • #20 giop_recv_buffer_get
    from /usr/lib/libORBit-2.so.0
  • #21 ORBit_small_invoke_stub
    from /usr/lib/libORBit-2.so.0
  • #22 ORBit_small_invoke_stub_n
    from /usr/lib/libORBit-2.so.0
  • #23 ORBit_c_stub_invoke
    from /usr/lib/libORBit-2.so.0
  • #24 Bonobo_Unknown_queryInterface
    from /usr/lib/libbonobo-activation.so.4
  • #25 bonobo_moniker_util_qi_return
    from /usr/lib/libbonobo-2.so.0
  • #26 bonobo_moniker_oaf_resolve
    from /usr/lib/bonobo/monikers/libmoniker_std_2.so
  • #27 bonobo_moniker_use_extender
    from /usr/lib/libbonobo-2.so.0
  • #28 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #29 bonobo_closure_invoke_va_list
    from /usr/lib/libbonobo-2.so.0
  • #30 bonobo_closure_invoke
    from /usr/lib/libbonobo-2.so.0

Other information:
Comment 1 Saleem Abdulrasool 2005-12-21 05:00:30 UTC
The bug is definitely interesting, as the g_free should not be causing a invalid pointer on the free.  It is as interesting as the fact, that valgrind does not report any additional memory leaks with this g_free removed.

Is it possible that bonobo does not actually g_object_new this object?  That would explain why the g_free causes an invalid pointer as the object would not be in the alloc list.
Comment 2 Saleem Abdulrasool 2005-12-21 05:03:50 UTC
Created attachment 56243 [details] [review]
invalid-pointer-free.patch

Proposed patch to remove possibly extraneous g_free
Comment 3 Sebastien Bacher 2005-12-21 09:41:27 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.


*** This bug has been marked as a duplicate of 323996 ***