bugGNU Prolog for Java - Bugs: bug #33491, Compiler hangs when program ends...

 
 

bug #33491: Compiler hangs when program ends on //

Submitter:  Arend Rensink <rensink>
Submitted:  Tue 07 Jun 2011 04:22:06 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed Planned Release:  0.3.0
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 26 Apr 2013 02:31:36 AM UTC, comment #3: 

The above bug has been fixed and awaiting verification.

Rishabh Garg <rishabhgarg>
Group Member
Sat 09 Mar 2013 07:41:18 AM UTC, comment #2: 

Hi
I am new to G-PfJ
I would like to work on it! (if avail) :)

Regards,
Mitesh

Mitesh Pathak <mr_pathak>
Sat 11 Jun 2011 01:13:12 PM UTC, comment #1: 

Yes that does appear to be the case. The parser is really rather fragile I will try and get it fixed so that it doesn't just hang on various different unexpected inputs.

Daniel Thomas <drt24>
Group administrator
Tue 07 Jun 2011 04:22:06 PM UTC, original submission:  

The simple program

//

will hang the compiler.

Yours,
Arend

P.S. Keep up the good work!

Arend Rensink <rensink>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #27996:  Bug-Fix-for-33491.patch added by rishabhgarg (2KiB - application/octet-stream - The patch for bug #33491 which has been resolved.)
file #27945:  Test.zip added by rishabhgarg (905KiB - application/zip - The above bug has been resolved. It also handles other unexpected inputs. The bug report and zip file of the modified source code are attached. Test.zip is attached to test the code with a main class.)
file #27944:  Report_#33491.pdf added by rishabhgarg (94KiB - application/pdf - The above bug has been resolved. It also handles other unexpected inputs. The bug report and zip file of the modified source code are attached. Test.zip is attached to test the code with a main class.)
file #27943:  src_with_fix.zip added by rishabhgarg (903KiB - application/zip - The above bug has been resolved. It also handles other unexpected inputs. The bug report and zip file of the modified source code are attached. Test.zip is attached to test the code with a main class.)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rishabhgarg (Updated the item)
  • -email is unavailable- added by mr_pathak (Posted a comment)
  • -email is unavailable- added by rensink (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 8 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-09-16 drt24 StatusConfirmed Fixed
        Open/ClosedOpen Closed
        Planned ReleaseNone 0.3.0
    2013-05-02 rishabhgarg Attached File- Added Bug-Fix-for-33491.patch, #27996
    2013-04-26 rishabhgarg Attached File- Added src_with_fix.zip, #27943
        Attached File- Added Report_#33491.pdf, #27944
        Attached File- Added Test.zip, #27945
    2011-06-11 drt24 StatusNone Confirmed

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code