Closed Bug 65654 Opened 24 years ago Closed 20 years ago

Email addresses collected are not saved due to corrupted collected address book

Categories

(SeaMonkey :: MailNews: Address Book & Contacts, defect, P2)

x86
Windows 98
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 136963
Future

People

(Reporter: jaimejr, Assigned: cavin)

References

Details

Build ID: 20001011604 Reproducible: Always Steps: 1. Launch Netscape 6 2. Receive and send emails 3. Open a Netscape 6 mail window 4. Select Address Book from the Task Menu 5. Look through the Collected Address Book for the email address of somene who is not currently in your Address Book, but who has sent you and email. Result: Could not find the name in Collected Addresses.
Adding jenm and tpringle to cc: list. Note: The preference for 'Enable Email Address Collection' is enabled. P.S. - Todd has also noticed the same behavior.
QA Contact: esther → pmock
Peter can you try this out? nominating.
Keywords: nsbeta1
Using jan16 commercial trunk build on win98: Works fine for me both on migrated and new profiles. Addresses from reading an incoming mail or sending outgoing mail are properly recorded in collected addresses book. Worksforme, I'll let Peter confirm.
Using today commercial win32 build 2001-01-17-08-mtrunk, I am unable to reproduce this problem on win98 using an existing profile or migrated profile. It worksforme. Note: at first I thought it didn't work but b/c I had existing collected addresses, it added the entry to the beginning and I needed to scroll to find it.
Adding NEED INFO where I will try to supply the info by looking at Jaime or Todd's machine.
Whiteboard: [NEED INFO]
I checked this out on my system and Jamie's. There is a problem when history.mab is 5,013kb like mine or 8,200kb like Jamie's. I have to investigate to find out if this happens when the user reaches the limit set in their preferences (mine was 500, Jamie's was set at 1000), or if it happens at a certain file size. Also, the name is added during the session, but it's not there after closing and reopenng Netscape 6. Another symptom of this is that deleted entries are not really deleted, they come back after relaunching the app. Users can't clean up the Collected Address book because of this. I will look for a work around, but this should be fixed otherwise the Collected address book is useless after a period of time.
Peter, I tried to figure out when the size of this address book becomes a problem. So far, 200 cards (which is a 98kb file size) is OK. Can you continue testing this to see at what size the Collected Address Book starts to fail (can't delete cards, new cards not added). I also tested to see if it fails after the preference set maximum was exceeded, so far that's not the problem. I think there is a file size restriction or number of cards restriction.
This bug could be related to bug60107. I found several bugs in that area and have the patch on 60107. I believe this bug is caused by the way we delete the extra card from cab. I have set mine to 20 and have 20 cards in cab, then reset the pref to 6. You will find out the cab get down to maybe 9 or 10 cards and sometimes the email address didn't get added. Maybe this bug should be looked at after bug 60107 is fixed.
Status: NEW → ASSIGNED
Thanks Candice, I agree, let's recheck this when 60107 (which is nsbeta+) is fixed and verified.
marking nsbeta1+ and moving to mozilla0.8 If it turns out that 60107 fixes this then we're in great shape. If not, we should pursue this.
Priority: -- → P2
Whiteboard: [NEED INFO] → [nsbeta1+]
Target Milestone: --- → mozilla0.8
Esther, Can you check if this bug still happen since bug60107 fixed? Make sure you tested on the builds after 1/23/01. Thanks.
I can't reproduce it. Can someone try it out? Or I'll mark fixed or workforme later.
I think I can reproduce it now even though it's not consistent. Sometimes it's there and sometimes it's not. I'll keep looking. My pref limit is set to 300.
If anyone wants to see this bug on a consistent basis, just come by Tpringle or my cube. >]8^)
Chage summary to reflect bug. The Email addresses are collected but not saved after exit the application.
Summary: Email addresses are not being collected → Email addresses collected are not saved
Bug 65656 should be related. We should verify bug 65656 when this bug is fixed.
This is what I've found. I have no problem with my collected address book (size 1097KB). When I tried on Jaime's two collected address book (zise 780kb and 8715kb), I can reporduce the bug. When I looked the content of history.mab, the newly added email address is in the file. I also tried to edit a card (bug65656), the changed field is saved to the mab file too. Somehow it won't show up when the browser restarted. I got MORK assertion when I use Jaime's history.mab and it didn't happen on my file. The assertion is "###!!! ASSERTION: morkBool_kFalse: '0', file y:\mozilla\db\mork\src\morkConfig.cpp, line 78" The call stack - nsDebug::Assertion(const char * 0x010ecb88, const char * 0x010eca84, const char * 0x010eca5c, int 78) line 254 + 13 bytes mork_assertion_signal(const char * 0x010ecb88) line 78 + 31 bytes morkEnv::NewWarning(const char * 0x010edec4) line 381 + 19 bytes morkParser::ReadContent(morkEnv * 0x06301f60, unsigned char 0) line 1345 morkParser::OnPortState(morkEnv * 0x06301f60) line 1360 + 14 bytes morkParser::ParseLoop(morkEnv * 0x06301f60) line 1416 + 12 bytes morkParser::ParseMore(morkEnv * 0x06301f60, int * 0x0012dbb8, unsigned char * 0x06300898, unsigned char * 0x06300899) line 1455 morkThumb::DoMore_OpenFileStore(morkEnv * 0x06301f60) line 433 morkThumb::DoMore(morkEnv * 0x06301f60, unsigned int * 0x0012dc34, unsigned int * 0x0012dc2c, unsigned char * 0x0012dc38, unsigned char * 0x0012dc30) line 353 + 12 bytes orkinThumb::DoMore(nsIMdbEnv * 0x06303188, unsigned int * 0x0012dc34, unsigned int * 0x0012dc2c, unsigned char * 0x0012dc38, unsigned char * 0x0012dc30) line 230 nsAddrDatabase::OpenMDB(nsAddrDatabase * const 0x06302b90, nsFileSpec * 0x06301050, int 1) line 696 + 34 bytes nsAddrDatabase::Open(nsAddrDatabase * const 0x06300c60, nsFileSpec * 0x06301050, int 1, nsIAddrDatabase * * 0x0012dd5c, int 1) line 609 + 20 bytes nsAbDirectory::GetChildNodes(nsAbDirectory * const 0x05fe024c, nsIEnumerator * * 0x0012dddc) line 224 + 67 bytes My guess is Jaime's files are corrupted and I don't how it happened.
Status: ASSIGNED → NEW
One more thing to mention, I'm using NT and Jaime is using win98. We need to track down how the file got corrupted. It will be a time consuming QA process.
Please note, that I am not the only person experiencing this problem. Tpring is also having the same problem. </8^(
It doesn't look like this is getting figured out for 0.8, so moving milestone.
Target Milestone: mozilla0.8 → mozilla0.9
Qa-assign-to fenella
QA Contact: pmock → fenella
marking nsbeta1- and moving to future milestone.
Keywords: nsbeta1nsbeta1-
Whiteboard: [nsbeta1+] → [nsbeta1+ 2/21]
Target Milestone: mozilla0.9 → Future
I've been having this problem for quite some time now on my win98 box. I can autocomplete to my addressbook, but addresses from my collected addressess abook don't autocomplete. Very annoying. I'll try removing my history.mab (2310 Kb) and see what happens.
Using windows build 2001-03-29: Candice, I have my collected address book set at default of 700 cards. I created a collected address book with 700 names (by sending to 700 addressee's), the size was 217kb. I added another 100 names (by sending to another 100 addressees) the size grew to 256kb. When I look at the history.mab in notepad, all the email addresses are in the file, but only 700 display in abook card view. When the collected address book file replaces cards to meet the limit are the replaced cards suppose to show up in the file (this would mean the file continues to grow)? I continued testing and added 19 more cards (by reading mail), the new cards were added and others removed (in the card view) but again are still listed in the file. File size now 260kb. So far, exceeding the card number set in the preference does not cause a corrupt book. Do you want me to continue adding cards until I reach a certain file size?
The deleted(replaced) card will stay in the address book until we compact it. I think David has put some logic to compact the collected address book when it reach to some size. It is not really related to the limited size of collected address book. If you can, just use it normally. The point is we can't figure out how it get corrupted.
i believe this one, might be related to Bugzilla Bug 65656: Edits to Address Book are not saved.
Jaime, we can not reproduce this with current builds on any platform. When you logged this bug, we had some address book with the collected address book getting corrupted. Also when users were using the same profile with Netscape 6 and Jan builds. There have been fixes to the collected address books. I tried this and bug 65656 on all 3 platforms with the 5-31 build and the 6-4 branch builds. I don't see this or the personal abook problem. Are you still seeing this with recent builds with your Collected Address book? If so, is this the same Collected Address book you reported the problem with on Jan 16?
jenm - care to comment? i think you mentioned seeing this of late.
*** Bug 65656 has been marked as a duplicate of this bug. ***
Chris Hofmann has a corrupted book, we need to find out how long ago his book became corrupted to see if we have a newer case. Chris isn't sure when his book stopped collecting. I'll have to check into his time frame to see. Once other reporters have renamed or removed their corrupted book, the new one is working and has been for weeks. Note: We're still investigating to find a scenario to corrupt a working Book.
I think we might have a current corruption. Jaime is sending me his newly corrupted Collected Address book.
Jaime and chofmann sent me their corrupted history.mab files. I replaced my history.mab with each of these and could not see any cards in the Collected book when viewing with current build. I was able to see the cards when viewing with 6.0. I viewed each in notepad and saw visible corruption in chofmann's book. I removed the corruption and saved the file. It was then OK in current product. I did not see visible corruption in Jamie's book so I copied all the cards from the collected book while in 6.0 and placed them in a newly created address book. I exited the app and deleted the history.mab. I launched and copied all the cards from the new address book to the newly created collected Address book. I exited and launched with current build and was now able to view Jaime's collected address book. I'm still investigating on how these books were corrupted. chofmann had 639 cards, jaime had 312 cards. I don't think the size was the problem or any particular card.
I've been having this problem for a while too! And it's been very annoying, since this is one of my favourite features. My history.mab file is 3,639 KB. It sounds from what you guys have been saying that it's corrupted. If anyone e-mails me, I'll send them a zipped copy.
Hmmm, I loaded up Netscape 6, and I found that I could see my collected addresses in it. But I still can't in any of the latest Mozilla milestones/nightly builds. Also, I clicked on a recent e-mail, and then the address of the sender was added to my collected addresses. However when I use Mozilla, none of the addresses get added, or else I'd see a lot more in my collected address list under Netscape 6.
I just ran into this problem after running a nightly build, using the same profile I've been using for Netscape 6.5 (Solaris version). In addition to not being able to see any addresses anymore, attempting to add a new card or list to an addressbook causes a core dump. This looks like it might be a dup of bug 70202...
Of course, I *meant* Netscape 6.1 in the previous comment...
This problem is definitely back. Build # Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.2) Gecko/20010713 Netscape6/6.1 Like Jaime, who originally reported the bug, I too had a corrupted collected address book. I deleted it, then restarted and it seemed to work fine from there, although I was never able to recover the lost addresses in the collected addressbook. Collected addresses was working for the last 6 weeks until today. I'm getting no autocomplete against collected Collected is now empty although I'm sure I had hundreds of addresses there. I am not the only one who experiencing this. Just in my work area, 4 of us have the same problem.
QA Contact: fenella → nbaca
This bug directly affects Penzilla. OEone Bugzilla bug #1565 "Collected addresses sometimes stop showing up". Tagging this bug with the oeone keyword.
Keywords: oeone
reassigning to cavin.
Assignee: chuang → cavin
Whiteboard: [nsbeta1+ 2/21]
Summary: Email addresses collected are not saved → Email addresses collected are not saved due to corrupted collected address book
*** Bug 96089 has been marked as a duplicate of this bug. ***
nomianting ...
Keywords: nsbeta1
Do we have any way to recognize when an AB is corrupted? Maybe we could set a pref to pop up an alert with this info so we can get some better info about when this is happening.
Keywords: nsbeta1nsbeta1-
Nominating for mozilla1.0
Keywords: mozilla1.0
Product: Browser → Seamonkey
See Bug 93932 and Bug 136963 for a better handling with corrupted ABs. *** This bug has been marked as a duplicate of 136963 ***
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.