Giter Site home page Giter Site logo

Comments (10)

jabaa avatar jabaa commented on July 21, 2024 1

@codebytere aadcg can start electron-fiddle and we can't. That are two different, probably unrelated problems.

from fiddle.

jabaa avatar jabaa commented on July 21, 2024

Same problem with a fresh Debian 12.5. After a restart it started once with Debian, but not again. Now, I get

$ electron-fiddle
MESA-INTEL: warning: Haswell Vulkan support is incomplete
Creating main window
Content: 30-x-y template loading
Content: 30-x-y downloading template
Segmentation fault

from fiddle.

nitinsdg avatar nitinsdg commented on July 21, 2024

I am also getting same issue of segmentation fault in ubuntu 22, below is error message. Any help is appreciated.

Creating main window
MESA-INTEL: warning: Haswell Vulkan support is incomplete
libva error: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed
Segmentation fault (core dumped)

from fiddle.

codebytere avatar codebytere commented on July 21, 2024

Could you please attach a crash dump to help us get more information? You can collect them by adding the following snippet to your main process code, before app.whenReady:

const { app, crashReporter } = require('electron')
console.log(app.getPath('crashDumps'))
crashReporter.start({ submitURL: '', uploadToServer: false })

Then reproduce the crash, zip up the crash dumps directory and attach it here. Thanks!

from fiddle.

jabaa avatar jabaa commented on July 21, 2024

@codebytere What and where is the main script? electron-fiddle looks like a compiled binary.

from fiddle.

aadcg avatar aadcg commented on July 21, 2024

Could you please attach a crash dump to help us get more information? You can collect them by adding the following snippet to your main process code, before app.whenReady:

const { app, crashReporter } = require('electron')
console.log(app.getPath('crashDumps'))
crashReporter.start({ submitURL: '', uploadToServer: false })

Then reproduce the crash, zip up the crash dumps directory and attach it here. Thanks!

Running a fiddle with main.js populated as you instruct above outputs the following. The files at /tmp/... are gone.

Saving files to temp directory...
Saved files to /tmp/electron-fiddle-68331-MHLGpjIpctpO
Electron v29.4.0 started.
LaunchProcess: failed to execvp:
/home/aadcg/.config/Electron
[69076:0525/174237.585693:FATAL:zygote_host_impl_linux.cc(202)] Check failed: . : Invalid argument (22)

Electron exited with signal SIGTRAP.

from fiddle.

jabaa avatar jabaa commented on July 21, 2024

I'm not sure if my issue was unclear. I can't even start the program electron-fiddle. The IDE doesn't open. I'm not talking about running a fiddle.

from fiddle.

aadcg avatar aadcg commented on July 21, 2024

@jabaa it is clear to me. I would like to request re-opening #1598.

from fiddle.

jabaa avatar jabaa commented on July 21, 2024

But I think it's unclear to @codebytere. How can I add a JavaScript code snippet if I can't even start the program? I think, your problem is different and probably unrelated to this problem. I can run Electron applications like VS Code or https://github.com/electron/electron-quick-start. I only can't start the program electron-fiddle. You can't run Electron applications if I correctly understand.

from fiddle.

aadcg avatar aadcg commented on July 21, 2024

@jabaa I can run Electron applications, but I can't run fiddles.

from fiddle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.