Adium

Ticket #2122 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

Crash on startup in libgaim with Gadu-Gadu

Reported by: mietek@gmail.com Owned by: nobody
Milestone: Component: libgaim-general
Version: 0.86 Severity: major
Keywords: Cc:
Patch Status:

Description

Adium crashes every time I try to launch it. Holding the shift key at startup, I verified the problem is with signing on to my Gadu-Gadu account. Using another GG client, I noticed that certain buddy list entries that used to contain Polish extended characters look really odd -- for example, "małpa" has become "maÄ?â??Ă?â?ŚÄ?Ë?ââ??ÂŹÄąË?pa" and "bakłażan" turned into "bakÄ?â??Ă?â?ŚÄ?Ë?ââ??ÂŹÄąË?aÄ?â??Ă?â?ŚÄ?â??Ă?ĹĄan". In the attached crashlog, you'll find that libgaim crashes during charset conversion, so the characters are probably the root of the problem. I'll try to refrain from using them.

Date/Time:      2005-11-08 02:01:01.557 +0100
OS Version:     10.4.3 (Build 8F46)
Report Version: 3

Command: Adium
Path:    /Applications/Adium.app/Contents/MacOS/Adium
Parent:  WindowServer [66]

Version: 0.86 (0.86)

PID:    1385
Thread: 1

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_PROTECTION_FAILURE (0x0002) at 0x00000000

Thread 0:
0   libSystem.B.dylib              	0x9000b208 mach_msg_trap + 8
1   libSystem.B.dylib              	0x9000b15c mach_msg + 60
2   com.apple.CoreFoundation       	0x9075d108 __CFRunLoopRun + 832
3   com.apple.CoreFoundation       	0x9075ca0c CFRunLoopRunSpecific + 268
4   com.apple.HIToolbox            	0x931831e0 RunCurrentEventLoopInMode + 264
5   com.apple.HIToolbox            	0x93182874 ReceiveNextEventCommon + 380
6   com.apple.HIToolbox            	0x931826e0 BlockUntilNextEventMatchingListInMode + 96
7   com.apple.AppKit               	0x93681904 _DPSNextEvent + 384
8   com.apple.AppKit               	0x936815c8 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 116
9   com.apple.AppKit               	0x9367db0c -[NSApplication run] + 472
10  com.apple.AppKit               	0x9376e618 NSApplicationMain + 452
11  com.adiumX.adiumX              	0x00007cf0 _start + 392 (crt.c:267)
12  com.adiumX.adiumX              	0x00007b64 start + 48

Thread 1 Crashed:
0   libSystem.B.dylib              	0x90003008 strlen + 8
1   Libgaim                        	0x04e7abb8 charset_convert + 48
2   Libgaim                        	0x04e7b3d8 agg_load_buddy_list + 172
3   Libgaim                        	0x04e7bcbc main_callback + 1520
4   com.apple.CoreFoundation       	0x90770944 __CFSocketDoCallback + 532
5   com.apple.CoreFoundation       	0x90770668 __CFSocketPerformV0 + 288
6   com.apple.CoreFoundation       	0x9075da5c __CFRunLoopDoSources0 + 384
7   com.apple.CoreFoundation       	0x9075cf8c __CFRunLoopRun + 452
8   com.apple.CoreFoundation       	0x9075ca0c CFRunLoopRunSpecific + 268
9   com.apple.CoreFoundation       	0x9076be6c CFRunLoopRun + 52
10  com.adiumX.Gaim                	0x04e12d44 -[SLGaimCocoaAdapter init] + 500
11  com.adiumX.Gaim                	0x04e12958 +[SLGaimCocoaAdapter _createThreadedGaimCocoaAdapter] + 44
12  com.apple.Foundation           	0x928db6d4 forkThreadForFunction + 108
13  libSystem.B.dylib              	0x9002b200 _pthread_body + 96

Thread 2:
0   libSystem.B.dylib              	0x9000b208 mach_msg_trap + 8
1   libSystem.B.dylib              	0x9000b15c mach_msg + 60
2   com.apple.CoreFoundation       	0x9075d108 __CFRunLoopRun + 832
3   com.apple.CoreFoundation       	0x9075ca0c CFRunLoopRunSpecific + 268
4   com.apple.CFNetwork            	0x90f194a4 _SocketStreamRead + 468
5   com.apple.CoreFoundation       	0x907ab0a0 CFReadStreamRead + 360
6   com.apple.CFNetwork            	0x90f18c9c readHeaderBytes + 344
7   com.apple.CFNetwork            	0x90f1caac httpRdFilterRead + 208
8   com.apple.CoreFoundation       	0x907ab0a0 CFReadStreamRead + 360
9   com.apple.CFNetwork            	0x90f23ca0 readFromConnection + 124
10  com.apple.CFNetwork            	0x90f23bd8 httpRequestRead + 768
11  com.apple.CoreFoundation       	0x907ab0a0 CFReadStreamRead + 360
12  ...apple.AddressBook.framework 	0x94b953b4 -[ABRemoteImageLoader upToDateImageForEmail:] + 416
13  ...apple.AddressBook.framework 	0x94b02a9c -[ABRemoteImageLoader workLoop] + 756
14  com.apple.Foundation           	0x928db6d4 forkThreadForFunction + 108
15  libSystem.B.dylib              	0x9002b200 _pthread_body + 96

Thread 3:
0   libSystem.B.dylib              	0x9000b208 mach_msg_trap + 8
1   libSystem.B.dylib              	0x9000b15c mach_msg + 60
2   com.apple.CoreFoundation       	0x9075d108 __CFRunLoopRun + 832
3   com.apple.CoreFoundation       	0x9075ca0c CFRunLoopRunSpecific + 268
4   com.apple.Foundation           	0x92902b9c +[NSURLConnection(NSURLConnectionInternal) _resourceLoadLoop:] + 264
5   com.apple.Foundation           	0x928db6d4 forkThreadForFunction + 108
6   libSystem.B.dylib              	0x9002b200 _pthread_body + 96

Thread 4:
0   libSystem.B.dylib              	0x9001f20c select + 12
1   com.apple.CoreFoundation       	0x9076f99c __CFSocketManager + 472
2   libSystem.B.dylib              	0x9002b200 _pthread_body + 96

Thread 5:
0   libSystem.B.dylib              	0x9000b208 mach_msg_trap + 8
1   libSystem.B.dylib              	0x9000b15c mach_msg + 60
2   com.apple.CoreFoundation       	0x9075d108 __CFRunLoopRun + 832
3   com.apple.CoreFoundation       	0x9075ca0c CFRunLoopRunSpecific + 268
4   com.apple.Foundation           	0x92903cdc +[NSURLCache _diskCacheSyncLoop:] + 152
5   com.apple.Foundation           	0x928db6d4 forkThreadForFunction + 108
6   libSystem.B.dylib              	0x9002b200 _pthread_body + 96

Thread 1 crashed with PPC Thread State 64:
  srr0: 0x0000000090003008 srr1: 0x000000000200f030                        vrsave: 0x0000000000000000
    cr: 0x44022222          xer: 0x0000000000000004   lr: 0x0000000004e7abb8  ctr: 0x0000000090003000
    r0: 0x0000000004e7abb8   r1: 0x00000000f00803f0   r2: 0x0000000004d0ccf0   r3: 0x0000000000000000
    r4: 0x0000000004fbbbd0   r5: 0x0000000004fbbbd8   r6: 0x0000000000000010   r7: 0x00000000ffffffff
    r8: 0x0000000000000007   r9: 0x0000000000000000  r10: 0x0000000000501bf7  r11: 0x00000000050ed9b0
   r12: 0x0000000090003000  r13: 0x0000000000000000  r14: 0x0000000000000000  r15: 0x0000000000000001
   r16: 0x0000000000000000  r17: 0x0000000000000000  r18: 0x0000000000007b03  r19: 0x0000000000000000
   r20: 0x0000000004dbc380  r21: 0x0000000000000021  r22: 0x0000000005424820  r23: 0x0000000004dbc330
   r24: 0x00000000004b5ef0  r25: 0x00000000004b5f74  r26: 0x00000000004d6e20  r27: 0x0000000000000000
   r28: 0x0000000004fbbbd8  r29: 0x0000000004fbbbd0  r30: 0x0000000004d26810  r31: 0x0000000004e7ab94

Model: PowerMac10,1, BootROM 4.8.9f1, 1 processors, PowerPC G4  (1.2), 1.42 GHz, 1 GB
Graphics: ATI Radeon 9200, ATY,RV280, AGP, 32 MB
Memory Module: DIMM0/J11, 1 GB, DDR SDRAM, PC3200U-25440
Modem: Jump, , V.92, Version 1.0, 
Bluetooth: Version 1.6.6f22, 2 service, 1 devices, 1 incoming serial ports
Network Service: Built-in Ethernet, Ethernet, en0
Parallel ATA Device: ST9808210A, 74.53 GB
Parallel ATA Device: MATSHITADVD-R   UJ-835F, 
USB Device: Bluetooth HCI, , Up to 12 Mb/sec, 500 mA
USB Device: Hub in Apple Pro Keyboard, Mitsumi Electric, Up to 12 Mb/sec, 500 mA
USB Device: Apple Optical USB Mouse, Mitsumi Electric, Up to 1.5 Mb/sec, 100 mA
USB Device: Apple Pro Keyboard, Mitsumi Electric, Up to 12 Mb/sec, 250 mA
USB Device: Microsoft 5-Button Mouse with IntelliEye(TM), Microsoft, Up to 1.5 Mb/sec, 500 mA

Change History

Changed 4 years ago by mietek@…

Editing the buddy list by fixing the corrupted names and exporting it back to the Gadu-Gadu server using another client fixed the crash.

Changed 4 years ago by evands

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

Good. Crash won't exist as of next release, since we'll be moving to libgaim 2.0.0 and with it a new gadu-gadu implementation.

Note: See TracTickets for help on using tickets.