Bug #16935 | can't build on Fedora Core Rawhide (FC5) | ||
---|---|---|---|
Submitted: | 31 Jan 2006 13:57 | Modified: | 23 May 2006 17:21 |
Reporter: | Scott Douglass | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Query Browser | Severity: | S2 (Serious) |
Version: | 1.1.18 | OS: | Linux (Fedora Core Rawhide) |
Assigned to: | Alfredo Kojima | CPU Architecture: | Any |
[31 Jan 2006 13:57]
Scott Douglass
[22 Mar 2006 15:00]
Paul Banks
Looking at the source, the extra qualification isn't needed (as it's already in the aforementioned class) I guess the Fedora 5 compilers are a later, no-nonsense stricter version that doesn't like the otherwise harmless extras. There's one more in the gui-common under MCrontab.h. Removing both allows a successful compile but on my x86_64 platform, the resulting binary just segfaults (as does the downloadable) If I get time later, I'll debug further.
[22 Mar 2006 15:36]
Paul Banks
The segfault looks like the result of someones "hack" at some point... Looking in MQBookmarkBrowser.cc, line 260 theres a _menu.items()[3].set_sensitive(true); // New Folder My bet is that item 3 doesnt exist or isnt initialised or whatever hence the segfault. I just commented it out and I have a working query browser. Not sure where to submit patches so I'm just going to attach it to this bug. The patch fixes the above and also the segfaulting binary. Apply with "patch -p1" Hope that's of some use to y'all!
[22 Mar 2006 15:41]
Paul Banks
Bloody security: "Only registered developers and the original submitter are allowed to attach files to the bug." Get the patch here: http://www.paulbanks.org.uk/patches/mysqlquerybrowser.fc5.1.patch Cheers! Paul Banks
[4 Apr 2006 19:05]
MySQL Verification Team
Patch file
Attachment: mysqlquerybrowser.fc5.1.patch (application/octet-stream, text), 2.11 KiB.
[4 Apr 2006 19:11]
MySQL Verification Team
Bug: http://bugs.mysql.com/bug.php?id=18512 was marked as duplicate of this one.
[23 May 2006 17:21]
Alfredo Kojima
Thank you for your bug report. This issue has been committed to our source repository of that product and will be incorporated into the next release. If necessary, you can access the source repository and build the latest available version, including the bugfix, yourself. More information about accessing the source trees is available at http://www.mysql.com/doc/en/Installing_source_tree.html