Application crash when opening a file on a case-sensitive file system

Xavier Guérin's Avatar

Xavier Guérin

25 Mar, 2019 11:38 AM

// 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:

  1. Create a Markdown file on a case-sensitive FS
  2. Open Marked 2
  3. Open the file
  4. 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

  1. Support Staff 1 Posted by Brett on 25 Mar, 2019 01:57 PM

    Brett's Avatar

    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. 2 Posted by Xavier Guérin on 25 Mar, 2019 02:21 PM

    Xavier Guérin's Avatar

    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:

    • Case insensitive: MacHD, APFS
    • Case sensitive: /Volumes/Workspace, APFS
  3. 3 Posted by Xavier Guérin on 25 Mar, 2019 02:27 PM

    Xavier Guérin's Avatar

    That was a red herring. I erase all state pertaining to Marked and reinstalled it, and all works now. Thanks !

  4. Support Staff 4 Posted by Brett on 25 Mar, 2019 02:47 PM

    Brett's Avatar

    Interesting. Glad it's working now!

    -Brett

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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