Can't start app - string error in profile

VERIFIED FIXED

Status

Core Graveyard
Profile: BackEnd
P3
critical
VERIFIED FIXED
19 years ago
a year ago

People

(Reporter: Phil Peterson, Assigned: selmer (gone))

Tracking

Trunk
x86
Windows NT

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

19 years ago
When I try to start the app, I die with a heap corruption. Looks like a string
is being deleted twice: once explicitly and once from nsOutputStringStream.
Here's the stack trace:

operator delete(void * 0x00a472b0) line 47 + 81 bytes
CharImpl::~CharImpl() line 215 + 20 bytes
CharImpl::`scalar deleting destructor'(unsigned int 0x00000001) + 15 bytes
BasicStringImpl::Release(BasicStringImpl * const 0x00a473e0) line 319 + 98 bytes
nsCOMPtr<nsIRandomAccessStore>::~nsCOMPtr<nsIRandomAccessStore>() line 458
nsRandomAccessStoreClient::~nsRandomAccessStoreClient() line 357 + 27 bytes
nsRandomAccessOutputStream::~nsRandomAccessOutputStream() + 49 bytes
nsOutputStringStream::~nsOutputStringStream() + 15 bytes
nsProfile::UpdateMozProfileRegistry(nsProfile * const 0x00a461e0) line 1913 + 9
bytes
nsProfile::MigrateProfileInfo(nsProfile * const 0x00a461e0) line 1828
main1(int 0x00000002, char * * 0x00a216d0) line 418
main(int 0x00000002, char * * 0x00a216d0) line 832 + 13 bytes
mainCRTStartup() line 338 + 17 bytes
KERNEL32! 77f1ba06()
(Reporter)

Comment 1

19 years ago
I'm running with -installer, by the way
(Reporter)

Updated

19 years ago
Severity: blocker → critical
(Reporter)

Comment 2

19 years ago
Since there's a workaround (don't run with -installer) I downgraded the severity
from blocker to critical.

Updated

19 years ago
Status: NEW → RESOLVED
Last Resolved: 19 years ago
Resolution: --- → FIXED

Comment 3

19 years ago
Fixed the double delete problem. It should work ok now.

Updated

19 years ago
Status: RESOLVED → VERIFIED

Comment 4

19 years ago
build for 19990909

Updated

19 years ago
Component: Profile Manager → Profile Manager BackEnd

Comment 5

19 years ago
Moving all Profile Manager bugs to new Profile Manager Backend component.
Profile Manager component to be deleted.
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.