Brave crashes during text-to-speech when `speak selection` is activated
See original GitHub issueDescription
Brave crashes during text-to-speech when speak selection
is activated
Steps to Reproduce
- navigate to
Apple
menu ->System Preferences
->Accessibility
->Spoken Content
- select
Speak selection
- click on
Options...
- change the
Keyboard shortcut
to something easy, likeControl+=
- open Gmail
- compose a new message
- enter enough text that you get a scrollbar (not sure it’s necessary, but can’t hurt)
- select a bunch of text
- now press
control
++
- interrupt the read audio by pressing
control
++
again
Actual result:
Crashes, in:
[ 00 ] content::BrowserAccessibility::AccessibilityPerformAction(ui::AXActionData const&)
[ 01 ] -[AXPlatformNodeCocoa setAccessibilitySelectedTextRange:]
[ 02 ] 0x7fff2325e232
[ 03 ] 0x7fff2325f5cf
[ 04 ] 0x7fff2325f3fd
[ 05 ] 0x7fff2325bfd0
[ 06 ] 0x7fff23052568
[ 07 ] 0x7fff256c6254
[ 08 ] 0x7fff256e7001
[ 09 ] 0x7fff256a593c
[ 10 ] 0x7fff20412a44
[ 11 ] 0x7fff20412925
[ 12 ] 0x7fff20410faf
[ 13 ] 0x7fff2040ff8c
[ 14 ] 0x7fff28657a83
[ 15 ] 0x7fff286577e5
[ 16 ] 0x7fff28657583
[ 17 ] 0x7fff22c19172
[ 18 ] 0x7fff22c17945
[ 19 ] __71-[BrowserCrApplication nextEventMatchingMask:untilDate:inMode:dequeue:]_block_invoke
[ 20 ] base::mac::CallWithEHFrame(void () block_pointer)
[ 21 ] -[BrowserCrApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
[ 22 ] 0x7fff22c09c69
[ 23 ] base::MessagePumpNSApplication::DoRun(base::MessagePump::Delegate*)
[ 24 ] base::MessagePumpCFRunLoopBase::Run(base::MessagePump::Delegate*)
[ 25 ] base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta)
[ 26 ] <name omitted>
[ 27 ] content::BrowserMainLoop::RunMainMessageLoop()
[ 28 ] content::BrowserMainRunnerImpl::Run()
[ 29 ] content::BrowserMain(content::MainFunctionParams const&)
[ 30 ] content::ContentMainRunnerImpl::RunBrowser(content::MainFunctionParams&, bool)
[ 31 ] content::ContentMainRunnerImpl::Run(bool)
[ 32 ] content::RunContentProcess(content::ContentMainParams const&, content::ContentMainRunner*)
[ 33 ] content::ContentMain(content::ContentMainParams const&)
[ 34 ] ChromeMain
[ 35 ] main
[ 36 ] 0x7fff20335f3d
Expected result:
Text-to-speech is read out, no crash
Reproduces how often:
90%-ish?
Brave version (brave://version info)
Brave | 1.31.88 Chromium: 95.0.4638.69 (Official Build) (x86_64) |
---|---|
Revision | 6a1600ed572fedecd573b6c2b90a22fe6392a410-refs/branch-heads/4638@{#984} |
OS | macOS Version 11.6.1 (Build 20G224) |
Issue Analytics
- State:
- Created 2 years ago
- Comments:10 (6 by maintainers)
Top Results From Across the Web
Mac OSX 12 Monterey browser crash when Apple Speak ...
I have text to speech enabled on this Macbook Pro (M1 Max). ... Brave crashes during text-to-speech when `speak selection` is activated.
Read more >Text to speech often doesn't work - Brave Community
Steps to Reproduce: In macOS settings > Accessibility > Speech, check “Speak selected text when the key is pressed”.
Read more >Brave crashes almost instantly when I open settings
Whenever I open Brave's settings, Brave crashes around 5 seconds later. If I try changing any of the settings, Brave instantly crashes.
Read more >Builtin TTS (reading / text-to-speech) function on right-click ...
When you select text on a web page and right click → “Speech” → click “Start Speaking” it reads the text in a...
Read more >Brave crash upon opening - Feedback
It has to do with how/where Brave is programmed to store it's settings on Mac. If you don't mind reconfiguring your Brave, all...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
there is a slightly easier repro: instead of gmail any textarea could be used. E.g., load the following link
data:text/html,<textarea>SELECT ME</textarea>
, select all and hit the voice shortcutReproduced on 1.31.x, but not consistently. Did not reproduce with 1.30.x or latest Chrome (95.0.4638.69).
Note, I used the steps from https://community.brave.com/t/brave-crashing-when-using-mac-osx-text-to-speech/296486 (including changing the keyboard shortcut) to set up “Spoken selection”.
Crash report IDs: