electron crash about OnNoMemory - crash

Electron version 5.0.8 is used
base::`anonymous namespace'::OnNoMemory(memory_win.cc:52)
malloc(allocator_shim_override_ucrt_symbols_win.h:53)
v8::internal::AllocWithRetry(allocation.cc:119)
v8::internal::AccountingAllocator::GetSegment(accounting-allocator.cc:77)
v8::internal::Zone::NewExpand(zone.cc:157)
std::deque::push_back(deque:1541)
v8::internal::compiler::LoopFinderImpl::PropagateForward(loop-analysis.cc:310)
v8::internal::compiler::LoopFinder::BuildLoopTree(loop-analysis.cc:520)
v8::internal::compiler::LoopPeelingPhase::Run(pipeline.cc:1277)
v8::internal::compiler::PipelineImpl::Run(pipeline.cc:1009)
v8::internal::compiler::PipelineImpl::OptimizeGraph(pipeline.cc:1983)
v8::internal::compiler::PipelineCompilationJob::ExecuteJobImpl(pipeline.cc:955)
Is there any way to locate the problem with this crash or has anyone encountered how to fix it? Looking forward to reply

Related

React Native problem with finding module blacklist in metro-config

I'm trying to use this library. I cloned the code, ran npm install and then ran react-native run-android. As a result I got an error Cannot find module 'metro-config/src/defaults/blacklist'. I looked it up, and found an answer that suggest
to change the content of the blacklist.js file because of faulty regex.
However, I looked at the path suggested in the answer metro-config/src/defaults/blacklist but it didn't contain any blacklist.js files. I also looked at other paths but still didn't find anything with the name blacklist.js.
How can I fix this issue and get the library working?
Node version: v14.17.0
React native version: 0.64.2
I had the same issue in expo-yarn-workspace with the same react-native version.
I fixed it by find where 'metro-config/src/defaults/blacklist' is call and replace it
by 'metro-config/src/defaults/exclusionList' because it's been renamed.
https://github.com/facebook/metro/blob/a94200229df4e7f3a9549665142d4ad4b8d32de5/packages/metro-config/src/defaults/exclusionList.js
https://github.com/facebook/metro/issues/453
Let me know if it works for you !

IntelliJ IDEA can't Debug because "transport library not found: dt_socket"

I change my jdk a few days ago, today I changed it back. then I find my IDEA can run but can't debug. Here are Console info:
D:\Java\64位JDK\bin\java -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:59301,suspend=y
FATAL ERROR in native method: JDWP No transports initialized, jvmtiError= AGENT_ERROR_TRANSPORT_LOAD(196)
ERROR: transport library not found: dt_socket
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_LOAD(509)
JDWP exit error AGENT_ERROR_TRANSPORT_LOAD(196): No transports initialized [debugInit.c:750]
I guess the first line is command that IDEA used, but I find dt_spcket.dll in D:\Java\64位JDK\jre\bin (64位JDK means 64-bit ) not \Java\64位JDK\bin . I don't know am I right and how to correct the path or solve the problem?
I have solved the problem with #CrazyCoder 's help , out-of-ascii path isn't the reason.When I delete the system environment variable , i find "java" command is legal in cmd, so i think there is an other java environment in my computer. Use java -verbose i find the location and delete it then problem have solved. So if you meet the same problem, check the environment first.if not work , try to reinstall the jdk :)
I found out that the problem was the diffents Java versions in the App configuration1 and the project structure2, I solved the problem by simply changing to be same.

how to add dll files in monetdb?

I have installed "monetdb5" and i am getting the error,
"The program can't start because libmapi.dll is missing from your computer.Try reinstalling the program to fix this problem" when i tried to open "mclient.exe" and
"The program can't start because libmonetdb5.dll is missing from your computer.Try reinstalling the program to fix this problem" when i tried to open to "mserver5.exe".
I have reinstalled many times and still i am getting the same error.Could anyone suggest me the solution to solve this issue?
Could you please try with this installer and tell me whether that works? http://homepages.cwi.nl/~hannes/MonetDB5-SQL-Installer-64-20141211.msi

Not able to get Multiple Node Webkit apps started: Broken pipe error

For some reason, I am not able to start the same node-webkit application more than once. If I try to, I get the following error:
[37518:0100/000000:ERROR:zygote_linux.cc(546)] write: Broken pipe
Has anyone been able to do this? Thanks in advance
Solved my problem. Added
"single-instance": false
to the package.json file. Now I am able to start several instances of the same app.

Titanium build error

Just trying to run a test app created in titanium and getting following errors:
/usr/lib/node_modules/titanium/node_modules/longjohn/dist/longjohn.js:185
throw e;
^
TypeError: Cannot read property '0' of undefined
at exports.validate (/home/inscripts/.titanium/mobilesdk/linux/3.1.3.GA/android/cli/commands/_build.js:296:70)
at exports.validatePlatformOptions (/home/inscripts/.titanium/mobilesdk/linux/3.1.3.GA/node_modules/titanium-sdk/lib/titanium.js:443:51)
at exports.validate (/home/inscripts/.titanium/mobilesdk/linux/3.1.3.GA/cli/commands/build.js:112:9)
at callCommandValidate (/usr/lib/node_modules/titanium/lib/cli.js:846:19)
at /usr/lib/node_modules/titanium/node_modules/async/lib/async.js:551:21
at /usr/lib/node_modules/titanium/node_modules/async/lib/async.js:227:13
at iterate (/usr/lib/node_modules/titanium/node_modules/async/lib/async.js:134:13)
at /usr/lib/node_modules/titanium/node_modules/async/lib/async.js:145:25
at /usr/lib/node_modules/titanium/node_modules/async/lib/async.js:229:17
at /usr/lib/node_modules/titanium/node_modules/async/lib/async.js:556:34
---------------------------------------------
at exports.execFile (child_process.js:701:9)
at exports.exec (child_process.js:588:18)
at async.series.cached (/home/inscripts/.titanium/mobilesdk/linux/3.1.3.GA/node_modules/node-appc/lib/android.js:86:4)
at /home/inscripts/.titanium/mobilesdk/linux/3.1.3.GA/node_modules/async/lib/async.js:486:21
at /home/inscripts/.titanium/mobilesdk/linux/3.1.3.GA/node_modules/async/lib/async.js:185:13
at iterate (/home/inscripts/.titanium/mobilesdk/linux/3.1.3.GA/node_modules/async/lib/async.js:108:13)
at /home/inscripts/.titanium/mobilesdk/linux/3.1.3.GA/node_modules/async/lib/async.js:119:25
at /home/inscripts/.titanium/mobilesdk/linux/3.1.3.GA/node_modules/async/lib/async.js:187:17
[ERROR] Application Installer abnormal process termination. Process exit value was 8
Need some help.
You are using Titanium SDK 3.1.3.GA which does not support Android SDK Tools 22.6, nor does it support 64-bit Java. You should update Titanium SDK to newest version.
I was facing the same problem.
and i tried following solution and that did work.
try to update Node.js to the latest version and that should work.
older version of Node.js was generating this error on my machine. when i updated it to a newer version it worked for me.
for reference you can refer following link
https://developer.appcelerator.com/question/150324/error-in-longjohnjs-when-creating-titanium-project
have look into this, may it'll help you.