Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#2449 closed Defect (Invalid)

Crash when I close a chanel (tab or sidebar)

Reported by: Jeena Paradies <spam@…> Owned by: timothy
Component: Colloquy (Mac) Version: 2.3 (Mac)
Severity: Major Keywords:
Cc:

Description

Hi,

Since some years ago I had this crash when I closed a room (tab or sidebar). It was random, sometimes it crashed, sometimes not. I now had a look into the code and with help of the NSZombies I found out that a already dealloced JVChatRoomPanel is being dealloced again. I searched for [JVChatRoomPanel alloc] and found it in JVChatController.m line 262:

if( ( ret = [[[JVChatRoomPanel alloc] initWithTarget:room] autorelease] ) ) {
	[_chatControllers addObject:ret];
	[self addViewControllerToPreferedWindowController:ret userInitiated:YES];
}

So I just removed the autorelease. Now there is the possibility that this introduced a leak but It is much better then before when it just crashed every time. Hope it helps to find and fix this old bug.

Btw. I this this happens only when there is a plugin in ~/Library/Application? Support/Colloquy/Plugins/? it seem not to matter which plugin.

Change History (2)

comment:1 Changed 9 years ago by zach

  • Resolution set to invalid
  • Status changed from new to closed

This had to do with the settings file being bad.

comment:2 Changed 9 years ago by rob-to86

  • milestone Colloquy 2.4 deleted
Note: See TracTickets for help on using tickets.