ray-project / mobius

Mobius is an AI infrastructure platform for distributed online learning, including online sample processing, training and serving.
https://ray-project.github.io/mobius/
Apache License 2.0
85 stars 13 forks source link

[Java]Java hybird test build #45

Closed ashione closed 2 years ago

ashione commented 2 years ago

For this java building fix PR, we extract libstreaming java so from self resource file of current classloader.

After that, when I run python test_hybird_stream_tests, boost crash shows like following

Memory: 4k page, physical 33554432k(25320348k free), swap 0k(0k free)

vm_info: OpenJDK 64-Bit Server VM (25.312-b07) for linux-amd64 JRE (1.8.0_312-8u312-b07-0ubuntu1~20.04-b07), built on Nov  3 2021 13:54:59 by "buildd" with gcc 9.3.0

time: Sat Apr  2 15:01:41 2022
timezone: GMT
elapsed time: 4.051198 seconds (0d 0h 0m 4s)

root@arconkube-40-011122202148:/mobius/streaming# head !$
head hs_err_pid201204.log
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007fed5b2f5015, pid=201204, tid=0x00007fed3dffb700
#
# JRE version: OpenJDK Runtime Environment (8.0_312-b07) (build 1.8.0_312-8u312-b07-0ubuntu1~20.04-b07)
# Java VM: OpenJDK 64-Bit Server VM (25.312-b07 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [libcore_worker_library_java.so+0xcce015]  boost::asio::detail::epoll_reactor::interrupt()+0x15
ashione commented 2 years ago

@jovany-wang There are some actors crashed issues in java process, could you take a look?

jovany-wang commented 2 years ago

Was the crash issue addressed?

ashione commented 2 years ago

Was the crash issue addressed?

not yet.

ashione commented 2 years ago

test_hybird_stream_tests runs ok for me now, I guess that might happen since symbols conflict. But above crash exceptions dismissed after next PR merged.