bugPSPP - Bugs: bug #38833, Bug related to ROC

 
 

bug #38833: Bug related to ROC

Submitter:  Ben Pfaff <blp>
Submitted:  Fri 26 Apr 2013 06:17:45 AM UTC
   
 
Category:  None Severity:  5 - Average
Status:  Fixed Assigned to:  None
Open/Closed:  Closed Release:  Before 0.8.0
Effort:  0.00
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 28 Apr 2013 07:22:49 PM UTC, comment #2: 

The memory leak seems to be fixed now too.  Closing.

John Darrington <jmd>
Group administrator
Sat 27 Apr 2013 09:18:39 AM UTC, comment #1: 

I have fixed the invalid read, but not the memory leak (yet).

John Darrington <jmd>
Group administrator
Fri 26 Apr 2013 06:17:45 AM UTC, original submission:  

When I run check-valgrind on test "SPLIT FILE  - vs procedures", I see the following valgrind error:


==14358== Invalid read of size 4
==14358==    at 0x6BABCF4: var_get_width (variable.c:258)
==14358==    by 0x48FBB31: do_parse_command (command.c:221)
==14358==    by 0x48FB872: cmd_parse_in_state (command.c:136)
==14358==    by 0x48FB946: cmd_parse (command.c:151)
==14358==    by 0x804A9D3: main (main.c:138)
==14358==  Address 0xa5abadc is 4 bytes inside a block of size 128 free'd
==14358==    at 0x48CF50C: free (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==14358==    by 0x6BAD486: var_destroy (variable.c:153)
==14358==    by 0x494BF8A: cmd_roc (roc.c:272)
==14358==    by 0x48FBB31: do_parse_command (command.c:221)
==14358==    by 0x48FB872: cmd_parse_in_state (command.c:136)
==14358==    by 0x48FB946: cmd_parse (command.c:151)
==14358==    by 0x804A9D3: main (main.c:138)


I also see some memory leaks.

Ben Pfaff <blp>
Group administrator

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jmd (Posted a comment)
  • -email is unavailable- added by blp (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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-04-28 jmd StatusNone Fixed
        Open/ClosedOpen Closed
    2013-04-26 blp ReleaseNone Before 0.8.0

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code