octave-maintainers
[Top][All Lists]
Advanced

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

Re: [FORGE] struct package segmentation fault


From: Olaf Till
Subject: Re: [FORGE] struct package segmentation fault
Date: Fri, 24 Jan 2014 22:13:11 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

On Fri, Jan 24, 2014 at 05:05:28AM +0100, Juan Pablo Carbajal wrote:
> Octave crashes when installing struct package.
> Is anyone else seeing this?
> 
> (Ubuntu 13.10, GNU Octave 3.8.0 build from distributed source code
> with standard flags)
> 
> octave-cli-3.8.0:1> pkg -forge install struct
> fields2cell.cc: In function ‘octave_value_list Ffields2cell(const
> octave_value_list&, int)’:
> fields2cell.cc:37:14: warning: ‘Octave_map’ is deprecated (declared at
> /usr/local/include/octave-3.8.0/octave/../octave/oct-map.h:484)
> [-Wdeprecated-declarations]
>    Octave_map s = args(0).map_value ();
>               ^
> fieldempty.cc: In function ‘octave_value_list Ffieldempty(const
> octave_value_list&, int)’:
> fieldempty.cc:37:14: warning: ‘Octave_map’ is deprecated (declared at
> /usr/local/include/octave-3.8.0/octave/../octave/oct-map.h:484)
> [-Wdeprecated-declarations]
>    Octave_map s = args(0).map_value ();
>               ^
> structcat.cc:32:34: warning: ‘Octave_map’ is deprecated (declared at
> /usr/local/include/octave-3.8.0/octave/../octave/oct-map.h:484)
> [-Wdeprecated-declarations]
>          const octave_value& fillv)
>                                   ^
> structcat.cc:32:34: warning: ‘Octave_map’ is deprecated (declared at
> /usr/local/include/octave-3.8.0/octave/../octave/oct-map.h:484)
> [-Wdeprecated-declarations]
> structcat.cc:32:34: warning: ‘Octave_map’ is deprecated (declared at
> /usr/local/include/octave-3.8.0/octave/../octave/oct-map.h:484)
> [-Wdeprecated-declarations]
> structcat.cc: In function ‘Octave_map structcat_op_fcn(const
> Octave_map&, const Octave_map&, const dim_vector&, const Array<int>&,
> const octave_value&)’:
> structcat.cc:34:24: warning: ‘Octave_map’ is deprecated (declared at
> /usr/local/include/octave-3.8.0/octave/../octave/oct-map.h:484)
> [-Wdeprecated-declarations]
>    Octave_map retval (dv);
>                         ^
> structcat.cc: In function ‘octave_value_list Fstructcat(const
> octave_value_list&, int)’:
> structcat.cc:82:14: warning: ‘Octave_map’ is deprecated (declared at
> /usr/local/include/octave-3.8.0/octave/../octave/oct-map.h:484)
> [-Wdeprecated-declarations]
>    Octave_map retval;
>               ^
> cell2fields.cc: In function ‘octave_value_list Fcell2fields(const
> octave_value_list&, int)’:
> cell2fields.cc:68:14: warning: ‘Octave_map’ is deprecated (declared at
> /usr/local/include/octave-3.8.0/octave/../octave/oct-map.h:484)
> [-Wdeprecated-declarations]
>    Octave_map s = args(3).map_value ();
>               ^
> cell2fields.cc:101:14: warning: ‘Octave_map’ is deprecated (declared
> at /usr/local/include/octave-3.8.0/octave/../octave/oct-map.h:484)
> [-Wdeprecated-declarations]
>    Octave_map retval;
>               ^
> panic: Segmentation fault -- stopping myself...
> Segmentation fault (core dumped)

There is a new release necessary to get rid of the warnings, JWE has
already corrected the code to octave_map in mercurial.

But I see only the warnings with the present struct release, no
segfault (Octave-3.8.0). If it is really regular Octave-3.8.0 where
this happens for you, we probably should investigate. Maybe you can
run Octave and the installation under gdb and obtain a backtrace after
the crash?

Olaf

-- 
public key id EAFE0591, e.g. on x-hkp://pool.sks-keyservers.net

Attachment: signature.asc
Description: Digital signature


reply via email to

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