Package: riby-kgio
Version: 2.10.0-1+b2

This package fails only on the hppa architecture, as can be seen here:
https://buildd.debian.org/status/package.php?p=ruby-kgio&suite=sid

According to the last build log:
https://buildd.debian.org/status/fetch.php?pkg=ruby-kgio&arch=hppa&ver=2.10.0-1%2Bb2&stamp=1461596321

it fails while running the testsuite:

Started
TesTcpClientReadServerWrite: 
  test_monster_trywrite:                                .: (0.092000)
  test_monster_trywritev:                               .: (0.292001)
  test_monster_write:                                   .: (0.108000)
  test_monster_write_wait_writable:                     .: (0.156000)
  test_monster_writev:                                  .: (0.152000)
  test_monster_writev_wait_writable:                    
/<<PKGBUILDDIR>>/test/lib_read_write.rb:390: [BUG] Segmentation fault at 
0x00032d
ruby 2.3.0p0 (2015-12-25) [hppa-linux-gnu]

I could run it in gdb with debug-symbols loaded:

(unstabletest-hppa-sbuild)root@phantom:/build/ruby-kgio/ruby-kgio-2.10.0# gdb 
/usr/bin/ruby2.3
GNU gdb (Debian 7.10-1.1) 7.10
Copyright (C) 2015 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 "hppa-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/ruby2.3...(no debugging symbols found)...done.
<nt_read_server_write.rb" "test/test_unix_connect.rb" 
"test/test_unix_server.rb" "test/test_unix_server_read_client_write.rb" -v
Starting program: /usr/bin/ruby2.3 -I"test"  
"/usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb" 
"test/test_accept_class.rb" "test/test_accept_flags.rb" "test/test_autopush.rb" 
"test/test_connect_fd_leak.rb" "test/test_cross_thread_close.rb" 
"test/test_default_wait.rb" "test/test_kgio_addr.rb" 
"test/test_no_dns_on_tcp_connect.rb" "test/test_peek.rb" 
"test/test_pipe_popen.rb" "test/test_pipe_read_write.rb" "test/test_poll.rb" 
"test/test_singleton_read_write.rb" "test/test_socket.rb" 
"test/test_socketpair_read_write.rb" "test/test_syssend.rb" 
"test/test_tcp6_client_read_server_write.rb" 
"test/test_tcp_client_read_server_write.rb" "test/test_tcp_connect.rb" 
"test/test_tcp_server.rb" "test/test_tcp_server_read_client_write.rb" 
"test/test_tfo.rb" "test/test_tryopen.rb" 
"test/test_unix_client_read_server_write.rb" "test/test_unix_connect.rb" 
"test/test_unix_server.rb" "test/test_unix_server_read_client_write.rb" -v
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/hppa-linux-gnu/libthread_db.so.1".
[New Thread 0xfa674480 (LWP 28760)]
/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot 
load such file -- kgio (LoadError)
        from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in 
`require'
        from /build/ruby-kgio/ruby-kgio-2.10.0/test/test_accept_class.rb:4:in 
`<top (required)>'
        from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in 
`require'
        from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in 
`require'
        from /usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb:15:in `block in 
<main>'
        from /usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb:4:in `select'
        from /usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb:4:in `<main>'
[Thread 0xfa674480 (LWP 28760) exited]
[Inferior 1 (process 28757) exited with code 01]
(gdb) q
</ruby/2.3.0:/var/lib/gems/2.3.0:/usr/lib/hppa-linux-gnu/rubygems-integration/2.3.0:/usr/share/rubygems-integration/2.3.0:/usr/share/rubygems-integration/all
<r/lib/gems/2.3.0:/usr/lib/hppa-linux-gnu/rubygems-integration/2.3.0:/usr/share/rubygems-integration/2.3.0:/usr/share/rubygems-integration/all
(unstabletest-hppa-sbuild)root@phantom:/build/ruby-kgio/ruby-kgio-2.10.0# gdb 
/usr/bin/ruby2.3
GNU gdb (Debian 7.10-1.1) 7.10
Copyright (C) 2015 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 "hppa-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/ruby2.3...(no debugging symbols found)...done.
<nt_read_server_write.rb" "test/test_unix_connect.rb" 
"test/test_unix_server.rb" "test/test_unix_server_read_client_write.rb" -v
Starting program: /usr/bin/ruby2.3 -I"test"  
"/usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb" 
"test/test_accept_class.rb" "test/test_accept_flags.rb" "test/test_autopush.rb" 
"test/test_connect_fd_leak.rb" "test/test_cross_thread_close.rb" 
"test/test_default_wait.rb" "test/test_kgio_addr.rb" 
"test/test_no_dns_on_tcp_connect.rb" "test/test_peek.rb" 
"test/test_pipe_popen.rb" "test/test_pipe_read_write.rb" "test/test_poll.rb" 
"test/test_singleton_read_write.rb" "test/test_socket.rb" 
"test/test_socketpair_read_write.rb" "test/test_syssend.rb" 
"test/test_tcp6_client_read_server_write.rb" 
"test/test_tcp_client_read_server_write.rb" "test/test_tcp_connect.rb" 
"test/test_tcp_server.rb" "test/test_tcp_server_read_client_write.rb" 
"test/test_tfo.rb" "test/test_tryopen.rb" 
"test/test_unix_client_read_server_write.rb" "test/test_unix_connect.rb" 
"test/test_unix_server.rb" "test/test_unix_server_read_client_write.rb" -v
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/hppa-linux-gnu/libthread_db.so.1".
[New Thread 0xfa674480 (LWP 28945)]
/build/ruby-kgio/ruby-kgio-2.10.0/test/test_connect_fd_leak.rb:13: warning: 
assigned but unused variable - sock
/build/ruby-kgio/ruby-kgio-2.10.0/test/test_kgio_addr.rb:11: warning: assigned 
but unused variable - client
/build/ruby-kgio/ruby-kgio-2.10.0/test/lib_read_write.rb:163: warning: assigned 
but unused variable - e
/build/ruby-kgio/ruby-kgio-2.10.0/test/lib_read_write.rb:200: warning: assigned 
but unused variable - e
/build/ruby-kgio/ruby-kgio-2.10.0/test/test_poll.rb:46: warning: assigned but 
unused variable - foo
/build/ruby-kgio/ruby-kgio-2.10.0/test/test_poll.rb:58: warning: assigned but 
unused variable - res
/build/ruby-kgio/ruby-kgio-2.10.0/test/test_tcp6_client_read_server_write.rb:4: 
warning: assigned but unused variable - tmp
/build/ruby-kgio/ruby-kgio-2.10.0/test/lib_server_accept.rb:18: warning: 
assigned but unused variable - a
/build/ruby-kgio/ruby-kgio-2.10.0/test/lib_server_accept.rb:26: warning: 
assigned but unused variable - a
/build/ruby-kgio/ruby-kgio-2.10.0/test/lib_server_accept.rb:34: warning: 
assigned but unused variable - a
/build/ruby-kgio/ruby-kgio-2.10.0/test/test_tryopen.rb:60: warning: assigned 
but unused variable - file
/build/ruby-kgio/ruby-kgio-2.10.0/test/test_unix_connect.rb:9: warning: method 
redefined; discarding old foo
/build/ruby-kgio/ruby-kgio-2.10.0/test/test_unix_connect.rb:9: warning: method 
redefined; discarding old foo=
/build/ruby-kgio/ruby-kgio-2.10.0/test/test_unix_connect.rb:10: warning: method 
redefined; discarding old kgio_wait_writable
/build/ruby-kgio/ruby-kgio-2.10.0/test/test_tcp_connect.rb:8: warning: previous 
definition of kgio_wait_writable was here
Loaded suite /usr/lib/ruby/vendor_ruby/rake/rake_test_loader
Started
TesTcpClientReadServerWrite:
  test_monster_trywrite:                                                        
                                                                        .: 
(0.115999)
  test_monster_trywritev:                                                       
                                                                .: (0.303998)
  test_monster_write:                                                           
                                                                [New Thread 
0xfa5dd480 (LWP 29255)]
[Thread 0xfa5dd480 (LWP 29255) exited]
.: (0.175999)
  test_monster_write_wait_writable:                                             
                                                                [New Thread 
0xfa5dd480 (LWP 29256)]
[Thread 0xfa5dd480 (LWP 29256) exited]
.: (0.211999)
  test_monster_writev:                                                          
                                                                [New Thread 
0xfa5dd480 (LWP 29257)]
[Thread 0xfa5dd480 (LWP 29257) exited]
.: (0.179999)
  test_monster_writev_wait_writable:                                            
                                                                [New Thread 
0xfa5dd480 (LWP 29258)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xfa5dd480 (LWP 29258)]
mix_id_table_lookup (tbl=0x0, id=id@entry=3265, valp=valp@entry=0xfa55f248) at 
id_table.c:1516
1516    id_table.c: No such file or directory.
(gdb) bt
#0  mix_id_table_lookup (tbl=0x0, id=id@entry=3265, valp=valp@entry=0xfa55f248) 
at id_table.c:1516
#1  0xf9c91b04 in lookup_method_table (id=3265, klass=<optimized out>) at 
vm_method.c:190
#2  search_method (defined_class_ptr=<optimized out>, id=<optimized out>, 
klass=<optimized out>) at vm_method.c:701
#3  method_entry_get_without_cache (defined_class_ptr=<optimized out>, 
id=<optimized out>, klass=<optimized out>) at vm_method.c:726
#4  method_entry_get (klass=1134408, id=3265, id@entry=1134408, 
defined_class_ptr=defined_class_ptr@entry=0xfa55f1c8) at vm_method.c:786
#5  0xf9c94e90 in rb_callable_method_entry (klass=<optimized out>, id=1134408, 
id@entry=4199936456) at vm_method.c:831
#6  0xf9ca6048 in rb_search_method_entry (mid=4199936456, recv=1134408) at 
vm_eval.c:573
#7  rb_call0 (recv=1134408, mid=4199936456, argc=3265, argv=0xfa55f248, 
scope=<optimized out>, self=<optimized out>) at vm_eval.c:343
#8  0xf9ca6984 in rb_call (scope=CALL_FCALL, argv=<optimized out>, 
argc=<optimized out>, mid=<optimized out>, recv=<optimized out>) at 
vm_eval.c:637
#9  rb_funcall (recv=<optimized out>, mid=<optimized out>, n=<optimized out>) 
at vm_eval.c:835
#10 0x00000000 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

I assume it's a problem in ruby2.3 itself, but since I'm no expert in 
ruby2.3, is there anyone who might be able to help?
I can provide a login to a hppa box if necessary...

Thanks,
Helge

Reply via email to