bugGNU Octave - Bugs: bug #47938, corrupted unsorted chunks: after...

 
 

bug #47938: corrupted unsorted chunks: after make check

Submitter:  Doug Stewart <dastew>
Submitted:  Mon 16 May 2016 10:45:07 PM UTC
   
 
Category:  Interpreter Severity:  4 - Important
Priority:  5 - Normal Item Group:  Regression
Status:  Fixed Assigned to:  lachlan
Originator Name:  Doug Stewart Open/Closed:  * Closed
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Thu 19 May 2016 03:44:58 PM UTC, comment #12: 

Works for me
hg id 71d8a9a0642c

Doug Stewart <dastew>
Thu 19 May 2016 01:58:06 PM UTC, comment #11: 

Yep, the problem with system.tst is a bug in octave::sys::umask.  See the patch at  #47961.

Lachlan Andrew <lachlan>
Thu 19 May 2016 01:56:29 PM UTC, comment #10: 

The patch fixes the bug for me, thanks Lachlan, pushed,

http://hg.savannah.gnu.org/hgweb/octave/rev/767c81fe30ba

Mike Miller <mtmiller>
Group Member
Thu 19 May 2016 01:34:02 PM UTC, comment #9: 

Andrew: Tried the new patch which applied OK.
But, same hang as before in comment #6

It could be that the hang is due to one of the patches
since yesterday, so your patch may still be useful.

Michael Godfrey <godfrey>
Group Member
Thu 19 May 2016 12:11:07 PM UTC, comment #8: 

Yes, I just noticed that JWE has added some namespace stuff.

The new patch is attached.

(file #37207)

Lachlan Andrew <lachlan>
Thu 19 May 2016 10:12:09 AM UTC, comment #7: 

Sorry, patch fails on current system.
oct-parse.in.yy was updated last night.

Michael Godfrey <godfrey>
Group Member
Thu 19 May 2016 10:03:38 AM UTC, comment #6: 

Andrew: After last night's updates the problem, for me,
has changed to a hang while processing:
  system.tst ..................................................^C^C^Cpanic: Interrupt -- stopping myself...

I will try your patch just to see...

Michael Godfrey <godfrey>
Group Member
Thu 19 May 2016 09:59:50 AM UTC, comment #5: 

I've found something that seems wrong in the code, which is fixed by the attached cset.  Since I don't see the error messages on my system, I can't check whether or not it gets rid of the error.

Valgrind doesn't report any problems when sourcing either a function that is already loaded or one not in the path.  It reports leaks when a breakpoint is hit, but it reports about the same amount of leaked memory whether or not the script is executed via "source".



(file #37204)

Lachlan Andrew <lachlan>
Thu 19 May 2016 08:13:15 AM UTC, comment #4: 

I see essentially the same error. This is on Fedora 23
and gcc: gcc (GCC) 5.3.1 20160406 (Red Hat 5.3.1-6)
and generally the current Fedora 23 stuff.

Michael Godfrey <godfrey>
Group Member
Thu 19 May 2016 02:31:20 AM UTC, comment #3: 

Thanks for reporting that.  I'm not seeing that on my system, perhaps because I'm using a fairly old gcc.

I'll look into it.

Lachlan Andrew <lachlan>
Tue 17 May 2016 07:59:58 PM UTC, comment #2: 

And I can confirm Doug's finding. If I backout cset http://hg.savannah.gnu.org/hgweb/octave/rev/4c080cbc4ef9 everything works as before. This was a fix for bug #33411, adding Lachlan in cc.

Mike Miller <mtmiller>
Group Member
Tue 17 May 2016 07:30:26 PM UTC, comment #1: 

I wasn't seeing this with 'make check', but now I can confirm this with something as simple as


echo true > foo.m
./run-octave foo.m
./run-octave -cli foo.m


Both octave-cli and octave-gui show the same "corrupted unsorted chunks" error on exit.

Mike Miller <mtmiller>
Group Member
Mon 16 May 2016 10:45:07 PM UTC, original submission:  

I get the following errors at the end of a make check.

I bisected and found that  4c080cbc4ef9 is giving me the errors.
When I back out 4c080cbc4ef9  then all is OK up to 09e1bb792dd9

I am on Ubuntu 15.10




Summary:

  PASS     14006
  FAIL         0
  XFAIL       29
  SKIPPED     65

See the file /home/doug/octcomp/octcomp1/test/fntests.log for additional details.

Expected failures (listed as XFAIL above) are known bugs.
Please help improve Octave by contributing fixes for them.

Tests are most often skipped because the features they require
have been disabled.  Features are most often disabled because
they require dependencies that were not present when Octave
was built.  The configure script should have printed a summary
at the end of its run indicating which dependencies were not found.

193 (of 880) .m files have no tests.

Please help improve Octave by contributing tests for these files
(see the list in the file /home/doug/octcomp/octcomp1/test/fntests.log).

*** Error in `/home/doug/octcomp/octcomp1/src/.libs/lt-octave-gui': free(): corrupted unsorted chunks: 0x00007f98704fe6c0 ***
panic: Aborted -- stopping myself...
*** Error in `/home/doug/octcomp/octcomp1/src/.libs/lt-octave-gui': free(): corrupted unsorted chunks: 0x00007f98704d3f80 ***
panic: attempted clean up apparently failed -- aborting...
octave exited with signal 6
make[3]: Leaving directory '/home/doug/octcomp/octcomp1'
make[2]: Leaving directory '/home/doug/octcomp/octcomp1'
make[1]: Leaving directory '/home/doug/octcomp/octcomp1'

real        6m57.601s
user        6m12.768s
sys        2m20.600s
doug@doug-G751JL:~/octcomp/octcomp1$


Doug Stewart <dastew>

 

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

Attach Files:
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by godfrey (Posted a comment)
  • -email is unavailable- added by lachlan (Posted a comment)
  • -email is unavailable- added by mtmiller
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by dastew (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 group members can vote.

     

    Follow 15 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-05-19 mtmiller StatusPatch Submitted Fixed
        Open/ClosedOpen Closed
    2016-05-19 lachlan StatusFixed Patch Submitted
        Open/ClosedClosed Open
    2016-05-19 mtmiller StatusPatch Submitted Fixed
        Open/ClosedOpen Closed
    2016-05-19 lachlan Attached File- Added bug_47938_corrupted_chunks.v2.cset, #37207
    2016-05-19 lachlan Attached File- Added bug_47938_corrupted_chunks.cset, #37204
        StatusConfirmed Patch Submitted
        Assigned toNone lachlan
    2016-05-17 mtmiller Carbon-Copy- Added lachlan
    2016-05-17 mtmiller CategoryNone Interpreter
        Severity3 - Normal 4 - Important
        Item GroupNone Regression
    2016-05-17 mtmiller StatusNone Confirmed

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code