Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Java]Java hybird test build #45

Merged
merged 8 commits into from
Apr 19, 2022
Merged

[Java]Java hybird test build #45

merged 8 commits into from
Apr 19, 2022

Conversation

ashione
Copy link
Member

@ashione ashione commented Apr 2, 2022

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

After this jni util imported, we still fail to run hybird stream test.
From test output logs, boost::asio::detail::epoll_reactor::interrupt
crash thrown outside, which shall not show that rootcasue and problem
details
@ashione ashione changed the title [Java]Java hybird test build [WIP][Java]Java hybird test build Apr 2, 2022
@ashione
Copy link
Member Author

ashione commented Apr 6, 2022

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

@jovany-wang
Copy link
Contributor

Was the crash issue addressed?

@ashione
Copy link
Member Author

ashione commented Apr 19, 2022

Was the crash issue addressed?

not yet.

@ashione
Copy link
Member Author

ashione commented Apr 19, 2022

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.

@ashione ashione changed the title [WIP][Java]Java hybird test build [Java]Java hybird test build Apr 19, 2022
@BalaBalaYi BalaBalaYi merged commit 910100d into master Apr 19, 2022
@ashione ashione deleted the java-hybird-test-build branch April 19, 2022 03:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants