View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0013599 | ParaView | (No Category) | public | 2012-11-02 05:40 | 2013-01-30 10:41 | ||||
Reporter | Sven Buijssen | ||||||||
Assigned To | |||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | 3.98.1 | |||||||
Summary | 0013599: [git/master] VisItBridge GMVReader: segfault while reading GMV file with broken fromfile reference | ||||||||
Description | Load the attached file "foo.gmv" by means of the VisItBridge GMVReader in a nightly build. => segfault due to read attempt from NULL pointer with fscanf(). Reason behind is that the program logic in gmvread.c is in no way prepared to keep going in case of a broken fromfile reference. Originally, gmvread.c did a 'exit(0)' in that case, but that got commented out when adding to the VisIt source tree. I have a patch to resolve this, but it requires other patches to gmvread.c to be applied first. | ||||||||
Tags | No tags attached. | ||||||||
Project | TBD | ||||||||
Topic Name | |||||||||
Type | crash | ||||||||
Attached Files | foo.gmv [^] (117 bytes) 2012-11-02 05:50 | ||||||||
Relationships | |
Relationships |
Notes | |
(0029819) Sven Buijssen (reporter) 2012-11-30 13:56 |
commit 0909dcb99dcdc008a937d22ec4fcb2d75e9b23bb Author: Sven Buijssen <sven.buijssen@tu-dortmund.de> Date: Fri Nov 2 12:17:53 2012 +0100 BUG 0013599. Fixed segfault while reading file with broken fromfile reference gmvread.c traditionally used to 'exit(0)' if a file referred to in a GMV file did not exist. Simply commenting out the 'exit(0)' statement (the strategy pursued in VisIt currently) led subsequently to attempts of reading from NULL stream with fscanf() and fread(). |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2012-11-02 05:40 | Sven Buijssen | New Issue | |
2012-11-02 05:50 | Sven Buijssen | File Added: foo.gmv | |
2012-11-30 13:56 | Sven Buijssen | Note Added: 0029819 | |
2012-11-30 13:56 | Sven Buijssen | Status | backlog => closed |
2012-11-30 13:56 | Sven Buijssen | Resolution | open => fixed |
2012-11-30 13:56 | Sven Buijssen | Fixed in Version | => git-master |
2013-01-30 10:41 | Utkarsh Ayachit | Fixed in Version | git-master => 3.98.1 |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |