Desktop pre-release v2.14 is now available (Updated 18/03/2024)

Download the latest pre-release from here: https://github.com/laurent22/joplin/releases


v2.14.6

  • New: Add support for OCR (#8975)
  • Improved: Add Simple Backup as a default plugin (#9360) (#7934 by Henry Heino)
  • Improved: Api: Search for partial matches by default, unless the query is surrounded by quotes (401d551)
  • Improved: Cancel showing unresponsive dialog when receiving "responsive" event (#9487) (#9480 by Henry Heino)
  • Improved: CodeMirror 6 markdown editor: Support highlighting more languages (#9563) (#9562 by Henry Heino)
  • Improved: Don't create an extra copy of default plugins (load directly from the app bundle) (#9508) (#7934 by Henry Heino)
  • Improved: Handle Dropbox payload_too_large error (f267d88)
  • Improved: Include more information when auto-generating import error report (17c25b7)
  • Improved: Make backspace delete auto-matching brackets (#9527) (#9526 by Henry Heino)
  • Improved: Mention in sync wizard that Dropbox and OneDrive are slow on first sync (#9261)
  • Improved: Optimise synchronisation by making delta call return whole items (5341501)
  • Improved: Plugins: Expose common CodeMirror 6 packages to plugins (#9474) (#9473 by Henry Heino)
  • Improved: Remove unnecessary warning when importing ENEX file (7e50b11)
  • Improved: Restore note links after importing an ENEX file (#9596)
  • Improved: Search for partial matches by default, unless the query is surrounded by quotes (#9343)
  • Improved: Add support for changing text colors in rich text editor (#9578) (#9468 by Henry Heino)
  • Improved: Fix table-of-contents links to headings with duplicate content (#9610) (#9594 by Henry Heino)
  • Improved: Render mermaid diagrams in dark mode when Joplin is in dark mode (#9631) (#3201 by Henry Heino)
  • Improved: Updated packages @playwright/test (v1.40.1), @rmp135/sql-ts (v1.18.1), electron-builder (v24.8.0), highlight.js (v11.9.0), mermaid (v10.6.1), nanoid (v3.3.7), react, react-select (v5.8.0), style-to-js (v1.1.9), tesseract.js (v5.0.3), ts-loader (v9.5.1)
  • Fixed: Fix Beta Editor diff highlighting (#9525) (#9524 by Henry Heino)
  • Fixed: Fix HTML resource links lost when editing notes in the rich text editor (#9435) (#9304 by Henry Heino)
  • Fixed: Fix code block borders in headers of Beta Markdown editor (#9523) (#9522 by Henry Heino)
  • Fixed: Fix code blocks with blank lines break tables in the rich text editor (#9587) (#9586 by Henry Heino)
  • Fixed: Fix importing certain ENEX notes that include invalid tables (00eee19)
  • Fixed: Fix list renumbering and enable multiple selections (#9506) (#9200 by Henry Heino)
  • Fixed: Fix maximum width setting not respected by beta editor (#9529) (#9528 by Henry Heino)
  • Fixed: Fixed copying and pasting an image from Chrome in RTE (2c9bf9f)
  • Fixed: Fixed importing invalid tables from ENEX files (a2ded18)
  • Fixed: Fixes issue with resources having no associated files when the RAW import process is interrupted (#9484)
  • Fixed: HTML notes are not readable in dark mode (#9511)
  • Fixed: Import ENEX archives that contain files with invalid names (#9548)
  • Fixed: Markdown-FrontMatter exporter generates invalid file when note starts with a dash in title (#9483)
  • Fixed: Ubuntu: Fix window sometimes doesn't appear on startup (#9561) (#9045 by Henry Heino)
  • Fixed: When importing Markdown+FrontMatter files that contain images with a data URL source, the import fails (#9485)
  • Fixed: When importing a Markdown file that contains a link to an invalid image, import fails (#9486)

v2.14.7

  • Improved: Updated packages sharp (v0.33.1)
  • Fixed: Fix ENEX import issue (20b1c2e)

v2.14.8

  • Improved: Allow importing a directory of ENEX files (#9693)
  • Improved: Frontmatter importer: Support Notesnook-style timestamps (#9684) (#9683 by Henry Heino)
  • Improved: Update Simple Backup to v1.3.5 to fix some notebooks exported twice while creating a backup (#9677 by Henry Heino)
  • Improved: Updated packages fs-extra (v11.2.0)

v2.14.9

  • Fixed: Fix AWS S3 sync error (#9696) (#8891 by Henry Heino)

v2.14.10

  • New: Add support for automatically uploading crash reports (de0ae76)
  • Improved: Display an error if a resource cannot be downloaded (cbf7e24)
  • Improved: Don't log OneDrive Authorization tokens (#9707) (#9706 by Henry Heino)
  • Improved: Updated packages react
  • Fixed: Beta editor: Fix o not working in Vim normal mode (#9700) (#9699 by Henry Heino)
  • Fixed: Fix warning logged when uninstalling multiple plugins (#9726) (#9725 by Henry Heino)
  • Fixed: Fixes existing attachments not being shared in some cases with Joplin Server (7ebc986)
  • Fixed: Shared notebook can get corrupted if contributor changes its title (#9709)

v2.14.11

  • New: Plugins: Add support for promo_tile manifest key (fd432f9)
  • Improved: Allow setting a minimum app version on the sync target (#9778)
  • Improved: Api: Increase protection of files downloaded via the REST API (#9676 by @pedr)
  • Improved: CodeMirror 6 plugin API: Support non-inline CSS assets (#9748) (#9747 by Henry Heino)
  • Improved: Moved crash report auto-upload option under pre-release option (a863f92)
  • Improved: Updated packages follow-redirects (v1.15.4)
  • Improved: Write a crash dump to disk when the app crashes (fe3ad3e)
  • Fixed: CodeMirror 6 plugin API: Allow importing @codemirror/lang-markdown and @lezer/highlight (#9753) (#9752 by Henry Heino)
  • Fixed: Extract default plugins to directories matching their IDs (#9782) (#9781 by Henry Heino)
  • Fixed: Fix search when note or OCR text contains null characters (#9774) (#9775 by Henry Heino)
  • Fixed: Linux: Fix bundled Simple Backup can't create 7zip archives (#9780) (#9779 by Henry Heino)

v2.14.12

  • Improved: Do not allow switching the sync target if not all resources are downloaded (#9263)
  • Improved: OCR: Use existing PDF text when available (#9764) (#9765 by Henry Heino)
  • Improved: Removed ability to search by note ID to fix issue with certain plugins (#9769)
  • Improved: Removed double Sentry initialization (8402c20)
  • Improved: Removed obsolete template-related banner (af59295)
  • Fixed: Allow dialogs to scroll on small screens (#9823) (#9822 by Henry Heino)
  • Fixed: Clear "Some items cannot be synchronised" banner after situation is resolved (#9157)
  • Fixed: Fix broken synchronisation link in welcome notes (#9804) (#9799 by Henry Heino)
  • Fixed: Fix drag-and-drop of images and text in the rich text editor (#9827) (#9826 by Henry Heino)
  • Fixed: Fix ghosting when dropping code block over another code block (#9816) (#9737 by @pedr)
  • Fixed: Fix horizontal touchpad scrolling of code blocks (#9815) (#9629 by Henry Heino)
  • Fixed: Fix image rotation not preserved when resizing an attached image (#9824) (#9597 by Henry Heino)
  • Fixed: Fix images with SVG data URLs corrupted in the rich text editor (#9801) (#8736 by Henry Heino)
  • Fixed: Fix mermaid save button creates additional space above diagrams (#9830) (#9829 by Henry Heino)
  • Fixed: Fix scrollbars shown unnecessarily when opening the tag dialog (#9818) (#9817 by Henry Heino)
  • Fixed: Fix synchronization happens every 10 seconds even if nothing has changed (#9814) (#9800 by Henry Heino)
  • Fixed: Fixed various scrolling issues when creating new notes or to-dos (#9433)
  • Fixed: Pasting rich text in the RTE sometimes result in invalid markup (#9512)
  • Fixed: Rich text editor: Fix newline behavior in new notes (#9809) (#9786 by Henry Heino)

v2.14.13

  • Improved: Disable built-in copy of Simple Backup by default in Joplin Portable (#9907 by Henry Heino)
  • Improved: Disable initial Sentry request when crash auto-upload is disabled (07aba91)
  • Improved: Improve search engine error handling when preparing text for search (#9871 by Henry Heino)
  • Improved: MacOS: Resolves #9488: Add "Window" menu to toolbar on MacOS (#9859) (#9488 by Henry Heino)
  • Improved: Make OCR results available to search immediately after completion (6f0fd42)
  • Improved: PDF search text: Remove NULL characters early to avoid possible sync issues (#9862 by Henry Heino)
  • Improved: Speed up pasting text and images in Rich Text Editor (b1877fc)
  • Improved: Updated packages async-mutex (v0.4.1), follow-redirects (v1.15.5), moment (v2.30.1), sass (v1.69.7), sharp (v0.33.2), sqlite3 (v5.1.7), style-loader (v3.3.4)
  • Fixed: Allow using editor commands in the command palette (#9861) (#9855 by Henry Heino)
  • Fixed: Copied and pasted text from Firefox to RTE does not include images (#9607)
  • Fixed: Correctly search HTML-entity encoded text (#9694)
  • Fixed: Don't rerender markdown notes when the note preview pane is hidden (#9901) (#9891 by Henry Heino)
  • Fixed: Fix markdown (frontmatter) notes that start with a UTF-8 BOM aren't imporetd correctly (#9875) (#9868 by Henry Heino)
  • Fixed: Fix mermaid save button partially hidden behind graph (#9888 by Henry Heino)
  • Fixed: Fix user-installed versions of built-in plugins can't access resources in some cases (#9849) (#9832 by Henry Heino)
  • Fixed: Suppress random error that happens during desktop shutdown (#9878) (#9763 by @pedr)

v2.14.14

Trying to fix the Apple silicon version. If you are not on this platform you can skip this update.

v2.14.15

  • Improved: CodeMirror 6 plugin API: Improve ability to register custom commands (#9956 by Henry Heino)
  • Improved: Migrate profile in preparation for trash feature (115eb5d)
  • Fixed: #9870: Fixed command palette not properly showing non-latin-characters (#9916) (#9870 by @pedr)
  • Fixed: Fix only one CodeMirror 6 content script loaded per plugin (#9934) (#9932 by Henry Heino)
  • Fixed: GotoAnything does not return all the results in some cases (#9944)
  • Fixed: Highlight partial matches in search results (#9958)
  • Fixed: Rich text editor: Fix context menu not shown in some cases (#9954) (#9953 by Henry Heino)

v2.14.16

  • Improved: Back up to a subdirectory of the home directory by default (#9942) (#9857 by Henry Heino)
  • Improved: Beta editor plugins: Allow fixing conflicts between plugins that add autocompletions (#9965) (#9964 by Henry Heino)
  • Improved: Immediately sort notes after toggling a checkbox (5820f63)
  • Improved: Plugins: Allow commands registered within the beta markdown editor to take arguments (#9963 by Henry Heino)
  • Fixed: Beta editor plugin API: Fix plugins unable to require nodeJS modules (#9968 by Henry Heino)
  • Fixed: Beta editor plugins: Fix newlines break content scripts (#9967) (#9966 by Henry Heino)
  • Fixed: Fix auto-indentation in some types of code blocks (#9972) (#9971 by Henry Heino)
  • Security: Disallow UNC file links (#9979 by Henry Heino) (Vulnerability discovered by Lucas "Luska" Botelho from Hakai Offsec)

v2.14.16

  • Improved: Back up to a subdirectory of the home directory by default (#9942) (#9857 by Henry Heino)
  • Improved: Beta editor plugins: Allow fixing conflicts between plugins that add autocompletions (#9965) (#9964 by Henry Heino)
  • Improved: Immediately sort notes after toggling a checkbox (5820f63)
  • Improved: Plugins: Allow commands registered within the beta markdown editor to take arguments (#9963 by Henry Heino)
  • Fixed: Beta editor plugin API: Fix plugins unable to require nodeJS modules (#9968 by Henry Heino)
  • Fixed: Beta editor plugins: Fix newlines break content scripts (#9967) (#9966 by Henry Heino)
  • Fixed: Fix auto-indentation in some types of code blocks (#9972) (#9971 by Henry Heino)
  • Security: Disallow UNC file links (#9979 by Henry Heino) (Vulnerability discovered by Lucas "Luska" Botelho from Hakai Offsec)

v2.14.17

  • Fixed: Merged shorthand variants of spellcheck languages (#9983) (#7834 by Ton Hoang Nguyen (Bill))
  • Fixed: Sort notebooks in a case-insensitive way (#9996)

v2.14.19

  • Fixed: Re-enable UNC links (#10071 by Henry Heino)
  • Fixed: Certain RTE menu items are not visible in dark mode (#10044)
  • Fixed: Fix pasting images from the rich text editor into the rich text editor (#10064) (#10062 by Henry Heino)
  • Fixed: Fixed OCR memory leak when processing PDF documents (#10050)
  • Fixed: OCR does not start when German language is selected (#10058)

v2.14.20

  • Fixed: Fix OCR not working for certain languages (#10097)
  • Fixed: ENEX does not import correctly when title of note matches the name of the attachment (#10125)
12 Likes

v2.14.7

  • Improved: Updated packages sharp (v0.33.1)
  • Fixed: Fix ENEX import issue (20b1c2e)
1 Like

I am getting a Renderer SIGTRAP exception with 2.14.6 and 2.14.7. I haven't used Joplin long enough to know if I would also be getting it in 2.13 though. I can't find any mention of SIGTRAP for the Renderer here.

Operating system

macOS

Joplin version

2.14.6 / 2.14.7

Desktop version info

Joplin 2.14.6 (prod, darwin)

Client ID: 7de105d73a6747a2b20b9810d16a5b00
Sync Version: 3
Profile Version: 45
Keychain Supported: No

Revision: 92667ba

Simple Backup: 1.3.5

What issue do you have?

SIGTRAP. Here are some examples (with only the crashing thread). There are many threads (nearly 500). Presumably I can attach the full crash reports here if you need them?

Errors

-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process:               Joplin Helper (Renderer) [67192]
Path:                  /Applications/Joplin.app/Contents/Frameworks/Joplin Helper (Renderer).app/Contents/MacOS/Joplin Helper (Renderer)
Identifier:            net.cozic.joplin-desktop.helper.Renderer
Version:               2.14.7
Code Type:             ARM-64 (Native)
Parent Process:        Joplin [67166]
Responsible:           Joplin [67166]
User ID:               501

Date/Time:             2024-01-08 17:56:12.3349 -0700
OS Version:            macOS 14.2.1 (23C71)
Report Version:        12
Anonymous UUID:        96982BC1-5D84-F1DB-4B21-A53D01641E4D


Time Awake Since Boot: 1000000 seconds

System Integrity Protection: enabled

Crashed Thread:        129  DedicatedWorker thread

Exception Type:        EXC_BREAKPOINT (SIGTRAP)
Exception Codes:       0x0000000000000001, 0x000000010e9f7d70

Termination Reason:    Namespace SIGNAL, Code 5 Trace/BPT trap: 5
Terminating Process:   exc handler [67192]

Thread 0:: CrRendererMain Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        	       0x18b9dd874 mach_msg2_trap + 8
1   libsystem_kernel.dylib        	       0x18b9efcf0 mach_msg2_internal + 80
2   libsystem_kernel.dylib        	       0x18b9e64b0 mach_msg_overwrite + 476
3   libsystem_kernel.dylib        	       0x18b9ddbf8 mach_msg + 24
4   Electron Framework            	       0x10e93d094 v8::internal::SetupIsolateDelegate::SetupBuiltins(v8::internal::Isolate*, bool) + 18369312
5   Electron Framework            	       0x10e8d3e98 v8::internal::SetupIsolateDelegate::SetupBuiltins(v8::internal::Isolate*, bool) + 17938724
6   Electron Framework            	       0x10e899094 v8::internal::SetupIsolateDelegate::SetupBuiltins(v8::internal::Isolate*, bool) + 17697568
7   Electron Framework            	       0x10e8eff1c v8::internal::SetupIsolateDelegate::SetupBuiltins(v8::internal::Isolate*, bool) + 18053544
8   Electron Framework            	       0x10e8bc4a0 v8::internal::SetupIsolateDelegate::SetupBuiltins(v8::internal::Isolate*, bool) + 17841964
9   Electron Framework            	       0x111ce4318 node::CommonEnvironmentSetup::event_loop() const + 8623132
10  Electron Framework            	       0x10be07574 v8::internal::compiler::BasicBlock::set_loop_header(v8::internal::compiler::BasicBlock*) + 14364
11  Electron Framework            	       0x10be07fa8 v8::internal::compiler::BasicBlock::set_loop_header(v8::internal::compiler::BasicBlock*) + 16976
12  Electron Framework            	       0x10be06be4 v8::internal::compiler::BasicBlock::set_loop_header(v8::internal::compiler::BasicBlock*) + 11916
13  Electron Framework            	       0x10be06cf4 v8::internal::compiler::BasicBlock::set_loop_header(v8::internal::compiler::BasicBlock*) + 12188
14  Electron Framework            	       0x10bb29c10 ElectronMain + 128
15  Joplin Helper (Renderer)      	       0x102ed4c24 0x102ed4000 + 3108
16  dyld                          	       0x18b69d0e0 start + 2360

...

Thread 129 crashed with ARM Thread State (64-bit):
    x0: 0x000000956e4103f8   x1: 0x0000000113799ff0   x2: 0x0000000fbc68d000   x3: 0x0000000000000007
    x4: 0x000000008101000a   x5: 0x0000000000000007   x6: 0x0000000000000002   x7: 0x0000000000000500
    x8: 0x0000000113a91000   x9: 0xa1c5f17e60e40041  x10: 0xffffffffffffffff  x11: 0x0000000000461940
   x12: 0x0000000fbc603f40  x13: 0x0000000000000006  x14: 0x0000000fbc600000  x15: 0x000000008001000a
   x16: 0x000000018b833cc0  x17: 0x0000000fbc630670  x18: 0x0000000000000000  x19: 0x0000000000000000
   x20: 0x00000001130afc8d  x21: 0x000000956e410450  x22: 0x000000956e410450  x23: 0x000000956e418dc8
   x24: 0x000000956e418eae  x25: 0x000000956e4105f8  x26: 0x000000012036d7e0  x27: 0x0000000000000000
   x28: 0x00000000fffffffc   fp: 0x000000956e410400   lr: 0x000000010e9f7d70
    sp: 0x000000956e4103f0   pc: 0x000000010e9f7d70 cpsr: 0x60001000
   far: 0x0000000000000000  esr: 0xf2000000 (Breakpoint) brk 0

Binary Images:
       0x11f800000 -        0x11f9affff .net.cozic.joplin-desktop.JUTnvh (*) <b1b8fb4e-9953-3e68-b32e-24b0b45f1970> /private/var/folders/*/.net.cozic.joplin-desktop.JUTnvh
       0x1030f4000 -        0x1030f7fff .net.cozic.joplin-desktop.uTQ3YX (*) <a20b17f2-91ba-3be5-9ba2-738b36bbbd37> /private/var/folders/*/.net.cozic.joplin-desktop.uTQ3YX
       0x10b8b8000 -        0x113457fff com.github.Electron.framework (*) <4c4c445d-5555-3144-a1de-6af91eea10ee> /Applications/Joplin.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework
       0x10336c000 -        0x10337ffff com.github.Squirrel (1.0) <4c4c44ea-5555-3144-a189-ed788ceea723> /Applications/Joplin.app/Contents/Frameworks/Squirrel.framework/Versions/A/Squirrel
       0x1033f4000 -        0x103433fff com.electron.reactive (3.1.0) <4c4c44e9-5555-3144-a1ad-00398bb943f4> /Applications/Joplin.app/Contents/Frameworks/ReactiveObjC.framework/Versions/A/ReactiveObjC
       0x103394000 -        0x10339ffff org.mantle.Mantle (1.0) <4c4c444a-5555-3144-a17d-712797186a95> /Applications/Joplin.app/Contents/Frameworks/Mantle.framework/Versions/A/Mantle
       0x103680000 -        0x10385ffff libffmpeg.dylib (*) <4c4c44ad-5555-3144-a165-c81e36860e30> /Applications/Joplin.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libffmpeg.dylib
       0x102ed4000 -        0x102ee7fff net.cozic.joplin-desktop.helper.Renderer (*) <4c4c4469-5555-3144-a1e3-16c70a929f36> /Applications/Joplin.app/Contents/Frameworks/Joplin Helper (Renderer).app/Contents/MacOS/Joplin Helper (Renderer)
       0x18b9dc000 -        0x18ba16fff libsystem_kernel.dylib (*) <ca94fc21-bc40-3b43-b65d-b87ece9e1d48> /usr/lib/system/libsystem_kernel.dylib
       0x18b697000 -        0x18b72b347 dyld (*) <324e4ad9-e01f-3183-b09f-3e20b326643a> /usr/lib/dyld
               0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???
       0x18ba17000 -        0x18ba23ff3 libsystem_pthread.dylib (*) <a7d94c96-7b1f-3229-9bea-048d037c3292> /usr/lib/system/libsystem_pthread.dylib
       0x18ba7e000 -        0x18bf55fff com.apple.CoreFoundation (6.9) <47e4ec09-8f6e-30a8-99d0-34024d4f8122> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
       0x1ffff6000 -        0x200025ffb com.apple.AppleKeyStore (1.0) <bde8ec69-97d7-3940-a65a-9f3431fb4180> /System/Library/PrivateFrameworks/AppleKeyStore.framework/Versions/A/AppleKeyStore
       0x18b832000 -        0x18b868fff libsystem_malloc.dylib (*) <690a8b04-8e64-3332-b5a5-56a3d5c1c43f> /usr/lib/system/libsystem_malloc.dylib
Translated Report (Full Report Below)
-------------------------------------

Process:               Joplin Helper (Renderer) [26292]
Path:                  /Applications/Joplin.app/Contents/Frameworks/Joplin Helper (Renderer).app/Contents/MacOS/Joplin Helper (Renderer)
Identifier:            net.cozic.joplin-desktop.helper.Renderer
Version:               2.14.6
Code Type:             ARM-64 (Native)
Parent Process:        Joplin [26289]
Responsible:           Joplin [26289]
User ID:               501

Date/Time:             2024-01-06 18:26:31.1283 -0700
OS Version:            macOS 14.2.1 (23C71)
Report Version:        12
Anonymous UUID:        96982BC1-5D84-F1DB-4B21-A53D01641E4D


Time Awake Since Boot: 890000 seconds

System Integrity Protection: enabled

Crashed Thread:        457  DedicatedWorker thread

Exception Type:        EXC_BREAKPOINT (SIGTRAP)
Exception Codes:       0x0000000000000001, 0x000000010c273d70

Termination Reason:    Namespace SIGNAL, Code 5 Trace/BPT trap: 5
Terminating Process:   exc handler [26292]

Thread 2:: ThreadPoolForegroundWorker
0   libsystem_kernel.dylib        	       0x18b9dd874 mach_msg2_trap + 8
1   libsystem_kernel.dylib        	       0x18b9efcf0 mach_msg2_internal + 80
2   libsystem_kernel.dylib        	       0x18b9e64b0 mach_msg_overwrite + 476
3   libsystem_kernel.dylib        	       0x18b9ddbf8 mach_msg + 24
4   Electron Framework            	       0x10c1b9094 v8::internal::SetupIsolateDelegate::SetupBuiltins(v8::internal::Isolate*, bool) + 18369312
5   Electron Framework            	       0x10c14fe98 v8::internal::SetupIsolateDelegate::SetupBuiltins(v8::internal::Isolate*, bool) + 17938724
6   Electron Framework            	       0x10c181308 v8::internal::SetupIsolateDelegate::SetupBuiltins(v8::internal::Isolate*, bool) + 18140564
7   Electron Framework            	       0x10c181cdc v8::internal::SetupIsolateDelegate::SetupBuiltins(v8::internal::Isolate*, bool) + 18143080
8   Electron Framework            	       0x10c181ab0 v8::internal::SetupIsolateDelegate::SetupBuiltins(v8::internal::Isolate*, bool) + 18142524
9   Electron Framework            	       0x10c181988 v8::internal::SetupIsolateDelegate::SetupBuiltins(v8::internal::Isolate*, bool) + 18142228
10  Electron Framework            	       0x10c19c378 v8::internal::SetupIsolateDelegate::SetupBuiltins(v8::internal::Isolate*, bool) + 18251268
11  libsystem_pthread.dylib       	       0x18ba1e034 _pthread_start + 136
12  libsystem_pthread.dylib       	       0x18ba18e3c thread_start + 8

...

Thread 457 crashed with ARM Thread State (64-bit):
    x0: 0x00000127f47fffd8   x1: 0x0000000111015ff0   x2: 0x000000f65791e200   x3: 0x000000000000000a
    x4: 0x0000000001014000   x5: 0x0000000000000007   x6: 0x0000000000000002   x7: 0x0000000000000500
    x8: 0x000000011130d000   x9: 0xae66077f585f00f9  x10: 0xffffffffffffffff  x11: 0x00000000005c07c0
   x12: 0x000000f657903f4c  x13: 0x0000000000000009  x14: 0x000000f657900000  x15: 0x00000000f00f011d
   x16: 0x000000018b833cc0  x17: 0x0000000000000000  x18: 0x0000000000000000  x19: 0x0000000000000000
   x20: 0x000000011092bc8d  x21: 0x00000127f4800030  x22: 0x00000127f4800030  x23: 0x00000127f48089a8
   x24: 0x00000127f4808a8e  x25: 0x00000127f48001d8  x26: 0x00000005306b57e0  x27: 0x00000117e29d3f40
   x28: 0x00000000fffffffd   fp: 0x00000127f47fffe0   lr: 0x000000010c273d70
    sp: 0x00000127f47fffd0   pc: 0x000000010c273d70 cpsr: 0x60001000
   far: 0x0000000000000000  esr: 0xf2000000 (Breakpoint) brk 0

Web clipper can't select notebook with Joplin 2.14.7. Both linux and windows versions.

Related:

(Merged but not in v2.14.7).

Two points that I noticed about OCR

Many downloads of the resource

Clients

  • Desktop Client A (OCR support an enabled) (2.14.7)
  • Desktop Client B (No OCR) (2.13.6)
  • Mobile Client C (2.13.10)

Procedure

  • Client A performs OCR and re-uploads all resources
  • Client B and C downloads all resource but cannot do anything with the OCR data
  • Client B is updated to 2.14.7 and OCR is activated, now starts OCR on the client and uploads all resources again
  • Client C will download again all resources

I think this is only a problem as long as not all clients can read the OCR data.
All resources must also be downloaded again on the mobile client as soon as this client can read the OCR data.

OCR language

I have english and german fils an in the german files all umlauts (äöüß) were recognized incorrectly.
How is the language defined for OCR recognition?

Yes this is indeed a problem when you regularly use two different desktop clients, since they are likely to both OCR the same resources. This case is expected and handled properly during sync but it is inefficient especially the first time OCR runs.

At least it only re-upload the resource metadata, not the whole file.

Currently it uses the application language but I think Tesseract takes the specified language mostly as a signal, because in my case it would be French but it processed English documents just fine.

Is there an example of German file that fails and that you could share so that I can run tests with it?

v2.14.8

  • Improved: Allow importing a directory of ENEX files (#9693)
  • Improved: Frontmatter importer: Support Notesnook-style timestamps (#9684) (#9683 by Henry Heino)
  • Improved: Update Simple Backup to v1.3.5 to fix some notebooks exported twice while creating a backup (#9677 by Henry Heino)
  • Improved: Updated packages fs-extra (v11.2.0)
1 Like

v2.14.9

  • Fixed: Fix AWS S3 sync error (#9696) (#8891 by Henry Heino)

Since I have enabled OCR in my main Joplin it crashes several times a day without me actively working in it.

When the OCR is finished, I'll look for a suitable PDF and the DB entry

Note about OCR

When resource is not downloaded on the client, OCR keeps cycling to check if it can be processed -- every restart of the app, addition or deletion of any resource. With few thousands of nondownloaded resources OCR keeps running almost all the time. Those are skipping operations of course but the load is still noticeable.

example of a skipping operation

16:12:59: OcrService: Processing resource 277 / 4297: 647288a16a002d37e4ca772ee5fd0ca6 (type image/png)...

Thanks for the feedback about OCR.

Regarding the crashes, I'm trying to get an open source Sentry account which will allow us to collect detailed crash data so that we know what's causing it.

Regarding the non-downloaded resources, I'll check but I don't think it has much an impact. It does print log statements but it doesn't actually process anything, it's just a noop. The load could be because it's processing an actual resource in parallel?

A test file for you with some äöüß


1und1 Leistungsbeschreibung.pdf (387.7 KB)

Good news, we have been approved for a sponsored Sentry account! Hopefully that will help understanding these crashes. The app will need to be updated to support this which I will do soon.

3 Likes

By the way did you observe that the process keeps using more and more memory by any chance?

I'm wondering if there may be a memory leak which could be solved by destroying the Tesseract worker and recreating it at regular intervals. But that's just a guess so may not be worth implementing if it doesn't help

Thanks for the information. Do you happen to have a PDF with such text that you could share?

v2.14.10 includes an option to send a report when a crash happens (Under Settings => Application). Would you mind enabling it to try to capture one of these crashes? I have OCR enabled too on macOS but no crashes so I think it may be specific to Windows

v2.14.10

  • New: Add support for automatically uploading crash reports (de0ae76)
  • Improved: Display an error if a resource cannot be downloaded (cbf7e24)
  • Improved: Don't log OneDrive Authorization tokens (#9707) (#9706 by Henry Heino)
  • Improved: Updated packages react
  • Fixed: Beta editor: Fix o not working in Vim normal mode (#9700) (#9699 by Henry Heino)
  • Fixed: Fix warning logged when uninstalling multiple plugins (#9726) (#9725 by Henry Heino)
  • Fixed: Fixes existing attachments not being shared in some cases with Joplin Server (7ebc986)
  • Fixed: Shared notebook can get corrupted if contributor changes its title (#9709)