bugLiberty Eiffel - Bugs: bug #43055, tools.sh segfaults at line 139

 
 

bug #43055: tools.sh segfaults at line 139

Submitter:  - <_92048>
Submitted:  Sat 23 Aug 2014 01:29:29 PM UTC
   
 
Category:  other Severity:  3 - Normal
Priority:  * 5 - Normal Status:  Fixed
Assigned to:  ramack Open/Closed:  Closed
Release:  adler Fixed Release:  curtiss
Planned Release:  curtiss
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Thu 09 Jun 2016 08:21:07 PM UTC, comment #10: 

This is a MAWK bug:
https://github.com/ThomasDickey/original-mawk/issues/42

workaround commited in 11c60cee2f41125c5017af2365e9313bdbb0bc2c

Raphael Mack <ramack>
Group administrator
Tue 07 Jun 2016 08:07:22 AM UTC, comment #9: 

"Can someone try with the current MAWK?"

I did with Ubuntu 16 LTS. The same issue persists.

- <_92048>
Sun 10 Apr 2016 05:31:42 PM UTC, comment #8: 

Mhh. I am not sure whether the issue is fixed. It is not an issue in LE, but if it happens to be still an issue in current releases of MAWK, then a workaround (to call gawk and require gawk to be installed) seems reasonable...

Can someone try with the current MAWK?

Raphael Mack <ramack>
Group administrator
Sun 10 Apr 2016 05:14:27 PM UTC, comment #7: 

Issue fixed.  As suggested by Ramack, mawk proved to be the problem.  Installing gawk from the Ubuntu repo and setting it to be used instead of mawk solved the problem.  Thans Rapha !

FIY:  this issue exists, or rather: existed, on Ubuntu 14.04 LTS.

- <_92048>
Sat 09 Apr 2016 08:08:40 PM UTC, comment #6: 

For me this looks like a bug in mawk. could you try
sudo update-alternatives -s awk /usr/bin/gawk

to use gawk instead of mawk?

Raphael Mack <ramack>
Group administrator
Mon 15 Feb 2016 10:21:56 AM UTC, comment #5: 

Hi Paolo,

yes it is still present.  Today I tested by doing a new 'git clone' on a current Ubuntu LTS system, i.e. this time native on the box, not on a VM.  Same issue (see previously attached bitmap) persists.

cheers
Hans

- <_92048>
Thu 11 Feb 2016 06:19:43 AM UTC, comment #4: 

Hans is this bug still present?

Paolo Redaelli <Tybor>
Group administrator
Sat 07 Feb 2015 01:31:34 PM UTC, comment #3: 

Hi Cyril,

more information than the enclosed screenshot showed is not available.  As noted: the installation did complete.  This issue cropped up on an Ubuntu client on a VM as well as a native Ubuntu installation.

- <_92048>
Wed 03 Dec 2014 10:16:20 AM UTC, comment #2: 

I do not understand how it can segfault. The progress() function should never receive 0 as third ("max") argument.

Please give more information because I cannot reproduce it.

Cyril Adrian <cadrian>
Group administrator
Thu 11 Sep 2014 08:45:19 AM UTC, comment #1: 

as this installation script error is one of the first things that a new user sees, I think (from a marketing point of view) that it is more important to solve this issue than I initially did.  For this reason I raised the severity one notch...

install.sh completes correctly.  It calls tools.sh to display the completion status bar.  I presume that tools.sh is given an invalid completion percentage value, after which it segfaults.

- <_92048>
Sat 23 Aug 2014 01:29:29 PM UTC, original submission:  

On Ubuntu 14.04 (64bit VM client on Win7/64 host) tools.sh segfaults at line 139, see attached screenshot.  Ubuntu reports a severe MAWK error.  As the installation process continues nonetheless, I set 'severity' to minor.

- <_92048>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #31941:  awk segfault.png added by _92048 (85KiB - image/png)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by Tybor (Posted a comment)
  • -email is unavailable- added by ramack (Updated the item)
  • -email is unavailable- added by _92048 (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 13 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-06-09 ramack StatusIn Progress Fixed
        Assigned to_92048 ramack
        Open/ClosedOpen Closed
        Fixed ReleaseNone curtiss
        Planned ReleaseNone curtiss
    2016-04-10 ramack StatusFixed In Progress
    2016-04-10 _92048 StatusNeed Info Fixed
        Planned Releasecurtiss None
    2015-12-26 ramack Planned ReleaseNone curtiss
    2014-12-03 cadrian StatusNone Need Info
        Assigned toNone _92048
    2014-09-11 _92048 Severity2 - Minor 3 - Normal
    2014-08-23 _92048 Attached File- Added awk segfault.png, #31941

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code