Opened 15 years ago

Closed 15 years ago

#74 closed Defect (Fixed)

Colloquy hangs at launch.

Reported by: thomas@… Owned by: timothy
Component: Colloquy (Mac) Version: 2.0 (Mac)
Severity: Major Keywords:
Cc:

Description

When I launch Colloquy, it often hangs (displays no GUI). Launching it from GDB used to fix the problem, but it doesn't anymore. (this is r2485 but the bug has been here for a while)

So I launched it from GDB and interrupted it when it hanged.
Here are the backtraces (there are five threads; thread 2 is not significant (Application Enhancer) ; I believe that the hang is in thread 1 at the line : _irssiThreadConnection = [[[threadConnection rootProxy] vendChatConnection:self] retain];

^C
Program received signal SIGINT, Interrupt.
0x900074c8 in mach_msg_trap ()
(gdb) bt
#0  0x900074c8 in mach_msg_trap ()
#1  0x90007018 in mach_msg ()
#2  0x90191700 in __CFRunLoopRun ()
#3  0x90195e8c in CFRunLoopRunSpecific ()
#4  0x90a03f84 in -[NSConnection sendInvocation:] ()
#5  0x909fcfd0 in -[NSObject(NSForwardInvocation) forward::] ()
#6  0x90836810 in _objc_msgForward ()
#7  0x90a326e0 in -[NSDistantObject methodSignatureForSelector:] ()
#8  0x909fcea0 in -[NSObject(NSForwardInvocation) forward::] ()
#9  0x90836810 in _objc_msgForward ()
#10 0x0101a0b0 in -[MVIRCChatConnection init] (self=0x6b1130, _cmd=0x3000006) at /Users/thomas/Documents/Dev/Colloquy/trunk/MVIRCChatConnection.m:1074
#11 0x01011634 in -[MVChatConnection initWithType:] (self=0x6ab6e0, _cmd=0x3000006, type=MVChatConnectionIRCType) at /Users/thomas/Documents/Dev/Colloquy/trunk/MVChatConnection.m:98
#12 0x01011910 in -[MVChatConnection initWithServer:type:port:user:] (self=0x1996, _cmd=0x3000006, server=0x6fa6a0, type=1104, port=6550, nickname=0x6fcc50) at /Users/thomas/Documents/Dev/Colloquy/trunk/MVChatConnection.m:125
#13 0x00020acc in -[MVConnectionsController(MVConnectionsControllerPrivate) _loadBookmarkList] (self=0x6a3220, _cmd=0x3000006) at /Users/thomas/Documents/Dev/Colloquy/trunk/MVConnectionsController.m:1440
#14 0x00019d44 in -[MVConnectionsController initWithWindowNibName:] (self=0x6e0770, _cmd=0x3000006, windowNibName=0x0) at /Users/thomas/Documents/Dev/Colloquy/trunk/MVConnectionsController.m:121
#15 0x00019748 in +[MVConnectionsController defaultManager] (self=0x10004005, _cmd=0x3000006) at /Users/thomas/Documents/Dev/Colloquy/trunk/MVConnectionsController.m:53
#16 0x0000ec34 in -[MVApplicationController applicationDidFinishLaunching:] (self=0xb06e0, _cmd=0x3000006, notification=0x0) at /Users/thomas/Documents/Dev/Colloquy/trunk/MVApplicationController.m:340
#17 0x909f7184 in _nsnote_callback ()
#18 0x901aa5c0 in __CFXNotificationPost ()
#19 0x901aefd0 in _CFXNotificationPostNotification ()
#20 0x909f4fd0 in -[NSNotificationCenter postNotificationName:object:userInfo:] ()
#21 0x92ee3e70 in -[NSApplication _postDidFinishNotification] ()
#22 0x92ee3d5c in -[NSApplication _sendFinishLaunchingNotification] ()
#23 0x92ee3f8c in -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] ()
#24 0x90a4a544 in -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] ()
#25 0x90a50c6c in _NSAppleEventManagerGenericHandler ()
#26 0x92ccea10 in aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned long, unsigned char*) ()
#27 0x92cd1858 in dispatchEventAndSendReply(AEDesc const*, AEDesc*) ()
#28 0x92ccec50 in aeProcessAppleEvent ()
#29 0x928c4338 in AEProcessAppleEvent ()
#30 0x92dd301c in _DPSNextEvent ()
#31 0x92de98c8 in -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] ()
#32 0x92dfdc30 in -[NSApplication run] ()
#33 0x92eba2b8 in NSApplicationMain ()
#34 0x0000c9b8 in main (count=1, arg=0xbffffb1c) at /Users/thomas/Documents/Dev/Colloquy/trunk/main.m:11
(gdb) thread 3
[Switching to thread 3 (process 27502 thread 0x4f03)]
#0  0x900074c8 in mach_msg_trap ()
(gdb) bt
#0  0x900074c8 in mach_msg_trap ()
#1  0x90007018 in mach_msg ()
#2  0x90191700 in __CFRunLoopRun ()
#3  0x90195e8c in CFRunLoopRunSpecific ()
#4  0x909fc850 in -[NSRunLoop runMode:beforeDate:] ()
#5  0x90a15454 in -[NSRunLoop run] ()
#6  0x90a6747c in +[NSURLConnection(NSURLConnectionInternal) _resourceLoadLoop:] ()
#7  0x90a39b74 in forkThreadForFunction ()
#8  0x900246e8 in _pthread_body ()
(gdb) thread 4
[Switching to thread 4 (process 27502 thread 0x5903)]
#0  0x9000b20c in select ()
(gdb) bt
#0  0x9000b20c in select ()
#1  0x909f205c in _loadRunLoop ()
#2  0x900246e8 in _pthread_body ()
(gdb) thread 5
[Switching to thread 5 (process 27502 thread 0x5f9b)]
#0  0x9000b20c in select ()
(gdb) bt
#0  0x9000b20c in select ()
#1  0x900f6dfc in poll ()
#2  0x01037d38 in g_main_poll (timeout=162, use_priority=17398644, priority=5) at gmain.c:1034
#3  0x010375cc in g_main_iterate (block=0, dispatch=17398644) at gmain.c:808
#4  0x0101ca54 in +[MVIRCChatConnection(MVIRCChatConnectionPrivate) _irssiRunLoop] (self=0xa2, _cmd=0x0) at /Users/thomas/Documents/Dev/Colloquy/trunk/MVIRCChatConnection.m:1676
#5  0x90a39b74 in forkThreadForFunction ()
#6  0x900246e8 in _pthread_body ()

Change History (3)

comment:1 Changed 15 years ago by timothy

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

fixed with [2486].

comment:2 Changed 15 years ago by thomas@…

  • Resolution fixed deleted
  • Status changed from closed to reopened

Even [2488] did not fix that :

Here are the new backtraces :

^C
Program received signal SIGINT, Interrupt.
0x900074c8 in mach_msg_trap ()
(gdb) bt
#0  0x900074c8 in mach_msg_trap ()
#1  0x90007018 in mach_msg ()
#2  0x90191700 in __CFRunLoopRun ()
#3  0x90195e8c in CFRunLoopRunSpecific ()
#4  0x90a03f84 in -[NSConnection sendInvocation:] ()
#5  0x909fcfd0 in -[NSObject(NSForwardInvocation) forward::] ()
#6  0x90836810 in _objc_msgForward ()
#7  0x01019fd4 in -[MVIRCChatConnection init] (self=0x67b050, _cmd=0x3000006) at /Users/thomas/Documents/Dev/Colloquy/trunk/MVIRCChatConnection.m:1073
#8  0x0101151c in -[MVChatConnection initWithType:] (self=0x6835f0, _cmd=0x3000006, type=MVChatConnectionIRCType) at /Users/thomas/Documents/Dev/Colloquy/trunk/MVChatConnection.m:98
#9  0x010117f8 in -[MVChatConnection initWithServer:type:port:user:] (self=0x1a0b, _cmd=0x3000006, server=0x6eb550, type=1104, port=6667, nickname=0x6ec520) at /Users/thomas/Documents/Dev/Colloquy/trunk/MVChatConnection.m:125
#10 0x00020bdc in -[MVConnectionsController(MVConnectionsControllerPrivate) _loadBookmarkList] (self=0x684cf0, _cmd=0x3000006) at /Users/thomas/Documents/Dev/Colloquy/trunk/MVConnectionsController.m:1440
#11 0x00019e54 in -[MVConnectionsController initWithWindowNibName:] (self=0x6ae090, _cmd=0x3000006, windowNibName=0x0) at /Users/thomas/Documents/Dev/Colloquy/trunk/MVConnectionsController.m:121
#12 0x00019858 in +[MVConnectionsController defaultManager] (self=0x10004005, _cmd=0x3000006) at /Users/thomas/Documents/Dev/Colloquy/trunk/MVConnectionsController.m:53
#13 0x0000ed44 in -[MVApplicationController applicationDidFinishLaunching:] (self=0xb06ec, _cmd=0x3000006, notification=0x0) at /Users/thomas/Documents/Dev/Colloquy/trunk/MVApplicationController.m:349
#14 0x909f7184 in _nsnote_callback ()
#15 0x901aa5c0 in __CFXNotificationPost ()
#16 0x901aefd0 in _CFXNotificationPostNotification ()
#17 0x909f4fd0 in -[NSNotificationCenter postNotificationName:object:userInfo:] ()
#18 0x92ee3e70 in -[NSApplication _postDidFinishNotification] ()
#19 0x92ee3d5c in -[NSApplication _sendFinishLaunchingNotification] ()
#20 0x92ee3f8c in -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] ()
#21 0x90a4a544 in -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] ()
#22 0x90a50c6c in _NSAppleEventManagerGenericHandler ()
#23 0x92ccea10 in aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned long, unsigned char*) ()
#24 0x92cd1858 in dispatchEventAndSendReply(AEDesc const*, AEDesc*) ()
#25 0x92ccec50 in aeProcessAppleEvent ()
#26 0x928c4338 in AEProcessAppleEvent ()
#27 0x92dd301c in _DPSNextEvent ()
#28 0x92de98c8 in -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] ()
#29 0x92dfdc30 in -[NSApplication run] ()
#30 0x92eba2b8 in NSApplicationMain ()
#31 0x0000c9b8 in main (count=1, arg=0xbffffae0) at /Users/thomas/Documents/Dev/Colloquy/trunk/main.m:11
(gdb) thread 3
[Switching to thread 3 (process 2836 thread 0x4f03)]
#0  0x900074c8 in mach_msg_trap ()
(gdb) bt
#0  0x900074c8 in mach_msg_trap ()
#1  0x90007018 in mach_msg ()
#2  0x90191700 in __CFRunLoopRun ()
#3  0x90195e8c in CFRunLoopRunSpecific ()
#4  0x909fc850 in -[NSRunLoop runMode:beforeDate:] ()
#5  0x90a15454 in -[NSRunLoop run] ()
#6  0x90a6747c in +[NSURLConnection(NSURLConnectionInternal) _resourceLoadLoop:] ()
#7  0x90a39b74 in forkThreadForFunction ()
#8  0x900246e8 in _pthread_body ()
(gdb) thread 4
[Switching to thread 4 (process 2836 thread 0x5903)]
#0  0x9000b20c in select ()
(gdb) bt
#0  0x9000b20c in select ()
#1  0x909f205c in _loadRunLoop ()
#2  0x900246e8 in _pthread_body ()
(gdb) thread 5
[Switching to thread 5 (process 2836 thread 0x5f9b)]
#0  0x900074c8 in mach_msg_trap ()
(gdb) bt
#0  0x900074c8 in mach_msg_trap ()
#1  0x90007018 in mach_msg ()
#2  0x90191700 in __CFRunLoopRun ()
#3  0x90195e8c in CFRunLoopRunSpecific ()
#4  0x909fc850 in -[NSRunLoop runMode:beforeDate:] ()
#5  0x0101ca64 in +[MVIRCChatConnection(MVIRCChatConnectionPrivate) _irssiRunLoop] (self=0x10a1568, _cmd=0x3000006) at /Users/thomas/Documents/Dev/Colloquy/trunk/MVIRCChatConnection.m:1689
#6  0x90a39b74 in forkThreadForFunction ()
#7  0x900246e8 in _pthread_body ()

comment:3 Changed 15 years ago by anonymous

  • Resolution set to fixed
  • Status changed from reopened to closed
Note: See TracTickets for help on using tickets.