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

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

[Octave-bug-tracker] [bug #65431] crash after hgload certain data


From: Dmitri A. Sergatskov
Subject: [Octave-bug-tracker] [bug #65431] crash after hgload certain data
Date: Fri, 8 Mar 2024 15:45:01 -0500 (EST)

Follow-up Comment #12, bug #65431 (group octave):


[comment #9 comment #9:]
> Dmitri, can u dump out what the code detects as mismatch.  These are what I
see.  Thanks.  
> 

After I run "simple_2_crash" (with the octave w/ Markus patch v2) 
I see two figures and I can rotate/scleup and down w/o problem and w/o
warnings.

If I run un-patched octave, sometimes it crashes with

Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007f4e5e4b5d96 in octave::opengl_renderer::draw_patch (this=0x197ef68,
props=...) at ../libinterp/corefcn/gl-render.cc:3367
3367                  cc(0) = c(idx, 0), cc(1) = c(idx, 1), cc(2) = c(idx, 2);
[Current thread is 1 (Thread 0x7f4e55bf4380 (LWP 3656186))]

(full trace "crash2_gdb.txt" attached)
but usually it just works (Itried both optimized code and code
compiled with -O))

When it does not crash:

variables in scope: top scope

  Attr   Name         Size                     Bytes  Class
  ====   ====         ====                     =====  ===== 
         E         1837x2                      29392  double
         E_x       1837x2                      29392  double
         E_y       1837x2                      29392  double
         E_z       1837x2                      29392  double
         ans          1x12                        12  char
         data_3d      1x1                     451250  struct
         geom         1x1                     267018  struct
         plt          1x1                      14718  struct
         pts       1837x3                      44088  double
         tri       3586x3                      86064  double
         x         1837x1                      14696  double
         y         1837x1                      14696  double
         z         1837x1                      14696  double

Total is 36491 elements using 1024806 bytes


This looks like yet another problem.

Dmitri.
-- 




(file #55807)

    _______________________________________________________

Additional Item Attachment:

File name: crash2_gdb.txt.gz              Size:4 KB
    <https://file.savannah.gnu.org/file/crash2_gdb.txt.gz?file_id=55807>


    AGPL NOTICE

These attachments are served by Savane. You can download the corresponding
source code of Savane at
https://git.savannah.nongnu.org/cgit/administration/savane.git/snapshot/savane-04b18e1179b14c0ef710c8e9c8e59d1e4bcd7bd0.tar.gz


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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