nwjs/nw.js

Crashes during startup

stepancar opened this issue · 0 comments

Issue Type

Before opening an issue, please search and see if it has already been raised.

  • Bug Report
  • Feature Request
  • Successfully reproduced against the latest version of NW.js?

Please use our mailing list or Gitter chatroom to ask questions. The issue tracker is only for bugs and feature requests, in English only. Please note that issues without a repro or code snippet are less likely to be resolved.

Current/Missing Behavior

Sometimes (3% of runs) crashes with error free(): invalid pointer

[3916:3973:0213/192835.140219:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory

[3916:3973:0213/192835.140287:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory

[3916:3973:0213/192835.140366:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory

[3916:3973:0213/192835.140378:WARNING:property.cc(144)] DaemonVersion: GetAndBlock: failed.

[3916:3973:0213/192835.140421:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory

[3916:3973:0213/192835.140478:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory

[3974:3974:0213/192835.288460:WARNING:chrome_main_delegate.cc(341)] process type 'renderer' should be created through the zygote.

free(): invalid pointer

[0213/192835.609976:ERROR:file_io_posix.cc(144)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq: No such file or directory (2)

[0213/192835.610266:ERROR:file_io_posix.cc(144)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq: No such file or directory (2)

Received signal 6

#0 0x7f830df2ece3 (/opt/app/node_modules/nw/nwjs/lib/libnw.so+0x6cb2ce2)

#1 0x7f830df40ee1 (/opt/app/node_modules/nw/nwjs/lib/libnw.so+0x6cc4ee0)

#2 0x7f8307069520 (/usr/lib/x86_64-linux-gnu/libc.so.6+0x4251f)

#3 0x7f8309b22ee3 (/opt/app/node_modules/nw/nwjs/lib/libnw.so+0x28a6ee2)

#4 0x7f83070c9d2b (/usr/lib/x86_64-linux-gnu/libc.so.6+0xa2d2a)

#5 0x7f83070cc453 free

#6 0x7f8309b2ec3a (/opt/app/node_modules/nw/nwjs/lib/libnw.so+0x28b2c39)

#7 0x7f8309b2ef3d (/opt/app/node_modules/nw/nwjs/lib/libnw.so+0x28b2f3c)

#8 0x7f8309b21cde (/opt/app/node_modules/nw/nwjs/lib/libnw.so+0x28a5cdd)

#9 0x7f8309aeb815 (/opt/app/node_modules/nw/nwjs/lib/libnw.so+0x286f814)

#10 0x7f830e6dbeed (/opt/app/node_modules/nw/nwjs/lib/libnw.so+0x745feec)

#11 0x7f830e6dbf6e (/opt/app/node_modules/nw/nwjs/lib/libnw.so+0x745ff6d)

#12 0x7f8309a32460 (/opt/app/node_modules/nw/nwjs/lib/libnw.so+0x27b645f)

#13 0x7f8309a3213a (/opt/app/node_modules/nw/nwjs/lib/libnw.so+0x27b6139)

#14 0x7f83099883d4 (/opt/app/node_modules/nw/nwjs/lib/libnw.so+0x270c3d3)

#15 0x7f8309a2f479 (/opt/app/node_modules/nw/nwjs/lib/libnw.so+0x27b3478)

#16 0x7f8309a2efff (/opt/app/node_modules/nw/nwjs/lib/libnw.so+0x27b2ffe)

#17 0x7f830ea675a9 (/opt/app/node_modules/nw/nwjs/lib/libnw.so+0x77eb5a8)

#18 0x7f830ea778cc (/opt/app/node_modules/nw/nwjs/lib/libnw.so+0x77fb8cb)

#19 0x7f830ea6bbfb (/opt/app/node_modules/nw/nwjs/lib/libnw.so+0x77efbfa)

#20 0x7f830ea5d6c5 (/opt/app/node_modules/nw/nwjs/lib/libnw.so+0x77e16c4)

#21 0x7f830cc236eb (/opt/app/node_modules/nw/nwjs/lib/libnw.so+0x59a76ea)

#22 0x7f830ea5dc0e (/opt/app/node_modules/nw/nwjs/lib/libnw.so+0x77e1c0d)

#23 0x7f830ea4bf22 (/opt/app/node_modules/nw/nwjs/lib/libnw.so+0x77cff21)

#24 0x7f830ea4cff5 (/opt/app/node_modules/nw/nwjs/lib/libnw.so+0x77d0ff4)

#25 0x7f830cc2217a (/opt/app/node_modules/nw/nwjs/lib/libnw.so+0x59a6179)

#26 0x7f830cc21e7e (/opt/app/node_modules/nw/nwjs/lib/libnw.so+0x59a5e7d)

#27 0x7f830ea4bf22 (/opt/app/node_modules/nw/nwjs/lib/libnw.so+0x77cff21)

#28 0x7f830ea4d349 (/opt/app/node_modules/nw/nwjs/lib/libnw.so+0x77d1348)

#29 0x7f831396ecb7 (/opt/app/node_modules/nw/nwjs/lib/libnw.so+0xc6f2cb6)

#30 0x7f831396eb2c (/opt/app/node_modules/nw/nwjs/lib/libnw.so+0xc6f2b2b)

#31 0x7f8313970472 (/opt/app/node_modules/nw/nwjs/lib/libnw.so+0xc6f4471)

#32 0x7f831396fe26 (/opt/app/node_modules/nw/nwjs/lib/libnw.so+0xc6f3e25)

#33 0x7f831397022f (/opt/app/node_modules/nw/nwjs/lib/libnw.so+0xc6f422e)

#34 0x7f8313989c22 (/opt/app/node_modules/nw/nwjs/lib/libnw.so+0xc70dc21)

#35 0x7f831383660d (/opt/app/node_modules/nw/nwjs/lib/libnw.so+0xc5ba60c)

#36 0x7f831384533f (/opt/app/node_modules/nw/nwjs/lib/libnw.so+0xc5c933e)

#37 0x7f8313586469 (/opt/app/node_modules/nw/nwjs/lib/libnw.so+0xc30a468)

#38 0x7f83135856b7 (/opt/app/node_modules/nw/nwjs/lib/libnw.so+0xc3096b6)

#39 0x7f83110292c2 (/opt/app/node_modules/nw/nwjs/lib/libnw.so+0x9dad2c1)

#40 0x7f830cc163f1 (/opt/app/node_modules/nw/nwjs/lib/libnw.so+0x599a3f0)

#41 0x7f830cc1b73f (/opt/app/node_modules/nw/nwjs/lib/libnw.so+0x599f73e)

#42 0x7f830cc1bd7a (/opt/app/node_modules/nw/nwjs/lib/libnw.so+0x599fd79)

#43 0x7f830cc14fd3 (/opt/app/node_modules/nw/nwjs/lib/libnw.so+0x5998fd2)

#44 0x7f830c8ae2c9 (/opt/app/node_modules/nw/nwjs/lib/libnw.so+0x56322c8)

#45 0x7f830cc15716 (/opt/app/node_modules/nw/nwjs/lib/libnw.so+0x5999715)

#46 0x7f830ea03ae0 (/opt/app/node_modules/nw/nwjs/lib/libnw.so+0x7787adf)

#47 0x7f830ea08d61 (/opt/app/node_modules/nw/nwjs/lib/libnw.so+0x778cd60)

#48 0x7f830ea04ef0 (/opt/app/node_modules/nw/nwjs/lib/libnw.so+0x7788eef)

#49 0x7f830ec5e5a5 (/opt/app/node_modules/nw/nwjs/lib/libnw.so+0x79e25a4)

#50 0x7f830ea07486 (/opt/app/node_modules/nw/nwjs/lib/libnw.so+0x778b485)

#51 0x7f830ded9cc4 (/opt/app/node_modules/nw/nwjs/lib/libnw.so+0x6c5dcc3)

#52 0x7f830def1bca (/opt/app/node_modules/nw/nwjs/lib/libnw.so+0x6c75bc9)

#53 0x7f830def167b (/opt/app/node_modules/nw/nwjs/lib/libnw.so+0x6c7567a)

#54 0x7f830def2065 (/opt/app/node_modules/nw/nwjs/lib/libnw.so+0x6c76064)

#55 0x7f830df50361 (/opt/app/node_modules/nw/nwjs/lib/libnw.so+0x6cd4360)

#56 0x7f830df50b1d (/opt/app/node_modules/nw/nwjs/lib/libnw.so+0x6cd4b1c)

#57 0x7f8301849d3b g_main_context_dispatch

#58 0x000000000001

#59 0x7f830def23c4 (/opt/app/node_modules/nw/nwjs/lib/libnw.so+0x6c763c3)

#60 0x7f830debb6ee (/opt/app/node_modules/nw/nwjs/lib/libnw.so+0x6c3f6ed)

#61 0x7f830bdd436a (/opt/app/node_modules/nw/nwjs/lib/libnw.so+0x4b58369)

#62 0x7f830bdd5fa2 (/opt/app/node_modules/nw/nwjs/lib/libnw.so+0x4b59fa1)

#63 0x7f830bdd1b88 (/opt/app/node_modules/nw/nwjs/lib/libnw.so+0x4b55b87)

#64 0x7f830d30b84a (/opt/app/node_modules/nw/nwjs/lib/libnw.so+0x608f849)

#65 0x7f830d30d127 (/opt/app/node_modules/nw/nwjs/lib/libnw.so+0x6091126)

#66 0x7f830d30cf15 (/opt/app/node_modules/nw/nwjs/lib/libnw.so+0x6090f14)

#67 0x7f830d30a2cf (/opt/app/node_modules/nw/nwjs/lib/libnw.so+0x608e2ce)

#68 0x7f830d30a909 (/opt/app/node_modules/nw/nwjs/lib/libnw.so+0x608e908)

#69 0x7f830973a2e6 ChromeMain

#70 0x7f8307050d90 (/usr/lib/x86_64-linux-gnu/libc.so.6+0x29d8f)

r8: 00007ffef0258d40 r9: 0000000000000000 r10: 0000000000000008 r11: 0000000000000246

r12: 0000000000000006 r13: 0000000000000016 r14: 0000000000000001 r15: 0000000000000001

di: 0000000000000f4c si: 0000000000000f4c bp: 0000000000000f4c bx: 00007f82ffb9d4c0

dx: 0000000000000006 ax: 0000000000000000 cx: 00007f83070bd9fc sp: 00007ffef0258c70

ip: 00007f83070bd9fc efl: 0000000000000246 cgf: 002b000000000033 erf: 0000000000000000

trp: 0000000000000000 msk: 0000000000000000 cr2: 0000000000000000

Expected/Proposed Behavior

Additional Info

  • Operating System: ubuntu 20.04
  • NW.js Version: 0.82.0
  • Repro Link:
  • Code snippet:
  • Crash report: