Project

General

Profile

Actions

Bug #1342

closed

signal handling on HP-UX

Added by graza (Graham Agnew) about 15 years ago. Updated about 11 years ago.

Status:
Rejected
Target version:
ruby -v:
ruby 1.9.1p0 (2009-01-30 revision 21907) [ia64-hpux11.23]
Backport:
[ruby-core:23083]

Description

=begin
Whenever I interrupt ruby on HP-UX 11i v2, I get a message from the operating system about an inability to establish context and a core dump. This is the messages:

sendsig: useracc failed. 0x9fffffffbf7dae00 0x00000000005000

Pid 3044 was killed due to failure in writing the signal context - possible stack overflow.
Illegal instruction

Looking at the stack backtrace in the core file shows the following:

HP gdb 5.4.0 for HP Itanium (32 or 64 bit) and target HP-UX 11.2x.
Copyright 1986 - 2001 Free Software Foundation, Inc.
Hewlett-Packard Wildebeest 5.4.0 (based on GDB) is covered by the
GNU General Public License. Type "show copying" to see the conditions to
change it and/or distribute copies. Type "show warranty" for warranty/support.
..
Core was generated by `ruby'.
Program terminated with signal 4, Illegal instruction.
ILL_ILLOPC - Illegal Op-Code
#0 0xc00000000033a990:0 in __ksleep+0x30 () from /usr/lib/hpux64/libc.so.1
.gdbinit:2: Error in sourced command file:
No symbol "dummy_gdb_enums" in current context.
(gdb) ba
#0 0xc00000000033a990:0 in __ksleep+0x30 () from /usr/lib/hpux64/libc.so.1
#1 0xc0000000001280a0:0 in __mxn_sleep+0xae0 ()
from /usr/lib/hpux64/libpthread.so.1
#2 0xc0000000000c0f90:0 in <unknown_procedure> + 0xc50 ()
from /usr/lib/hpux64/libpthread.so.1
#3 0xc0000000000c1e30:0 in pthread_cond_timedwait+0x1d0 ()
from /usr/lib/hpux64/libpthread.so.1
warning: Cannot insert inlined instance

warning: Cannot insert inlined instance

warning: Cannot insert inlined instance

warning: Cannot insert inlined instance

warning: Cannot insert inlined instance

warning: Cannot insert inlined instance

warning: Cannot insert inlined instance

warning: Cannot insert inlined instance

warning: Cannot insert inlined instance

warning: Cannot insert inlined instance

warning: Cannot insert inlined instance

warning: Cannot insert inlined instance

warning: Cannot insert inlined instance

warning: Cannot insert inlined instance

warning: Cannot insert inlined instance

warning: Cannot insert inlined instance

warning: Cannot insert inlined instance

warning: Cannot insert inlined instance

warning: Cannot insert inlined instance

warning: Cannot insert inlined instance

warning: Cannot insert inlined instance

#4 0x40000000002f5db0:0 in native_cond_timedwait () at thread_pthread.c:123
#5 0x40000000002f7aa0:0 in thread_timer () at thread_pthread.c:756
#6 0xc0000000000cf3c0:0 in __pthread_bound_body+0x190 ()
from /usr/lib/hpux64/libpthread.so.1
(gdb)
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0