Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1231950
| From | Russell Coker <russell@coker.com.au> |
|---|---|
| Newsgroups | linux.debian.bugs.dist |
| Subject | Bug#1095018: this would be the swig change |
| Date | 2025-02-06 07:00 +0100 |
| Message-ID | <Kd35D-eL0r-1@gated-at.bofh.it> (permalink) |
| References | <KbMTf-dSSa-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=%231091131 Below is the backtrace from the Ruby test case you provided. It shows that it fails in SWIG related code. The attached patch was recently applied in version 3.7-3.1 to build with SWIG 4.3 and close the above bug. The patch is needed to match the latest SWIG so reverting that patch is not an option - the code in question can't compile without it. I think that the root cause of this is SWIG. Is there anyone who has had previous experience of Ruby and SWIG who can help with this? (gdb) bt #0 rbimpl_RB_TYPE_P_fastpath (obj=8, t=RUBY_T_DATA) at /usr/include/ ruby-3.3.0/ruby/internal/value_type.h:351 #1 RB_TYPE_P (t=RUBY_T_DATA, obj=8) at /usr/include/ruby-3.3.0/ruby/internal/ value_type.h:378 #2 Check_Type (t=RUBY_T_DATA, v=8) at /usr/include/ruby-3.3.0/ruby/internal/ value_type.h:434 #3 rb_data_object_get (obj=8) at /usr/include/ruby-3.3.0/ruby/internal/core/ rdata.h:314 #4 SWIG_Ruby_GetModule (clientdata=0x0) at ./src/selinuxswig_ruby_wrap.c:1823 #5 SWIG_InitializeModule (clientdata=0x0) at ./src/selinuxswig_ruby_wrap.c: 12230 #6 Init_selinux () at ./src/selinuxswig_ruby_wrap.c:12402 #7 0x00007ffff7a3bfe6 in dln_load () from /lib/x86_64-linux-gnu/ libruby-3.1.so.3.1 #8 0x00007ffff7c55bd1 in ?? () from /lib/x86_64-linux-gnu/libruby-3.1.so.3.1 #9 0x00007ffff7b0d8b8 in ?? () from /lib/x86_64-linux-gnu/libruby-3.1.so.3.1 #10 0x00007ffff7b0de71 in rb_require_string () from /lib/x86_64-linux-gnu/ libruby-3.1.so.3.1 #11 0x00007ffff7c49e6c in ?? () from /lib/x86_64-linux-gnu/libruby-3.1.so.3.1 #12 0x00007ffff7c5f211 in ?? () from /lib/x86_64-linux-gnu/libruby-3.1.so.3.1 #13 0x00007ffff7c54d20 in ?? () from /lib/x86_64-linux-gnu/libruby-3.1.so.3.1 #14 0x00007ffff7c57f92 in ?? () from /lib/x86_64-linux-gnu/libruby-3.1.so.3.1 #15 0x00007ffff7c5c686 in rb_vm_exec () from /lib/x86_64-linux-gnu/ libruby-3.1.so.3.1 #16 0x00007ffff7ab98d6 in ?? () from /lib/x86_64-linux-gnu/libruby-3.1.so.3.1 #17 0x00007ffff7abd0e7 in ruby_run_node () from /lib/x86_64-linux-gnu/ libruby-3.1.so.3.1 #18 0x000055555555510d in ?? () #19 0x00007ffff7833d68 in ?? () from /lib/x86_64-linux-gnu/libc.so.6 #20 0x00007ffff7833e25 in __libc_start_main () from /lib/x86_64-linux-gnu/ libc.so.6 #21 0x0000555555555151 in _start () -- My Main Blog http://etbe.coker.com.au/ My Documents Blog http://doc.coker.com.au/
Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Find similar | Unroll thread
Bug#1095018: ruby-selinux: segfault with some combinations of ruby and ruby-selinux Michael Stone <mstone@debian.org> - 2025-02-02 19:30 +0100 Bug#1095018: this would be the swig change Russell Coker <russell@coker.com.au> - 2025-02-06 07:00 +0100
csiph-web