Here's a fix for this.

Originally fix was made by logiczero to upstream bug tracker:

http://www.gphpedit.org/bugs/bug_view.php?id=132
Comment #266 - Added by logiczero at 2006-11-19 01:45:02
This bug still exists in v0.9.91 on Ubuntu 6.10.

I looked at the code in file_replace.c. Line 481 looks like the spot
where the lockup is happening.

I commented out line 481:
g_free(replace_all_dialog);
and that seemed to stop the program from locking up.

According to the documentation, gnome_dialog_run_and_close() calls
gnome_dialog_close() before returning, which destroys the dialog by
default. So "g_free(replace_all_dialog)" is trying to free memory for a
dialog object that has already been destroyed on line 480.


** Attachment added: "gphpedit.debdiff"
   http://librarian.launchpad.net/5256502/gphpedit.debdiff

** Changed in: gphpedit (Ubuntu)
     Assignee: (unassigned) => MOTU Reviewers Team
       Status: Confirmed => In Progress

-- 
crash on 'replace all' command
https://launchpad.net/bugs/46487

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to