Adium

Ticket #12772 (closed defect: fixed)

Opened 7 months ago

Last modified 5 months ago

Contact notifications do not work

Reported by: Balrog Owned by:
Milestone: Component: Adium Core
Version: 1.4hg Severity: regression
Keywords: Cc:
Patch Status:

Description (last modified by Robby) (diff)

When I click the + button on the Notifications tab of Buddy Info, nothing happens and I get the following error in the system log. This error is consistent and appears the same every time.

Adium[1418]: *** Assertion failure in -[NSMenuItem setTitle:], /SourceCache/AppKit/AppKit-949.54/Menus.subproj/NSMenuItem.m:743

Adium[1418]: Invalid parameter not satisfying: aString != nil

Nothing else happens, there is no output to the Adium debug log. This seems to be a regression.

Change History

Changed 7 months ago by Robby

  • severity changed from normal to regression
  • description modified (diff)
  • milestone set to Adium 1.4

Changed 7 months ago by Balrog

Backtrace is below:

#0  0x93ac0f26 in objc_exception_throw ()
No symbol table info available.
#1  0x9574b2b8 in +[NSException raise:format:arguments:] ()
No symbol table info available.
#2  0x92749e0f in -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] ()
No symbol table info available.
#3  0x96441b53 in -[NSMenuItem setTitle:] ()
No symbol table info available.
#4  0x00476ffc in -[AIContactMenu _updateMenuItem:] ()
No symbol table info available.
#5  0x00477b5a in -[AIContactMenu contactMenusForListObjects:] ()
No symbol table info available.
#6  0x004771fd in -[AIContactMenu buildMenuItems] ()
No symbol table info available.
#7  0x0047328b in -[AIAbstractListObjectMenu menuItems] ()
No symbol table info available.
#8  0x00477336 in -[AIContactMenu rebuildMenu] ()
No symbol table info available.
#9  0x00477841 in -[AIContactMenu initWithDelegate:forContactsInObject:] ()
No symbol table info available.
#10 0x00477894 in +[AIContactMenu contactMenuWithDelegate:forContactsInObject:] ()
No symbol table info available.
#11 0x00042753 in -[ESSendMessageAlertDetailPane configureForActionDetails:listObject:] ()
No symbol table info available.
#12 0x004918ea in -[CSNewContactAlertWindowController configureDetailsPane] ()
No symbol table info available.
#13 0x00491491 in -[CSNewContactAlertWindowController windowDidLoad] ()
No symbol table info available.
#14 0x964c9604 in -[NSWindowController _windowDidLoad] ()
No symbol table info available.
#15 0x9645743c in -[NSWindowController window] ()
No symbol table info available.
#16 0x0049174e in +[CSNewContactAlertWindowController editAlert:forListObject:onWindow:notifyingTarget:configureForGlobal:defaultEventID:] ()
No symbol table info available.
#17 0x0048efff in -[ESContactAlertsViewController addAlert:] ()
No symbol table info available.
#18 0x964b205a in -[NSApplication sendAction:to:from:] ()
No symbol table info available.
#19 0x96591795 in -[NSControl sendAction:to:] ()
No symbol table info available.
#20 0x9658d242 in -[NSCell _sendActionFrom:] ()
No symbol table info available.
#21 0x9658c53d in -[NSCell trackMouse:inRect:ofView:untilMouseUp:] ()
No symbol table info available.
#22 0x965e1819 in -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] ()
No symbol table info available.
#23 0x9658af93 in -[NSControl mouseDown:] ()
No symbol table info available.
#24 0x002e8c30 in -[AIPlasticButton mouseDown:] ()
No symbol table info available.
#25 0x96588fc8 in -[NSWindow sendEvent:] ()
No symbol table info available.
#26 0x964a1bef in -[NSApplication sendEvent:] ()
No symbol table info available.
#27 0x9643565b in -[NSApplication run] ()
No symbol table info available.
#28 0x9642d695 in NSApplicationMain ()
No symbol table info available.
#29 0x00002eca in start ()
No symbol table info available.

Changed 7 months ago by Balrog

Another backtrace:

#0  0x93ac0f26 in objc_exception_throw ()
No symbol table info available.
#1  0x9574b2b8 in +[NSException raise:format:arguments:] ()
No symbol table info available.
#2  0x92749e0f in -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] ()
No symbol table info available.
#3  0x96441b53 in -[NSMenuItem setTitle:] ()
No symbol table info available.
#4  0x00473f92 in -[AIContactMenu _updateMenuItem:] (self=0x17392390, _cmd=0x96c91a20, menuItem=0x17cc05b0) at /sources/adium/Frameworks/Adium Framework/Source/AIContactMenu.m:297
	displayName = (NSString *) 0x0
#5  0x00474b06 in -[AIContactMenu contactMenusForListObjects:] (self=0x17392390, _cmd=0x4d6420, listObjects=0x3cd1c00) at /sources/adium/Frameworks/Adium Framework/Source/AIContactMenu.m:267
No locals.
#6  0x00474193 in -[AIContactMenu buildMenuItems] (self=0x17392390, _cmd=0x4d57f8) at /sources/adium/Frameworks/Adium Framework/Source/AIContactMenu.m:199
	listObjects = (NSArray *) 0x17c67de0
#7  0x004701e0 in -[AIAbstractListObjectMenu menuItems] (self=0x17392390, _cmd=0x4d6048) at /sources/adium/Frameworks/Adium Framework/Source/AIAbstractListObjectMenu.m:58
No locals.
#8  0x004742cc in -[AIContactMenu rebuildMenu] (self=0x17392390, _cmd=0x4d5cfe) at /sources/adium/Frameworks/Adium Framework/Source/AIContactMenu.m:153
	objc_super = {
  self = 0x17392390, 
  cls = 0x4f0230
}
#9  0x004747d7 in -[AIContactMenu initWithDelegate:forContactsInObject:] (self=0x17392390, _cmd=0x4d64d7, inDelegate=0x17cd24a0, inContainingObject=0x0) at /sources/adium/Frameworks/Adium Framework/Source/AIContactMenu.m:57
	objc_super = {
  self = 0x17392390, 
  cls = 0x4f0230
}
#10 0x0047482a in +[AIContactMenu contactMenuWithDelegate:forContactsInObject:] (self=0x4f0290, _cmd=0x168fa6, inDelegate=0x17cd24a0, inContainingObject=0x0) at /sources/adium/Frameworks/Adium Framework/Source/AIContactMenu.m:34
No locals.
#11 0x00043555 in -[ESSendMessageAlertDetailPane configureForActionDetails:listObject:] (self=0x17cd24a0, _cmd=0x4e195a, inDetails=0x0, inObject=0x28cad60) at /sources/adium/Plugins/Send Message Contact Alert/ESSendMessageAlertDetailPane.m:82
	sourceAccount = <value temporarily unavailable, due to optimizations>
	messageText = <value temporarily unavailable, due to optimizations>
	destObject = (AIListObject *) 0x0
	accountID = <value temporarily unavailable, due to optimizations>
#12 0x0048e871 in -[CSNewContactAlertWindowController configureDetailsPane] (self=0x17cb1520, _cmd=0x4dbd45) at /sources/adium/Frameworks/Adium Framework/Source/CSNewContactAlertWindowController.m:273
	actionHandler = <value temporarily unavailable, due to optimizations>
	currentDetailHeight = 0x4dbd45
	frame = {
  origin = {
    x = 7.25713417e-39, 
    y = 7.13923032e-39
  }, 
  size = {
    width = 1.40129846e-45, 
    height = 0
  }
}
#13 0x0048e418 in -[CSNewContactAlertWindowController windowDidLoad] (self=0x17cb1520, _cmd=0x96c3a796) at /sources/adium/Frameworks/Adium Framework/Source/CSNewContactAlertWindowController.m:155
No locals.
#14 0x964c9604 in -[NSWindowController _windowDidLoad] ()
No symbol table info available.
#15 0x9645743c in -[NSWindowController window] ()
No symbol table info available.
#16 0x0048e6d5 in +[CSNewContactAlertWindowController editAlert:forListObject:onWindow:notifyingTarget:configureForGlobal:defaultEventID:] (self=0x4f05f0, _cmd=0x4db9be, inAlert=0x0, inObject=0x28cad60, parentWindow=0x17cf7da0, inTarget=0x17faf8e0, inConfigureForGlobal=<value temporarily unavailable, due to optimizations>, inDefaultEventID=0x1a39e0) at /sources/adium/Frameworks/Adium Framework/Source/CSNewContactAlertWindowController.m:62
No locals.
#17 0x0048bf86 in -[ESContactAlertsViewController addAlert:] (self=0x17faf8e0, _cmd=0x4db662, sender=0x17c34320) at /sources/adium/Frameworks/Adium Framework/Source/ESContactAlertsViewController.m:210
	defaultEventID = (NSString *) 0x1a39e0
	item = <value temporarily unavailable, due to optimizations>
#18 0x964b205a in -[NSApplication sendAction:to:from:] ()
No symbol table info available.
#19 0x96591795 in -[NSControl sendAction:to:] ()
No symbol table info available.
#20 0x9658d242 in -[NSCell _sendActionFrom:] ()
No symbol table info available.
#21 0x9658c53d in -[NSCell trackMouse:inRect:ofView:untilMouseUp:] ()
No symbol table info available.
#22 0x965e1819 in -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] ()
No symbol table info available.
#23 0x9658af93 in -[NSControl mouseDown:] ()
No symbol table info available.
#24 0x002e2287 in -[AIPlasticButton mouseDown:] (self=0x17c34320, _cmd=0x96c0aa9c, theEvent=0x17cb7290) at /sources/adium/Frameworks/AIUtilities Framework/Source/AIPlasticButton.m:65
	objc_super = {
  self = 0x17c34320, 
  cls = 0xa08180a0
}
#25 0x96588fc8 in -[NSWindow sendEvent:] ()
No symbol table info available.
#26 0x964a1bef in -[NSApplication sendEvent:] ()
No symbol table info available.
#27 0x9643565b in -[NSApplication run] ()
No symbol table info available.
#28 0x9642d695 in NSApplicationMain ()
No symbol table info available.
#29 0x00003796 in start ()
No symbol table info available.

Changed 6 months ago by Zachary West <zacw@…>

  • status changed from new to closed
  • resolution set to fixed

(In  b4225f612ad2) Probably prevent setting a nil title for the menu item. Fixes #12772.

Changed 6 months ago by Zachary West <zacw@…>

(In  3b3a28a01bc0) Probably prevent setting a nil title for the menu item. Fixes #12772.

Changed 6 months ago by Robby

  • milestone Adium 1.4 deleted

Changed 6 months ago by am

  • status changed from closed to new
  • resolution fixed deleted

Changed 6 months ago by Balrog

Still broken; same visible error (+ button does nothing). In the system.log:

machine Adium[88696]: *** Assertion failure in -[NSMenuItem setTitle:], /SourceCache/AppKit/AppKit-1038/Menus.subproj/NSMenuItem.m:797
machine Adium[88696]: Invalid parameter not satisfying: aString != nil

Backtrace:

2009-09-06 15:32:29.926 Adium[88825:a0b] *** Assertion failure in -[NSMenuItem setTitle:], /SourceCache/AppKit/AppKit-1038/Menus.subproj/NSMenuItem.m:797

Breakpoint 1, 0x00007fff889712fa in objc_exception_throw ()
--------------------------------------------------------------------------[regs]
  EAX:Error while running hook_stop:
Value can't be converted to integer.
gdb$ bt full
#0  0x00007fff889712fa in objc_exception_throw ()
No symbol table info available.
#1  0x00007fff82b2b3c7 in +[NSException raise:format:arguments:] ()
No symbol table info available.
#2  0x00007fff84551daa in -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] ()
No symbol table info available.
#3  0x00007fff863ede7c in -[NSMenuItem setTitle:] ()
No symbol table info available.
#4  0x0000000100604742 in -[AIContactMenu _updateMenuItem:] (self=0x12bda1d50, _cmd=<value temporarily unavailable, due to optimizations>, menuItem=<value temporarily unavailable, due to optimizations>) at /sources/adium/Frameworks/Adium Framework/Source/AIContactMenu.m:297
	displayName = (NSString *) 0x0
#5  0x0000000100604c05 in -[AIContactMenu contactMenusForListObjects:] (self=0x12bda1d50, _cmd=<value temporarily unavailable, due to optimizations>, listObjects=0x12347cc00) at /sources/adium/Frameworks/Adium Framework/Source/AIContactMenu.m:267
No locals.
#6  0x0000000100600603 in -[AIAbstractListObjectMenu menuItems] (self=<value temporarily unavailable, due to optimizations>, _cmd=<value temporarily unavailable, due to optimizations>) at /sources/adium/Frameworks/Adium Framework/Source/AIAbstractListObjectMenu.m:58
No locals.
#7  0x0000000100604402 in -[AIContactMenu rebuildMenu] (self=0x12bda1d50, _cmd=<value temporarily unavailable, due to optimizations>) at /sources/adium/Frameworks/Adium Framework/Source/AIContactMenu.m:153
	objc_super = {
  self = 0x12bda1d50, 
  cls = 0x10069e0a8
}
#8  0x0000000100603e72 in -[AIContactMenu initWithDelegate:forContactsInObject:] (self=<value temporarily unavailable, due to optimizations>, _cmd=<value temporarily unavailable, due to optimizations>, inDelegate=0x12bda1d68, inContainingObject=0x0) at /sources/adium/Frameworks/Adium Framework/Source/AIContactMenu.m:57
	objc_super = {
  self = 0x12bda1d50, 
  cls = 0x10069e0a8
}
#9  0x0000000100603d76 in +[AIContactMenu contactMenuWithDelegate:forContactsInObject:] (self=<value temporarily unavailable, due to optimizations>, _cmd=<value temporarily unavailable, due to optimizations>, inDelegate=0x12bd85960, inContainingObject=0x0) at /sources/adium/Frameworks/Adium Framework/Source/AIContactMenu.m:34
No locals.
#10 0x0000000100047204 in -[ESSendMessageAlertDetailPane configureForActionDetails:listObject:] (self=0x12bd85960, _cmd=<value temporarily unavailable, due to optimizations>, inDetails=0x0, inObject=0x10547e030) at /sources/adium/Plugins/Send Message Contact Alert/ESSendMessageAlertDetailPane.m:82
	sourceAccount = <value temporarily unavailable, due to optimizations>
	messageText = <value temporarily unavailable, due to optimizations>
	destObject = (AIListObject *) 0x10547e030
	accountID = <value temporarily unavailable, due to optimizations>
#11 0x000000010061d52c in -[CSNewContactAlertWindowController configureDetailsPane] (self=<value temporarily unavailable, due to optimizations>, _cmd=<value temporarily unavailable, due to optimizations>) at /sources/adium/Frameworks/Adium Framework/Source/CSNewContactAlertWindowController.m:273
	actionHandler = <value temporarily unavailable, due to optimizations>
	currentDetailHeight = <value temporarily unavailable, due to optimizations>
	frame = {
  origin = {
    x = 159, 
    y = 0
  }, 
  size = {
    width = 2.4853402043712852e-314, 
    height = 0
  }
}
#12 0x000000010061cf4c in -[CSNewContactAlertWindowController windowDidLoad] (self=<value temporarily unavailable, due to optimizations>, _cmd=<value temporarily unavailable, due to optimizations>) at /sources/adium/Frameworks/Adium Framework/Source/CSNewContactAlertWindowController.m:155
No locals.
#13 0x00007fff86465d69 in -[NSWindowController _windowDidLoad] ()
No symbol table info available.
#14 0x00007fff864034e7 in -[NSWindowController window] ()
No symbol table info available.
#15 0x000000010061c85d in +[CSNewContactAlertWindowController editAlert:forListObject:onWindow:notifyingTarget:configureForGlobal:defaultEventID:] (self=<value temporarily unavailable, due to optimizations>, _cmd=<value temporarily unavailable, due to optimizations>, inAlert=0x0, inObject=<value temporarily unavailable, due to optimizations>, parentWindow=0x1293d54e0, inTarget=<value temporarily unavailable, due to optimizations>, inConfigureForGlobal=<value temporarily unavailable, due to optimizations>, inDefaultEventID=0x100214c20) at /sources/adium/Frameworks/Adium Framework/Source/CSNewContactAlertWindowController.m:62
No locals.
#16 0x0000000100619dfd in -[ESContactAlertsViewController addAlert:] (self=0x129282e30, _cmd=<value temporarily unavailable, due to optimizations>, sender=<value temporarily unavailable, due to optimizations>) at /sources/adium/Frameworks/Adium Framework/Source/ESContactAlertsViewController.m:210
	defaultEventID = (NSString *) 0x100214c20
	item = <value temporarily unavailable, due to optimizations>
#17 0x00007fff86572276 in -[NSApplication sendAction:to:from:] ()
No symbol table info available.
#18 0x00007fff865721d5 in -[NSControl sendAction:to:] ()
No symbol table info available.
#19 0x00007fff865fd6af in -[NSCell trackMouse:inRect:ofView:untilMouseUp:] ()
No symbol table info available.
#20 0x00007fff8662e1c7 in -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] ()
No symbol table info available.
#21 0x00007fff865fc159 in -[NSControl mouseDown:] ()
No symbol table info available.
#22 0x00000001004140ac in -[AIPlasticButton mouseDown:] (self=0x129393ce0, _cmd=<value temporarily unavailable, due to optimizations>, theEvent=0x12be5c980) at /sources/adium/Frameworks/AIUtilities Framework/Source/AIPlasticButton.m:65
	objc_super = {
  self = 0x129393ce0, 
  cls = 0x7fff70cc5870
}
#23 0x00007fff865169ab in -[NSWindow sendEvent:] ()
No symbol table info available.
#24 0x00007fff8644c172 in -[NSApplication sendEvent:] ()
No symbol table info available.
#25 0x00007fff863e2b78 in -[NSApplication run] ()
No symbol table info available.
#26 0x00007fff863db844 in NSApplicationMain ()
No symbol table info available.
#27 0x000000010000295c in start ()
No symbol table info available.

Changed 6 months ago by Robby

  • milestone set to Adium 1.4

Changed 5 months ago by Zachary West <zacw@…>

  • status changed from new to closed
  • resolution set to fixed

(In  f50210ffe03f) Don't try and set a title if it's going to be nil. I have no idea why this is happening, probably something busted for the user. Fixes #12772.

Changed 5 months ago by Robby

  • milestone Adium 1.4 deleted

Changed 5 months ago by Zachary West <zacw@…>

(In  6c883e681d52) Don't try and set a title if it's going to be nil. I have no idea why this is happening, probably something busted for the user. Fixes #12772.

Note: See TracTickets for help on using tickets.