Bug 110486

Summary: History file causes mozilla to segv.
Product: [Fedora] Fedora Reporter: Sam Varshavchik <mrsam>
Component: mozillaAssignee: Christopher Aillon <caillon>
Status: CLOSED CURRENTRELEASE QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: 1CC: wtogami
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-04-25 11:59:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Last few pages of the strace.
none
history.dat
none
history.mab none

Description Sam Varshavchik 2003-11-20 00:49:08 UTC
Description of problem:

Today, Mozilla decided that it is going to SEGV on me every time I
click on the URL field, and press 'w'.  Only 'w', and only in the
beginning of the URL field.

An investigation showed the somehow the history file got corrupted. 
Removing history.dat and history.mab fixes the bug.  It looks like the
corrupted history file causes Mozilla to segv when it tries to show
the URL field's dropdown box.  I can briefly see a lowercase 'w'
appearing in the URL field, before Mozilla segv's.

I'm attaching the last few pages of strace, and the GZIPped
history.dat and history.mab files which demonstrate the bug.

Version-Release number of selected component (if applicable):

1.4.1-17

How reproducible:

Always

Steps to Reproduce:
1. Ungzip the following history.mab and history.dat files from this
bug, and move them to your ~/.mozilla/default directory.
2. Start mozilla
3. Click on the URL field, which auto-selects its existing contents.
4. Press 'w'.
  
Additional info:

I haven't messed around with .mozilla in ages.  There were no recent
crashes that might've corrupted the history file independently of Mozilla.

Comment 1 Sam Varshavchik 2003-11-20 00:49:57 UTC
Created attachment 96075 [details]
Last few pages of the strace.

Comment 2 Sam Varshavchik 2003-11-20 00:50:52 UTC
Created attachment 96076 [details]
history.dat

Must un-gzip this file before installing it.

Comment 3 Sam Varshavchik 2003-11-20 00:51:52 UTC
Created attachment 96077 [details]
history.mab

Must un-gzip this attachment before installing it.

Comment 4 Warren Togami 2005-04-25 08:00:31 UTC
Is this still an issue?

Comment 5 Sam Varshavchik 2005-04-25 11:59:16 UTC
No.