View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002459 | Slicer4 | Core: GUI | public | 2012-08-31 08:17 | 2013-05-09 10:40 |
Reporter | sankhesh | Assigned To | jcfr | ||
Priority | normal | Severity | crash | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Product Version | |||||
Target Version | Slicer 4.3.0 | Fixed in Version | Slicer 4.3.0 | ||
Summary | 0002459: DCMTK Destructor issue - Double Free or corruption when exiting Slicer4 | ||||
Description | Config: Ubuntu 12.04 LTS, GCC-4.6.3, Slicer4(08/31/2012) Error when exiting Slicer4 App: glibc detected /home/sankhesh/Projects/Slicer/bld-alt/Slicer-build/bin/./SlicerApp-real: double free or corruption (fasttop): 0x0000000001b46620 *** | ||||
Tags | No tags attached. | ||||
Does this happen on just a start up and exit, or do you perform operations before exit? Ar you using the current svn trunk? An error like this was fixed a few days ago. |
|
Yes. Just start up and exit reproduces the bug. I am using the current git trunk - https://github.com/Slicer/Slicer |
|
Interesting - I just tried on ubuntu 11.04 and don't see the issue. I'll see if I can try a 12.04 machine. Can you check if a nightly build from slicer.org shows the same issue? |
|
I checked all the ubuntu nightly builds. Most of the failures are due to GLX errors. But again, all the ubuntu dashboards are gcc 4.4.3 whereas Ubuntu 12.04 has gcc 4.6.3. |
|
Yes, there's some issue with the factory machines that create the nightly builds (they are virtual machines and aparently the GLX stopped working - folks at kitware are looking into it). But I just tried the current nightly build on a 12.04 machine running on an amazon ec2 instance and didnt get any crash on exit. I'm trying a fresh debug build on that machine now. Are you sure you have a clean build? Perhaps some old code from before the bug fix is still lingering on your machine. If you have a chance, try deleting Slicer* from the superbuild directory and rebuilding (it will take some time depending on your machine). |
|
Actually I started working on Slicer this week. So I checked out the code on Tuesday for the first time. I'm facing the issue 2321 and am looking into it. As a workaround I do a "make" with "-k" flag which builds the app with errors. However, this issue(2459) is persistent even if I uncheck BUILD_TESTING() when the app builds without any errors. In any case, I'll try your suggestion of deleting Slicer* and rebuilding again. I'll let you know if anything changes. |
|
Okay - I've got my 12.04 build running - I may run into 2321 also. I don't think this has an impact on the double free of the ctkDICOMDatabase but we'll see. |
|
Tested on ubuntu 12.04 and did not see the double free issue. But I did see this issue, which has been reported before as 0001537. Program received signal SIGSEGV, Segmentation fault. |
|
That's strange. What version of gcc compiler did you build it with? |
|
The amazon virtual machine that reported the ~OFList crash is running gcc 4.6.3 ubuntu@ip-10-218-21-155:~$ gcc --version |
|
Slicer does not exhibit this issue anymore after a clean Ubuntu 12.04 install. My earlier configuration was an update from Ubuntu 11.10. Not sure what was the real issue. |
|
The root cause of the problem is related to a problem in the destructor of few DCMTK classes. |
|
This should be fixed with the recent update made at the AHM2013 when working on the ITKv4 integration. See http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=21602 |
|
This was fixed by building dcmtk as a shared library. (See 0003040) |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2012-08-31 08:17 | sankhesh | New Issue | |
2012-08-31 08:17 | sankhesh | Status | new => assigned |
2012-08-31 08:17 | sankhesh | Assigned To | => kikinis |
2012-08-31 08:19 | kikinis | Assigned To | kikinis => pieper |
2012-08-31 08:32 | pieper | Note Added: 0005905 | |
2012-08-31 08:32 | pieper | Status | assigned => feedback |
2012-08-31 09:26 | sankhesh | Note Added: 0005908 | |
2012-08-31 09:53 | pieper | Note Added: 0005909 | |
2012-08-31 10:10 | sankhesh | Note Added: 0005910 | |
2012-08-31 10:18 | pieper | Note Added: 0005912 | |
2012-08-31 10:26 | sankhesh | Note Added: 0005913 | |
2012-08-31 10:31 | pieper | Note Added: 0005914 | |
2012-08-31 11:47 | pieper | Note Added: 0005916 | |
2012-08-31 12:51 | sankhesh | Note Added: 0005917 | |
2012-09-01 06:26 | pieper | Note Added: 0005921 | |
2012-09-04 09:01 | sankhesh | Note Added: 0005945 | |
2012-09-04 09:02 | sankhesh | Status | feedback => closed |
2012-09-04 09:02 | sankhesh | Resolution | open => no change required |
2012-12-08 09:59 | jcfr | Status | closed => assigned |
2012-12-08 10:00 | jcfr | Assigned To | pieper => jcfr |
2012-12-08 10:00 | jcfr | Target Version | => Slicer 4.2.3 |
2012-12-08 10:00 | jcfr | Summary | Double Free or corruption when exiting Slicer4 => DCMTK Destructor issue - Double Free or corruption when exiting Slicer4 |
2012-12-09 07:03 | jcfr | Note Added: 0007482 | |
2012-12-09 07:03 | jcfr | Assigned To | jcfr => sankhesh |
2012-12-09 07:03 | jcfr | Assigned To | sankhesh => jcfr |
2013-01-17 15:38 | jcfr | Relationship added | related to 0001537 |
2013-01-17 15:39 | jcfr | Note Added: 0007705 | |
2013-01-17 15:39 | jcfr | Status | assigned => resolved |
2013-01-17 15:39 | jcfr | Fixed in Version | => Slicer 4.3.0 |
2013-02-12 09:39 | jcfr | Target Version | Slicer 4.2.3 => Slicer 4.3.0 |
2013-05-09 10:40 | pieper | Relationship added | duplicate of 0003040 |
2013-05-09 10:40 | pieper | Note Added: 0008599 | |
2013-05-09 10:40 | pieper | Status | resolved => closed |