octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #37199] dot() segfaults with integers


From: Carnë Draug
Subject: [Octave-bug-tracker] [bug #37199] dot() segfaults with integers
Date: Mon, 27 Aug 2012 01:19:18 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.6) Gecko/20100101 Firefox/10.0.6 Iceweasel/10.0.6

URL:
  <http://savannah.gnu.org/bugs/?37199>

                 Summary: dot() segfaults with integers
                 Project: GNU Octave
            Submitted by: carandraug
            Submitted on: Mon 27 Aug 2012 01:19:17 AM GMT
                Category: Libraries
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Crash
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Hi

the function doesn't seem to like integers and segfaults when presented with
them:


octave:1> a = int8 (randi (255, 10, 10));
octave:2> dot (a, a)
panic: Segmentation fault -- stopping myself...
attempting to save variables to `octave-core'...
save to `octave-core' complete
Segmentation fault


I can reproduce this with uint and int8/16/32/64. Also, it's enough for one of
the entries to be of the integer classes, the following also segfaults:


octave:1> a = int8 (randi (255, 10, 10));
octave:2> dot (double (a), a)
panic: Segmentation fault -- stopping myself...
attempting to save variables to `octave-core'...
save to `octave-core' complete
Segmentation fault


Carnë




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?37199>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]