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 98670 - Crash when trying to view properties for a table
Crash when trying to view properties for a table
Status: RESOLVED FIXED
Product: mergeant
Classification: Deprecated
Component: Tables & Views
unspecified
Other other
: Normal normal
: GNOME-DB-1-0
Assigned To: malerba
gnome-db Maintainers
: 100322 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2002-11-16 02:50 UTC by Gregory Leblanc
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Gregory Leblanc 2002-11-16 02:54:43 UTC
Package: mergeant
Severity: major
Version: 0.8.199
Synopsis: Crash when trying to view properties for a table
Bugzilla-Product: mergeant
Bugzilla-Component: Tables & Views
BugBuddy-GnomeVersion: 2.0 (2.0.3)

Description:
Description of Problem:
Mergeant crashes when  try to view the properties for a table on my
local MySQL server.  I'm pointing it at a bugzilla database (mine is a
copy of the bugzilla.gnome.org database)

Steps to reproduce the problem:
1. set up a mysql data source
2. connect to it
3. try to view the properties for one of the tables

Actual Results:
Application crashes

Expected Results:
Table properties display of some sort.

How often does this happen?
Always

Additional Information:
Rebuilt with small spec file modifications from the SRPMs on
gnome-db.org



Debugging Information:

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

(no debugging symbols found)...[New Thread 8192 (LWP 29845)]
0x420ae169 in wait4 () from /lib/i686/libc.so.6

Thread 1 (Thread 8192 (LWP 29845))

  • #0 wait4
    from /lib/i686/libc.so.6
  • #1 __DTOR_END__
    from /lib/i686/libc.so.6
  • #2 waitpid
    from /lib/i686/libpthread.so.0
  • #3 libgnomeui_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #4 __pthread_sighandler
    from /lib/i686/libpthread.so.0
  • #5 <signal handler called>
  • #6 update_seq_list_cb
  • #7 table_edit_initialize
  • #8 table_edit_new
  • #9 table_edit_dialog_new
  • #10 edit_table_cb
  • #11 g_cclosure_marshal_VOID__VOID
    from /usr/lib/libgobject-2.0.so.0
  • #12 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #13 signal_emit_unlocked_R
    from /usr/lib/libgobject-2.0.so.0
  • #14 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #15 gtk_signal_emit
    from /usr/lib/libgtk-x11-2.0.so.0
  • #16 gtk_button_clicked
    from /usr/lib/libgtk-x11-2.0.so.0
  • #17 gtk_real_button_released
    from /usr/lib/libgtk-x11-2.0.so.0
  • #18 g_cclosure_marshal_VOID__VOID
    from /usr/lib/libgobject-2.0.so.0
  • #19 g_type_class_meta_marshal
    from /usr/lib/libgobject-2.0.so.0
  • #20 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #21 signal_emit_unlocked_R
    from /usr/lib/libgobject-2.0.so.0
  • #22 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #23 gtk_signal_emit
    from /usr/lib/libgtk-x11-2.0.so.0
  • #24 gtk_button_released
    from /usr/lib/libgtk-x11-2.0.so.0
  • #25 gtk_button_button_release
    from /usr/lib/libgtk-x11-2.0.so.0
  • #26 _gtk_marshal_BOOLEAN__BOXED
    from /usr/lib/libgtk-x11-2.0.so.0
  • #27 g_type_class_meta_marshal
    from /usr/lib/libgobject-2.0.so.0
  • #28 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #29 signal_emit_unlocked_R
    from /usr/lib/libgobject-2.0.so.0
  • #30 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #31 gtk_signal_emit
    from /usr/lib/libgtk-x11-2.0.so.0
  • #32 gtk_widget_event_internal
    from /usr/lib/libgtk-x11-2.0.so.0
  • #33 gtk_propagate_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #34 gtk_main_do_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #35 gdk_event_dispatch
    from /usr/lib/libgdk-x11-2.0.so.0
  • #36 g_main_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #37 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #38 g_main_context_iterate
    from /usr/lib/libglib-2.0.so.0
  • #39 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #40 gtk_main
    from /usr/lib/libgtk-x11-2.0.so.0
  • #41 bonobo_ui_main
    from /usr/lib/libbonoboui-2.so.0
  • #42 gnome_db_main_run
    from /usr/lib/libgnomedb-2.so.1
  • #43 main
  • #44 __libc_start_main
    from /lib/i686/libc.so.6
  • #0 wait4
    from /lib/i686/libc.so.6




------- Bug moved to this database by unknown@bugzilla.gnome.org 2002-11-15 21:54 -------

Reassigning to the default owner of the component, malerba@gnome-db.org.

Comment 1 Petr Chloupek 2002-11-20 00:15:17 UTC
tabledit.c in table_edit_build (wid) 
on line 270: if (wid->conf->srv->features.sequences) { 
sequences == 0 (probably because mysql haven't any), so if block
is never called. This means for me that wid->combobox == NULL and
mergeant crashes on 535 in same file (dereference of NULL pointer),
if I fix it, new crash happens on 421 (same reason). Probably deeper
knowlidge is needed to deside where to make real fix. 

Feel free to ask me for aditional info on petrch@regnet.cz 

This bug can be duplicate of 98472
Comment 2 Petr Chloupek 2002-11-20 00:30:55 UTC
HOTFIX:

tableedit.c
line 535 add: if(te->combobox == NULL) return;
line 419 add: if(wid->combobox != NULL)

Comment 3 Rodrigo Moya 2002-12-29 21:05:02 UTC
*** Bug 100322 has been marked as a duplicate of this bug. ***
Comment 4 Rodrigo Moya 2002-12-29 21:32:55 UTC
This should be fixed now in current CVS, please check and re-open if not.