GNOME Bugzilla – Bug 313847
Drivemount consistently crashes when select drive
Last modified: 2006-02-22 00:59:36 UTC
Steps to reproduce: I click on my windows drive, mounted /dev/hda1 on /media/windows Crashing does not happen with my CD/DVD drive. Stack trace:
+ Trace 62527
Other information:
As a note, this is reliable and happens every time, happy to help with any further debugging information.
This regression was introduced by attachment 48517 [details] [review] in bug 308388 (comment #16). The code inserted into drive_button_ensure_popup is improperly shielded from the case that self->drive might be NULL.
Created attachment 50998 [details] [review] rawr here's a patch that moves around the code a bit so that the extra checks are done only if self->drive is non-null. Trent: I'd appreciate it if you could test this out and see if it's OK since I can't reproduce the bug locally. feedback also appreciated from all other sources since I'm not familiar with this code at all.
Emmanuel: please look this over, since it's your code.
yes, that patch looks totally correct and it doesn't seem like it could break anything (I didn't test it though). sorry that i overlooked that issue... thanks for fixing it!
Committed to CVS HEAD.
I've confirmed the patch works with ubuntu breezys gnome applets
*** Bug 323359 has been marked as a duplicate of this bug. ***