Menu

#295 Segmentation fault on Error messages before TCL gui runs

0.7.x
closed
GUI (16)
5
2012-09-15
2009-12-11
No

file: util.c
function: print_output

After global variable 'report_gui' is set TRUE function 'print_output' is (on error condition of course) called but global variable 'interp' (TCL interpreter) is not yet initialized what causes a Segmentation Fault.

You can cause this Bug with following command: covered report -view bla1 bla2

Solution: Put some 'if (interp)' around the called TCL functions
Patch file attached ..

Discussion

  • Jens Wallner

    Jens Wallner - 2009-12-11

    diff -cNB util.c util-orig.c > util-diff.c

     
  • Trevor Williams

    Trevor Williams - 2009-12-16

    Attaching a bug patch for this issue which will be generally available in the 0.7.8 stable release.

     
  • Trevor Williams

    Trevor Williams - 2009-12-16

    Bug fix patch

     
  • SourceForge Robot

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     

Log in to post a comment.

MongoDB Logo MongoDB