Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some devices crash as soon as they are opened #7410

Closed
iwangx opened this issue Feb 5, 2023 · 2 comments
Closed

Some devices crash as soon as they are opened #7410

iwangx opened this issue Feb 5, 2023 · 2 comments

Comments

@iwangx
Copy link

iwangx commented Feb 5, 2023

  • Electron-Builder Version: 23.6.0
  • Node Version: v14.17.6
  • Electron Version:22.0.3
  • Electron Type (current, beta, nightly):current
  • Target: electron-builder build --win --x64

Some devices crash as soon as they are opened, bug electron 12.0.17 + electron-builder 22.7.0 is ok

package.json

"build": {
    "productName": "test",
    "appId": "test.org",
    "files": [
      "dist/**/*",
      "static/**/*",
      "electron/**/*"
    ],
    "directories": {
      "output": "./public"
    },
    "win": {
      "target": [
        {
          "target": "nsis",
          "arch": [
            "x64"
          ]
        }
      ]
    },
    "mac": {
      "target": [
        "dmg"
      ]
    },
    "nsis": {
      "oneClick": false,
      "perMachine": false,
      "allowToChangeInstallationDirectory": true,
      "createDesktopShortcut": true,
      "createStartMenuShortcut": true,
      "include": "build/installer.nsh"
    },
  },

code

https://gist.github.com/iwangx/bdcb9e3590b350c0b0228b680d177c01

Crash

Operating system: Windows NT
                  10.0.19042 572
CPU: amd64
     family 6 model 165 stepping 3
     12 CPUs

GPU: UNKNOWN

Crash reason:  EXCEPTION_BREAKPOINT
Crash address: 0x7ff6a7ad6495
Process uptime: 0 seconds

Thread 0 (crashed)
 0  test.exe + 0x1926495
    rax = 0x00007ff6af35e800   rdx = 0x0000000000000000
    rcx = 0x0000000000000000   rbx = 0x0000000d445fe040
    rsi = 0x0000000d445fe4e0   rdi = 0x0000000d445fe4f8
    rbp = 0x0000000000000071   rsp = 0x0000000d445fdf50
     r8 = 0x00007ff6af315e28    r9 = 0x0000000000000004
    r10 = 0x00000ffffa05fa7b   r11 = 0x0800000000000000
    r12 = 0xaaaaaaaaaaaaaaaa   r13 = 0x0000000000000000
    r14 = 0x0000000d445fdfc1   r15 = 0x0000000000000065
    rip = 0x00007ff6a7ad6495
    Found by: given as instruction pointer in context
 1  test.exe + 0x404bf63
    rsp = 0x0000000d445fdf80   rip = 0x00007ff6aa1fbf63
    Found by: stack scanning
 2  test.exe + 0x40491fe
    rsp = 0x0000000d445fdf90   rip = 0x00007ff6aa1f91fe
    Found by: stack scanning
 3  test.exe + 0x4047c1f
    rsp = 0x0000000d445fdfa0   rip = 0x00007ff6aa1f7c1f
    Found by: stack scanning
 4  test.exe + 0x7a98941
    rsp = 0x0000000d445fdfb8   rip = 0x00007ff6adc48941
    Found by: stack scanning
 5  test.exe + 0x4049b86
    rsp = 0x0000000d445fdfc0   rip = 0x00007ff6aa1f9b86
    Found by: stack scanning
 6  test.exe + 0x7a98960
    rsp = 0x0000000d445fe020   rip = 0x00007ff6adc48960
    Found by: stack scanning
@github-actions github-actions bot added the nsis label Feb 5, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Apr 9, 2023

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the Stale label Apr 9, 2023
@github-actions
Copy link
Contributor

This issue was closed because it has been stalled for 5 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Apr 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant