Crash when adding srt file

Issue #339 resolved
courju created an issue

Sublet 1.2 - 1.3 and 1.3.1 encounter the issue. It was working with 1.2 on Sierra but not anymore with High Sierra.

Open Subler with a mp4 file. Try to add a srt file with drag&drop: nothing happens. Use the '+' button on the top left corner, choose a srt file and do 'open', the attached screenshot will appears with the following stack:

0 CoreFoundation 0x00007fff8275528b __exceptionPreprocess + 171 1 libobjc.A.dylib 0x00007fffa8b01d06 objc_exception_throw + 48 2 CoreFoundation 0x00007fff827effad +[NSException raise:format:] + 205 3 Foundation 0x00007fff8477aa23 -[NSCountedSet addObject:] + 81 4 Foundation 0x00007fff848061fb -[NSString enumerateSubstringsInRange:options:usingBlock:] + 1887 5 Foundation 0x00007fff8492ea1b -[NSString enumerateLinesUsingBlock:] + 113 6 MP42Foundation 0x0000000102956fbd -[MP42SrtImporter initWithURL:error:] + 546 7 MP42Foundation 0x000000010294ee43 -[MP42FileImporter initWithURL:error:] + 365 8 Subler 0x00000001028b3615 Subler + 67093 9 Subler 0x00000001028c4955 Subler + 137557 10 Subler 0x00000001028c47aa Subler + 137130 11 AppKit 0x00007fff8042409a -[NSSavePanel _didEndSheet:returnCode:contextInfo:] + 96 12 AppKit 0x00007fff805ef448 NSWindowEndWindowModalSession + 341 13 AppKit 0x00007fff7ff749d5 -[NSWindow _endWindowBlockingModalSession:returnCode:] + 77 14 AppKit 0x00007fff80426798 -[NSSavePanel ok:] + 382 15 AppKit 0x00007fff804b1002 -[NSApplication(NSResponder) sendAction:to:from:] + 312 16 AppKit 0x00007fff7ff65eef -[NSControl sendAction:to:] + 86 17 AppKit 0x00007fff7ff65e17 __26-[NSCell _sendActionFrom:]_block_invoke + 136 18 AppKit 0x00007fff7ff65d1d -[NSCell _sendActionFrom:] + 183 19 AppKit 0x00007fff7ffa71a7 -[NSButtonCell _sendActionFrom:] + 97 20 AppKit 0x00007fff7ff64583 -[NSCell trackMouse:inRect:ofView:untilMouseUp:] + 2438 21 AppKit 0x00007fff7ffa6ef2 -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] + 777 22 AppKit 0x00007fff7ff6301f -[NSControl mouseDown:] + 965 23 AppKit 0x00007fff8064c8e9 -[NSWindow(NSEventRouting) _handleMouseDownEvent:isDelayedEvent:] + 5891 24 AppKit 0x00007fff80649540 -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] + 2359 25 AppKit 0x00007fff806487ec -[NSWindow(NSEventRouting) sendEvent:] + 497 26 AppKit 0x00007fff804acebb -[NSApplication(NSEvent) sendEvent:] + 307 27 AppKit 0x00007fff7fd1d9cd -[NSApplication run] + 812 28 AppKit 0x00007fff7fcecd7d NSApplicationMain + 854 29 libdyld.dylib 0x00007fffa969a515 start + 1

Comments (3)

  1. Log in to comment