Topic: Playlist opening crash

Hello
:-)

I'm new here so I hope I'm not writing about something just fixed.

I got an external HD where I stored all my mp3s (33'000 more or less). I opened the directory with Cog and all went Ok. I Saved the Playlist in the HD.

When I open Cog now it opens the last playlist, but it has to load once again all the TAGS (by the way: is this right? Shouldn't it remember the Tags of previously loaded files?).

So, I tried to close the window and open the m3u saved playlist, but it crashes.

This is a "shortened" report:
Process:         Cog [2540]
Path:            /Applications/Cog.app/Contents/MacOS/Cog
Identifier:      org.cogx.cog
Version:         0.07 (r909)
Code Type:       X86 (Native)
Parent Process:  launchd [220]

Interval Since Last Report:          2706233 sec
Crashes Since Last Report:           444
Per-App Interval Since Last Report:  30 sec
Per-App Crashes Since Last Report:   1

Date/Time:       2011-03-17 19:09:06.738 +0100
OS Version:      Mac OS X 10.5.8 (9L31a)
Report Version:  6
Anonymous UUID:  5D3052F2-666C-4B16-AFB8-C9E5330A0523

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

Thread 0:
0   libSystem.B.dylib                 0x94366266 mach_msg_trap + 10
1   libSystem.B.dylib                 0x9436da5c mach_msg + 72
2   com.apple.CoreFoundation          0x973bfe7e CFRunLoopRunSpecific + 1790
3   com.apple.CoreFoundation          0x973c0aa8 CFRunLoopRunInMode + 88
4   com.apple.HIToolbox               0x974b12ac RunCurrentEventLoopInMode + 283
5   com.apple.HIToolbox               0x974b10c5 ReceiveNextEventCommon + 374
6   com.apple.HIToolbox               0x974b0f39 BlockUntilNextEventMatchingListInMode + 106
7   com.apple.AppKit                  0x9585e6d5 _DPSNextEvent + 657
8   com.apple.AppKit                  0x9585df88 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128
9   com.apple.AppKit                  0x95856f9f -[NSApplication run] + 795
10  com.apple.AppKit                  0x958241d8 NSApplicationMain + 574
11  org.cogx.cog                      0x00002756 _start + 216
12  org.cogx.cog                      0x0000267d start + 41

Thread 1:
0   libSystem.B.dylib                 0x943662ba semaphore_timedwait_trap + 10
1   org.cogx.cog                      0x0001735c -[AudioScrobbler(Private) processAudioScrobblerCommands:] + 1143
2   com.apple.Foundation              0x93158dfd -[NSThread main] + 45
3   com.apple.Foundation              0x931589a4 __NSThread__main__ + 308
4   libSystem.B.dylib                 0x94397155 _pthread_start + 321
5   libSystem.B.dylib                 0x94397012 thread_start + 34

Thread 2:
0   libSystem.B.dylib                 0x943969c6 kevent + 10
1   com.apple.Foundation              0x93158dfd -[NSThread main] + 45
2   com.apple.Foundation              0x931589a4 __NSThread__main__ + 308
3   libSystem.B.dylib                 0x94397155 _pthread_start + 321
4   libSystem.B.dylib                 0x94397012 thread_start + 34

Thread 3 Crashed:
0   libstdc++.6.dylib                 0x957fe372 std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::append(std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) + 16
1   ...rcompany.yourcocoaframework    0x00589ed9 TagLib::String::operator+=(TagLib::String const&) + 45
2   ...rcompany.yourcocoaframework    0x0058c5bb TagLib::StringList::toString(TagLib::String const&) const + 63
3   ...rcompany.yourcocoaframework    0x0057dfd4 TagLib::ID3v2::Tag::genre() const + 770
4   ...rcompany.yourcocoaframework    0x0059559b TagLib::MPEGTag::genre() const + 227
5   ...rcompany.yourcocoaframework    0x0058d3fb taglib_tag_genre + 39
6   ...yourcompany.yourcocoabundle    0x00567ac9 +[TagLibMetadataReader metadataForURL:] + 181
7   org.cogx.cog                      0x00005679 -[PlaylistEntry readMetadataThread] + 39
8   org.cogx.cog                      0x000183cc -[PlaylistLoader readEntriesInfoThread:] + 113
9   com.apple.Foundation              0x93158dfd -[NSThread main] + 45
10  com.apple.Foundation              0x931589a4 __NSThread__main__ + 308
11  libSystem.B.dylib                 0x94397155 _pthread_start + 321
12  libSystem.B.dylib                 0x94397012 thread_start + 34

Thread 4:
0   libSystem.B.dylib                 0x94366266 mach_msg_trap + 10
1   libSystem.B.dylib                 0x9436da5c mach_msg + 72
2   libSystem.B.dylib                 0x943f6005 thread_suspend + 97
3   ???                               0x0077e7ff 0 + 7858175

Thread 5:
0   libSystem.B.dylib                 0x94366266 mach_msg_trap + 10
1   libSystem.B.dylib                 0x9436da5c mach_msg + 72
2   com.apple.CoreFoundation          0x973bfe7e CFRunLoopRunSpecific + 1790
3   com.apple.CoreFoundation          0x973c0aa8 CFRunLoopRunInMode + 88
4   com.apple.Foundation              0x931bc520 +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:] + 320
5   com.apple.Foundation              0x93158dfd -[NSThread main] + 45
6   com.apple.Foundation              0x931589a4 __NSThread__main__ + 308
7   libSystem.B.dylib                 0x94397155 _pthread_start + 321
8   libSystem.B.dylib                 0x94397012 thread_start + 34

Thread 6:
0   libSystem.B.dylib                 0x94366266 mach_msg_trap + 10
1   libSystem.B.dylib                 0x9436da5c mach_msg + 72
2   com.apple.CoreFoundation          0x973bfe7e CFRunLoopRunSpecific + 1790
3   com.apple.CoreFoundation          0x973c0aa8 CFRunLoopRunInMode + 88
4   com.apple.CFNetwork               0x937aa18c CFURLCacheWorkerThread(void*) + 388
5   libSystem.B.dylib                 0x94397155 _pthread_start + 321
6   libSystem.B.dylib                 0x94397012 thread_start + 34

Thread 7:
0   libSystem.B.dylib                 0x943b56fa select$DARWIN_EXTSN + 10
1   libSystem.B.dylib                 0x94397155 _pthread_start + 321
2   libSystem.B.dylib                 0x94397012 thread_start + 34

Thread 8:
0   libSystem.B.dylib                 0x94366266 mach_msg_trap + 10
1   libSystem.B.dylib                 0x9436da5c mach_msg + 72
2   com.apple.CoreFoundation          0x973bfe7e CFRunLoopRunSpecific + 1790
3   com.apple.CoreFoundation          0x973c0b04 CFRunLoopRun + 84
4   com.apple.DesktopServices         0x946bbd0f TSystemNotificationTask::SystemNotificationTaskProc(void*) + 123
5   ...ple.CoreServices.CarbonCore    0x9393ffbb PrivateMPEntryPoint + 56
6   libSystem.B.dylib                 0x94397155 _pthread_start + 321
7   libSystem.B.dylib                 0x94397012 thread_start + 34

Thread 9:
0   libSystem.B.dylib                 0x94366266 mach_msg_trap + 10
1   libSystem.B.dylib                 0x9436da5c mach_msg + 72
2   com.apple.CoreFoundation          0x973bfe7e CFRunLoopRunSpecific + 1790
3   com.apple.CoreFoundation          0x973c0b04 CFRunLoopRun + 84
4   com.apple.DesktopServices         0x946bbe88 TFSEventsNotificationTask::FSEventsNotificationTaskProc(void*) + 216
5   ...ple.CoreServices.CarbonCore    0x9393ffbb PrivateMPEntryPoint + 56
6   libSystem.B.dylib                 0x94397155 _pthread_start + 321
7   libSystem.B.dylib                 0x94397012 thread_start + 34

Thread 10:
0   libSystem.B.dylib                 0x9436d44e __semwait_signal + 10
1   libSystem.B.dylib                 0x94397dcd pthread_cond_wait$UNIX2003 + 73
2   ...ple.CoreServices.CarbonCore    0x93941de3 TSWaitOnCondition + 126
3   ...ple.CoreServices.CarbonCore    0x93920c36 TSWaitOnConditionTimedRelative + 202
4   ...ple.CoreServices.CarbonCore    0x93941a60 MPWaitOnQueue + 208
5   com.apple.DesktopServices         0x946c6e6a TNodeSyncTask::SyncTaskProc(void*) + 84
6   ...ple.CoreServices.CarbonCore    0x9393ffbb PrivateMPEntryPoint + 56
7   libSystem.B.dylib                 0x94397155 _pthread_start + 321
8   libSystem.B.dylib                 0x94397012 thread_start + 34

Thread 11:
0   libSystem.B.dylib                 0x943969c6 kevent + 10
1   libSystem.B.dylib                 0x94397155 _pthread_start + 321
2   libSystem.B.dylib                 0x94397012 thread_start + 34

Thread 12:
0   libSystem.B.dylib                 0x943662c6 semaphore_timedwait_signal_trap + 10
1   libSystem.B.dylib                 0x943982af _pthread_cond_wait + 1244
2   libSystem.B.dylib                 0x94399b33 pthread_cond_timedwait_relative_np + 47
3   ...ple.CoreServices.CarbonCore    0x93920c62 TSWaitOnConditionTimedRelative + 246
4   ...ple.CoreServices.CarbonCore    0x93941a60 MPWaitOnQueue + 208
5   com.apple.DesktopServices         0x946c8db4 TFolderSizeTask::FolderSizeTaskProc(void*) + 104
6   ...ple.CoreServices.CarbonCore    0x9393ffbb PrivateMPEntryPoint + 56
7   libSystem.B.dylib                 0x94397155 _pthread_start + 321
8   libSystem.B.dylib                 0x94397012 thread_start + 34

Thread 13:
0   libSystem.B.dylib                 0x943662c6 semaphore_timedwait_signal_trap + 10
1   libSystem.B.dylib                 0x943982af _pthread_cond_wait + 1244
2   libSystem.B.dylib                 0x94399b33 pthread_cond_timedwait_relative_np + 47
3   com.apple.Foundation              0x9319edbc -[NSCondition waitUntilDate:] + 236
4   com.apple.Foundation              0x9319ebd0 -[NSConditionLock lockWhenCondition:beforeDate:] + 144
5   com.apple.Foundation              0x9319eb35 -[NSConditionLock lockWhenCondition:] + 69
6   com.apple.AppKit                  0x958c46e8 -[NSUIHeartBeat _heartBeatThread:] + 753
7   com.apple.Foundation              0x93158dfd -[NSThread main] + 45
8   com.apple.Foundation              0x931589a4 __NSThread__main__ + 308
9   libSystem.B.dylib                 0x94397155 _pthread_start + 321
10  libSystem.B.dylib                 0x94397012 thread_start + 34

Thread 14:
0   libstdc++.6.dylib                 0x957fe372 std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::append(std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) + 16
1   ...rcompany.yourcocoaframework    0x00589ed9 TagLib::String::operator+=(TagLib::String const&) + 45
2   ...rcompany.yourcocoaframework    0x0058c5bb TagLib::StringList::toString(TagLib::String const&) const + 63
3   ...rcompany.yourcocoaframework    0x0057dfd4 TagLib::ID3v2::Tag::genre() const + 770
4   ...rcompany.yourcocoaframework    0x0059559b TagLib::MPEGTag::genre() const + 227
5   ...rcompany.yourcocoaframework    0x0058d3fb taglib_tag_genre + 39
6   ...yourcompany.yourcocoabundle    0x00567ac9 +[TagLibMetadataReader metadataForURL:] + 181
7   org.cogx.cog                      0x00005679 -[PlaylistEntry readMetadataThread] + 39
8   org.cogx.cog                      0x000183cc -[PlaylistLoader readEntriesInfoThread:] + 113
9   com.apple.Foundation              0x93158dfd -[NSThread main] + 45
10  com.apple.Foundation              0x931589a4 __NSThread__main__ + 308
11  libSystem.B.dylib                 0x94397155 _pthread_start + 321
12  libSystem.B.dylib                 0x94397012 thread_start + 34

Thread 3 crashed with X86 Thread State (32-bit):
  eax: 0xc75e494f  ebx: 0x0057dce3  ecx: 0x00000003  edx: 0x0012f694
  edi: 0x183bdaa4  esi: 0xb01bfc54  ebp: 0xb01bfb08  esp: 0xb01bfae0
   ss: 0x0000001f  efl: 0x00010282  eip: 0x957fe372   cs: 0x00000017
   ds: 0x0000001f   es: 0x0000001f   fs: 0x0000001f   gs: 0x00000037
  cr2: 0xc75e4943

Binary Images:
etc...


What can I do?
Does Cog have to reload all tags when opening a playlist?

Thank you all
:-D
Max_

Re: Playlist opening crash

Try using the 0.08, despite called a beta, it is more stable than 0.07
Tags - unfortunately yes, they're reloaded each time at the moment