Coder Social home page Coder Social logo

microsoft / vscode-node-sqlite3 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tryghost/node-sqlite3

34.0 10.0 12.0 74.74 MB

Asynchronous, non-blocking SQLite3 bindings for Node.js

License: BSD 3-Clause "New" or "Revised" License

JavaScript 16.00% Makefile 0.22% PLpgSQL 65.98% Python 0.37% Batchfile 0.03% Shell 0.03% C++ 17.02% C 0.18% HTML 0.04% Dockerfile 0.13%

vscode-node-sqlite3's Introduction

⚙️ node-sqlite3

Asynchronous, non-blocking SQLite3 bindings for Node.js.

Latest release Build Status FOSSA Status N-API v3 Badge N-API v6 Badge

Features

Installing

You can use npm or yarn to install sqlite3:

  • (recommended) Latest published package:
npm install sqlite3
# or
yarn add sqlite3
  • GitHub's master branch: npm install https://github.com/tryghost/node-sqlite3/tarball/master

Prebuilt binaries

sqlite3 v5+ was rewritten to use Node-API so prebuilt binaries do not need to be built for specific Node versions. sqlite3 currently builds for both Node-API v3 and v6. Check the Node-API version matrix to ensure your Node version supports one of these. The prebuilt binaries should be supported on Node v10+.

The module uses node-pre-gyp to download the prebuilt binary for your platform, if it exists. These binaries are hosted on GitHub Releases for sqlite3 versions above 5.0.2, and they are hosted on S3 otherwise. The following targets are currently provided:

Format: napi-v{napi_build_version}-{platform}-{libc}-{arch}

  • napi-v3-darwin-unknown-arm64
  • napi-v3-darwin-unknown-x64
  • napi-v3-linux-glibc-arm64
  • napi-v3-linux-glibc-x64
  • napi-v3-linux-musl-arm64
  • napi-v3-linux-musl-x64
  • napi-v3-win32-unknown-ia32
  • napi-v3-win32-unknown-x64
  • napi-v6-darwin-unknown-arm64
  • napi-v6-darwin-unknown-x64
  • napi-v6-linux-glibc-arm64
  • napi-v6-linux-glibc-x64
  • napi-v6-linux-musl-arm64
  • napi-v6-linux-musl-x64
  • napi-v6-win32-unknown-ia32
  • napi-v6-win32-unknown-x64

Unfortunately, node-pre-gyp cannot differentiate between armv6 and armv7, and instead uses arm as the {arch}. Until that is fixed, you will still need to install sqlite3 from source.

Support for other platforms and architectures may be added in the future if CI supports building on them.

If your environment isn't supported, it'll use node-gyp to build SQLite but you will need to install a C++ compiler and linker.

Other ways to install

It is also possible to make your own build of sqlite3 from its source instead of its npm package (See below.).

The sqlite3 module also works with node-webkit if node-webkit contains a supported version of Node.js engine. (See below.)

SQLite's SQLCipher extension is also supported. (See below.)

API

See the API documentation in the wiki.

Usage

Note: the module must be installed before use.

const sqlite3 = require('sqlite3').verbose();
const db = new sqlite3.Database(':memory:');

db.serialize(() => {
    db.run("CREATE TABLE lorem (info TEXT)");

    const stmt = db.prepare("INSERT INTO lorem VALUES (?)");
    for (let i = 0; i < 10; i++) {
        stmt.run("Ipsum " + i);
    }
    stmt.finalize();

    db.each("SELECT rowid AS id, info FROM lorem", (err, row) => {
        console.log(row.id + ": " + row.info);
    });
});

db.close();

Source install

To skip searching for pre-compiled binaries, and force a build from source, use

npm install --build-from-source

The sqlite3 module depends only on libsqlite3. However, by default, an internal/bundled copy of sqlite will be built and statically linked, so an externally installed sqlite3 is not required.

If you wish to install against an external sqlite then you need to pass the --sqlite argument to npm wrapper:

npm install --build-from-source --sqlite=/usr/local

If building against an external sqlite3 make sure to have the development headers available. Mac OS X ships with these by default. If you don't have them installed, install the -dev package with your package manager, e.g. apt-get install libsqlite3-dev for Debian/Ubuntu. Make sure that you have at least libsqlite3 >= 3.6.

Note, if building against homebrew-installed sqlite on OS X you can do:

npm install --build-from-source --sqlite=/usr/local/opt/sqlite/

Custom file header (magic)

The default sqlite file header is "SQLite format 3". You can specify a different magic, though this will make standard tools and libraries unable to work with your files.

npm install --build-from-source --sqlite_magic="MyCustomMagic15"

Note that the magic must be exactly 15 characters long (16 bytes including null terminator).

Building for node-webkit

Because of ABI differences, sqlite3 must be built in a custom to be used with node-webkit.

To build sqlite3 for node-webkit:

  1. Install nw-gyp globally: npm install nw-gyp -g (unless already installed)

  2. Build the module with the custom flags of --runtime, --target_arch, and --target:

NODE_WEBKIT_VERSION="0.8.6" # see latest version at https://github.com/rogerwang/node-webkit#downloads
npm install sqlite3 --build-from-source --runtime=node-webkit --target_arch=ia32 --target=$(NODE_WEBKIT_VERSION)

This command internally calls out to node-pre-gyp which itself calls out to nw-gyp when the --runtime=node-webkit option is passed.

You can also run this command from within a sqlite3 checkout:

npm install --build-from-source --runtime=node-webkit --target_arch=ia32 --target=$(NODE_WEBKIT_VERSION)

Remember the following:

  • You must provide the right --target_arch flag. ia32 is needed to target 32bit node-webkit builds, while x64 will target 64bit node-webkit builds (if available for your platform).

  • After the sqlite3 package is built for node-webkit it cannot run in the vanilla Node.js (and vice versa).

    • For example, npm test of the node-webkit's package would fail.

Visit the “Using Node modules” article in the node-webkit's wiki for more details.

Building for SQLCipher

For instructions on building SQLCipher, see Building SQLCipher for Node.js. Alternatively, you can install it with your local package manager.

To run against SQLCipher, you need to compile sqlite3 from source by passing build options like:

npm install sqlite3 --build-from-source --sqlite_libname=sqlcipher --sqlite=/usr/

node -e 'require("sqlite3")'

If your SQLCipher is installed in a custom location (if you compiled and installed it yourself), you'll need to set some environment variables:

On OS X with Homebrew

Set the location where brew installed it:

export LDFLAGS="-L`brew --prefix`/opt/sqlcipher/lib"
export CPPFLAGS="-I`brew --prefix`/opt/sqlcipher/include/sqlcipher"
npm install sqlite3 --build-from-source --sqlite_libname=sqlcipher --sqlite=`brew --prefix`

node -e 'require("sqlite3")'

On most Linuxes (including Raspberry Pi)

Set the location where make installed it:

export LDFLAGS="-L/usr/local/lib"
export CPPFLAGS="-I/usr/local/include -I/usr/local/include/sqlcipher"
export CXXFLAGS="$CPPFLAGS"
npm install sqlite3 --build-from-source --sqlite_libname=sqlcipher --sqlite=/usr/local --verbose

node -e 'require("sqlite3")'

Custom builds and Electron

Running sqlite3 through electron-rebuild does not preserve the SQLCipher extension, so some additional flags are needed to make this build Electron compatible. Your npm install sqlite3 --build-from-source command needs these additional flags (be sure to replace the target version with the current Electron version you are working with):

--runtime=electron --target=18.2.1 --dist-url=https://electronjs.org/headers

In the case of MacOS with Homebrew, the command should look like the following:

npm install sqlite3 --build-from-source --sqlite_libname=sqlcipher --sqlite=`brew --prefix` --runtime=electron --target=18.2.1 --dist-url=https://electronjs.org/headers

Testing

npm test

Contributors

Acknowledgments

Thanks to Orlando Vazquez, Eric Fredricksen and Ryan Dahl for their SQLite bindings for node, and to mraleph on Freenode's #v8 for answering questions.

This module was originally created by Mapbox & is now maintained by Ghost.

Changelog

We use GitHub releases for notes on the latest versions. See CHANGELOG.md in git history for details on older versions.

License

node-sqlite3 is BSD licensed.

FOSSA Status

vscode-node-sqlite3's People

Contributors

bnoordhuis avatar bpasero avatar bruce-one avatar daniellockyer avatar erisds avatar gms1 avatar grumdrig avatar jschlight avatar kewde avatar kkaefer avatar kkoopa avatar lvivier avatar mapsam avatar mithgol avatar mohd-akram avatar mscdex avatar mtgto avatar orlandov avatar rhansen avatar ry avatar rzhao271 avatar rzr avatar springmeyer avatar tmcw avatar tomhughes avatar tootallnate avatar tsufeki avatar wilhelmberg avatar wrynearson avatar yhahn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vscode-node-sqlite3's Issues

@vscode\sqlite3 fails to build

There is a problem when installing @vscode\sqlite3 on windows:

npm ERR! code 1
npm ERR! path C:\builds\test\test\test_server\node_modules\@vscode\sqlite3
npm ERR! command failed
npm ERR! command C:\Windows\system32\cmd.exe /d /s /c node-gyp rebuild
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using [email protected]
npm ERR! gyp info using [email protected] | win32 | x64
npm ERR! gyp info find Python using Python version 3.10.2 found at "C:\Python310\python.exe"
npm ERR! gyp http GET https://nodejs.org/download/release/v16.13.2/node-v16.13.2-headers.tar.gz
npm ERR! gyp http 200 https://nodejs.org/download/release/v16.13.2/node-v16.13.2-headers.tar.gz
npm ERR! gyp http GET https://nodejs.org/download/release/v16.13.2/SHASUMS256.txt
npm ERR! gyp http GET https://nodejs.org/download/release/v16.13.2/win-x86/node.lib
npm ERR! gyp http GET https://nodejs.org/download/release/v16.13.2/win-x64/node.lib
npm ERR! gyp http GET https://nodejs.org/download/release/v16.13.2/win-arm64/node.lib
npm ERR! gyp http 200 https://nodejs.org/download/release/v16.13.2/SHASUMS256.txt
npm ERR! gyp http 200 https://nodejs.org/download/release/v16.13.2/win-x86/node.lib
npm ERR! gyp http 200 https://nodejs.org/download/release/v16.13.2/win-x64/node.lib
npm ERR! gyp http 404 https://nodejs.org/download/release/v16.13.2/win-arm64/node.lib
npm ERR! gyp info find VS using VS2019 (16.11.32126.315) found at:
npm ERR! gyp info find VS "C:\BuildTools"
npm ERR! gyp info find VS run with --verbose for detailed information
npm ERR! gyp info spawn C:\Python310\python.exe
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args 'C:\\builds\\test\\test\\test_server\\node_modules\\node-gyp\\gyp\\gyp_main.py',
npm ERR! gyp info spawn args 'binding.gyp',
npm ERR! gyp info spawn args '-f',
npm ERR! gyp info spawn args 'msvs',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args 'C:\\builds\\test\\test\\test_server\\node_modules\\@vscode\\sqlite3\\build\\config.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args 'C:\\builds\\test\\test\\test_server\\node_modules\\node-gyp\\addon.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args 'C:\\Users\\ContainerAdministrator\\AppData\\Local\\node-gyp\\Cache\\16.13.2\\common.gypi',
npm ERR! gyp info spawn args '-Dlibrary=shared_library',
npm ERR! gyp info spawn args '-Dvisibility=default',
npm ERR! gyp info spawn args '-Dnode_root_dir=C:\\Users\\ContainerAdministrator\\AppData\\Local\\node-gyp\\Cache\\16.13.2',
npm ERR! gyp info spawn args '-Dnode_gyp_dir=C:\\builds\\test\\test\\test_server\\node_modules\\node-gyp',
npm ERR! gyp info spawn args '-Dnode_lib_file=C:\\\\Users\\\\ContainerAdministrator\\\\AppData\\\\Local\\\\node-gyp\\\\Cache\\\\16.13.2\\\\<(target_arch)\\\\node.lib',
npm ERR! gyp info spawn args '-Dmodule_root_dir=C:\\builds\\test\\test\\test_server\\node_modules\\@vscode\\sqlite3',
npm ERR! gyp info spawn args '-Dnode_engine=v8',
npm ERR! gyp info spawn args '--depth=.',
npm ERR! gyp info spawn args '--no-parallel',
npm ERR! gyp info spawn args '--generator-output',
npm ERR! gyp info spawn args 'C:\\builds\\test\\test\\test_server\\node_modules\\@vscode\\sqlite3\\build',
npm ERR! gyp info spawn args '-Goutput_dir=.'
npm ERR! gyp info spawn args ]
npm ERR! gyp: C:\Users\ContainerAdministrator\AppData\Local\node-gyp\Cache\16.13.2\common.gypi not found (cwd: C:\builds\test\test\test_server\node_modules\@vscode\sqlite3) while reading includes of binding.gyp while trying to load binding.gyp
npm ERR! gyp ERR! configure error
npm ERR! gyp ERR! stack Error: `gyp` failed with exit code: 1

I am building the code within a windows docker container and it is not happening every time. I guess there is some kind of cache race condition.

Any help appriciated,
hansnull

RETURNING support

underlying sqlite3 version does support RETURNING at last, but when we try to execute INSERT query with RETURNING clause in them, we get undefined response. Is there something that needs to be done to make that work?

ERROR in ./node_modules/@vscode/sqlite3/build/Release/vscode-sqlite3.node

Issue Summary

Developing vscode extension.
Execution error after adding library.
Please help me with the solution.

package.json

    "devDependencies": {
        "@faker-js/faker": "^7.6.0",
        "@types/glob": "^8.0.0",
        "@types/mocha": "^10.0.0",
        "@types/node": "16.x",
        "@types/vscode": "^1.73.0",
        "@typescript-eslint/eslint-plugin": "^5.42.0",
        "@typescript-eslint/parser": "^5.42.0",
        "@vscode/test-electron": "^2.2.0",
        "eslint": "^8.26.0",
        "glob": "^8.0.3",
        "mocha": "^10.1.0",
        "ts-loader": "^9.4.1",
        "typescript": "^4.8.4",
        "webpack": "^5.74.0",
        "webpack-cli": "^4.10.0"
    },
    "dependencies": {
        "@types/lodash": "^4.14.191",
        "@vscode/sqlite3": "^5.1.3-vscode",
        "lodash": "^4.17.21"
    }

Relevant logs or output

ERROR in ./node_modules/@vscode/sqlite3/build/Release/vscode-sqlite3.node 1:2
Module parse failed: Unexpected character '�' (1:2)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
(Source code omitted for this binary file)
@ ./node_modules/@vscode/sqlite3/lib/sqlite3-binding.js 4:16-63
@ ./node_modules/@vscode/sqlite3/lib/sqlite3.js 2:16-47
@ ./src/main/api/handle/EventViewHandle.ts 6:15-41
@ ./src/main/api/ApiProcess.ts 5:26-61
@ ./src/main/api/ApiService.ts 4:21-44
@ ./src/main/webview/pages/WebViewPageScheduleTraceGraph.ts 5:21-52
@ ./src/main/webview/WebViewManager.ts 4:40-88
@ ./src/main/init.ts 8:25-60
@ ./src/extension.ts 7:13-35

webpack 5.75.0 compiled with 1 error in 936 ms
[webpack-cli] Compiler is watching files for updates...

Version

@vscode/sqlite3": "^5.1.3-vscode"

Node.js Version

v18.15.0

How did you install the library?

windows10, 64bit, intel

Clarify intentions of vscode-node-sqlite3

The lack of response to TryGhost#1493 has caused a bit of frustration and projects are increasingly turning to vscode-node-sqlite3 as a new maintained fork. One example of a project that is changing to @vscode/sqlite3 is Knex. A pretty popular SQL query builder. See knex/knex#4858 and knex/knex#4866.

It is unclear from https://www.npmjs.com/package/@vscode/sqlite3 and the commits, issues, comments associated with this repo whether this is indeed the intent of microsoft/vscode-node-sqlite3.

Could you clarify your intentions? Can this be considered a new long-term public fork of node-sqlite3?

Build fails

npm ERR! code 1
npm ERR! path /home/jitesh_u/Documents/Javascript/keyv/packages/sqlite/node_modules/sqlite3
npm ERR! command failed
npm ERR! command sh -c node-gyp rebuild
npm ERR! make: Entering directory '/home/jitesh_u/Documents/Javascript/keyv/packages/sqlite/node_modules/sqlite3/build'
npm ERR!   CC(target) Release/obj.target/nothing/../node-addon-api/nothing.o
npm ERR!   AR(target) Release/obj.target/../node-addon-api/nothing.a
npm ERR!   COPY Release/nothing.a
npm ERR!   ACTION deps_sqlite3_gyp_action_before_build_target_unpack_sqlite_dep Release/obj/gen/sqlite-autoconf-3360000/sqlite3.c
npm ERR! make: Leaving directory '/home/jitesh_u/Documents/Javascript/keyv/packages/sqlite/node_modules/sqlite3/build'
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using [email protected]
npm ERR! gyp info using [email protected] | linux | x64
npm ERR! gyp info find Python using Python version 3.8.10 found at "/usr/bin/python3"
npm ERR! gyp info spawn /usr/bin/python3
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args   '/home/jitesh_u/.volta/tools/image/node/16.13.2/lib/node_modules/npm/node_modules/@npmcli/run-script/node_modules/node-gyp/gyp/gyp_main.py',
npm ERR! gyp info spawn args   'binding.gyp',
npm ERR! gyp info spawn args   '-f',
npm ERR! gyp info spawn args   'make',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/home/jitesh_u/Documents/Javascript/keyv/packages/sqlite/node_modules/sqlite3/build/config.gypi',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/home/jitesh_u/.volta/tools/image/node/16.13.2/lib/node_modules/npm/node_modules/@npmcli/run-script/node_modules/node-gyp/addon.gypi',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/home/jitesh_u/.cache/node-gyp/16.13.2/include/node/common.gypi',
npm ERR! gyp info spawn args   '-Dlibrary=shared_library',
npm ERR! gyp info spawn args   '-Dvisibility=default',
npm ERR! gyp info spawn args   '-Dnode_root_dir=/home/jitesh_u/.cache/node-gyp/16.13.2',
npm ERR! gyp info spawn args   '-Dnode_gyp_dir=/home/jitesh_u/.volta/tools/image/node/16.13.2/lib/node_modules/npm/node_modules/@npmcli/run-script/node_modules/node-gyp',
npm ERR! gyp info spawn args   '-Dnode_lib_file=/home/jitesh_u/.cache/node-gyp/16.13.2/<(target_arch)/node.lib',
npm ERR! gyp info spawn args   '-Dmodule_root_dir=/home/jitesh_u/Documents/Javascript/keyv/packages/sqlite/node_modules/sqlite3',
npm ERR! gyp info spawn args   '-Dnode_engine=v8',
npm ERR! gyp info spawn args   '--depth=.',
npm ERR! gyp info spawn args   '--no-parallel',
npm ERR! gyp info spawn args   '--generator-output',
npm ERR! gyp info spawn args   'build',
npm ERR! gyp info spawn args   '-Goutput_dir=.'
npm ERR! gyp info spawn args ]
npm ERR! gyp info spawn make
npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
npm ERR! /bin/sh: 1: python: not found
npm ERR! make: *** [deps/action_before_build.target.mk:13: Release/obj/gen/sqlite-autoconf-3360000/sqlite3.c] Error 127
npm ERR! gyp ERR! build error 
npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2
npm ERR! gyp ERR! stack     at ChildProcess.onExit (/home/jitesh_u/.volta/tools/image/node/16.13.2/lib/node_modules/npm/node_modules/@npmcli/run-script/node_modules/node-gyp/lib/build.js:194:23)
npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:390:28)
npm ERR! gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
npm ERR! gyp ERR! System Linux 5.10.93.2-microsoft-standard-WSL2
npm ERR! gyp ERR! command "/home/jitesh_u/.volta/tools/image/node/16.13.2/bin/node" "/home/jitesh_u/.volta/tools/image/node/16.13.2/lib/node_modules/npm/node_modules/@npmcli/run-script/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
npm ERR! gyp ERR! cwd /home/jitesh_u/Documents/Javascript/keyv/packages/sqlite/node_modules/sqlite3
npm ERR! gyp ERR! node -v v16.13.2
npm ERR! gyp ERR! node-gyp -v v9.0.0
npm ERR! gyp ERR! not ok

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/jitesh_u/.npm/_logs/2022-03-10T18_06_42_144Z-debug.log

Ubuntu 20

Binaries are missing

It seems that the binary distribution has not been set up at all. The binary section of package.json still refers to the Mapbox S3 bucket, which obviously does not have binaries for the newer versions.

Electron 9: crash in SQLite 5.x on shutdown

To reproduce:

  • be on macOS
  • in VSCode open the ben/sqlite-5.x branch
  • yarn && yarn watch
  • start VSCode and quit

Dump:

Operating system: Mac OS X
                  10.15.6 19G73
CPU: amd64
     family 6 model 158 stepping 13
     16 CPUs
GPU: UNKNOWN
Crash reason:  0x00000000 / 0x00000000
Crash address: 0x7fff6890733a
Process uptime: 5 seconds
Thread 0 (crashed)
 0  libsystem_kernel.dylib!__pthread_kill + 0xa
    rax = 0x0000000000000000   rdx = 0x0000000000000000
    rcx = 0x00007ffee5202e48   rbx = 0x000000010f3b0dc0
    rsi = 0x0000000000000006   rdi = 0x0000000000000307
    rbp = 0x00007ffee5202e70   rsp = 0x00007ffee5202e48
     r8 = 0x0000000000000000    r9 = 0x0000000000989680
    r10 = 0x000000010f3b0dc0   r11 = 0x0000000000000246
    r12 = 0x0000000000000307   r13 = 0x0000000000000050
    r14 = 0x0000000000000006   r15 = 0x0000000000000016
    rip = 0x00007fff6890733a
    Found by: given as instruction pointer in context
 1  libsystem_c.dylib!__abort + 0x8b
    rbp = 0x00007ffee5202ec0   rsp = 0x00007ffee5202e80
    rip = 0x00007fff6888e8a2
    Found by: previous frame's frame pointer
 2  libsystem_c.dylib!abort + 0x87
    rbp = 0x00007ffee5202f00   rsp = 0x00007ffee5202ed0
    rip = 0x00007fff6888e817
    Found by: previous frame's frame pointer
 3  libsystem_malloc.dylib!malloc_vreport + 0x224
    rbp = 0x00007ffee5202f60   rsp = 0x00007ffee5202f10
    rip = 0x00007fff6898450b
    Found by: previous frame's frame pointer
 4  libsystem_malloc.dylib!malloc_report + 0x97
    rbp = 0x00007ffee5203040   rsp = 0x00007ffee5202f70
    rip = 0x00007fff6898740f
    Found by: previous frame's frame pointer
 5  Electron Framework + 0x5fb060c
    rbp = 0x00007ffee5203060   rsp = 0x00007ffee5203050
    rip = 0x000000011539b60c
    Found by: previous frame's frame pointer
 6  sqlite.node + 0x123a5
    rbp = 0x00007ffee5203080   rsp = 0x00007ffee5203070
    rip = 0x000000011a2203a5
    Found by: previous frame's frame pointer
 7  Electron Framework + 0x5fc84f9
    rbp = 0x00007ffee52030b0   rsp = 0x00007ffee5203090
    rip = 0x00000001153b34f9
    Found by: previous frame's frame pointer
 8  Electron Framework + 0x5fc8482
    rbp = 0x00007ffee52030e0   rsp = 0x00007ffee52030c0
    rip = 0x00000001153b3482
    Found by: previous frame's frame pointer
 9  Electron Framework + 0x5fc830e
    rbp = 0x00007ffee5203100   rsp = 0x00007ffee52030f0
    rip = 0x00000001153b330e
    Found by: previous frame's frame pointer
10  Electron Framework + 0x5f9cbaf
    rbp = 0x00007ffee5203170   rsp = 0x00007ffee5203110
    rip = 0x0000000115387baf
    Found by: previous frame's frame pointer
11  Electron Framework + 0x5f6a28e
    rbp = 0x00007ffee5203190   rsp = 0x00007ffee5203180
    rip = 0x000000011535528e
    Found by: previous frame's frame pointer
12  Electron Framework + 0xd769f
    rbp = 0x00007ffee52031e0   rsp = 0x00007ffee52031a0
    rip = 0x000000010f4c269f
    Found by: previous frame's frame pointer
13  Electron Framework + 0x1c0d5d1
    rbp = 0x00007ffee5203270   rsp = 0x00007ffee52031f0
    rip = 0x0000000110ff85d1
    Found by: previous frame's frame pointer
14  Electron Framework + 0x1c0ee74
    rbp = 0x00007ffee52032b0   rsp = 0x00007ffee5203280
    rip = 0x0000000110ff9e74
    Found by: previous frame's frame pointer
15  Electron Framework + 0x1c0abf4
    rbp = 0x00007ffee5203300   rsp = 0x00007ffee52032c0
    rip = 0x0000000110ff5bf4
    Found by: previous frame's frame pointer
16  Electron Framework + 0x1ab3f66
    rbp = 0x00007ffee5203380   rsp = 0x00007ffee5203310
    rip = 0x0000000110e9ef66
    Found by: previous frame's frame pointer
17  Electron Framework + 0x1ab3bbb
    rbp = 0x00007ffee52033f0   rsp = 0x00007ffee5203390
    rip = 0x0000000110e9ebbb
    Found by: previous frame's frame pointer
18  Electron Framework + 0x40392c8
    rbp = 0x00007ffee5203740   rsp = 0x00007ffee5203400
    rip = 0x00000001134242c8
    Found by: previous frame's frame pointer
19  Electron Framework + 0xd32d54
    rbp = 0x00007ffee52037d0   rsp = 0x00007ffee5203750
    rip = 0x000000011011dd54
    Found by: previous frame's frame pointer
20  Electron Framework + 0x2bd4
    rbp = 0x00007ffee5203860   rsp = 0x00007ffee52037e0
    rip = 0x000000010f3edbd4
    Found by: previous frame's frame pointer
21  Electron!main [electron_main.cc : 274 + 0xa]
    rbp = 0x00007ffee5203910   rsp = 0x00007ffee5203870
    rip = 0x000000010a9fd110
    Found by: previous frame's frame pointer
22  libdyld.dylib!start + 0x1
    rbp = 0x00007ffee5203928   rsp = 0x00007ffee5203920
    rip = 0x00007fff687bfcc9
    Found by: previous frame's frame pointer
23  libdyld.dylib!start + 0x1
    rbp = 0x00007ffee5203928   rsp = 0x00007ffee5203928
    rip = 0x00007fff687bfcc9
    Found by: stack scanning

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.