bugGNU Octave - Bugs: bug #49206, [octave forge] (general) SHA1...


bug #49206: [octave forge] (general) SHA1 crashes Octave on 64bit

Submitted by:  Francesco Potortì <pot>
Submitted on:  Wed 28 Sep 2016 08:38:27 AM UTC  
Category:  Octave Forge Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Segfault, Bus Error, etc.
Status:  Fixed Assigned to:  John Donoghue <lostbard>
Originator Name:  Open/Closed:  Closed
Release:  4.0.3 Operating System:  GNU/Linux

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Mon 14 May 2018 01:35:14 PM UTC, comment #5:

closing with the release of general 2.1.0

John Donoghue <lostbard>
Project MemberIn charge of this item.
Thu 10 May 2018 07:58:08 PM UTC, comment #4:

Should be fixed on bug #53826

John Donoghue <lostbard>
Project MemberIn charge of this item.
Wed 28 Sep 2016 01:48:28 PM UTC, comment #3:

Yeah I guess that this SHA1 function in general is a candidate for dropping from the package rather than fixing once 4.2 is released.

Mike Miller <mtmiller>
Project Administrator
Wed 28 Sep 2016 01:28:23 PM UTC, comment #2:

Confirmed. Just a note: The 4.2 release of Octave includes a new function "hash" which is also capable of calculating SHA1

Andreas Weber <andy1978>
Project Member
Wed 28 Sep 2016 10:38:50 AM UTC, comment #1:

This bug has also been filed against the octave-gnereal package of Debian.

I commented here that it works on the i386 architecture:

By skimming over the code, I would guess that the problem comes from the fact that sizeof(long) = 4 on i386 and = 8 on amd64.

Rafael Laboissiere <rlaboiss>
Wed 28 Sep 2016 08:38:27 AM UTC, original submission:

On Debian amd64, I get this:

> SHA1(3)

      • stack smashing detected ***: /usr/bin/octave-cli terminated

======= Backtrace: =========
======= Memory map: ========
00400000-00401000 r-xp 00000000 09:01 1302105 /usr/bin/octave-cli
00600000-00601000 r--p 00000000 09:01 1302105 /usr/bin/octave-cli
00601000-00602000 rw-p 00001000 09:01 1302105 /usr/bin/octave-cli
0224c000-0b1f2000 rw-p 00000000 00:00 0 [heap]

Francesco Potortì <pot>


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

Attach Files:

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 lostbard (Posted a comment)
  • -email is unavailable- added by jwe (Updated the item)
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by andy1978 (Posted a comment)
  • -email is unavailable- added by rlaboiss (Posted a comment)
  • -email is unavailable- added by pot (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.




    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-05-14 lostbard StatusReady For Test => Fixed
        Open/ClosedOpen => Closed
    2018-05-10 lostbard StatusConfirmed => Ready For Test
        Assigned toNone => lostbard
    2017-08-13 jwe Summaryoctave-general: SHA1 crashes Octave on 64bit => [octave forge] (general) SHA1 crashes Octave on 64bit
    2016-09-28 andy1978 StatusNone => Confirmed
        SummarySHA1 crashes Octave => octave-general: SHA1 crashes Octave on 64bit

    Back to the top

    Powered by Savane 3.3