Adium

Ticket #9565 (closed defect: fixed)

Opened 4 months ago

Last modified 4 months ago

Crash when changing name

Reported by: iStig Assigned to: evands
Priority: highest Milestone: Adium X 1.2.5
Component: Adium Core Version: 1.2.4
Severity: blocker Keywords: nickname name crash
Cc: Patch: None
Pending: 0

Description

When I change my nickname in the Adium preferences window, Adium crashes. This only started happening today, and it's bloody annoying, as you can imagine. Right now, it's an incomplete version of my name, because I (obviously) can't change it.

I haven't installed anything in the last few days, and it only started happening now. There are no special characters or anything in the names I'm trying to change it to.

If this is an April Fool's day joke, it's terrible.

Attachments

crashreport.rtf (34.8 kB) - added by iStig on 04/01/2008 08:52:36 PM.
Crash report
jas8522.crashlog.txt (40.1 kB) - added by jas8522 on 04/02/2008 08:28:36 AM.

Change History

04/01/2008 08:10:44 PM changed by jas8522

  • pending set to 1.
  • milestone set to Needs feedback from users.

The only joke I see here, is a report of crashing without a crash log or debug log! Tsk tsk... results of TroubleshootingTips? ReportingBugs? All requirements!

04/01/2008 08:52:36 PM changed by iStig

  • attachment crashreport.rtf added.

Crash report

04/01/2008 08:52:52 PM changed by iStig

  • pending deleted.

Sorry about that. Forgot to include it.

04/02/2008 08:28:24 AM changed by jas8522

  • owner changed from nobody to evands.
  • priority changed from normal to highest.
  • severity changed from normal to blocker.
  • milestone changed from Needs feedback from users to Adium X 1.2.5.

Thanks iStig :) I was just able to reproduce this myself with 1.3svn

Summary:

Process:         Adium [151]
Path:            /Users/jordan/adium/build/Development/Adium.app/Contents/MacOS/Adium
Identifier:      com.adiumX.adiumX
Version:         1.3svn (1.3svn)
Code Type:       X86 (Native)
Parent Process:  launchd [110]

Date/Time:       2008-04-02 09:24:38.308 -0300
OS Version:      Mac OS X 10.5.2 (9C7010)
Report Version:  6

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00000000c595602f
Crashed Thread:  0

Thread 0 Crashed:
0   libobjc.A.dylib               	0x900d76e8 objc_msgSend + 24
1   Adium                         	0x003029c4 -[AIModularPane changePreference:] + 42 (AIModularPane.m:115)
2   com.adiumX.adiumX             	0x000adb32 -[ESPersonalPreferences changePreference:] + 841 (ESPersonalPreferences.m:123)
3   com.apple.Foundation          	0x957c202d __NSFireDelayedPerform + 477
4   com.apple.CoreFoundation      	0x95ccdb5e CFRunLoopRunSpecific + 4494
5   com.apple.CoreFoundation      	0x95ccdd18 CFRunLoopRunInMode + 88
6   com.apple.HIToolbox           	0x920ec6a0 RunCurrentEventLoopInMode + 283
7   com.apple.HIToolbox           	0x920ec4b9 ReceiveNextEventCommon + 374
8   com.apple.HIToolbox           	0x920ec32d BlockUntilNextEventMatchingListInMode + 106
9   com.apple.AppKit              	0x94fc57d9 _DPSNextEvent + 657
10  com.apple.AppKit              	0x94fc508e -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128
11  com.apple.AppKit              	0x94fbe0c5 -[NSApplication run] + 795
12  com.apple.AppKit              	0x94f8b30a NSApplicationMain + 574
13  com.adiumX.adiumX             	0x00002dd7 main + 30 (main.m:4)
14  com.adiumX.adiumX             	0x00002742 _start + 216
15  com.adiumX.adiumX             	0x00002669 start + 41

04/02/2008 08:28:36 AM changed by jas8522

  • attachment jas8522.crashlog.txt added.

04/02/2008 08:32:21 AM changed by jas8522

  • summary changed from Name changes kill Adium to Crash when changing name.

For competion, the way I caused it was:

  1. Open preferences
  2. Go to Personal pane
  3. Change name - I added my last initial
  4. Wait about 10 seconds - maybe less - and it crashed.

04/03/2008 09:37:07 AM changed by evands

jas, your reproduction with 1.3svn isn't the same crash as the original reporter's crash with 1.2.4.... but might be related.

04/03/2008 09:37:50 AM changed by evands

Hm, actually, might be the same. My bad :)

04/03/2008 09:44:41 AM changed by evands

I can't reproduce with the steps above on 1.2.4 or 1.3svn. Does this crash for you if performing these steps immediately upon launching Adium, having held shift to prevent accounts from connecting?

04/03/2008 10:05:25 AM changed by jas8522

I can reproduce it without connecting to any accounts. I think I figured out the exact steps to reproduce - I missed a key fact.

  1. Open Adium Personal Preferences such that you can still keep an eye on your name in the toolbar of the contact list window
  2. Change your name in personal prefs, and notice that it takes a second to update in the contact list toolbar. You will not get a crash at this point.
  3. Change your name in personal prefs again, but this time close the preferences window before the name gets updated in the toolbar of the contact list window - crashes every time.

04/03/2008 10:33:58 AM changed by evands

Now that is what I'm talking about!

04/03/2008 10:34:39 AM changed by evands

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

(In [23024]) Trigger changes on the alias and displayname fields immediately when the personal preferences are doing to close; this keeps any changes which were just made and does so before we deallocate. Fixes #9565.

04/03/2008 10:34:59 AM changed by evands

(In [23025]) Merged [23024]: Trigger changes on the alias and displayname fields immediately when the personal preferences are doing to close; this keeps any changes which were just made and does so before we deallocate. Fixes #9565.