loadURL segfault with 1.4.5 on linux


#1

Hi there,
When I run the following main.js file, I get a segfault error:

const app = require('electron').app
const {webContents} = require('electron')
const {BrowserWindow} = require('electron')

app.on("ready", function(){
    let win = new BrowserWindow()
     win.webContents.loadURL('http://github.com')
     // win.loadURL('http://github.com')
})

result:

gman@thinkpad ~/Development/Golang/src/golectron $ electron/electron golectronApp/
Segmentation fault
gman@thinkpad ~/Development/Golang/src/golectron $ electron/electron --version
v1.4.5

I was using version 1.0.1 before ‘upgrading’ and it worked perfectly fine

Update: works fine with 1.4.4