Hi Maxim, Does it also fail with original unmodified libasyncProfiler? I guess you rewrite libasyncProfiler.dylib while the library is already loaded into the target process - can it be the case? The crash log seems incomplete, I can't tell for sure what's wrong.
воскресенье, 11 февраля 2018 г., 9:46:33 UTC+3 пользователь Maxim Terletsky написал: > > @Andrei Pangin > Hi, > Sometimes we saw the following exception thrown > https://pastebin.com/kJptx2nA > RDI=0x000000015a4e7110: _ZN11AllocTracer13signalHandlerEiP9__siginfoPv+0 > in /Users/....../libasyncProfiler.dylib at 0x000000015a4e6000 > > The code, probably very familiar to you :) , is > https://pastebin.com/CPmysehe - the only diff with the original is > > 1. u64 tlab_size = frame.arg1(); > 2. Profiler::_instance.recordSample(ucontext, obj_size + tlab_size, > BCI_KLASS, alloc_class); > > which I added as you suggested. > Do you know what could be the issue? > -- You received this message because you are subscribed to the Google Groups "mechanical-sympathy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
