Debugging TiddlyWiki crashes

123 views
Skip to first unread message

Lisa Rowell

unread,
Jan 29, 2021, 12:18:32 AM1/29/21
to TiddlyWiki
I've been getting regular crashes of TiddlyDesktop 0.14 under MacOS 11.1 and I'm wondering what information I can gather up to better report the issue. I don't get any kind of popup, the app just suddenly disappears. It doesn't appear to be tied to any particular action, having crashed during edits, or just scrolling around reading.

I've found the following in /var/log/system.log, but I'm not sure where else to look.Jan 28 19:05:08 Lisas-MBP com.apple.xpc.launchd[1] (application.com.tiddlywiki.8617894281.8617894284[46836]): Service exited due to SIGSEGV | sent by exc handler[46836]

Jan 28 19:05:11 Lisas-MBP com.apple.xpc.launchd[1]: Coalition Cache Hit: app<application.com.tiddlywiki.8617894281.8617894284(503)> [37822]

Jan 28 19:05:11 Lisas-MBP com.apple.xpc.launchd[1] (application.com.tiddlywiki.8617894281.8617894284[47535]): Service exited due to SIGSEGV | sent by exc handler[47535]

Jan 28 19:05:27 Lisas-MBP com.apple.xpc.launchd[1]: Coalition Cache Hit: app<application.com.tiddlywiki.8617894281.8617894284(503)> [37822]

Often after a crash I'll go to restart and that will fail, I suspect the later lines are that happening.

My wiki is based off of TW 5.1.22 and has 5,700 riddles. I keep documents and images in external files, so my wiki is not large at 8 MB with 11 GB of files.

Any push in the right direction would be appreciated. Thanks.

Lisa.

Jeremy Ruston

unread,
Jan 29, 2021, 7:09:24 AM1/29/21
to TiddlyWiki Group
Hi Lisa

I've been getting regular crashes of TiddlyDesktop 0.14 under MacOS 11.1 and I'm wondering what information I can gather up to better report the issue. I don't get any kind of popup, the app just suddenly disappears. It doesn't appear to be tied to any particular action, having crashed during edits, or just scrolling around reading.

Exactly the same thing happened to me while editing a tiddler this week, also with v0.0.14 and macOS 11.1. Unnerving stuff as I’ve never previously seen a crash like that.

I've found the following in /var/log/system.log, but I'm not sure where else to look.Jan 28 19:05:08 Lisas-MBP com.apple.xpc.launchd[1] (application.com.tiddlywiki.8617894281.8617894284[46836]): Service exited due to SIGSEGV | sent by exc handler[46836]

“SIGSEGV” is a fairly generic error that can’t normally be generated by JavaScript code, it must be some component of nwjs that is failing.

I intend to update TiddlyDesktop to the latest version of nwjs soon which may ameliorate things. In these cases it would be useful to be able to periodically force an autosave while editing a draft, which I’ll have a look at too.

Best wishes

Jeremy.

Jan 28 19:05:11 Lisas-MBP com.apple.xpc.launchd[1]: Coalition Cache Hit: app<application.com.tiddlywiki.8617894281.8617894284(503)> [37822]

Jan 28 19:05:11 Lisas-MBP com.apple.xpc.launchd[1] (application.com.tiddlywiki.8617894281.8617894284[47535]): Service exited due to SIGSEGV | sent by exc handler[47535]

Jan 28 19:05:27 Lisas-MBP com.apple.xpc.launchd[1]: Coalition Cache Hit: app<application.com.tiddlywiki.8617894281.8617894284(503)> [37822]

Often after a crash I'll go to restart and that will fail, I suspect the later lines are that happening.

My wiki is based off of TW 5.1.22 and has 5,700 riddles. I keep documents and images in external files, so my wiki is not large at 8 MB with 11 GB of files.

Any push in the right direction would be appreciated. Thanks.

Lisa.

--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/d88229e9-2c85-444b-9cde-4f6b3d5fc1c5n%40googlegroups.com.

Mark S.

unread,
Jan 29, 2021, 9:44:25 AM1/29/21
to TiddlyWiki
For what it's worth, which isn't much I know, I've been using TD 14 on Windows and Linux for the last 2 weeks or so. It's been very stable. This suggests that the problem may be with some particular Mac component of node, rather than the actual node version.

Jeremy Ruston

unread,
Jan 29, 2021, 9:53:17 AM1/29/21
to TiddlyWiki Group
Hi Mark

Thank you that’s helpful. It’s only happened to me since upgrading to the latest macOS 11.1 update, which seems to be causing similar problems for other apps, which certainly drives my suspicions,

Best wishes

Jeremy

Lisa Rowell

unread,
Jan 30, 2021, 1:54:05 PM1/30/21
to TiddlyWiki

Unfortunately I think I made the upgrade to 11.1 right about the time I upgraded TD, so I'm not sure where the instability worked its way in. Previous to that, TD was incredibly solid.

Jeremy Ruston

unread,
Feb 19, 2021, 1:55:16 PM2/19/21
to TiddlyWiki Group
Hi Lisa,

As a first step towards addressing this I've made a first prerelease of v0.0.15 of TiddlyDesktop which just includes an update to the newest version of nwjs (v0.51.1), and no other functional changes:


I'd be grateful if you're able to test it.

Best wishes

Jeremy


Reply all
Reply to author
Forward
0 new messages