New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 667556 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: May 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 1
Type: Bug

Blocking:
issue 669725



Sign in to add a comment

[Predator] Deadlock in ScheduleNewAnalysis

Project Member Reported by kateso...@chromium.org, Nov 22 2016

Issue description


Sample log:

*****
14:04:17.612
Deadlock in <Future fa0f7a50 created by transaction_async(model.py:3811) for tasklet transaction(context.py:945) suspended generator transaction(context.py:1018); pending>

*****
14:04:17.815
All pending Futures:
<Future fa0f7a50 created by transaction_async(model.py:3811) for tasklet transaction(context.py:945) suspended generator transaction(context.py:1018); pending>
 waiting for <Future fb85fa70 created by transaction(context.py:1018) for tasklet flush(context.py:323); pending>
<Future fb85fc70 created by add(context.py:211) for AutoBatcher(_get_tasklet).add(Key('FracasCrashAnalysis', 'f0f112a253a60c38c0d463ea6d2c879bc51e8293'), None); pending>
<MultiFuture fb865e30 created by run0(eventloop.py:230) for multi-yield from suspended generator flush(context.py:265); pending>
 waiting for <Future fb85f550 created by run_queue(context.py:185) for tasklet _get_tasklet(context.py:335); pending>
<Future fb85fa70 created by transaction(context.py:1018) for tasklet flush(context.py:323); pending>
<Future fb85f550 created by run_queue(context.py:185) for tasklet _get_tasklet(context.py:335); pending>
<Future fb85ff70 created by flush(context.py:328) for tasklet flush(context.py:261); pending>
<MultiFuture fb85ff90 created by run0(eventloop.py:230) for multi-yield from suspended generator flush(context.py:328); pending>
 waiting for <Future fb85ff70 created by flush(context.py:328) for tasklet flush(context.py:261); pending>
 waiting for <Future fb85f430 created by flush(context.py:328) for tasklet flush(context.py:261); result None>
 waiting for <Future fb85f450 created by flush(context.py:328) for tasklet flush(context.py:261); result None>
 waiting for <Future fb865630 created by flush(context.py:328) for tasklet flush(context.py:261); result None>
 waiting for <Future fb865050 created by flush(context.py:328) for tasklet flush(context.py:261); result None>
 waiting for <Future fb8650f0 created by flush(context.py:328) for tasklet flush(context.py:261); result None>
 waiting for <Future fb8653d0 created by flush(context.py:328) for tasklet flush(context.py:261); result None>
<Future fb85fc50 created by get_async(key.py:585) for tasklet get(context.py:689) suspended generator get(context.py:758); pending>
 waiting for <Future fb85fc70 created by add(context.py:211) for AutoBatcher(_get_tasklet).add(Key('FracasCrashAnalysis', 'f0f112a253a60c38c0d463ea6d2c879bc51e8293'), None); pending>

*****
14:04:17.837
Deadlock waiting for <Future fa0f7a50 created by transaction_async(model.py:3811) for tasklet transaction(context.py:945) suspended generator transaction(context.py:1018); pending>
Traceback (most recent call last):
  File "/base/data/home/apps/s~google.com:findit-for-me/crash-frontend:katesonia.397183411216492021/common/base_handler.py", line 176, in _Handle
    result = handler_func()
  File "/base/data/home/apps/s~google.com:findit-for-me/crash-frontend:katesonia.397183411216492021/handlers/crash/crash_handler.py", line 107, in HandlePost
    ScheduleNewAnalysis(crash_data)
  File "/base/data/home/apps/s~google.com:findit-for-me/crash-frontend:katesonia.397183411216492021/handlers/crash/crash_handler.py", line 143, in ScheduleNewAnalysis
    if not findit_client._NeedsNewAnalysis(crash_data):
  File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/ext/ndb/utils.py", line 197, in inner_wrapper
    return wrapped_decorator(func, args, kwds, **options)
  File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/ext/ndb/model.py", line 3841, in transactional
    func, args, kwds, **options).get_result()
  File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/ext/ndb/tasklets.py", line 383, in get_result
    self.check_success()
  File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/ext/ndb/tasklets.py", line 380, in check_success
    raise self._exception.__class__, self._exception, self._traceback
RuntimeError: Deadlock waiting for <Future fa0f7a50 created by transaction_async(model.py:3811) for tasklet transaction(context.py:945) suspended generator transaction(context.py:1018); pending>

 
Blocking: 669725
Status: WontFix (was: Available)
haven't seen this for a while.

Sign in to add a comment