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: Rik
Subject: [Octave-bug-tracker] [bug #57353] crash signal 11 when using patch() with large stl file
Date: Wed, 4 Dec 2019 19:27:01 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

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

That's odd.  I think you will need to run octave under a debugger and obtain a
backtrace to find out where the segfault is coming from.

These instructions assume a tcsh shell, but you can translate them pretty
easily to another syntax if you use a Bourne shell derivative.


setenv CFLAGS "-g -O0 -pipe"
setenv CXXFLAGS "${CFLAGS}"
setenv FFLAGS "${CFLAGS}"
./configure --prefix=/usr/local --disable-docs
make
run-octave -f


In another shell, find the process ID of the running Octave.


ps auxww | grep octave
sudo gdb -p XXXX  # substitute process ID for XXX
c<RETURN>


Back in Octave, run the script that causes the problem.  When it segfaults, go
te the window with gdb and execute


bt<RETURN>


Post the backtrace to this bug report.  Probably only need the first 10 or so
lines.  



    _______________________________________________________

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]