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

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

[Octave-bug-tracker] [bug #32315] segmentation fault when starting up oc


From: Karsten Trulsen
Subject: [Octave-bug-tracker] [bug #32315] segmentation fault when starting up octave-3.3.91
Date: Wed, 02 Feb 2011 08:50:51 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13

Follow-up Comment #1, bug #32315 (project octave):


$ valgrind octave
==8471== Memcheck, a memory error detector
==8471== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al.
==8471== Using Valgrind-3.5.0 and LibVEX; rerun with -h for copyright info
==8471== Command: octave
==8471== 
==8471== 
==8471== Process terminating with default action of signal 11 (SIGSEGV)
==8471==  Bad permissions for mapped region at address 0x5E391F0
==8471==    at 0x5E391F0: ??? (in
/work/local/lib/octave-3.3.91/liboctinterp-3.3.91.so)
==8471==    by 0x53FE4D0: octave_set_signal_handler(int, void (*)(int), bool)
(sighandlers.cc:225)
==8471==    by 0x53FE599: octave_catch_interrupts() (sighandlers.cc:460)
==8471==    by 0x53FE602: install_signal_handlers() (sighandlers.cc:529)
==8471==    by 0x53D4704: octave_main (octave.cc:663)
==8471==    by 0x9BCF993: (below main) (in /lib64/libc-2.5.so)
==8471== 
==8471== HEAP SUMMARY:
==8471==     in use at exit: 465,761 bytes in 2,468 blocks
==8471==   total heap usage: 5,142 allocs, 2,674 frees, 1,121,799 bytes
allocated
==8471== 
==8471== LEAK SUMMARY:
==8471==    definitely lost: 52 bytes in 1 blocks
==8471==    indirectly lost: 240 bytes in 10 blocks
==8471==      possibly lost: 257,920 bytes in 1,262 blocks
==8471==    still reachable: 207,549 bytes in 1,195 blocks
==8471==         suppressed: 0 bytes in 0 blocks
==8471== Rerun with --leak-check=full to see details of leaked memory
==8471== 
==8471== For counts of detected and suppressed errors, rerun with: -v
==8471== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 6 from 4)



$
gdb octave
GNU gdb (GDB) Red Hat Enterprise Linux (7.0.1-32.el5_6.2)
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /work/local/bin/octave...done.
(gdb) run
Starting program: /work/local/bin/octave 
[Thread debugging using libthread_db enabled]

Program received signal SIGSEGV, Segmentation fault.
0x00002aaaabcdc1f0 in sigemptyset ()
   from
/mn/anatu/ansatte-u1/karstent/local/lib/octave-3.3.91/liboctinterp-3.3.91.so
(gdb) where
#0  0x00002aaaabcdc1f0 in sigemptyset ()
   from
/mn/anatu/ansatte-u1/karstent/local/lib/octave-3.3.91/liboctinterp-3.3.91.so
#1  0x00002aaaab2a14d1 in octave_set_signal_handler (sig=2, 
    handler=0x2aaaab2a1a40 <sigint_handler(int)>, restart_syscalls=true)
    at sighandlers.cc:225
#2  0x00002aaaab2a159a in octave_catch_interrupts () at sighandlers.cc:460
#3  0x00002aaaab2a1603 in install_signal_handlers () at sighandlers.cc:529
#4  0x00002aaaab277705 in octave_main (argc=1, argv=0x7fffffffe1a8,
embedded=0)
    at octave.cc:663
#5  0x00002aaaafbec994 in __libc_start_main () from /lib64/libc.so.6
#6  0x0000000000400649 in _start ()
(gdb)



Octave is now configured for x86_64-unknown-linux-gnu

  Source directory:            .
  Installation prefix:         /mn/anatu/ansatte-u1/karstent/local
  C compiler:                  gcc   -Wall -W -Wshadow -Wformat
-Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings
-Wcast-align -Wcast-qual -g -O2 -pthread
  C++ compiler:                g++  -I/local/include
-I/local/include/freetype2 -I/local/include -I/local/include    -Wall -W
-Wshadow -Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings
-Wcast-align -Wcast-qual -g -O2
  Fortran compiler:            gfortran -O
  Fortran libraries:            -L/mn/anatu/ansatte-u1/karstent/local/lib
-L/usr/lib/gcc/x86_64-redhat-linux/4.1.2
-L/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64 -L/lib/../lib64
-L/usr/lib/../lib64 -lgfortranbegin -lgfortran -lm
  Lex libraries:               
  LIBS:                        -lm  

  AMD CPPFLAGS:                
  AMD LDFLAGS:                 
  AMD libraries:               
  BLAS libraries:              -lblas
  CAMD CPPFLAGS:               
  CAMD LDFLAGS:                
  CAMD libraries:              
  CARBON libraries:            
  CCOLAMD CPPFLAGS:            
  CCOLAMD LDFLAGS:             
  CCOLAMD libraries:           
  CHOLMOD CPPFLAGS:            
  CHOLMOD LDFLAGS:             
  CHOLMOD libraries:           
  COLAMD CPPFLAGS:             
  COLAMD LDFLAGS:              
  COLAMD libraries:            
  CURL CPPFLAGS:               
  CURL LDFLAGS:                
  CURL libraries:              
  CXSPARSE CPPFLAGS:           
  CXSPARSE LDFLAGS:            
  CXSPARSE libraries:          
  DL libraries:                -ldl
  FFTW3 CPPFLAGS:              
  FFTW3 LDFLAGS:               
  FFTW3 libraries:             -lfftw3
  FFTW3F CPPFLAGS:             
  FFTW3F LDFLAGS:              
  FFTW3F libraries:            -lfftw3f
  fontconfig CFLAGS:           -I/local/include  
  fontconfig LIBS:             -L/local/lib -lfontconfig  
  FT2_CFLAGS:                  -I/local/include/freetype2 -I/local/include
  FT2_LIBS:                    -L/local/lib -Wl,--rpath -Wl,/local/lib
-lfreetype -lz
  GLPK CPPFLAGS:               
  GLPK LDFLAGS:                
  GLPK libraries:              
  graphics CFLAGS:             
  graphics LIBS:               
  Magick++ CPPFLAGS:           
  Magick++ LDFLAGS:            
  Magick++ libraries:          
  HDF5 CPPFLAGS:               
  HDF5 LDFLAGS:                
  HDF5 libraries:              
  LAPACK libraries:            -llapack
  OPENGL libraries:            -L/local/lib -lfontconfig   -lGL -lGLU
  PTHREAD flags:               -pthread
  PTHREAD libraries:           
  QHULL CPPFLAGS:              
  QHULL LDFLAGS:               
  QHULL libraries:             
  QRUPDATE libraries:          
  READLINE libraries:          -lreadline
  REGEX libraries:             -L/local/lib -lpcre
  TERM libraries:              -lncurses
  UMFPACK libraries:           
  X11 include flags:           
  X11 libraries:               -lX11
  Z CPPFLAGS:                  
  Z LDFLAGS:                   
  Z libraries:                 -lz

  Default pager:               less
  gnuplot:                     gnuplot

  Do internal array bounds checking:  true
  Build static libraries:             false
  Build shared libraries:             true
  Dynamic Linking:                    true (dlopen)
  Include support for GNU readline:   true
  64-bit array dims and indexing:     false



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?32315>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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