View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0013599ParaView(No Category)public2012-11-02 05:402013-01-30 10:41
ReporterSven Buijssen 
Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version3.98.1 
Summary0013599: [git/master] VisItBridge GMVReader: segfault while reading GMV file with broken fromfile reference
DescriptionLoad 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.
TagsNo tags attached.
ProjectTBD
Topic Name
Typecrash
Attached Files? file icon foo.gmv [^] (117 bytes) 2012-11-02 05:50

 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().

 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


Copyright © 2000 - 2018 MantisBT Team