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

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

[Octave-bug-tracker] [bug #30685] Segmentation fault in ./run-octave [si


From: Leonardo Muttoni
Subject: [Octave-bug-tracker] [bug #30685] Segmentation fault in ./run-octave [sigemptyset() in liboctinterp-3.3.52.so]
Date: Tue, 26 Oct 2010 00:28:21 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/534.3 (KHTML, like Gecko) Chrome/6.0.472.62 Safari/534.3

Follow-up Comment #16, bug #30685 (project octave):

After cleaning the building tree, I've changed my enviromental variables:

> export CFLAGS="$CFLAGS -g"; export CXXFLAGS=$CFLAGS

Wich turned these variables to "-march=nocona -O3 -g".

Then, I "./configure --prefix=/usr", "make -j3", and run "./run-octave -g":


> ./run-octave -g
(gdb) run
(...)
[Thread debugging using libthread_db enabled]
[New Thread 0xb3762940 (LWP 13891)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb3762940 (LWP 13891)]
0xb785896c in sigemptyset () from
/home/muttoni/a/octave-3.3.53/src/.libs/liboctinterp-3.3.53.so

(gdb) bt full
#0  0xb785896c in sigemptyset () from
/home/muttoni/a/octave-3.3.53/src/.libs/liboctinterp-3.3.53.so
No symbol table info available.
#1  0xb6fc3370 in octave_set_signal_handler (sig=2, handler=0xb6fc3e32
<sigint_handler>, restart_syscalls=true) at sighandlers.cc:198
        act = {__sigaction_handler = {sa_handler = 0xb6fc3e32
<sigint_handler>, sa_sigaction = 0xb6fc3e32 <sigint_handler>}, sa_mask =
{__val = {3035721716, 3035726112, 
      136868752, 3219033752, 3034833776, 3035726112, 136868752, 136879920,
3064499892, 3079140120, 136868744, 24058386, 3079266292, 3064499892,
3079140120, 3219033808, 
      3079206457, 3079140560, 0, 1, 1, 0, 3064993099, 2388, 3064324096,
14762624, 1, 3064499892, 3079082020, 3219033896, 0, 3219033864}}, sa_flags =
268435456, 
  sa_restorer = 0xb787cd20 <octave_signals_caught>}
        oact = {__sigaction_handler = {sa_handler = 0xbfde8e80, sa_sigaction
= 0xbfde8e80}, sa_mask = {__val = {1, 3079140560, 3219033796, 3219033824,
3219033792, 
      3079140120, 3064993099, 3219033760, 1, 0, 875724625, 0, 0, 3079140120,
3064983407, 136793860, 3219033640, 3034349556, 3534266940, 0, 0, 3035619296,
75, 3035721716, 
      3219033872, 3079140120, 3064983165, 3034833776, 3035726112, 136879920,
3782204605, 0}}, sa_flags = 0, sa_restorer = 0x8289f28}
#2  0xb6fc342e in octave_catch_interrupts () at sighandlers.cc:474
        retval = {int_handler = 0xb4f18150 <main_arena+48>}
#3  0xb6fc34fa in install_signal_handlers () at sighandlers.cc:543
No locals.
#4  0xb6f8caf0 in octave_main (argc=6, argv=0xbfde9134, embedded=0) at
octave.cc:624
        forced_line_editing = <value optimized out>
        read_history_file = <value optimized out>
        last_arg_idx = <value optimized out>
        remaining_args = <value optimized out>
        retval = <value optimized out>
#5  0x0804866e in ?? ()
No symbol table info available.
#6  0x00000006 in ?? ()
No symbol table info available.
#7  0xbfde9134 in ?? ()
No symbol table info available.
#8  0x00000000 in ?? ()
No symbol table info available.
(gdb) 


I'm a beginner in debugging. Please tell me any additional GDB commands that
I must run.

After build:

> ls libgnu/.libs/s*
libgnu/.libs/save-cwd.o  libgnu/.libs/sockets.o  libgnu/.libs/strftime.o 
libgnu/.libs/stripslash.o  libgnu/.libs/strnlen1.o

There is no "sigprocmask.o" here.

Another broader try:

> find -iname "sigprocmask*"
./libgnu/.deps/sigprocmask.Plo
./libgnu/sigprocmask.c

What is the next step?



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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