Comments (3)
this seems to happen once every 15 times or so.
another backtrace (this time quoted!):
(gdb) thread 5
[Switching to thread 5 (Thread 0x7fdad1925700 (LWP 7188))]
#0 0x00007fdaf0e61d3c in __lll_lock_wait_private () from /lib64/libc.so.6
(gdb) bt
#0 0x00007fdaf0e61d3c in __lll_lock_wait_private () from /lib64/libc.so.6
#1 0x00007fdaf0de0f66 in _L_lock_12192 () from /lib64/libc.so.6
#2 0x00007fdaf0dde4e1 in malloc () from /lib64/libc.so.6
#3 0x00007fdaf17570a6 in tls_get_addr_tail () from /lib64/ld-linux-x86-64.so.2
#4 0x00007fdaef2ef279 in CurrentJniEnv () at /home/vagrant/git/RichardWarburton/honest-profiler/src/main/cpp/globals.h:134
#5 Profiler::handle (this=0x7fdae80086a0, signum=<optimized out>, info=<optimized out>, context=0x7fdad1921380) at /home/vagrant/git/RichardWarburton/honest-profiler/src/main/cpp/profiler.cpp:113
#6 <signal handler called>
#7 0x00007fdaf0e4ed87 in mprotect () from /lib64/libc.so.6
#8 0x00007fdaf0ddd14d in _int_malloc () from /lib64/libc.so.6
#9 0x00007fdaf0dde4ec in malloc () from /lib64/libc.so.6
#10 0x00007fdaf06d2448 in os::malloc(unsigned long, unsigned short, unsigned char*) () from /usr/lib/jvm/jdk1.8.0_05/jre/lib/amd64/server/libjvm.so
#11 0x00007fdaf00e89d3 in ChunkPool::allocate(unsigned long, AllocFailStrategy::AllocFailEnum) () from /usr/lib/jvm/jdk1.8.0_05/jre/lib/amd64/server/libjvm.so
#12 0x00007fdaf00e80a1 in Arena::grow(unsigned long, AllocFailStrategy::AllocFailEnum) () from /usr/lib/jvm/jdk1.8.0_05/jre/lib/amd64/server/libjvm.so
#13 0x00007fdaf062f4e0 in Matcher::Label_Root(Node const*, State*, Node*, Node const*) () from /usr/lib/jvm/jdk1.8.0_05/jre/lib/amd64/server/libjvm.so
#14 0x00007fdaf062f447 in Matcher::Label_Root(Node const*, State*, Node*, Node const*) () from /usr/lib/jvm/jdk1.8.0_05/jre/lib/amd64/server/libjvm.so
#15 0x00007fdaf062f447 in Matcher::Label_Root(Node const*, State*, Node*, Node const*) () from /usr/lib/jvm/jdk1.8.0_05/jre/lib/amd64/server/libjvm.so
#16 0x00007fdaf0630c8b in Matcher::match_tree(Node const*) () from /usr/lib/jvm/jdk1.8.0_05/jre/lib/amd64/server/libjvm.so
#17 0x00007fdaf0631d86 in Matcher::xform(Node*, int) () from /usr/lib/jvm/jdk1.8.0_05/jre/lib/amd64/server/libjvm.so
#18 0x00007fdaf06346c5 in Matcher::match() () from /usr/lib/jvm/jdk1.8.0_05/jre/lib/amd64/server/libjvm.so
#19 0x00007fdaf0298dea in Compile::Code_Gen() () from /usr/lib/jvm/jdk1.8.0_05/jre/lib/amd64/server/libjvm.so
#20 0x00007fdaf02998ea in Compile::Compile(ciEnv*, TypeFunc const* (*)(), unsigned char*, char const*, int, bool, bool, bool) () from /usr/lib/jvm/jdk1.8.0_05/jre/lib/amd64/server/libjvm.so
#21 0x00007fdaf0768629 in OptoRuntime::generate_stub(ciEnv*, TypeFunc const* (*)(), unsigned char*, char const*, int, bool, bool, bool) () from /usr/lib/jvm/jdk1.8.0_05/jre/lib/amd64/server/libjvm.so
#22 0x00007fdaf0768856 in OptoRuntime::generate(ciEnv*) () from /usr/lib/jvm/jdk1.8.0_05/jre/lib/amd64/server/libjvm.so
#23 0x00007fdaf01f03e9 in C2Compiler::initialize() () from /usr/lib/jvm/jdk1.8.0_05/jre/lib/amd64/server/libjvm.so
#24 0x00007fdaf02a0eca in CompileBroker::init_compiler_runtime() () from /usr/lib/jvm/jdk1.8.0_05/jre/lib/amd64/server/libjvm.so
#25 0x00007fdaf02a6d0f in CompileBroker::compiler_thread_loop() () from /usr/lib/jvm/jdk1.8.0_05/jre/lib/amd64/server/libjvm.so
#26 0x00007fdaf081e03f in JavaThread::thread_main_inner() () from /usr/lib/jvm/jdk1.8.0_05/jre/lib/amd64/server/libjvm.so
#27 0x00007fdaf081e205 in JavaThread::run() () from /usr/lib/jvm/jdk1.8.0_05/jre/lib/amd64/server/libjvm.so
#28 0x00007fdaf06db0c8 in java_start(Thread*) () from /usr/lib/jvm/jdk1.8.0_05/jre/lib/amd64/server/libjvm.so
#29 0x00007fdaf1541df3 in start_thread () from /lib64/libpthread.so.0
#30 0x00007fdaf0e543dd in clone () from /lib64/libc.so.6
from honest-profiler.
I think this might have been fixed by @nitsanw 's commit d1b36de , removed thread local storage for jni environment.
from honest-profiler.
In that case I'm closing the issue. If it still appears to be a bug, then please re-open ;)
from honest-profiler.
Related Issues (20)
- liblagent.so is not being created on macOS HOT 2
- Correlating honest profile event thread id's with java thread id
- Build failed on OSX HOT 6
- StringIndexOutOfBoundsException when attaching to liberty profile HOT 1
- also with openjdk: StringIndexOutOfBoundsException when attaching to liberty profile HOT 1
- cannot parse log
- Details of Linux itimer implementation and SIGPROF delivery may cause very skewed profiles
- Support java 11 HOT 1
- Make flame graphs vertically scrollable
- Scheduling profiler interval failed with error 22 HOT 1
- Remote control does not work
- Where does the output of logError() go?
- Integration with Tomcat HOT 1
- option format for agent
- conflicting declaration of '__pid_t gettid()' with 'C' linkage HOT 1
- No worky
- What are restrictions in async callback? HOT 1
- Honest profiler in maven repo HOT 1
- http://insightfullogic.com/honest-profiler.zip is broken
- does not work with java 11 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from honest-profiler.