Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Database Init Error] Aborted(). Build with -sASSERTIONS for more info. #5201

Open
3RDLG opened this issue Dec 27, 2024 · 2 comments
Open

[Database Init Error] Aborted(). Build with -sASSERTIONS for more info. #5201

3RDLG opened this issue Dec 27, 2024 · 2 comments

Comments

@3RDLG
Copy link

3RDLG commented Dec 27, 2024

{
  "message": "Aborted(). Build with -sASSERTIONS for more info.",
  "name": "RuntimeError",
  "stack": "RuntimeError: Aborted(). Build with -sASSERTIONS for more info.\n    at abort (https://chat-preview.lobehub.com/_next/static/chunks/0871ae57.a5177feddfc2d7a1.js:1:74636)\n    at __abort_js (https://chat-preview.lobehub.com/_next/static/chunks/0871ae57.a5177feddfc2d7a1.js:1:157025)\n    at postgres.wasm.abort (wasm://wasm/postgres.wasm-02840556:wasm-function[14924]:0x6d6d64)\n    at postgres.wasm.ExceptionalCondition (wasm://wasm/postgres.wasm-02840556:wasm-function[12846]:0x5f0dcc)\n    at postgres.wasm.pg_re_throw (wasm://wasm/postgres.wasm-02840556:wasm-function[12791]:0x5eb5ae)\n    at invoke_v (https://chat-preview.lobehub.com/_next/static/chunks/0871ae57.a5177feddfc2d7a1.js:2:228442)\n    at postgres.wasm.PortalRun (wasm://wasm/postgres.wasm-02840556:wasm-function[7212]:0x3eca58)\n    at postgres.wasm.exec_simple_query (wasm://wasm/postgres.wasm-02840556:wasm-function[7297]:0x3ff710)\n    at postgres.wasm.interactive_file (wasm://wasm/postgres.wasm-02840556:wasm-function[7294]:0x3f8f3f)\n    at postgres.wasm.RePostgresSingleUserMain (wasm://wasm/postgres.wasm-02840556:wasm-function[7293]:0x3f8c19)\n    at postgres.wasm.pg_initdb (wasm://wasm/postgres.wasm-02840556:wasm-function[4958]:0x25633a)\n    at Module._pg_initdb (https://chat-preview.lobehub.com/_next/static/chunks/0871ae57.a5177feddfc2d7a1.js:2:112385)\n    at t.rC (https://chat-preview.lobehub.com/_next/static/chunks/65865.1b874f6496f36293.js:8:14904)\n    at async t._checkReady (https://chat-preview.lobehub.com/_next/static/chunks/65865.1b874f6496f36293.js:8:10044)\n    at async t.query (https://chat-preview.lobehub.com/_next/static/chunks/65865.1b874f6496f36293.js:8:179)\n    at async z.migrate (https://chat-preview.lobehub.com/_next/static/chunks/31030.41eb6197e9e464b5.js:7:5)\n    at async q.migrate (https://chat-preview.lobehub.com/_next/static/chunks/87299-4ff2d9202b88ffb0.js:1:59057)\n    at async https://chat-preview.lobehub.com/_next/static/chunks/87299-4ff2d9202b88ffb0.js:1:59867\n    at async Object.initializeClientDB (https://chat-preview.lobehub.com/_next/static/chunks/app/page-276e8414b39b8486.js:1:15924)\n    at async https://chat-preview.lobehub.com/_next/static/chunks/94712-533713ef4a413e4d.js:1:9248"
}
@lobehubbot
Copy link
Member

👀 @3RDLG

Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible.
Please make sure you have given us as much context as possible.
非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

Copy link

dosubot bot commented Dec 27, 2024

Hey there, @3RDLG! I'm here to help you with any bugs, questions, or contributions. Let's squash those bugs together! 🐞

I found a similar open issue regarding the error message "Aborted(). Build with -sASSERTIONS for more info" in the lobe-chat project. The suggested solution is to:

  1. Enable Assertions: Rebuild the WebAssembly module with the -sASSERTIONS flag enabled to get more detailed error messages.
  2. Check for Common Issues: Ensure there are no incorrect or incompatible WebAssembly module versions, missing or incorrect initialization parameters, or issues with the environment or dependencies.
  3. Review Initialization Code: Verify that the database initialization process is correctly implemented and that all necessary dependencies are loaded properly.
  4. Debugging: Use browser developer tools to inspect network requests and console logs for additional clues or errors related to the WebAssembly module.

Following these steps should help you gather more information about the error and work towards a solution. You can find more details in the issue thread [1].

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants