Open Bug 1082505 Opened 5 years ago Updated 2 years ago

[dialer] Dialer history fails to show data populated by `make reference-workload-*`

Categories

(Core :: Storage: IndexedDB, defect, P5)

x86
macOS
defect

Tracking

()

People

(Reporter: wilsonpage, Unassigned)

References

Details

STEPS

1. `$ makre reference-workload-medium`
2. Open Dialer app
3. Go to history tab

ACTUAL

Dialer app attempts to load history and then closes. Reopening reveals empty history list.

EXPECTED

Dialer app history should be populated with ~100 records.
It looks like the application crashes after having run the update procedure. This is what I found in the logcat:

I/Gecko   (30054): 
I/Gecko   (30054): ###!!! [Parent][DispatchAsyncMessage] Error: (msgtype=0x120005,name=PBackground::Msg_PBlobConstructor) Value error: message was deserialized, but contained an illegal value
I/Gecko   (30054): 
I/Gecko   (30054): IPDL protocol error: could not look up PBlob
I/Gecko   (30054): IPDL protocol error: Error deserializing 'PBlobParent'
I/Gecko   (30054): 
I/Gecko   (30054): ###!!! [Parent][DispatchAsyncMessage] Error: (msgtype=0x60004,name=PBackgroundIDBDatabase::Msg_PBackgroundIDBDatabaseFileConstructor) Value error: message was deserialized, but contained an illegal value
I/Gecko   (30054): 
I/Gecko   (30054): IPDL protocol error: could not look up PBackgroundIDBDatabaseFile
I/Gecko   (30054): IPDL protocol error: Error deserializing 'DatabaseFileOrMutableFileId[i]'
I/Gecko   (30054): IPDL protocol error: Error deserializing 'files' (DatabaseFileOrMutableFileId[]) member of 'ObjectStoreAddPutParams'
I/Gecko   (30054): IPDL protocol error: Error deserializing 'commonParams' (ObjectStoreAddPutParams) member of 'ObjectStorePutParams'
I/Gecko   (30054): IPDL protocol error: Error deserializing 'RequestParams'
I/Gecko   (30054): 
I/Gecko   (30054): ###!!! [Parent][DispatchAsyncMessage] Error: (msgtype=0xE0006,name=PBackgroundIDBTransaction::Msg_PBackgroundIDBRequestConstructor) Value error: message was deserialized, but contained an illegal value
I/Gecko   (30054): 
I/Gecko   (30054): 
I/Gecko   (30054): ###!!! [Parent][MessageChannel] Error: Channel error: cannot send/recv
I/Gecko   (30054): 
W/GeckoConsole(30054): [JavaScript Error: "IndexedDB UnknownErr: ActorsParent.cpp:7691"]
W/GeckoConsole(30054): [JavaScript Error: "IndexedDB UnknownErr: ActorsParent.cpp:6064"]
I/Gecko   (30054): ############ ErrorPage.js

Probably IndexedDB-related, I'll move it to the appropriate component
Component: Gaia::Dialer → DOM: IndexedDB
Product: Firefox OS → Core
(In reply to Kyle Huey [:khuey] (khuey@mozilla.com) from comment #2)
> Is this the same bug as bug 1082543?

Could be, I'll have a look if the same fix works for this too.
(In reply to Kyle Huey [:khuey] (khuey@mozilla.com) from comment #2)
> Is this the same bug as bug 1082543?

Definitely sounds related, although in my case doing the same steps that Wilson is running would cause Gaia to fail to start up entirely and I think Wilson would have noticed that! 
Also with my patch applied I did check the call log history and it was populating correctly.
Seeing the same that Zac comments, gaia completely busted, needed to flash again.
Priority: -- → P5
You need to log in before you can comment on or make changes to this bug.