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

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

[Octave-bug-tracker] [bug #56435] Octave crashd while running unit test


From: Babak Razmjoo
Subject: [Octave-bug-tracker] [bug #56435] Octave crashd while running unit test of an oct-file which uses pthreads
Date: Wed, 5 Jun 2019 03:31:31 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:66.0) Gecko/20100101 Firefox/66.0

Follow-up Comment #3, bug #56435 (project octave):

OK, the bug is more likely in my native code which uses pointers in the old C
manner. It might be a missing feature that octave should support parallel
computing itself, and should be more robust against bugs in user's native
code.

To reproduce this crash you should:
1.Compile pararrayfun.cc which is attached to this report with mkoctfile
2. in octave prompt run : 
> pararrayfun(2, @(x), 1:1000);

This can run several times without any problem, but at last the octave will
get an ABORT or SIGSEGV signal and crashes. 

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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