Ticket #4447 (closed: fixed)
Segfault after deleting a folder
Reported by: | Janik Zikovsky | Owned by: | Roman Tolchenov |
---|---|---|---|
Priority: | blocker | Milestone: | Release 2.0 |
Component: | Mantid | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Ronald Fowler |
Description (last modified by Janik Zikovsky) (diff)
- Create folder1
- Create a table Table1 in this folder using newTable() python command
- Create folder2
- Create a table Table2 in this folder using newTable() python command
- Select folder1
- Delete folder2
- The Table2 remains - I'm not sure if this is supposed to be this way, but this is not the crash
- Select folder1 again.
- Close Table2. Select "Delete" in the confirmation dialog. - I get a segfault. This is on Ubuntu 11.04
Change History
comment:3 Changed 9 years ago by Nick Draper
- Owner set to Roman Tolchenov
- Status changed from new to assigned
comment:5 Changed 9 years ago by Roman Tolchenov
Re #4447. Fixing the bug
Changeset: b62c5679fdb282d176467c5446f2737b53ccdfcc
comment:6 Changed 9 years ago by Roman Tolchenov
- Status changed from accepted to verify
- Resolution set to fixed
comment:7 Changed 9 years ago by Roman Tolchenov
- Status changed from verify to reopened
- Resolution fixed deleted
comment:9 Changed 9 years ago by Roman Tolchenov
- Status changed from accepted to verify
- Resolution set to fixed
comment:10 Changed 9 years ago by Nick Draper
don't test on windows, need RHE, Mac or ubuntu to test
comment:11 Changed 9 years ago by Ronald Fowler
- Status changed from verify to verifying
- Tester set to Ronald Fowler
comment:12 Changed 9 years ago by Ronald Fowler
- Status changed from verifying to reopened
- Resolution fixed deleted
Similar problem seems to be there on lastest build on RHEL5: create folders f1, f2, add tables t1, t2. Select f1, Select f2, delete f2 and either hide or cancel on the question of what to do with t2.
In both cases t2 remains and deleting it causes a crash.
Obviously perverse to select not to delete t2 when deleting the f2, but should not be given the option.
comment:14 Changed 9 years ago by Roman Tolchenov
Re #4447. Cancel deleting folder if a window hides or cancels
Changeset: dcdebe9539d13cde90963c68b3a4db442eeb5790
comment:15 Changed 9 years ago by Roman Tolchenov
- Status changed from accepted to verify
- Resolution set to fixed
comment:17 Changed 9 years ago by Ronald Fowler
- Status changed from verifying to closed
Seems fine now. Can leave tables hiden or cancel the delete if really wanted during the folder delete. The Remaining table is visible when other tables are deleted, but deleting it then does not cause any problem.
comment:18 Changed 9 years ago by Roman Tolchenov
Re #4447. Cancel deleting folder if a window hides or cancels
Changeset: dcdebe9539d13cde90963c68b3a4db442eeb5790
comment:19 Changed 5 years ago by Stuart Campbell
This ticket has been transferred to github issue 5294