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

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

[Octave-bug-tracker] [bug #58957] [octave forge] (sparsersb) Failure to


From: John Donoghue
Subject: [Octave-bug-tracker] [bug #58957] [octave forge] (sparsersb) Failure to install and crash in function
Date: Fri, 14 Aug 2020 14:33:01 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36 Edge/18.18363

URL:
  <https://savannah.gnu.org/bugs/?58957>

                 Summary: [octave forge] (sparsersb) Failure to install and
crash in function
                 Project: GNU Octave
            Submitted by: lostbard
            Submitted on: Fri 14 Aug 2020 06:32:59 PM UTC
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Segfault, Bus Error, etc.
                  Status: None
             Assigned to: None
         Originator Name: JohnD
        Originator Email: 
             Open/Closed: Open
                 Release: dev
         Discussion Lock: Any
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

Using the latest sparsersb 1.0.8

Attempting to install in Windows 64 when octave was installed to a path that
has a space in it fails.

Looking at the error, the Makefile is setting environment varaiable CXXFLAGS
to specify the include paths rather than passing directly to mkoctfile and so
msys is expanding them to full windows names.

Changing the makefile (diff) make it work for me:


-       LFLAGS="$(LDFLAGS)" LDFLAGS="$(LDFLAGS)" CXXFLAGS="$(CXXFLAGS)
$(CXXFLAGS_CXX11)" $(MKOCTFILE) -D'RSB_SPARSERSB_LABEL=sparsersb' -o $@ $<
+       $(MKOCTFILE) $(LDFLAGS) $(CXXFLAGS) $(CXXFLAGS_CXX11)
-D'RSB_SPARSERSB_LABEL=sparsersb' -o $@ $<


For the crash, running some of the tested that are embedded in sparsersb.cc
will do it:


rrm=sparsersb(sprand(1000,1000,0.001));
sparsersb(rrm,"render", "sparsersb_temporary_render.eps" ,1024);


It doesn't happen 100% of the time - more like 80% ?

Crash seen in both octave 5.2.0 and 6.0.1








    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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