Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#2757 closed Bug (wontfix)

Crash on open if start takes too long

Reported by: tiennou Owned by: livings124
Priority: Low Milestone: None Set
Component: Mac Client Version: 1.76+
Severity: Minor Keywords:
Cc:

Description

It can happen that [[NSApp dockTile] returns nil (for exemple, when running with MallocStackLogging/NoCompact?), which will crash BadgeView? since the frame will be nil.

Maybe defering the setting of the badge view in -applicationDidFinishLaunching would do the trick ?

Attachments (2)

Transmission_2010-01-14-170601_myBook.crash (34.0 KB) - added by tiennou 12 years ago.
crash.diff (982 bytes) - added by tiennou 12 years ago.

Download all attachments as: .zip

Change History (7)

Changed 12 years ago by tiennou

Changed 12 years ago by tiennou

comment:1 Changed 12 years ago by livings124

  • Component changed from Transmission to Mac Client
  • Owner set to livings124
  • Priority changed from Normal to Low
  • Severity changed from Normal to Minor

comment:2 Changed 12 years ago by charles

tiennou: does this problem persist in 1.80?

comment:3 Changed 12 years ago by livings124

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

Thanks, but I'm not inclined to change this unless it's actually seen in the field.

comment:4 Changed 12 years ago by tiennou

@charles: This fixed it.

@livings: Okay, but You're Doing It Wrong, And It *Will* Reproduce ;-). You shouldn't access NSApplication stuff before -applicationDidFinishLaunching.

comment:5 Changed 12 years ago by tiennou

@charles: Sorry, I typed the "I fixed it" reply while I was testing, but lost my head in the meantime, and submitted. This still happens as of r10024.

Note: See TracTickets for help on using tickets.