Huge memory leak in MMD Composer 2.1b2

info's Avatar

info

05 Apr, 2013 03:45 PM

I had to quit MMD Composer 2 since it completely drained my free space by letting OS X create a huge number of 1 GB files in /private/var/vm because of a huge memory leak.

Please let me me know if you need more details.

Regards,
Paolo Avezzano

  1. Support Staff 1 Posted by Fletcher on 05 Apr, 2013 05:53 PM

    Fletcher's Avatar

    MultiMarkdown (not technically Composer) has some memory leaks that I (and others) are trying to fix. These don't really cause any issues when MMD is run from the command line, but do add up when Composer is left running for long periods of time.

    More information here:

    http://support.multimarkdown.com/kb/troubleshooting/why-does-compos...

    Thanks for writing, and we are working on a fix.

  2. Fletcher closed this discussion on 05 Apr, 2013 05:53 PM.

  3. info re-opened this discussion on 26 Nov, 2013 10:27 AM

  4. 2 Posted by info on 26 Nov, 2013 10:27 AM

    info's Avatar

    I downloaded the 2.6 build having the 2.5.3 MAS one still in /Applications.
    Your latest one just refuses to start.

    Here’s the console messages.

    26/11/13 11:18:43,237 MultiMarkdown Composer[4172]: open on /Users/paolo/Library/Application Support/MultiMarkdown Composer/receipt: File exists
    26/11/13 11:18:43,254 com.apple.launchd.peruser.501[356]: (com.multimarkdown.composer.mac.320000[4172]) Exited with code: 173
    26/11/13 11:18:43,442 storeagent[532]: Unsigned app (/Users/paolo/Downloads/DMG Downloads/MultiMarkdown Composer.app).

    Please let me me know if you need more details.
     
    Regards,
    Paolo Avezzano

  5. 3 Posted by info on 27 Nov, 2013 02:45 PM

    info's Avatar

    Update 2013-11-27: even with latest build 44 I can’t start MMD Composer. Same log:

    27/11/13 15:41:46,343 MultiMarkdown Composer[1397]: open on /Users/paolo/Library/Application Support/MultiMarkdown Composer/receipt: File exists
    27/11/13 15:41:46,375 com.apple.launchd.peruser.501[370]: ([0x0-0x75075].com.multimarkdown.composer.mac[1397]) Exited with code: 173
    27/11/13 15:41:46,738 storeagent[574]: Unsigned app (/Users/paolo/Downloads/MultiMarkdown Composer/MultiMarkdown Composer.app).

    Regards,
    Paolo Avezzano

    ---

    I downloaded the 2.6 build having the 2.5.3 MAS one still in /Applications.
    Your latest one just refuses to start.

    Here’s the console messages.

    26/11/13 11:18:43,237 MultiMarkdown Composer[4172]: open on /Users/paolo/Library/Application Support/MultiMarkdown Composer/receipt: File exists
    26/11/13 11:18:43,254 com.apple.launchd.peruser.501[356]: (com.multimarkdown.composer.mac.320000[4172]) Exited with code: 173
    26/11/13 11:18:43,442 storeagent[532]: Unsigned app (/Users/paolo/Downloads/DMG Downloads/MultiMarkdown Composer.app).

    Please let me me know if you need more details.

    Regards,
    Paolo Avezzano

  6. Support Staff 4 Posted by Fletcher on 27 Nov, 2013 06:01 PM

    Fletcher's Avatar

    The error you're showing is an invalid App Store receipt. Delete that file from your library. Then try running 2.6 again.

    F

    Sent from my iPhone

  7. 5 Posted by info on 27 Nov, 2013 06:30 PM

    info's Avatar

    Deleted it and tried to re-run Composer.
    I now get just the second an third line in the log:

    27/11/13 19:29:42,395 com.apple.launchd.peruser.501[361]: (com.multimarkdown.composer.mac.322816[3062]) Exited with code: 173
    27/11/13 19:29:42,519 storeagent[533]: Unsigned app (/Users/paolo/Downloads/MultiMarkdown Composer/MultiMarkdown Composer.app).

    Note that the MAS version starts just fine.

    Regards,
    Paolo Avezzano

    On 27/nov/2013, at 19:01, Fletcher <[email blocked]> wrote:

  8. Support Staff 6 Posted by Fletcher on 28 Nov, 2013 01:59 AM

    Fletcher's Avatar

    The MAS version has an embedded receipt, so it doesn't look anywhere else.

    The non-sandboxed version isn't signed by the App Store, so it has to use a copy of the receipt from the MAS version.

    This error indicates that the non-sandboxed version can't find a valid receipt for your machine. If you run the MAS version and the non-sandboxed version as the same user, it should be able to find the receipt.

    Did you migrate to a new machine and copy your preferences (including a receipt for a different machine)?

  9. 7 Posted by info on 28 Nov, 2013 05:25 AM

    info's Avatar

    I didn't: same machine and same user since 2010.
    What else can we try?

    Regards,

    Paolo Avezzano

  10. 8 Posted by info on 30 Nov, 2013 07:59 AM

    info's Avatar

    Tried 2.6.1. Still no luck:

    30/11/13 08:57:51,722 MultiMarkdown Composer[5236]: open on /Users/paolo/Library/Application Support/MultiMarkdown Composer/receipt: File exists
    30/11/13 08:57:51,760 com.apple.launchd.peruser.501[395]: ([0x0-0x6a06a].com.multimarkdown.composer.mac[5236]) Exited with code: 173
    30/11/13 08:57:52,004 storeagent[579]: Unsigned app (/Applications/MultiMarkdown Composer.app).

    Regards,
    Paolo Avezzano

    On 28/nov/2013, at 03:00, Fletcher <[email blocked]> wrote:

  11. Support Staff 9 Posted by Fletcher on 03 Dec, 2013 02:33 AM

    Fletcher's Avatar

    I'm not sure what else to tell you. To my knowledge, the only way to get the 173 error is when the receipt doesn't validate. You can look in the ~/Library/Application Support/MultiMarkdown Composer and delete the receipt file. You can check in the ~/Library/Containers to find other copies of the receipt. Then follow the instructions here:

    http://support.multimarkdown.com/kb/general/how-to-run-a-non-sandbo...

    It's certainly possible that there is a problem in Composer that no one else has discovered yet, but all other instances of this sort of problem thus far have turned out to be "user error." Unfortunately, there's not really a way for me test anything on your machine.

    You can always stick with just using the MAS version -- it lags behind a bit, but all updates get sent there after release to the public, unless I immediately get feedback of a bug. I then try to fix the bug before that release gets through the App Store approval process.

    Fletcher

    PS> I suppose one other thing to try is Disk Utility and repair permissions?

  12. 10 Posted by info on 03 Dec, 2013 07:43 AM

    info's Avatar

    I tried basically everything, so it seems I'm stuck with the MAS version. That's a pity since I used to load the non-MAS one with no issues since the very first 2.x releases.
    When are you going to submit the 2.6.x build to the MAS?

    Regards,

    Paolo Avezzano

  13. Support Staff 11 Posted by Fletcher on 03 Dec, 2013 08:56 PM

    Fletcher's Avatar

    It's been submitted already.

    Nothing has changed in the code to allow non-MAS releases to validate the receipt. It's the same as it has been since probably February or March, except for adding new acceptable version numbers. So I don't have an explanation for why it no longer works if nothing else changed on your machine.

    FTP

  14. Fletcher closed this discussion on 12 Dec, 2013 06:40 PM.

  15. info re-opened this discussion on 30 Dec, 2013 11:05 AM

  16. 12 Posted by info on 30 Dec, 2013 11:05 AM

    info's Avatar

    Hi Fletcher,

       I just found that if a text has “!-“ (exclamation mark and dash) I can’t export to an ePub.
    Same error regarding CriticMarkup as the one mentioned here:

    http://support.fletcherpenney.net/discussions/problems/72-image-caption-and-ampersands

    Regards,
    Paolo Avezzano

  17. Support Staff 13 Posted by Fletcher on 30 Dec, 2013 07:42 PM

    Fletcher's Avatar

    Can you be more specific? I can create a PDF containing “!-“ just fine.

    F-

    --
    Fletcher T. Penney
    Manager, Founder
    MultiMarkdown Software, LLC
    [email blocked]

  18. 14 Posted by info on 30 Dec, 2013 07:51 PM

    info's Avatar

    Have you tried an ePub rather than a PDF?
    I'll try to send you an except, small enough to trigger the issue.

    Regards,

    Paolo Avezzano

  19. Support Staff 15 Posted by Fletcher on 30 Dec, 2013 09:16 PM

    Fletcher's Avatar

    As per other email — “!-“ is fine. It’s the “gremlin” character that causes the problem. Those often happen when copying/pasting from programs like Microsoft Word.

    F-

    --
    Fletcher T. Penney
    Manager, Founder
    MultiMarkdown Software, LLC
    [email blocked]

Comments are currently closed for this discussion. You can start a new one.

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