Skip to content

Instantly share code, notes, and snippets.

@kachick
Created December 8, 2012 17:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kachick/4241151 to your computer and use it in GitHub Desktop.
Save kachick/4241151 to your computer and use it in GitHub Desktop.
Looks crashed when thread with some instance_eval on Linux/MacOSX - Rubinius https://github.com/rubinius/rubinius/issues/2090
Thread.new {sleep}.instance_eval do
initialize {}
end
ABORTING: mutex is busy!
Rubinius Crash Report #rbxcrashreport
Error: signal SIGABRT
[[Backtrace]]
bin/rbx[0x5cecc0]
/lib/x86_64-linux-gnu/libc.so.6(+0x364a0)[0x7f83a823e4a0]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x35)[0x7f83a823e425]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x17b)[0x7f83a8241b8b]
bin/rbx[0x6b7067]
bin/rbx(_ZN8rubinius2VMD1Ev+0x435)[0x6b7875]
bin/rbx(_ZN8rubinius2VM7discardEPNS_5StateEPS0_+0xb8)[0x6b7988]
bin/rbx(_ZN8rubinius6Thread13in_new_threadEPv+0x3c3)[0x720353]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x7e9a)[0x7f83a8ae0e9a]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7f83a82fbcbd]
[[System Info]]
sysname: Linux
nodename: foobar
release: 3.2.0-23-generic
version: #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012
machine: x86_64
ABORTING: mutex is busy!
Rubinius Crash Report #rbxcrashreport
Error: signal SIGABRT
[[Backtrace]]
bin/rbx[0x5cecc0]
/lib/x86_64-linux-gnu/libc.so.6(+0x364a0)[0x7f522b62e4a0]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x35)[0x7f522b62e425]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x17b)[0x7f522b631b8b]
bin/rbx[0x6b7067]
bin/rbx(_ZN8rubinius2VMD1Ev+0x435)[0x6b7875]
bin/rbx(_ZN8rubinius2VM7discardEPNS_5StateEPS0_+0xb8)[0x6b7988]
bin/rbx(_ZN8rubinius6Thread13in_new_threadEPv+0x3c3)[0x720353]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x7e9a)[0x7f522bed0e9a]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7f522b6ebcbd]
[[System Info]]
sysname: Linux
nodename: foobar
release: 3.2.0-23-generic
version: #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012
machine: x86_64
ABORTING: pthread_cond_destroy(&native_)
---------------------------------------------
CRASH: A fatal error has occurred.
Backtrace:
0 rbx 0x000000010ba26450 _ZN8rubiniusL12segv_handlerEi + 544
1 libsystem_c.dylib 0x00007fff8b384cfa _sigtramp + 26
2 ??? 0x0000000000000000 0x0 + 0
3 rbx 0x000000010c2cec36 abort + 22
4 rbx 0x000000010bb3e5ce _ZN8rubinius2VM14register_raiseEPNS_5StateEPNS_9ExceptionE + 0
5 rbx 0x000000010bb40446 _ZN8rubinius11ThreadStateD1Ev + 0
6 rbx 0x000000010bb3fa4a _ZN8rubinius2VMD2Ev + 36
7 rbx 0x000000010bb3fda9 _ZN8rubinius2VM7discardEPNS_5StateEPS0_ + 163
8 rbx 0x000000010bbb0b74 _ZN8rubinius6Thread13in_new_threadEPv + 578
9 libsystem_c.dylib 0x00007fff8b3308bf _pthread_start + 335
10 libsystem_c.dylib 0x00007fff8b333b75 thread_start + 13
[[System Info]]
sysname: Darwin
nodename: foobar
release: 11.4.2
version: Darwin Kernel Version 11.4.2: Thu Aug 23 16:25:48 PDT 2012; root:xnu-1699.32.7~1/RELEASE_X86_64
machine: x86_64
ABORTING: pthread_cond_destroy(&native_)
---------------------------------------------
CRASH: A fatal error has occurred.
Backtrace:
0 rbx 0x00000001036da450 _ZN8rubiniusL12segv_handlerEi + 544
1 libsystem_c.dylib 0x00007fff8b384cfa _sigtramp + 26
2 ??? 0x0000000000000000 0x0 + 0
3 rbx 0x0000000103f82c36 abort + 22
4 rbx 0x00000001037f25ce _ZN8rubinius2VM14register_raiseEPNS_5StateEPNS_9ExceptionE + 0
5 rbx 0x00000001037f4446 _ZN8rubinius11ThreadStateD1Ev + 0
6 rbx 0x00000001037f3a4a _ZN8rubinius2VMD2Ev + 36
7 rbx 0x00000001037f3da9 _ZN8rubinius2VM7discardEPNS_5StateEPS0_ + 163
8 rbx 0x0000000103864b74 _ZN8rubinius6Thread13in_new_threadEPv + 578
9 libsystem_c.dylib 0x00007fff8b3308bf _pthread_start + 335
10 libsystem_c.dylib 0x00007fff8b333b75 thread_start + 13
[[System Info]]
sysname: Darwin
nodename: foobar
release: 11.4.2
version: Darwin Kernel Version 11.4.2: Thu Aug 23 16:25:48 PDT 2012; root:xnu-1699.32.7~1/RELEASE_X86_64
machine: x86_64
@kachick
Copy link
Author

kachick commented Dec 8, 2012

@kachick
Copy link
Author

kachick commented Dec 10, 2012

I have confirmed that is fixed now on below environments. :)

  • rubinius 2.0.0rc1 (1.8.7 bf9c28e3 2012-11-02 JI) [x86_64-unknown-linux-gnu]
  • rubinius 2.0.0rc1 (1.9.3 bf9c28e3 2012-11-02 JI) [x86_64-unknown-linux-gnu]

@kachick
Copy link
Author

kachick commented Dec 10, 2012

And below.

  • rubinius 2.0.0rc1 (1.8.7 bf9c28e3 2012-11-02 JI) [x86_64-apple-darwin11.4.2]
  • rubinius 2.0.0rc1 (1.9.3 bf9c28e3 2012-11-02 JI) [x86_64-apple-darwin11.4.2]

Both rbx occur ThreadError :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment