# Marked 2 crashes very often

#### Andrea Onofri

10 Jan, 2016 12:54 PM

// Please enter a detailed description of the issue
// Description of the issue:

When saving the external file, Marked 2 crashes every 2-3 times

// Please enter a list of steps required to reproduce the issue
// Steps to reproduce:

1. Save the external file with a text editor
2. Marked 2 crashes once every 2-3 saves
3.

// If applicable please attach a sample document that causes the issue for you.

// Configuration (do not edit)
Marked 2 910 (Direct)
OS X Version: 10.11.2
---
allowPageBreakInCode: 1
bookTxtIsLeanpub: 0
codeIsPoetry: 0
convertGithubCheckboxes: 1
convertYAMLToMMD: 0
defaultMathJaxConfig: TeX-AMS-MML_HTMLorMML-full
defaultPreviewStyle: swiss
defaultProcessor: MultiMarkdown
enableMiniMap: 0
excludeBlockQuotesFromCounts: 0
excludeFootnotesFromCounts: 0
excludeVerbatimFromCounts: 0
excludeCaptionsFromCounts: 0
folderPreviewExtensionsArray: md, markdown, txt, mdown, html, opml, rmd
githubNewlines: 0
h1IsPageBreak: 0
h2IsPageBreak: 0
hrIsPageBreak: 0
includeMathJax: 1
limitTextWidth: 0
minimalJavaScript: 0
outlineModeExtensions:
permissionGranted: 0
processHTMLFiles: 1
scrollToEdit: 1
shouldDetectCritic: 1
shouldHighlightMarkupErrors: 1
syntaxHighlight: 0

1. Support Staff Posted by Brett on 10 Jan, 2016 08:04 PM

I apologize for the crashes. There's a bug in build 910 causing this for
some users that I'm working to correct right now. In the meantime, you

http://abyss.designheresy.com/marked/Marked2.5.2909.zip

I would be curious to know if you could check one thing before

Does going into Preferences->Advanced and unchecking "Analyze
readability statistics" in the bottom section change the issue at all
for you?

Thanks,
Brett

2. Posted by Andrea Onofri on 11 Jan, 2016 04:41 PM

Dear Brett,

thank you so much for your answer. I tried it, but, no... unfortunately there is no change by unchecking the item you mentioned: Marked 2 keeps crashing. Al the best

Andrea

PS. I wanted to make clear that, apart from this (temporary) problem, Marked 2 is a wonderful app, IMO!

3. Support Staff Posted by Brett on 11 Jan, 2016 04:48 PM

Thanks for checking. Does the version I linked temporarily solve the issue for you?

Thanks,

Brett

4. Posted by Andrea Onofri on 12 Jan, 2016 08:44 PM

Hi Brett,
and thanks again for this. Yesterday I worked perhaps half an hour with the linked version and I had no crashes. Unfortunately, today I had to do a lot of work with Word (I hate this! But all my colleagues stick to such an awful piece of software!!!) and I had no time for my Markdown projects. I’ll try again tomorrow (hopefully) and will let you know.
Thanks again
Andrea

5. Posted by Andrea Onofri on 01 Feb, 2016 02:10 PM

Dear Brett,

this is just to confirm that, after working quite intensively with Marked 2 ver. 909 I had no problems or crashes of any sort. I promised to check this out and I am sorry for this late response… Hope this is useful, anyhow. All the best

Andrea

6. Posted by Steve on 05 Feb, 2016 12:01 PM

Hi
I just upgraded when I opened Marked 2 for the first time in a while. It would crash alot, I tried deleting, reinstalling and rebooting etc. Then I came here and tried the above in preferences and it still crashed.

I've downgraded using the file above and seems fine.
MBP 13-inch, Mid 2012
Software OS X 10.9.5 (13F1603)

7. Support Staff Posted by Brett on 05 Feb, 2016 04:30 PM

I have a debug build available if everyone on this thread would be willing to test:

You can run this from anywhere, no need to overwrite your current working version. If you get a crash, please locate the crash report in Utilities/Console.app and attach it to a reply.

I believe this may fix the crashing issue, but as I've been unable to replicate it locally on any OS version, it's impossible for me to be certain. Please let me know either way.

8. Posted by us on 05 Feb, 2016 04:43 PM

Hi Brett,

I just ran it and it crashed on opening 3rd MD file, which is what
happened earlier (well it crashed on 1st or second or sometime 4th).
Here's is what I did:
I deleted the app from Applications dir then emptied trash
Moved the debug version to Applications dir.
Opened a few MD files (docs from here on local HDD
https://github.com/geerlingguy/drupal-vm/tree/master/docs)

I'll attach all the crash logs but the one from this latest build is
the newest two in the archive.

Hope this is helpful and you track down the bug. I'm going to be here
for an hour or so if you want me to try some things.

Regards
Steve

9. Support Staff Posted by Brett on 05 Feb, 2016 04:57 PM

Ok, your crash reports show that it's happening during a simple call to add commas to the word count. I've adjusted a few things to try and narrow this down, so here's a new build.

10. Posted by us on 05 Feb, 2016 06:15 PM

HI Brett,

Here's some more logs. Again it crashed on the 3rd opening, then
wouldn't restart, then worked with about ten files before I closed
them and shut it down, then it crashed on the 3rd file.

I suppose I ought to try and open exact same files in same order for
consistency next time.

Steve

11. Support Staff Posted by Brett on 05 Feb, 2016 07:38 PM

Ok, it's the same crash still. Just to verify that the bug report is telling me what I think it is, here's one more build with that function completely removed.

Debug build

-Brett

12. Posted by us on 05 Feb, 2016 10:08 PM

Hi Brett,

That crashed on 4th file, how ever the link to build showed the same
number as the previous build.
Marked2debug2.5.3912.zip

Was that correct?

13. Support Staff Posted by Brett on 05 Feb, 2016 11:28 PM

Yes, I didn't bump the build number on that one. I'll check the crash reports when I'm back to my machine. Thanks much for the continued help.

Thanks,

Brett

14. Support Staff Posted by Brett on 06 Feb, 2016 03:25 PM

Ok, I'm realizing that both crashes have to do with locale specifiers. Can people reporting the crash let me know what region they're in (or what language the system is set to use)?

15. Support Staff Posted by Brett on 06 Feb, 2016 03:40 PM

I think I found it. Errant release of memory after changing the code to support en_GB settings. New build

-Brett

16. Posted by us on 06 Feb, 2016 06:18 PM

Hi Brett. Yes I would be using en_GB
based in UK so British English date formats etc

Will try the release out later when at Mac

Thanks
Steve

17. Posted by us on 08 Feb, 2016 10:12 AM

Hi Brett,

I've performed a simple test of opening every MD file in that download
from GitHub (about 22 files) and it hasn't crashed. Closed all files
shut down app and repeated again no problem.

Thanks
Steve

18. Support Staff Posted by Brett on 08 Feb, 2016 01:33 PM

That is insanely good news. Could I trouble you to run one more test
build with the number formatting restored?

If this is successful, I can get a new release out today and finally
submit a new version to the app store with confidence.

-Brett

19. Posted by us on 08 Feb, 2016 02:37 PM

Hi Brett,

Repeated same tests again and still fine.

Thanks
Steve

20. Support Staff Posted by Brett on 08 Feb, 2016 02:45 PM

Thanks, and thanks again for all the testing help!

-Brett

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

### »

• IntroduzioneDisegnoSperimentale.md 26.5 KB

#### 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 Blurs the current field

### Comment Form

r Focus the comment reply box Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

## Recent Discussions

 15 Jan, 2018 07:10 PM Tables not rendered in Scrivener 3 & M2 Version 2.5.11β (941) 12 Jan, 2018 07:35 PM Welcome to the beta 11 Jan, 2018 12:51 PM Automatically decrement header levels with multi-document linking? 07 Jan, 2018 08:01 PM Unable to use Marked with Bear 07 Jan, 2018 05:03 PM Scrivener 3 displays blank screen, sample file enclosed

## Recent Articles

 Highlight sentences longer than a certain number of words In-app purchase issues (Error Domain=Paddle Code=0 "(null)") License code has already been utilized How do I retrieve a lost license (direct version) Custom CSS: Writing custom CSS for Marked