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

Issue 634395 link

Starred by 2 users

Issue metadata

Status: Archived
Owner: ----
Closed: Mar 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Feature



Sign in to add a comment

[USS] Sync's LevelDB can get stuck when we crash and does not recover

Project Member Reported by s...@chromium.org, Aug 4 2016

Issue description

1. Repro  crbug.com/634388 
2. Relaunch chrome with --sync-enable-uss-device-info flag again
3. Maybe it'll repro and crash now?

I was only able to get into this state once, but once there I was able to hit it 2 out of 2 times when restarting chrome. Afterwards I removed Sync's LevelDB folder via

rm -rf ~/.config/chromium/Default/Sync\ Data/LevelDB/

and the problem went away. Looking back at the stack trace, I'm not quite sure what's going on.
 

Comment 1 by s...@chromium.org, Aug 4 2016

The crash looked like:

skym@skym:~/chromiumSource/linux/src$ rd --sync-enable-uss-device-info
[14105:14132:0804/103647:FATAL:blob_url_request_job.cc(267)] Check failed: false. 
#0 0x7f7294a0808e base::debug::StackTrace::StackTrace()
#1 0x7f7294a6f6df logging::LogMessage::~LogMessage()
#2 0x7f7288a902d9 storage::BlobURLRequestJob::NotifyFailure()
#3 0x7f7288a90b76 storage::BlobURLRequestJob::DidReadMetadata()
#4 0x7f7288a9361a _ZN4base8internal13FunctorTraitsIMN7storage17BlobURLRequestJobEFvNS2_10BlobReader6StatusEEvE6InvokeIRKNS_7WeakPtrIS3_EEJS5_EEEvS7_OT_DpOT0_
#5 0x7f7288a9356f _ZN4base8internal12InvokeHelperILb1EvE8MakeItSoIRKMN7storage17BlobURLRequestJobEFvNS4_10BlobReader6StatusEERKNS_7WeakPtrIS5_EEJS7_EEEvOT_OT0_DpOT1_
#6 0x7f7288a934e7 _ZN4base8internal7InvokerINS0_9BindStateIMN7storage17BlobURLRequestJobEFvNS3_10BlobReader6StatusEEJNS_7WeakPtrIS4_EEEEEFvS6_EE7RunImplIRKS8_RKSt5tupleIJSA_EEJLm0EEEEvOT_OT0_NS_13IndexSequenceIJXspT1_EEEEOS6_
#7 0x7f7288a9347c _ZN4base8internal7InvokerINS0_9BindStateIMN7storage17BlobURLRequestJobEFvNS3_10BlobReader6StatusEEJNS_7WeakPtrIS4_EEEEEFvS6_EE3RunEPNS0_13BindStateBaseEOS6_
#8 0x7f7288a76a32 base::Callback<>::Run()
#9 0x7f7288a72682 storage::BlobReader::DidReadDiskCacheEntrySideData()
#10 0x7f7288a79987 _ZN4base8internal13FunctorTraitsIMN7storage10BlobReaderEFvRKNS_8CallbackIFvNS3_6StatusEELNS0_8CopyModeE1EEEiiEvE6InvokeIRKNS_7WeakPtrIS3_EEJSA_RKiiEEEvSC_OT_DpOT0_
#11 0x7f7288a79839 _ZN4base8internal12InvokeHelperILb1EvE8MakeItSoIRKMN7storage10BlobReaderEFvRKNS_8CallbackIFvNS5_6StatusEELNS0_8CopyModeE1EEEiiERKNS_7WeakPtrIS5_EEJSC_RKiiEEEvOT_OT0_DpOT1_
#12 0x7f7288a79789 _ZN4base8internal7InvokerINS0_9BindStateIMN7storage10BlobReaderEFvRKNS_8CallbackIFvNS4_6StatusEELNS0_8CopyModeE1EEEiiEJNS_7WeakPtrIS4_EES9_iEEEFviEE7RunImplIRKSD_RKSt5tupleIJSF_S9_iEEJLm0ELm1ELm2EEEEvOT_OT0_NS_13IndexSequenceIJXspT1_EEEEOi
#13 0x7f7288a7947c _ZN4base8internal7InvokerINS0_9BindStateIMN7storage10BlobReaderEFvRKNS_8CallbackIFvNS4_6StatusEELNS0_8CopyModeE1EEEiiEJNS_7WeakPtrIS4_EES9_iEEEFviEE3RunEPNS0_13BindStateBaseEOi
#14 0x7f72937a4d62 base::Callback<>::Run()
#15 0x7f72939305d4 _ZN4base8internal13FunctorTraitsINS_8CallbackIFviELNS0_8CopyModeE1EEEvE6InvokeIRKS5_JRKiEEEvOT_DpOT0_
#16 0x7f7293930492 _ZN4base8internal12InvokeHelperILb0EvE8MakeItSoIRKNS_8CallbackIFviELNS0_8CopyModeE1EEEJRKiEEEvOT_DpOT0_
#17 0x7f7293930452 _ZN4base8internal7InvokerINS0_9BindStateINS_8CallbackIFviELNS0_8CopyModeE1EEEJiEEEFvvEE7RunImplIRKS6_RKSt5tupleIJiEEJLm0EEEEvOT_OT0_NS_13IndexSequenceIJXspT1_EEEE
#18 0x7f729393037c _ZN4base8internal7InvokerINS0_9BindStateINS_8CallbackIFviELNS0_8CopyModeE1EEEJiEEEFvvEE3RunEPNS0_13BindStateBaseE
#19 0x7f72949e7f8e base::Callback<>::Run()
#20 0x7f7294a0dbfe base::debug::TaskAnnotator::RunTask()
#21 0x7f7294a8d64c base::MessageLoop::RunTask()
#22 0x7f7294a8d8e4 base::MessageLoop::DeferOrRunPendingTask()
#23 0x7f7294a8dbae base::MessageLoop::DoWork()
#24 0x7f7294aa802e base::MessagePumpLibevent::Run()
#25 0x7f7294a8d02f base::MessageLoop::RunHandler()
#26 0x7f7294b340e4 base::RunLoop::Run()
#27 0x7f7294bd34c3 base::Thread::Run()
#28 0x7f728dd49586 content::BrowserThreadImpl::IOThreadRun()
#29 0x7f728dd4988b content::BrowserThreadImpl::Run()
#30 0x7f7294bd3b17 base::Thread::ThreadMain()
#31 0x7f7294bbe6fa base::(anonymous namespace)::ThreadFunc()
#32 0x7f7281b33184 start_thread
#33 0x7f727fcf837d clone
Aborted (core dumped)

Comment 2 by s...@chromium.org, Aug 4 2016

Components: Services>Sync
Labels: Sync-V2 OS-Chrome
Status: Available (was: Untriaged)
Cc: dmu...@chromium.org
 bug 636269  as well?

Comment 5 by s...@chromium.org, Aug 26 2016

I added a log line and the error code I'm hitting is -407.

Comment 6 by s...@chromium.org, Mar 10 2017

Status: Archived (was: Available)

Sign in to add a comment