octave-maintainers
[Top][All Lists]
Advanced

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

Re: segfault on 'make check'


From: Rik
Subject: Re: segfault on 'make check'
Date: Sun, 04 Dec 2011 15:28:43 -0800

On 12/04/2011 02:03 PM, John W. Eaton wrote:
> On  4-Dec-2011, Rik wrote:
>
> | 12/4/11
> | 
> | Is anyone else getting a panic after running 'make check'?  I get the 
> following
> | 
> | panic: Segmentation fault -- stopping myself...
> | attempting to save variables to `octave-core'...
> | make[1]: *** [check] Segmentation fault
> | make[1]: Leaving directory `/home/rik/wip/Projects_Mine/octave-dev/test'
> | make: *** [check] Error 2
> | 
> | The error first appeared for me with this changeset.
> | 
> | changeset:   13983:7dd7cccf0757
> | user:        John W. Eaton <address@hidden>
> | date:        Sat Dec 03 04:34:17 2011 -0500
> | summary:     clean up memory allocated for singletons before exit
>
> No, I'm not seeing crashes and I've been running make check a lot
> while making these changes, including running the tests with valgrind.
>
> Can you run the tests with gdb?  Do do that, either cd to the tests
> directory and run make check to see what command is run and paste that
> into the shell with "-g" added as an option to run-octave or edit the
> generated tests/Makefile to add -g to the run-octave options.  (Maybe
> we should make this easier to do...)
Here is the backtrace when running under gdb.  This is with tip
13989:b4d399c975de.  My gnulib was last updated 11/22/11.

Program received signal SIGSEGV, Segmentation fault.
0x00007fffe6132e3d in ?? ()
(gdb) bt
#0  0x00007fffe6132e3d in ?? ()
#1  0x0000000000767558 in ?? ()
#2  0x000000000064c3d0 in ?? ()
#3  0x0000000000024cb0 in ?? ()
#4  0x000000000065c330 in ?? ()
#5  0x00007ffff58a9e40 in ?? () from /lib/libc.so.6
#6  0x0000000000014d50 in ?? ()
#7  0x0000000000b6ae50 in ?? ()
#8  0x00007ffff55a5460 in _int_free (av=0x61ca20, p=0x62cfe0) at malloc.c:5017
#9  0x00000000006123f0 in ?? ()
#10 0x00007fffffffd260 in ?? ()
#11 0x0000000000671b90 in ?? ()
#12 0x00007ffff7d8e8a0 in vtable for octave_value () from
/home/rik/wip/Projects_Mine/octave-dev/src/.libs/liboctinterp.so.0
#13 0x000000000062cfe0 in ?? ()
#14 0x0000000000632538 in ?? ()
#15 0x00000000006321e8 in ?? ()
#16 0x000000000061ca20 in ?? ()
#17 0x00007ffff7d8e8a0 in vtable for octave_value () from
/home/rik/wip/Projects_Mine/octave-dev/src/.libs/liboctinterp.so.0
#18 0x00007ffff7d8e8a0 in vtable for octave_value () from
/home/rik/wip/Projects_Mine/octave-dev/src/.libs/liboctinterp.so.0
#19 0x00007ffff75b37f3 in octave_value_typeinfo::~octave_value_typeinfo() ()
   from /home/rik/wip/Projects_Mine/octave-dev/src/.libs/liboctinterp.so.0
#20 0x00007ffff75b38d6 in octave_value_typeinfo::cleanup_instance() ()
   from /home/rik/wip/Projects_Mine/octave-dev/src/.libs/liboctinterp.so.0
#21 0x00007ffff630ef1b in singleton_cleanup_list::~singleton_cleanup_list() ()
   from /home/rik/wip/Projects_Mine/octave-dev/liboctave/.libs/liboctave.so.0
#22 0x00007ffff7498e61 in clean_up_and_exit(int) () from
/home/rik/wip/Projects_Mine/octave-dev/src/.libs/liboctinterp.so.0
#23 0x00007ffff7443669 in octave_main () from
/home/rik/wip/Projects_Mine/octave-dev/src/.libs/liboctinterp.so.0
#24 0x00007ffff5549c4d in __libc_start_main (main=<value optimized out>,
argc=<value optimized out>,
    ubp_av=<value optimized out>, init=<value optimized out>, fini=<value
optimized out>, rtld_fini=<value optimized out>,
    stack_end=0x7fffffffd208) at libc-start.c:226
#25 0x0000000000400689 in _start ()

--Rik


reply via email to

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