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

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

[Octave-bug-tracker] [bug #30477] "help" command hangs because SIGCHLD h


From: anonymous
Subject: [Octave-bug-tracker] [bug #30477] "help" command hangs because SIGCHLD handler is not async-signal-safe
Date: Fri, 12 Nov 2010 20:59:39 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101027 Fedora/3.6.12-1.fc14 Firefox/3.6.12

Follow-up Comment #10, bug #30477 (project octave):

This problem, for me, seems to "come and go."  Now, on a recent
development build, it is back.  Octave always hangs on a
help command which names an existing function.  It returns
if the name does not match.

Are others still getting this?
My system is Fedora:Linux pbds.stanford.edu 2.6.35.6-48.fc14.x86_64 #1 SMP
Fri Oct 22 15:36:08 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux

A gdb bt is:

(gdb) run
Starting program: /usr/local/bin/octave 
[Thread debugging using libthread_db enabled]
GNU Octave, version 3.3.53+
Copyright (C) 2010 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  For details, type `warranty'.

Octave was configured for "x86_64-unknown-linux-gnu".

Additional information about Octave is available at http://www.octave.org.

Please contribute if you find this software useful.
For more information, visit http://www.octave.org/help-wanted.html

Read http://www.octave.org/bugs.html to learn how to submit bug reports.

For information about changes from previous versions, type `news'.

octave:1> help legend
Detaching after fork from child process 13094.
^C
Program received signal SIGINT, Interrupt.
0x00000036192f349b in __lll_lock_wait_private () from /lib64/libc.so.6
Missing separate debuginfos, use: debuginfo-install arpack-2.1-12.fc14.x86_64
atlas-3.8.3-18.fc14.x86_64 blas-3.2.2-2.fc14.x86_64 expat-2.0.1-10.fc13.x86_64
fltk-1.1.10-2.fc14.x86_64 fontconfig-2.8.0-2.fc14.x86_64
freetype-2.4.2-3.fc14.x86_64 glibc-2.12.90-18.x86_64
hdf5-1.8.5.patch1-4.fc14.x86_64 libX11-1.3.4-3.fc14.x86_64
libXau-1.0.6-1.fc14.x86_64 libXext-1.1.2-2.fc14.x86_64
libXft-2.1.14-1.fc13.x86_64 libXinerama-1.1-2.fc13.x86_64
libXrender-0.9.6-1.fc14.x86_64 libgcc-4.5.1-4.fc14.x86_64
libgfortran-4.5.1-4.fc14.x86_64 libstdc++-4.5.1-4.fc14.x86_64
libxcb-1.7-1.fc14.x86_64 mesa-libGLU-7.9-2.fc14.x86_64
ncurses-libs-5.7-8.20100703.fc14.x86_64 pcre-8.10-1.fc14.x86_64
qrupdate-1.1.1-1.fc13.x86_64 readline-6.1-2.fc14.x86_64
suitesparse-3.4.0-2.fc12.x86_64 zlib-1.2.5-2.fc14.x86_64
(gdb) bt
#0  0x00000036192f349b in __lll_lock_wait_private () from /lib64/libc.so.6
#1  0x000000361927ee8c in _L_lock_11783 () from /lib64/libc.so.6
#2  0x000000361927c927 in malloc () from /lib64/libc.so.6
#3  0x00000036232ba78d in operator new(unsigned long) () from
/usr/lib64/libstdc++.so.6
#4  0x00007ffff75fa1a2 in octave_child_list::instance_ok () at
sighandlers.cc:821
#5  0x00007ffff75fa529 in octave_child_list::wait () at sighandlers.cc:850
#6  0x00007ffff75fa59d in sigchld_handler () at sighandlers.cc:234
#7  <signal handler called>
#8  0x0000003619277f0c in malloc_consolidate () from /lib64/libc.so.6
#9  0x00000036192798e8 in _int_malloc () from /lib64/libc.so.6
#10 0x000000361927c932 in malloc () from /lib64/libc.so.6
#11 0x00000036232ba78d in operator new(unsigned long) () from
/usr/lib64/libstdc++.so.6
#12 0x000000362329cfb9 in std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::_Rep::_S_create(unsigned long, unsigned long,
std::allocator<char> const&) ()
   from /usr/lib64/libstdc++.so.6
#13 0x000000362329dd4b in std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::_Rep::_M_clone(std::allocator<char> const&, unsigned
long) () from /usr/lib64/libstdc++.so.6
#14 0x000000362329de3c in std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::reserve(unsigned long) () from
/usr/lib64/libstdc++.so.6
#15 0x0000003623296e13 in std::basic_stringbuf<char, std::char_traits<char>,
std::allocator<char> >::overflow(int) () from /usr/lib64/libstdc++.so.6
#16 0x00000036232912bb in std::basic_ostream<char, std::char_traits<char>
>::put(char) ()
   from /usr/lib64/libstdc++.so.6
#17 0x00007ffff763e868 in run_command_and_return_output (args=<value
optimized out>, 
    nargout=-19392) at toplev.cc:793
#18 Fsystem (args=<value optimized out>, nargout=-19392) at toplev.cc:973
#19 0x00007ffff76b323b in octave_builtin::do_multi_index_op (this=0x765c98,
nargout=2, 
    args=..., lvalue_list=0x7fffffffb620) at ov-builtin.cc:129
#20 0x00007ffff76b2197 in octave_builtin::subsref (this=0x765c98, type="(",
idx=
---Type <return> to continue, or q <return> to quit---
    std::list = {...}, nargout=2, lvalue_list=<value optimized out>) at
ov-builtin.cc:64
#21 0x00007ffff7787196 in octave_value::subsref (this=<value optimized out>,

    type=<value optimized out>, idx=<value optimized out>, nargout=<value
optimized out>, 
    lvalue_list=<value optimized out>) at ov.cc:1211
#22 0x00007ffff783561d in tree_index_expression::rvalue (this=<value
optimized out>, nargout=2, 
    lvalue_list=0x7fffffffbea0) at pt-idx.cc:408
#23 0x00007ffff7809d05 in tree_multi_assignment::rvalue (this=0xc875c0) at
pt-assign.cc:365
#24 0x00007ffff7808a1d in tree_multi_assignment::rvalue1 (this=0xc875c0,
nargout=0)
    at pt-assign.cc:320
#25 0x00007ffff7820d55 in tree_evaluator::visit_statement
(this=0x7ffff7ffb5d8, 
    stmt=<value optimized out>) at pt-eval.cc:729
#26 0x00007ffff781ab90 in tree_evaluator::visit_statement_list
(this=0x7ffff7ffb5d8, lst=...)
    at pt-eval.cc:765
#27 0x00007ffff781d796 in tree_evaluator::visit_unwind_protect_command
(this=0x7ffff7ffb5d8, 
    cmd=<value optimized out>) at pt-eval.cc:996
#28 0x00007ffff7820c9d in tree_evaluator::visit_statement
(this=0x7ffff7ffb5d8, stmt=...)
    at pt-eval.cc:700
#29 0x00007ffff781ab90 in tree_evaluator::visit_statement_list
(this=0x7ffff7ffb5d8, lst=...)
    at pt-eval.cc:765
#30 0x00007ffff777d2ed in octave_user_function::do_multi_index_op
(this=0x6aa040, nargout=2, 
    args=<value optimized out>, lvalue_list=0x7fffffffcba0) at
ov-usr-fcn.cc:450
#31 0x00007ffff7777896 in octave_user_function::subsref (this=0x6aa040,
type="(", idx=
    std::list = {...}, nargout=2, lvalue_list=0x7fffffffcba0) at
ov-usr-fcn.cc:303
#32 0x00007ffff7787196 in octave_value::subsref (this=<value optimized out>,

    type=<value optimized out>, idx=<value optimized out>, nargout=<value
optimized out>, 
    lvalue_list=<value optimized out>) at ov.cc:1211
#33 0x00007ffff783561d in tree_index_expression::rvalue (this=<value
optimized out>, nargout=2, 
    lvalue_list=0x7fffffffcba0) at pt-idx.cc:408
#34 0x00007ffff7809d05 in tree_multi_assignment::rvalue (this=0xa1e720) at
pt-assign.cc:365
---Type <return> to continue, or q <return> to quit---
#35 0x00007ffff7808a1d in tree_multi_assignment::rvalue1 (this=0xa1e720,
nargout=0)
    at pt-assign.cc:320
#36 0x00007ffff7820d55 in tree_evaluator::visit_statement
(this=0x7ffff7ffb5d8, 
    stmt=<value optimized out>) at pt-eval.cc:729
#37 0x00007ffff781ab90 in tree_evaluator::visit_statement_list
(this=0x7ffff7ffb5d8, lst=...)
    at pt-eval.cc:765
#38 0x00007ffff781ebdc in tree_evaluator::visit_switch_command
(this=0x7ffff7ffb5d8, 
    cmd=<value optimized out>) at pt-eval.cc:847
#39 0x00007ffff7820c9d in tree_evaluator::visit_statement
(this=0x7ffff7ffb5d8, stmt=...)
    at pt-eval.cc:700
#40 0x00007ffff781ab90 in tree_evaluator::visit_statement_list
(this=0x7ffff7ffb5d8, lst=...)
    at pt-eval.cc:765
#41 0x00007ffff7820c9d in tree_evaluator::visit_statement
(this=0x7ffff7ffb5d8, stmt=...)
    at pt-eval.cc:700
#42 0x00007ffff781ab90 in tree_evaluator::visit_statement_list
(this=0x7ffff7ffb5d8, lst=...)
    at pt-eval.cc:765
#43 0x00007ffff777d2ed in octave_user_function::do_multi_index_op
(this=0x6a9ba8, nargout=0, 
    args=<value optimized out>, lvalue_list=0x0) at ov-usr-fcn.cc:450
#44 0x00007ffff7777896 in octave_user_function::subsref (this=0x6a9ba8,
type="(", idx=
    std::list = {...}, nargout=0, lvalue_list=0x0) at ov-usr-fcn.cc:303
#45 0x00007ffff7777fcc in octave_user_function::subsref (this=<value
optimized out>, 
    type=<value optimized out>, idx=<value optimized out>, nargout=<value
optimized out>)
    at ov-usr-fcn.cc:286
#46 0x00007ffff7787129 in octave_value::subsref (this=<value optimized out>,

    type=<value optimized out>, idx=<value optimized out>, nargout=<value
optimized out>)
    at ov.cc:1202
#47 0x00007ffff77871a5 in octave_value::subsref (this=<value optimized out>,

    type=<value optimized out>, idx=<value optimized out>, nargout=<value
optimized out>, 
    lvalue_list=<value optimized out>) at ov.cc:1213
---Type <return> to continue, or q <return> to quit---
#48 0x00007ffff783561d in tree_index_expression::rvalue (this=<value
optimized out>, nargout=0, 
    lvalue_list=0x0) at pt-idx.cc:408
#49 0x00007ffff783760b in tree_index_expression::rvalue (this=<value
optimized out>, 
    nargout=<value optimized out>) at pt-idx.cc:278
#50 0x00007ffff782d72d in tree_index_expression::rvalue1 (this=0xb64900,
nargout=0)
    at pt-idx.cc:419
#51 0x00007ffff7820d55 in tree_evaluator::visit_statement
(this=0x7ffff7ffb5d8, 
    stmt=<value optimized out>) at pt-eval.cc:729
#52 0x00007ffff781ab90 in tree_evaluator::visit_statement_list
(this=0x7ffff7ffb5d8, lst=...)
    at pt-eval.cc:765
#53 0x00007ffff763c8b9 in main_loop () at toplev.cc:570
#54 0x00007ffff75d9ae7 in octave_main (argc=<value optimized out>,
argv=<value optimized out>, 
    embedded=0) at octave.cc:894
#55 0x000000361921ee7d in __libc_start_main () from /lib64/libc.so.6
#56 0x00000000004006e9 in _start ()
(gdb) 


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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