PR# 12612 Moving Project toolbar to top row and clicking Toolbar Options caused crash
Problem Report Summary
Submitter: prestoat2000
Category: EiffelStudio
Priority: Medium
Date: 2007/05/07
Class: Bug
Severity: Serious
Number: 12612
Release: 6.0.68140
Confidential: No
Status: Closed
Responsible: larryl
Environment: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.8.1.2) Gecko/20070225 Firefox/2.0.0.2
Solaris 10 on x86
Synopsis: Moving Project toolbar to top row and clicking Toolbar Options caused crash
Description
This problem is not currently reproducible. I moved the Project toolbar to the top row (Standard buttons) and then clicked on Toolbar Options button. I tried to reproduce it but so far could not. Perhaps the exact position to which I moved the Project toolbar is important. Trace attached.
To Reproduce
Problem Report Interactions
I think something fixed this - either a newer version GTK+ or a change to Vision2 or docking library. I cannot reproduce it on OpenSolaris 2008.05. The bug was a seg fault in {SD_TOOL_BAR_DRAWER_IMP}.draw_item. If I ever see it again, I will re-report it. Closing report.
I just reproduced it on rev 68703, Solaris 10 on x86 (32-bit). You might have to add and remove Feature address as well as feature label. I have also encountered this crash numerous times when moving toolbars around. I hope you can find a way to reproduce it, because it is definitely still present. Actually, I think I just now discovered the critical factor in reproducing this bug. As soon as you click the OK button to finish customizing the toolbar and accept the new toolbar layout, immediately move the mouse up to the Address toolbar row. You might need to move the mouse within that row as well. When I do this, it increases my odds of encountering the problem. I have also noticed that sometimes after I customize the Project toolbar, clicking on the Toolbar Options button displays the little popup window with the non-visible choices over by the left side of the main window, very far from where the Toolbar Options button is. I don't know whether this is related to the problem.
I can't reproduce this on Solaris 10 x86 32bits (installed on VMware). My GTK version is 2.4.9. You can see attached the reproducing video. I added the feature label, then remove the feature label several times. Eiffel Studio works fine. Attached is a 7 zip compressed format. I can't use zip format since the compressed format will be very big (15M). You can download 7 zip here: http://www.7-zip.org/ I don't know whether 7 zip works fine on Unix systems. Sorry. The video is AVI format.
I believe this may be the same as bug #12756. This can now be reproduced as follows: Open project which is sample graphical application. Click on Toolbar Options of Address toolbar and select Customize. Click on Feature Label item and click Remove. Click OK. Click on Toolbar Options of Address toolbar and select Customize. Click on Feature Label item and click Add. Click OK. Usually repeating this a sequence of removing Feature Label from Address toolbar and then adding it back once or twice will cause a crash with the previously attached trace.