GNOME Bugzilla – Bug 98670
Crash when trying to view properties for a table
Last modified: 2004-12-22 21:47:04 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
+ Trace 30501
Thread 1 (Thread 8192 (LWP 29845))
------- 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.
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
HOTFIX: tableedit.c line 535 add: if(te->combobox == NULL) return; line 419 add: if(wid->combobox != NULL)
*** Bug 100322 has been marked as a duplicate of this bug. ***
This should be fixed now in current CVS, please check and re-open if not.