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

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

[Octave-bug-tracker] [bug #59228] embedded.cc example crashes with segfa


From: Carlo de Falco
Subject: [Octave-bug-tracker] [bug #59228] embedded.cc example crashes with segfault
Date: Mon, 19 Oct 2020 01:26:11 -0400 (EDT)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:81.0) Gecko/20100101 Firefox/81.0

Follow-up Comment #28, bug #59228 (project octave):

Hi,

Sorry for replying late!

Thanks jwe for your analysis, and patch for my code.

I've been testing your patch for my code and still got a few crashes.

While trying to strip down the example to a minimum
I found, to my surprise, the following VERY minimal 
example also crashes 
(as usual the crash is random, need many runs to trigger):



#include <iostream>


#include <octave/oct.h>
#include <cassert>
#include <vector>

int main (int argc, char **argv)
{
  std::vector<octave_idx_type> n;
  std::vector<double>          x;
 
  return (0);
}


this does not seem to involve the interpreter at all,
though, so maybe I should add a new bug for it?

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?59228>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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