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

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

[Octave-bug-tracker] [bug #57353] crash signal 11 when using patch() wit


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #57353] crash signal 11 when using patch() with large stl file
Date: Thu, 5 Dec 2019 14:18:26 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:71.0) Gecko/20100101 Firefox/71.0

Follow-up Comment #20, bug #57353 (project octave):

The size of a std::vector is implementation dependent. But most commonly, it
is 24 bytes on 64bit systems. I.e. that call tries to allocate more than 10
GiB of memory. That might be the cause of the segfault.
Maybe we should disable lighting (at least "gouraud") if patches reach a
critical number of vertices?
How high should that threshold be?

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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