gloda/indexing related crash [@ nsCharTraits<unsigned short>::length(unsigned short const*)] and [@ mozilla::storage::Row::initialize(sqlite3_stmt*)]

RESOLVED WORKSFORME

Status

MailNews Core
Backend
--
critical
RESOLVED WORKSFORME
8 years ago
5 years ago

People

(Reporter: wsmwk, Unassigned)

Tracking

({crash})

1.9.1 Branch
x86
Windows Vista
crash

Firefox Tracking Flags

(Not tracked)

Details

(crash signature)

(Reporter)

Description

8 years ago
gloda/indexing related crash [@ nsCharTraits<unsigned short>::length(unsigned short const*)]

#21 crash for Thunderbird 3.0.0, was not in top 300 for 3.0b4

bp-e4257104-8fab-4a3b-9096-21fea2091221
0  	thunderbird.exe  	nsCharTraits<unsigned short>::length  	 objdir-tb/mozilla/dist/include/string/nsCharTraits.h:384
1 	thunderbird.exe 	nsDependentString::nsDependentString 	objdir-tb/mozilla/dist/include/string/nsTDependentString.h:90
2 	thunderbird.exe 	mozilla::storage::Row::initialize 	storage/src/mozStorageRow.cpp:78
3 	thunderbird.exe 	mozilla::storage::AsyncExecuteStatements::buildAndNotifyResults 	storage/src/mozStorageAsyncStatementExecution.cpp:396
4 	thunderbird.exe 	mozilla::storage::AsyncExecuteStatements::executeAndProcessStatement 	storage/src/mozStorageAsyncStatementExecution.cpp:322
5 	thunderbird.exe 	mozilla::storage::AsyncExecuteStatements::executeAndProcessStatement 	storage/src/mozStorageAsyncStatementExecution.cpp:292
6 	thunderbird.exe 	mozilla::storage::AsyncExecuteStatements::Run 	storage/src/mozStorageAsyncStatementExecution.cpp:579

Mac version of this crash appears to be mozilla::storage::Row::initialize(sqlite3_stmt*), one of which is ctalbert's bp-afd492c6-0ce0-42fa-8edf-bc5632091222
0	thunderbird-bin	mozilla::storage::Row::initialize	 Traits.h:384
1	thunderbird-bin	mozilla::storage::AsyncExecuteStatements::buildAndNotifyResults	storage/src/mozStorageAsyncStatementExecution.cpp:396
2	thunderbird-bin	mozilla::storage::AsyncExecuteStatements::executeAndProcessStatement	storage/src/mozStorageAsyncStatementExecution.cpp:321
3	thunderbird-bin	mozilla::storage::AsyncExecuteStatements::bindExecuteAndProcessStatement	storage/src/mozStorageAsyncStatementExecution.cpp:271
4	thunderbird-bin	maozilla::storage::AsyncExecuteStatements::Run	storage/src/mozStorageAsyncStatementExecution.cpp:575
5	libxpcom_core.dylib	nsThread::ProcessNextEvent	xpcom/threads/nsThread.cpp:521
(Reporter)

Comment 1

8 years ago
(In reply to comment #0)
> #21 crash for Thunderbird 3.0.0, was not in top 300 for 3.0b4

weird. for 3.0.1 ranking dropped like a stone to #253. what would account for that?

however, exists also on trunk bp-301dc10f-2a56-4550-be79-7cd1f2100123
3.2a1pre build 20100121062727
I think bienvenu fixed some kind of memory corruption bug related to compose for 3.0.1, but I may be remembering incorrectly.

Most of these SQLite/storage issues that tend to involve memory allocation are likely just fallout from other code stomping on memory.

Comment 3

8 years ago
I did fix a mime memory stomper most frequently encountered by edit message as new or forward inline. But that bug was in 3.0b4, and I'm a little surprised that it could account for a #21 crasher
(Reporter)

Comment 4

7 years ago
both sigs still occur, though in small quantity. But I no longer remember why I lumped them together.

mozilla::storage::Row::initialize(sqlite3_stmt*)
bp-eb56f031-c364-4a0d-a8f4-bb5882110411 TB 3.1.9 Mac
EXC_BAD_ACCESS / KERN_PROTECTION_FAILURE
0x0
Run Junk Mail Controls on 250K emails
0	thunderbird-bin	mozilla::storage::Row::initialize	aits.h:384
1	thunderbird-bin	mozilla::storage::AsyncExecuteStatements::buildAndNotifyResults	storage-backport/src/mozStorageAsyncStatementExecution.cpp:394
2	thunderbird-bin	mozilla::storage::AsyncExecuteStatements::executeAndProcessStatement	storage-backport/src/mozStorageAsyncStatementExecution.cpp:309
3	thunderbird-bin	mozilla::storage::AsyncExecuteStatements::Run	storage-backport/src/mozStorageAsyncStatementExecution.cpp:601 

bp-e0b74e66-66e8-4754-b9fa-030022110415 perhaps same user (dan) but different comment


someone on 3.3a2
bp-308d4899-00b5-498d-a2ff-4aba02110314 starts with sendlater
EXCEPTION_ACCESS_VIOLATION_READ
0x0
0	xul.dll	nsCharTraits<unsigned short>::length	objdir-tb/mozilla/dist/include/nsCharTraits.h:384
1	xul.dll	nsDependentString::nsDependentString	objdir-tb/mozilla/dist/include/nsTDependentString.h:90
2	xul.dll	nsMsgDBFolder::SetPrettyName	mailnews/base/util/nsMsgDBFolder.cpp:3326
3	xul.dll	nsMsgLocalMailFolder::SetPrettyName	mailnews/local/src/nsLocalMailFolder.cpp:1281
4	xul.dll	nsMsgLocalMailFolder::setSubfolderFlag	mailnews/local/src/nsLocalMailFolder.cpp:3593
5	xul.dll	nsMsgLocalMailFolder::SetFlagsOnDefaultMailboxes	mailnews/local/src/nsLocalMailFolder.cpp:3557
6	xul.dll	nsNoIncomingServer::SetFlagsOnDefaultMailboxes	mailnews/local/src/nsNoIncomingServer.cpp:103
7	xul.dll	nsMsgLocalMailFolder::GetSubFolders	mailnews/local/src/nsLocalMailFolder.cpp:439
8	xul.dll	nsMsgDBFolder::GetChildWithURI	mailnews/base/util/nsMsgDBFolder.cpp:3404
9	xul.dll	nsMsgIncomingServer::GetMsgFolderFromURI	mailnews/base/util/nsMsgIncomingServer.cpp:2049
10	xul.dll	LocateMessageFolder	mailnews/compose/src/nsMsgCopy.cpp:466
11	xul.dll	nsMsgSendLater::GetUnsentMessagesFolder	mailnews/compose/src/nsMsgSendLater.cpp:708
12	xul.dll	nsMsgSendLater::HasUnsentMessages	mailnews/compose/src/nsMsgSendLater.cpp:722 

bp-c4ff65c4-58e9-402d-bb51-f9c292110314 starts with biff
thunderbird doesnt do so well trying to archive a few thousand messages. It's never been any good on osx for handling more than a thousand at once.
(Assignee)

Updated

7 years ago
Crash Signature: [@ nsCharTraits<unsigned short>::length(unsigned short const*)] [@ mozilla::storage::Row::initialize(sqlite3_stmt*)]
(Reporter)

Comment 5

5 years ago
I can't find a newer signature for this.
So seems to be 3.x only crash.
Status: NEW → RESOLVED
Crash Signature: [@ nsCharTraits<unsigned short>::length(unsigned short const*)] [@ mozilla::storage::Row::initialize(sqlite3_stmt*)] → [@ nsCharTraits<unsigned short>::length(unsigned short const*)] [@ mozilla::storage::Row::initialize(sqlite3_stmt*)]
Last Resolved: 5 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.