tursodatabase / tursodatabase/libsql

illegal hardware instruction (core dumped) sqld

Open
#1,760 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
17.2k
Forks
531
Avg merge
1h 12m
Merged PRs (30d)
1

Description

sqld command output:

           _     _
 ___  __ _| | __| |
/ __|/ _` | |/ _` |
\__ \ (_| | | (_| |
|___/\__, |_|\__,_|
        |_|

Welcome to sqld!

version: 0.24.18
build date: 1980-01-01

This software is in BETA version.
If you encounter any bug, please open an issue at https://github.com/tursodatabase/libsql/issues

config:
        - mode: standalone
        - database path: data.sqld
        - extensions path: <disabled>
        - listening for HTTP requests on: 127.0.0.1:8080
        - grpc_tls: no
2024-09-29T00:41:31.855805Z  INFO sqld: listening for incoming user HTTP connection on 127.0.0.1:8080
2024-09-29T00:41:31.857001Z  INFO libsql_server: using sqlite3 wal
[1]    26183 illegal hardware instruction (core dumped)  sqld

dmesg command output:

[ 1491.508287] traps: sqld[26183] trap invalid opcode ip:5ec1ad181dc5 sp:7fff999fdb40 error:0 in sqld[1199dc5,5ec1ac170000+1352000]

uname -a command output:

Linux genesis 6.10.9-zen1 #1-NixOS ZEN SMP PREEMPT_DYNAMIC Tue Jan  1 00:00:00 UTC 1980 x86_64 GNU/Linux

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce sqld 0.24.18 in standalone mode with data.sqld on the reported Linux x86_64 environment. Start with the dmesg invalid-opcode report and any available core dump; done means sqld starts and continues serving requests without an illegal-instruction crash.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, sqlite
Domain
databases, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.