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

AV in libcoreclr.so`EventPipeEventInstance::GetTimeStamp(this=0x0000000000000000) #8143

Closed
brianrob opened this issue May 17, 2017 · 1 comment
Assignees
Milestone

Comments

@brianrob
Copy link
Member

AV when writing the contents of the EventPipe circular buffer to a trace file:

  • thread Merge changes from TFS coreclr#1: tid = 36267, 0x00007ffff59aaa04 libcoreclr.soEventPipeEventInstance::GetTimeStamp(this=0x0000000000000000) const + 52 at eventpipeeventinstance.cpp:65, name = 'dotnet', stop reason = invalid address (fault address: 0x18) frame #0: 0x00007ffff59aaa04 libcoreclr.soEventPipeEventInstance::GetTimeStamp(this=0x0000000000000000) const + 52 at eventpipeeventinstance.cpp:65
    • frame Merge changes from TFS coreclr#1: 0x00007ffff5d09274 libcoreclr.soEventPipeBuffer::GetNext(this=0x00007fff40019ca0, pEvent=0x0000000000000000, beforeTimeStamp=LARGE_INTEGER at 0x00007fffffffb130) + 292 at eventpipebuffer.cpp:179 frame dotnet/coreclr#2: 0x00007ffff5d0935f libcoreclr.soEventPipeBuffer::PeekNext(this=0x00007fff40019ca0, beforeTimeStamp=LARGE_INTEGER at 0x00007fffffffb170) + 79 at eventpipebuffer.cpp:205
      frame Merge changes from TFS coreclr#3: 0x00007ffff59af7e4 libcoreclr.soEventPipeBufferList::PeekNextEvent(this=0x00007fff4001b800, beforeTimeStamp=LARGE_INTEGER at 0x00007fffffffb1d0, pContainingBuffer=0x00007fffffffb2b0) + 148 at eventpipebuffermanager.cpp:653 frame dotnet/coreclr#4: 0x00007ffff59af5cc libcoreclr.soEventPipeBufferManager::WriteAllBuffersToFile(this=0x00000000006475d0, pFile=0x000000000076e690, stopTimeStamp=LARGE_INTEGER at 0x00007fffffffb2c0) + 220 at eventpipebuffermanager.cpp:351
      frame Fix build breaks in GC sample project coreclr#5: 0x00007ffff59a6292 libcoreclr.soEventPipe::Disable() + 194 at eventpipe.cpp:187 frame dotnet/coreclr#6: 0x00007ffff59a7140 libcoreclr.soEventPipeInternal::Disable() + 128 at eventpipe.cpp:514
      frame Build status table coreclr#7: 0x00007fff7c97afe3
      frame Clean up runtest script coreclr#8: 0x00007fff7ca7ea2c
      frame Builds should work from non-root directories coreclr#9: 0x00007ffff5b954df libcoreclr.soCallDescrWorkerInternal + 124 at calldescrworkeramd64.S:893 frame dotnet/coreclr#10: 0x00007ffff593e95a libcoreclr.soCallDescrWorkerWithHandler(pCallDescrData=0x00007fffffffc218, fCriticalCall=0) + 522 at callhelpers.cpp:78
      frame Merge changes from TFS coreclr#11: 0x00007ffff5ab4ff4 libcoreclr.soCallDescrWorkerReflectionWrapper(this=0x00007fffffffb618, pParam=0x00007fffffffb628)::$_2::operator()(CallDescrWorkerReflectionWrapper(CallDescrData*, Frame*)::Param*) const + 36 at reflectioninvocation.cpp:825 frame dotnet/coreclr#12: 0x00007ffff5ab4e5c libcoreclr.soCallDescrWorkerReflectionWrapper(pCallDescrData=0x00007fffffffc218, pFrame=0x00007fffffffbf50) + 124 at reflectioninvocation.cpp:827
      frame Gc test build coreclr#13: 0x00007ffff5ab6c67 libcoreclr.soRuntimeMethodHandle::InvokeMethod(target=0x0000000000000000, objs=0x0000000000000000, pSigUNSAFE=0x00007fff5401f638, fConstructor=false) + 5959 at reflectioninvocation.cpp:1440 frame dotnet/coreclr#14: 0x00007fff7c780132 frame dotnet/coreclr#15: 0x00007fff7c77ff9d frame dotnet/coreclr#16: 0x00007fff7c75bbfe frame dotnet/coreclr#17: 0x00007fff7d10380d frame dotnet/coreclr#18: 0x00007fff7d10099e frame dotnet/coreclr#19: 0x00007ffff5b954df libcoreclr.soCallDescrWorkerInternal + 124 at calldescrworkeramd64.S:893
      frame Fix mscorlib warnings. coreclr#20: 0x00007ffff593e95a libcoreclr.soCallDescrWorkerWithHandler(pCallDescrData=0x00007fffffffc7e8, fCriticalCall=0) + 522 at callhelpers.cpp:78 frame dotnet/coreclr#21: 0x00007ffff5940130 libcoreclr.soMethodDescCallSite::CallTargetWorker(this=0x00007fffffffc950, pArguments=0x00007fffffffc8e0, pReturnValue=0x0000000000000000, cbReturnValue=0) + 2960 at callhelpers.cpp:645
      frame Fix typo coreclr#22: 0x00007ffff5778c9c libcoreclr.soMethodDescCallSite::Call(this=0x00007fffffffc950, pArguments=0x00007fffffffc8e0) + 44 at callhelpers.h:433 frame dotnet/coreclr#23: 0x00007ffff5bddf87 libcoreclr.soRunMain(this=0x00007fffffffcaa8, pParam=0x00007fffffffcba0)::$_1::operator()(RunMain(MethodDesc*, short, int*, REF)::Param) const::{lambda(RunMain(MethodDesc*, short, int*, REF)::Param)WIP: repo consolidation scouting kick-off - make clr build locally on Windows #1}::operator()(RunMain(MethodDesc*, short, int*, REF)::Param) const + 743 at assembly.cpp:1847
      frame Update README.md coreclr#24: 0x00007ffff5bdaf09 libcoreclr.soRunMain(this=0x00007fffffffcb90, __EXparam=0x00007fffffffcba0)::$_1::operator()(RunMain(MethodDesc*, short, int*, REF<PtrArray>*)::Param*) const + 89 at assembly.cpp:1862 frame dotnet/runtime#3858: 0x00007ffff5bdad1e libcoreclr.soRunMain(pFD=0x00007fff7baa5678, numSkipArgs=1, piRetVal=0x00007fffffffcc9c, stringArgs=0x00007fffffffd0f8) + 510 at assembly.cpp:1862
      frame [Missing?] documentation #3859: 0x00007ffff5bdb19d libcoreclr.soAssembly::ExecuteMainMethod(this=0x0000000000754f10, stringArgs=0x00007fffffffd0f8, waitForOtherThreads=1) + 333 at assembly.cpp:1944 frame dotnet/coreclr#27: 0x00007ffff576e17a libcoreclr.soCorHost2::ExecuteAssembly(this=0x0000000000676d90, dwAppDomainId=1, pwzAssemblyPath=0x0000000000752b40, argc=1, argv=0x0000000000653300, pReturnValue=0x00007fffffffd4fc) + 1322 at corhost.cpp:501
      frame PATENTS.TXT refers to wrong repo #3860: 0x00007ffff5705222 libcoreclr.socoreclr_execute_assembly(hostHandle=0x0000000000676d90, domainId=1, argc=1, argv=0x000000000066e770, managedAssemblyPath=0x0000000000752a80, exitCode=0x00007fffffffd4fc) + 354 at unixinterface.cpp:407 frame dotnet/runtime#3861: 0x00007ffff68647d3 libhostpolicy.socoreclr::execute_assembly(host_handle=0x0000000000676d90, domain_id=1, argc=1, argv=0x000000000066e770, managed_assembly_path=0x0000000000752a80, exit_code=0x00007fffffffd4fc) + 131 at coreclr.cpp:104
      frame Support VS 2015 as well? #3862: 0x00007ffff68594c5 libhostpolicy.sorun(args=0x00007fffffffda58) + 5973 at hostpolicy.cpp:236 frame dotnet/runtime#3863: 0x00007ffff6859b62 libhostpolicy.socorehost_main(argc=3, argv=0x00007fffffffe578) + 610 at hostpolicy.cpp:322
      frame Correct typos in paraminstanceapi.h coreclr#32: 0x00007ffff6b191c4 libhostfxr.soexecute_app(impl_dll_dir=0x00007fffffffde98, init=0x00007fffffffdd38, argc=3, argv=0x00007fffffffe578) + 212 at hostfxr.cpp:73 frame dotnet/runtime#3864: 0x00007ffff6b22034 libhostfxr.sofx_muxer_t::read_config_and_execute(own_dir=0x00007fffffffe370, app_candidate=0x00007fffffffe1c0, opts=0x00007fffffffe208, new_argc=3, new_argv=0x00007fffffffe578, mode=muxer) + 3940 at fx_muxer.cpp:963
      frame Interpreter: volatile ldobj appears to have incorrect semantics? #3865: 0x00007ffff6b21007 libhostfxr.sofx_muxer_t::parse_args_and_execute(own_dir=0x00007fffffffe370, own_dll=0x00007fffffffe358, argoff=1, argc=3, argv=0x00007fffffffe578, exec_mode=false, mode=muxer, is_an_app=0x00007fffffffe357) + 1975 at fx_muxer.cpp:862 frame dotnet/coreclr#35: 0x00007ffff6b22663 libhostfxr.sofx_muxer_t::execute(argc=3, argv=0x00007fffffffe578) + 947 at fx_muxer.cpp:1026
      frame Avoid unnecessary work for identical locations in Buffer.BlockCopy coreclr#36: 0x00007ffff6b19245 libhostfxr.sohostfxr_main(argc=3, argv=0x00007fffffffe578) + 53 at hostfxr.cpp:99 frame dotnet/runtime#3866: 0x000000000040c4ca dotnetrun(argc=3, argv=0x00007fffffffe578) + 970 at corehost.cpp:199
      frame Fixes #37 Missing Files to build GC stress Tests coreclr#38: 0x000000000040c637 dotnetmain(argc=3, argv=0x00007fffffffe578) + 167 at corehost.cpp:233 frame dotnet/runtime#3867: 0x00007ffff6d6c830 libc.so.6__libc_start_main + 240
      frame Empty Product directory after the build #3868: 0x000000000040a425 dotnet`_start + 41
@brianrob brianrob self-assigned this May 17, 2017
@brianrob
Copy link
Member Author

Candidate fix at brianrob/coreclr@fc6a640.

@msftgits msftgits transferred this issue from dotnet/coreclr Jan 31, 2020
@msftgits msftgits added this to the 2.0.0 milestone Jan 31, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Dec 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants