View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0003586 | VTK | (No Category) | public | 2006-08-05 16:57 | 2016-08-12 09:54 | ||||
Reporter | Charl Botha | ||||||||
Assigned To | Brad King | ||||||||
Priority | high | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | moved | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0003586: vtkImageDifference segfaults when images are of unequal size | ||||||||
Description | vtkImageDifference will segfault if SetImage() and SetInputConnection() are used for the two inputs, and the SetImage() input is smaller than the SetInputConnection() input. | ||||||||
Tags | No tags attached. | ||||||||
Project | |||||||||
Type | |||||||||
Attached Files | vtkImageDiff_is_broken.py [^] (1,003 bytes) 1969-12-31 19:00 file_790x528.png [^] (63,877 bytes) 1969-12-31 19:00 file_790x541.png [^] (64,441 bytes) 1969-12-31 19:00 imgdif.cxx [^] (1,102 bytes) 1969-12-31 19:00 | ||||||||
Relationships | |
Relationships |
Notes | |
(0004627) Charl Botha (reporter) 2006-08-05 16:59 |
I've attached a commented Python example and two input images so that you can reproduce the bug. When one uses the SetInput(0,) and SetInput(1,) form, there doesn't seem to be a problem. |
(0004628) Charl Botha (reporter) 2006-08-05 17:19 |
Cancel that. It segfaults with SetInput(0,) and SetInput(1,) as well, when the SetInput(0,) image is larger than the SetInput(1,) image. Change the two relevant lines to: idiff.SetInput(0, ec1.GetOutput()) idiff.SetInput(1, ec2.GetOutput()) in the attached example to see this. |
(0004946) Mathieu Malaterre (developer) 2006-09-17 08:10 |
Using: idiff.SetInput(0, ec1.GetOutput()) idiff.SetInput(1, ec2.GetOutput()) I cannot reproduce the bug (VTK5, VTK CVS), going back to original version. ERROR: In /home/mathieu/Dashboards/MyTests/VTK5/Imaging/vtkImageDifference.cxx, line 395 vtkImageDifference (0x805f6f8): ExecuteInformation: Input are not the same size. Input1 is: 0,789,0,527,0,0 Input2 is: 0,789,0,540,0,0 |
(0004947) Mathieu Malaterre (developer) 2006-09-17 08:28 |
Adding cxx version. |
(0004948) Mathieu Malaterre (developer) 2006-09-17 08:29 |
Removing ->Update on the png reader solve symptom. Adding ->Update on the imgextract solve the symptom... Leaving the bug open until issue is actually fixed |
(0036883) Kitware Robot (administrator) 2016-08-12 09:54 |
Resolving issue as `moved`. This issue tracker is no longer used. Further discussion of this issue may take place in the current VTK Issues page linked in the banner at the top of this page. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2011-06-16 13:11 | Zack Galbreath | Category | => (No Category) |
2016-08-12 09:54 | Kitware Robot | Note Added: 0036883 | |
2016-08-12 09:54 | Kitware Robot | Status | expired => closed |
2016-08-12 09:54 | Kitware Robot | Resolution | open => moved |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |