8000 Calling window.print() from BrowserView crashes starting in 11.0-beta12 · Issue #26016 · electron/electron · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Calling window.print() from BrowserView crashes starting in 11.0-beta12 #26016
Closed
@PalmerAL

Description

@PalmerAL

Preflight Checklist

  • I have read the Contributing Guidelines for this project.
  • I agree to follow the Code of Conduct that this project adheres to.
  • I have searched the issue tracker for an issue that matches the one I want to file, without success.

Issue Details

  • Electron Version: 11.0.0-beta.12
  • Operating System: macOS 10.15.7
  • Last Known Working Electron version: 11.0.0-beta.11

To Reproduce

git clone https://github.com/palmerAL/electron-quick-start.git
cd electron-quick-start
git checkout v11-print-crash
electron .

Crash report:


Crashed Thread:        0  CrBrowserMain  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000038
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Segmentation fault: 11
Termination Reason:    Namespace SIGNAL, Code 0xb
Terminating Process:   exc handler [25055]

VM Regions Near 0x38:
--> 
    __TEXT                 0000000106f16000-0000000106f42000 [  176K] r-x/r-x SM=COW  /Users/USER/Documents/*/Electron.app/Contents/MacOS/Electron

Thread 0 Crashed:: CrBrowserMain  Dispatch queue: com.apple.main-thread
0   com.github.Electron.framework 	0x000000010813bcf1 v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 11484081
1   com.github.Electron.framework 	0x000000010813b246 v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 11481350
2   com.github.Electron.framework 	0x0000000108138351 v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 11469329
3   com.github.Electron.framework 	0x00000001081385f8 v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 11470008
4   com.github.Electron.framework 	0x000000010d630cb3 v8::internal::compiler::ZoneStats::ReturnZone(v8::internal::Zone*) + 53628435
5   com.github.Electron.framework 	0x000000010aa92d99 v8::internal::compiler::ZoneStats::ReturnZone(v8::internal::Zone*) + 7892729
6   com.github.Electron.framework 	0x000000010d7166db v8::internal::compiler::ZoneStats::ReturnZone(v8::internal::Zone*) + 54569019
7   com.github.Electron.framework 	0x0000000107ccf93a v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 6846458
8   com.github.Electron.framework 	0x0000000107cd1ae6 v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 6855078
9   com.github.Electron.framework 	0x0000000107cf96e4 v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 7017892
10  com.github.Electron.framework 	0x0000000107b98009 v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 5570249
11  com.github.Electron.framework 	0x0000000107ba5112 v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 5623762
12  com.github.Electron.framework 	0x0000000107ba4d0e v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 5622734
13  com.github.Electron.framework 	0x0000000107bd63a0 v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 5825120
14  com.github.Electron.framework 	0x0000000107bd2f3a v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 5811706
15  com.github.Electron.framework 	0x0000000107bd5d7f v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 5823551
16  com.apple.CoreFoundation      	0x00007fff2d18cd52 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
17  com.apple.CoreFoundation      	0x00007fff2d18ccf1 __CFRunLoopDoSource0 + 103
18  com.apple.CoreFoundation      	0x00007fff2d18cb0b __CFRunLoopDoSources0 + 209
19  com.apple.CoreFoundation      	0x00007fff2d18b83a __CFRunLoopRun + 927
20  com.apple.CoreFoundation      	0x00007fff2d18ae3e CFRunLoopRunSpecific + 462
21  com.apple.HIToolbox           	0x00007fff2bdb7abd RunCurrentEventLoopInMode + 292
22  com.apple.HIToolbox           	0x00007fff2bdb77d5 ReceiveNextEventCommon + 584
23  com.apple.HIToolbox           	0x00007fff2bdb7579 _BlockUntilNextEventMatchingListInModeWithFilter + 64
24  com.apple.AppKit              	0x00007fff2a3fd039 _DPSNextEvent + 883
25  com.apple.AppKit              	0x00007fff2a3fb880 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1352
26  com.apple.AppKit              	0x00007fff2a3ed58e -[NSApplication run] + 658
27  com.github.Electron.framework 	0x0000000107bd6966 v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 5826598
28  com.github.Electron.framework 	0x0000000107bd5912 v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 5822418
29  com.github.Electron.framework 	0x0000000107ba5691 v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 5625169
30  com.github.Electron.framework 	0x0000000107b84c29 v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 5491433
31  com.github.Electron.framework 	0x000000010a532b54 v8::internal::compiler::ZoneStats::ReturnZone(v8::internal::Zone*) + 2256052
32  com.github.Electron.framework 	0x0000000107829ca2 v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 1973090
33  com.github.Electron.framework 	0x0000000107825769 v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 1955369
34  com.github.Electron.framework 	0x00000001077f1a31 v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 1743089
35  com.github.Electron.framework 	0x00000001077f1756 v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 1742358
36  com.github.Electron.framework 	0x000000010742fc00 ElectronInitializeICUandStartNode + 5022784
37  com.github.Electron.framework 	0x00000001074300d2 ElectronInitializeICUandStartNode + 5024018
38  com.github.Electron.framework 	0x0000000106f65788 ElectronMain + 136
39  com.github.Electron           	0x0000000106f1a53d 0x106f16000 + 17725
40  libdyld.dylib                 	0x00007fff671fccc9 start + 1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0