Commit Graph

19405 Commits

Author SHA1 Message Date
Pyry Kovanen
f5799a9e77
Lick Pointer bug (#722)
Fixes a bug where you couldn't access any lick ports after opening the
first one due to stupid pointer allocations
2024-09-27 18:46:52 +03:00
Amadeo Bellotti
8d4b4083fa Fixed a really dumb pointer bug that wouldn't let you disconnect from previously opened lick ports 2024-09-27 11:14:39 -04:00
Pyry Kovanen
ded901fc3e
Aor jet (#690)
`++aor` jet. 10x speed up with this input:

```hoon
(aor 'aaaaaaaaaaaaaaaa' 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa')
```
2024-09-25 18:14:44 +03:00
Pyry Kovanen
3761ed0205
Add stacktrace (#674)
Related to #659 

Adds backtrace printing to SIGSEGV signal handling. Tries to print file
and line number with libbacktrace, falls back to using standard
backtrace when debug info is unavailable.

Before:
<img width="715" alt="Screenshot 2024-07-11 at 15 58 52"
src="https://github.com/urbit/vere/assets/22086553/3ba89d96-c50c-40a5-8fd4-f6e636b8aec3">

After (with dsyms):
<img width="715" alt="Screenshot 2024-07-24 at 17 11 56"
src="https://github.com/user-attachments/assets/b333516f-c36f-48ce-afd2-95de9f812843">

After (without dsyms):
<img width="715" alt="Screenshot 2024-07-24 at 17 14 31"
src="https://github.com/user-attachments/assets/59956429-2fc7-478e-a05d-1807db21b18f">
2024-09-16 15:56:45 +03:00
pkova
df8e34e3e8 manage: fix error check in backtrace codepath 2024-09-16 15:23:07 +03:00
pkova
62e4cc20bf Revert "bazel: bump openssl"
This reverts commit e5fa962ee0.
2024-09-16 15:21:26 +03:00
pkova
d8fba622d6 manage: general cleanup of the stacktrace code 2024-09-16 15:04:44 +03:00
pkova
b5d53e2d5a manage: also print stacktrace on external fault 2024-09-16 14:56:36 +03:00
Pyry Kovanen
5fcf1172cb
Add debugging instructions (#685)
Since I can never remember these and derive them _ab initio_ every
single time.
2024-09-13 18:33:12 +03:00
Pyry Kovanen
c48222271f
lick: add : to prints to match other vanes (#704)
This was bugging me:
```
lick init mkdir bus/.urb/dev
ames: live on 31519 (localhost only)
conn: listening on bus/.urb/conn.sock
```

This PR adds a `:` to all `%lick` debug prints so that it matches
behavior of all the other vanes:
```
lick: init mkdir bus/.urb/dev
ames: live on 31519 (localhost only)
conn: listening on bus/.urb/conn.sock
```
2024-08-14 16:55:19 +03:00
Pyry Kovanen
aadd406cf4
Merge master back to develop after vere-v3.1 (#706) 2024-08-13 17:27:02 +03:00
Pyry Kovanen
be3b0424f7
Release vere-v3.1 (#705) 2024-08-12 17:40:25 +03:00
Matthew LeVan
d5594bce8d lick: add : to prints to match other vanes 2024-08-09 08:58:38 -04:00
Pyry Kovanen
b5b9840131
Merge release back to develop (#702) 2024-08-08 16:08:12 +03:00
Pyry Kovanen
fa249d0b85
Merge develop to release (#701) 2024-08-08 13:26:44 +03:00
Pyry Kovanen
47d2fedefa
vere: use fcntl advisory locks on pidfile (#697)
The PR replaces vere's current (buggy, insufficient) lockfile mechanism
with an advisory `fcntl()` write lock (`F_SETLK`, `F_WRLCK`) on the
first byte of vere's PID file (`$pier/.vere.lock`). It does not (yet?)
include the functionality to kill the lock-holder and take over the
pier, as I'm not sure that's desirable.

There have been many problems with vere's current lockfile
implementation. The biggest advantage of this approach is that the lock
is automatically released if the process is killed or the host system
crashes. The biggest question is: does it work reliably across docker
shared volumes, virtual machines, &c.
2024-08-06 20:36:46 +03:00
Joe Bryan
e36ea43e13 vere: use fcntl advisory locks on pidfile 2024-08-05 21:49:07 -04:00
Quodss
d24221754c naming conventions 2024-08-05 19:55:52 +02:00
Quodss
3ddba6af61 length fix, remove dead code 2024-08-05 19:27:42 +02:00
Pyry Kovanen
60b5d4f6f3
docs: add autoconf-archive to installation instructions (#692) 2024-08-05 13:57:13 +03:00
Pyry Kovanen
f8a93aaf85
Merge release back to develop (#696) 2024-08-05 13:56:45 +03:00
Pyry Kovanen
4a48a508b1
Merge develop to release (#695) 2024-08-02 19:50:59 +03:00
Pyry Kovanen
148219de70
stun: fix stun (#694)
Informal pinging has been broken since #623, luckily this was
unreleased, but existed edge.
2024-08-02 19:08:54 +03:00
Pyry Kovanen
889679909b
stun: fix stun 2024-08-02 18:50:33 +03:00
Matthew LeVan
b22f4454d1 docs: add autoconf-archive to installation instructions 2024-08-02 11:29:09 -04:00
Pyry Kovanen
747cdeab73
Merge develop to release (#691) 2024-07-31 23:28:21 +03:00
Quodss
f04a8bcfdf little endian optimization 2024-07-31 20:30:01 +02:00
Quodss
f54e67120a refactor to follow hoon flow 2024-07-31 18:13:04 +02:00
Pyry Kovanen
d8f4ac0600
events: even better error messages for partial write (#636)
#622 helped with this, but it's still overly laconic about what's going
on. I think this is better.
2024-07-31 18:44:59 +03:00
Quodss
cb13d69c5b remove helping function 2024-07-31 17:09:30 +02:00
Quodss
663a54af3d optimizations 2024-07-31 16:36:03 +02:00
Quodss
0c9d7682a6 restore common settings 2024-07-31 12:48:57 +02:00
Quodss
2be5296db5 jet fix no copy 2024-07-31 12:47:16 +02:00
Quodss
f7fc53c1a0 rollback to copy 2024-07-31 10:02:09 +02:00
Quodss
2638bc35cb inline lth 2024-07-31 06:34:25 +02:00
Quodss
3f862f86cb len_w 2024-07-31 06:26:04 +02:00
Quodss
1a66d26a92 aor don't copy 2024-07-31 06:23:56 +02:00
Quodss
76d8326967 aor jet 2024-07-31 06:01:20 +02:00
Quodss
8c638594b1 aor jet registration causes segfault 2024-07-31 05:59:20 +02:00
Pyry Kovanen
0ca0269b5f
Merge develop to release (#688) 2024-07-30 19:27:58 +03:00
pkova
6c3103c4d4 Merge branch 'ripa/stacktrace' of https://github.com/urbit/vere into ripa/stacktrace 2024-07-30 18:25:50 +03:00
Santeri Hannula
a068cbde68 manage: use fprintf instead of u3l_log for stacktrace 2024-07-30 15:04:24 +03:00
Pyry Kovanen
3e6219dee3
Update VERSION to 3.1 (#686) 2024-07-29 15:40:44 +03:00
Pyry Kovanen
229f6a7c55
Update VERSION to 3.1 2024-07-29 15:35:26 +03:00
pkova
5e6fe6c8d6 Merge remote-tracking branch 'origin/develop' into ripa/stacktrace 2024-07-27 21:30:28 +03:00
pkova
e5fa962ee0 bazel: bump openssl 2024-07-27 21:30:08 +03:00
Sigilante
2e9a5d60c6
Add debugging instructions 2024-07-26 11:41:25 -05:00
Pyry Kovanen
f6c8c5a54a
play: use libuv for replay (#682)
Resolves #679.
2024-07-26 19:24:44 +03:00
Matthew LeVan
56932e5e23 play: replay with libuv complete 2024-07-26 12:02:42 -04:00
Santeri Hannula
cc17895e82 build: decrease liburcrypt optimization level 2024-07-25 17:19:50 +03:00