Closed Bug 295375 Opened 20 years ago Closed 20 years ago

Random crash (can't figure out how to reproduce)

Categories

(Camino Graveyard :: General, defect, P1)

PowerPC
macOS
defect

Tracking

(Not tracked)

RESOLVED FIXED
Camino0.9

People

(Reporter: Usul, Assigned: sfraser_bugs)

Details

(Keywords: crash)

Attachments

(1 file)

I'm seeing Camino crash. I have not yet foudna  way to reprodcue it.
Talkback ID TB6092900X. Crash log coming up.
Attached file Crash log
This is probably something in my site icon code.
Assignee: pinkerton → sfraser_bugs
Keywords: crash
Priority: -- → P1
Target Milestone: --- → Camino0.9
Steps to reproduce:
1. show history in a browser window.
2. close that window
3. in new window, nagivate to site with favicon.

NSZombieEnabled reveals:

2005-05-24 18:52:41.423 Camino[485] *** *** Selector 'siteIconLoaded:' sent to
dealloced instance 0xd5678f0 of class HistoryDataSource.
Break at '-[_NSZombie methodSignatureForSelector:]' to debug.
2005-05-24 18:52:41.423 Camino[485] Exception raised during posting of
notification.  Ignored.  exception: *** Selector 'siteIconLoaded:' sent to
dealloced instance 0xd5678f0 of class HistoryDataSource.
Break at '-[_NSZombie methodSignatureForSelector:]' to debug.
Status: NEW → ASSIGNED
Fix:
Index: HistoryDataSource.mm
===================================================================
RCS file: /cvsroot/mozilla/camino/src/history/HistoryDataSource.mm,v
retrieving revision 1.34
diff -u -r1.34 HistoryDataSource.mm
--- HistoryDataSource.mm	23 May 2005 03:36:08 -0000	1.34
+++ HistoryDataSource.mm	25 May 2005 01:54:52 -0000
@@ -679,6 +679,8 @@
 
 - (void)cleanupHistory
 {
+  [[NSNotificationCenter defaultCenter] removeObserver:self];
+
   if (mHistoryObserver)
   {
     nsCOMPtr<nsIHistoryItems> historyItems = do_QueryInterface(mGlobalHistory);


Checked in.
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
sweet. yeah i was hitting this too. good catch.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: