Bug #8980 Application closes when log page slider is moved to leftmost position
Submitted: 5 Mar 2005 16:56 Modified: 14 Mar 2005 23:59
Reporter: William Allaire Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Administrator Severity:S3 (Non-critical)
Version:1.0.6-beta OS:MacOS (OS X 10.3.8)
Assigned to: Alfredo Kojima CPU Architecture:Any

[5 Mar 2005 16:56] William Allaire
Description:
Moving the page slider, for the error log, to the leftmost position results in the application closing when the directory is said to be 'unreadable' or the file is said to be 'not found'.  In my case, for either of those conditions, there were five positions the slider could be in.  The slider handle started in the center position.  Moving to any other slider position in any combination of movements caused no problem.  At any time, moving to the leftmost position resulted in an application close.

When the application closes under the above condition, I see this in the console.log:
/Users/kojima/Development/mysql-administrator/library/source/myx_log_files.c:450: failed assertion `block_num != 0'

An example of the screen before closing can be seen here:
http://www.bogoflop.com/mysql_pics/directory_unreadable.png

MySQL 4.1.10-standard
MySQL Administrator 1.0.6-beta

How to repeat:
1. Open MySQL Administrator and connect to a MySQL server (locally)
2. Click on "Logs" from the toolbar
3. Move page slider to the leftmost position

Result: Application closes
[14 Mar 2005 23:59] 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