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 597275 - crash in Anjuta IDE: More detalied crash agai...
crash in Anjuta IDE: More detalied crash agai...
Status: RESOLVED DUPLICATE of bug 597113
Product: anjuta
Classification: Applications
Component: unknown
1.2.1
Other All
: Normal critical
: ---
Assigned To: Anjuta maintainers
Anjuta maintainers
: 597266 597267 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-10-04 11:33 UTC by Luca Bruno
Modified: 2009-10-04 12:05 UTC
See Also:
GNOME target: ---
GNOME version: 2.27/2.28



Description Luca Bruno 2009-10-04 11:33:10 UTC
Version: 2.28.0.0

What were you doing when the application crashed?
More detalied crash against symbol plugin.


Distribution: Debian squeeze/sid
Gnome Release: 2.28.0 2009-09-27 (Debian)
BugBuddy Version: 2.28.0

System: Linux 2.6.30-1-amd64 #1 SMP Sat Aug 15 18:09:19 UTC 2009 x86_64
X Vendor: The X.Org Foundation
X Vendor Release: 10603901
Selinux: No
Accessibility: Disabled
GTK+ Theme: MurrinaAzul
Icon Theme: Mist
GTK+ Modules: gnomebreakpad, canberra-gtk-module

Memory status: size: 286769152 vsize: 286769152 resident: 24305664 share: 15671296 rss: 24305664 rss_rlim: 18446744073709551615
CPU usage: start_time: 1254655833 rtime: 207 utime: 138 stime: 69 cutime:31 cstime: 7 timeout: 0 it_real_value: 0 frequency: 100

Backtrace was generated from '/usr/bin/anjuta'

[Thread debugging using libthread_db enabled]
[New Thread 0x7f75bf6ab950 (LWP 26139)]
[New Thread 0x7f75c0e18950 (LWP 26136)]
0x00007f75cb56228f in __libc_waitpid (pid=26160, stat_loc=0x7fff77de4ff0, 
    options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:41
	in ../sysdeps/unix/sysv/linux/waitpid.c

Thread 1 (Thread 0x7f75cd39c790 (LWP 26135))

  • #0 __libc_waitpid
    at ../sysdeps/unix/sysv/linux/waitpid.c line 41
  • #1 g_spawn_sync
    from /lib/libglib-2.0.so.0
  • #2 g_spawn_command_line_sync
    from /lib/libglib-2.0.so.0
  • #3 ??
    from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
  • #4 <signal handler called>
  • #5 sdb_engine_get_tuple_id_by_unique_name
    at symbol-db-engine-core.c line 768
  • #6 symbol_db_engine_add_new_project
    at symbol-db-engine-core.c line 3259
  • #7 on_project_root_added
    at plugin.c line 1916
  • #8 value_added_cb
    at anjuta-plugin.c line 371
  • #9 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #10 ??
    from /usr/lib/libgobject-2.0.so.0
  • #11 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #12 g_signal_emit_by_name
    from /usr/lib/libgobject-2.0.so.0
  • #13 on_profile_scoped
    at plugin.c line 1409
  • #14 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #15 ??
    from /usr/lib/libgobject-2.0.so.0
  • #16 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #17 g_signal_emit_by_name
    from /usr/lib/libgobject-2.0.so.0
  • #18 anjuta_profile_manager_load_profile
    at anjuta-profile-manager.c line 463
  • #19 ifile_open
    at plugin.c line 2631
  • #20 iloader_load
    at plugin.c line 1492
  • #21 npw_open_action
    at install.c line 587
  • #22 on_install_end_action
    at install.c line 313
  • #23 on_install_end_install_file
    at install.c line 416
  • #24 npw_install_install_file
    at install.c line 538
  • #25 on_install_end_install_file
    at install.c line 424
  • #26 npw_install_install_file
    at install.c line 538
  • #27 on_install_end_install_file
    at install.c line 424
  • #28 npw_install_install_file
    at install.c line 538
  • #29 on_install_end_install_file
    at install.c line 424
  • #30 npw_install_install_file
    at install.c line 538
  • #31 on_install_end_install_file
    at install.c line 424
  • #32 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #33 ??
    from /usr/lib/libgobject-2.0.so.0
  • #34 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #35 g_signal_emit_by_name
    from /usr/lib/libgobject-2.0.so.0
  • #36 anjuta_launcher_check_for_execution_done
    at anjuta-launcher.c line 1025
  • #37 ??
    from /lib/libglib-2.0.so.0
  • #38 g_main_context_dispatch
    from /lib/libglib-2.0.so.0
  • #39 ??
    from /lib/libglib-2.0.so.0
  • #40 g_main_loop_run
    from /lib/libglib-2.0.so.0
  • #41 gtk_main
    from /usr/lib/libgtk-x11-2.0.so.0
  • #42 main
    at main.c line 248


----------- .xsession-errors (47 sec old) ---------------------
(xchat-gnome:2146): Gtk-WARNING **: Ran out of links
(xchat-gnome:2146): Gtk-WARNING **: Ran out of links
(xchat-gnome:2146): Gtk-WARNING **: Ran out of links
(xchat-gnome:2146): Gtk-WARNING **: Ran out of links
(xchat-gnome:2146): Gtk-WARNING **: Ran out of links
(xchat-gnome:2146): Gtk-WARNING **: Ran out of links
(xchat-gnome:2146): Gtk-WARNING **: Ran out of links
(xchat-gnome:2146): Gtk-WARNING **: Ran out of links
--------------------------------------------------
Comment 1 Luca Bruno 2009-10-04 11:55:44 UTC
More precisely:
ret_value = gda_holder_take_static_value (param, param_value, &ret_bool
        if (G_VALUE_HOLDS_STRING (ret_value) == TRUE)
        {
                if (ret_value != NULL)  
                        MP_RETURN_OBJ_STR(priv, ret_value);             
        }
        else
        {
                if (ret_value != NULL)
                        MP_RETURN_OBJ_INT(priv, ret_value);
        }

ret_value is NULL and it crashes. It would be better to do something like:
if (ret_value != NULL)
{
  if (G_VALUE_HOLDS_STRING (ret_value) == TRUE)
    MP_RETURN_OBJ_STR(priv, ret_value);
  else
    MP_RETURN_OBJ_INT(priv, ret_value);
}
Comment 2 Luca Bruno 2009-10-04 12:00:29 UTC
*** Bug 597266 has been marked as a duplicate of this bug. ***
Comment 3 Luca Bruno 2009-10-04 12:01:02 UTC
*** Bug 597267 has been marked as a duplicate of this bug. ***
Comment 4 Luca Bruno 2009-10-04 12:05:19 UTC

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