Application crash when opening a file on a case-sensitive file system
// Please enter a detailed description of the issue // Description of the issue:
Application crash when opening a file on a case-sensitive file system
// Please enter a list of steps required to reproduce the issue // Steps to reproduce:
- Create a Markdown file on a case-sensitive FS
- Open Marked 2
- Open the file
- Application terminates immediately
// If applicable please attach a sample document that causes the issue for you.
// Configuration (do not edit) Marked 2 970 (Mac App Store)
macOS Version: 10.14.3
additionalMathJaxConfig:
allowPageBreakInCode: YES
bookTxtIsLeanpub: NO
summaryMdIsGitBook: NO
codeIsPoetry: NO
codeCanWrap: YES
collapsibleHeadlines: YES
convertGithubCheckboxes: YES
convertYAMLToMMD: NO
defaultMathJaxConfig: TeX-AMS_SVG-full
defaultPreviewStyle: 3
defaultProcessor: MultiMarkdown
enableMiniMap: NO
excludeBlockQuotesFromCounts: NO
excludeFootnotesFromCounts: NO
excludeVerbatimFromCounts: NO
excludeCaptionsFromCounts: NO
folderPreviewExtensionsArray: md, markdown, txt, mdown, html, opml
githubNewlines: NO
h1IsPageBreak: NO
h2IsPageBreak: NO
hrIsPageBreak: NO
includeMathJax: YES
limitTextWidth: NO
minimalJavaScript: NO
outlineModeExtensions:
permissionGranted: NO
printHeaderBottomLeft:
printHeaderBottomRight:
printHeaderFirstPage: NO
printFooterFirstPage: NO
printHeaderTopLeft:
printHeaderTopRight:
processHTMLFiles: YES
removeMetadataForPreview: NO
removeYAMLHeaders: NO
scrollToEdit: YES
shouldDetectCritic: YES
shouldHighlightMarkupErrors: NO
shouldLoadCritic: NO
syntaxHighlight: YES
syntaxHighlightOnlyLang: NO
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Brett on 25 Mar, 2019 01:57 PM
I formatted an SD card as case sensitive and tested a few files off of
it with no crashes. Are you certain that the same files would open on a
case insensitive FS? I'm just wondering if it could actually be caused
by something other than that variable. Can you find a crash report in
Console.app?
-Brett
2 Posted by Xavier Guérin on 25 Mar, 2019 02:21 PM
The only error-ish message I see in the console is this:
default 10:18:13.350361 -0400 Marked 2 Failed to resolve bookmark 7f878682f800 with error: Error Domain=NSCocoaErrorDomain Code=4 "The file doesn’t exist."
default 10:18:13.349372 -0400 Marked 2 Failed to resolve bookmark 0 with error: Error Domain=NSOSStatusErrorDomain Code=-50
default 10:18:13.352229 -0400 Marked 2 Failed to resolve bookmark 7f878686ba00 with error: Error Domain=NSCocoaErrorDomain Code=4 "The file doesn’t exist."
default 10:18:13.353426 -0400 Marked 2 Failed to resolve bookmark 7f878686b400 with error: Error Domain=NSCocoaErrorDomain Code=4 "The file doesn’t exist."
default 10:18:13.356311 -0400 Marked 2 Failed to resolve bookmark 7f878705b000 with error: Error Domain=NSCocoaErrorDomain Code=4 "The file doesn’t exist."
default 10:18:13.356368 -0400 Marked 2 Failed to resolve bookmark 7f8786871600 with error: Error Domain=NSCocoaErrorDomain Code=4 "The file doesn’t exist."
default 10:18:13.356767 -0400 Marked 2 Failed to resolve bookmark 0 with error: Error Domain=NSOSStatusErrorDomain Code=-50
default 10:18:13.358064 -0400 Marked 2 Failed to resolve bookmark 7f8786829200 with error: Error Domain=NSCocoaErrorDomain Code=4 "The file doesn’t exist."
default 10:18:13.358287 -0400 Marked 2 Failed to resolve bookmark 7f8786832e00 with error: Error Domain=NSCocoaErrorDomain Code=4 "The file doesn’t exist."
default 10:18:13.361159 -0400 Marked 2 Faulting in NSHTTPCookieStorage singleton
Yes, the same file opens on a case-insensitive FS. Here is the setup:
3 Posted by Xavier Guérin on 25 Mar, 2019 02:27 PM
That was a red herring. I erase all state pertaining to Marked and reinstalled it, and all works now. Thanks !
Support Staff 4 Posted by Brett on 25 Mar, 2019 02:47 PM
Interesting. Glad it's working now!
-Brett