Commit Graph

292 Commits

Author SHA1 Message Date
Paul Driver
9104ad2acb reap call sites before reaping the warm dashboard
if the warm dashboard is reaped before call sites, the activation
(and thus the label inside the activation) can be freed (during u3h_put)
while a call site in the junior still points to the label (but doesn't hold
a reference to it, since it is on a senior road). trying to take that label
during call site reap then results in a bail: foul.

the solution is to always reap call sites before reaping the warm dashboard.
2018-11-20 11:40:11 -08:00
Benjamin Summers
5304a7f255 Fix bail_fail on &33:~ 2018-11-13 16:22:49 -08:00
Benjamin Summers
fa576b00d7 Implemented u3t_boff for Linux. 2018-11-12 12:20:32 -08:00
Paul Driver
55f94d6818 fix reference handling error in _n_reap() 2018-11-09 11:53:14 -08:00
Joe Bryan
63e16f8d64 removes no-op conditional in _cj_site_kick_hot() 2018-11-01 16:16:01 -04:00
Joe Bryan
aa12e760ba fixes profiling of hinted but unjetted arms 2018-11-01 15:04:42 -04:00
Joe Bryan
35bfb49086 Merge branch 'release-candidate' into ames-eth-keys
* release-candidate: (21 commits)
  zinc gate casting bug
  Bug fix for metal-wrapping runes
  converting iron and zinc cores to lead bug
  8. updates nock 4K spec
  7. updates %5 to require two subformulas (nock 4K)
  6. implements edit at %10 (nock 4K)
  5. removes %13 and %14 (nock 4K)
  4. emits %11 and %12 (nock 4K)
  3. implements hint at %11 and wish at %12 (nock 4K)
  2. removes %10 and %11 (nock 4K)
  1. duplicates hint (%10) and wish (%11) at %13 and %14 (nock 4K)
  Disable terminal echo on passcode entry
  increased inbound request and ward timeouts to 5 min
  mutating edit
  bail in _n_edit on invalid path
  avoid allocating an atom for _cj_bash
  bypass mat and chop directly in jam
  small memory leak for large edits
  disable hike jet, kill errant and unneccessary mutate-context-sample opcodes
  bugfixes
  ...
2018-11-01 00:16:20 -04:00
Joe Bryan
b88a2b5062 refactors u3v_wish for clarity 2018-10-28 21:10:25 -04:00
Joe Bryan
7507de1e6c 7. updates %5 to require two subformulas (nock 4K) 2018-10-10 20:20:05 -04:00
Joe Bryan
147941ba07 6. implements edit at %10 (nock 4K) 2018-10-10 19:51:37 -04:00
Joe Bryan
b21b1c6fe1 WIP Merge remote-tracking branch 'fodwyt/edit' into nock-4k
* fodwyt/edit:
  mutating edit
  bail in _n_edit on invalid path
  avoid allocating an atom for _cj_bash
  bypass mat and chop directly in jam
  small memory leak for large edits
  disable hike jet, kill errant and unneccessary mutate-context-sample opcodes
  bugfixes
  first pass at nock 12 impl
2018-10-10 19:50:13 -04:00
Joe Bryan
8f42a29933 5. removes %13 and %14 (nock 4K) 2018-10-10 19:26:50 -04:00
Joe Bryan
4d6950d68a 3. implements hint at %11 and wish at %12 (nock 4K) 2018-10-10 18:40:13 -04:00
Joe Bryan
f64b5c8f80 2. removes %10 and %11 (nock 4K) 2018-10-10 18:16:07 -04:00
Joe Bryan
82c89c1696 1. duplicates hint (%10) and wish (%11) at %13 and %14 (nock 4K) 2018-10-10 17:59:50 -04:00
Joe Bryan
9a3608158f adds comments for known-valid u3r_at calls in jets.c 2018-10-03 11:57:00 -04:00
Joe Bryan
1c49b0438a bail %exit in _cj_site_lock if axis is not in core 2018-10-02 19:36:04 -04:00
Joe Bryan
f0524c23f0 Merge branch 'release-candidate' into hashboard
* release-candidate: (138 commits)
  adds meson option (-Dprof=true) to set U3_CPU_DEBUG
  adds meson option (-Dgc=true) to set U3_MEMORY_DEBUG
  refactors http card validation
  fixes leak in proxy when networking is disabled
  fixes leak in _http_serv_start_all
  bypassed profiling bug
  Eliminate cons optimization.
  Remove broken assert.
  Clean up some printfs.
  increases tcp proxy listener timeout to 2 minutes
  fixes dumb bug in tcp reverse proxy remote address resolution
  Fix issue with trimming >4 character jet names
  upgrades libh2o to v0.13.5 (h2o v2.2.5)
  sets the http client request timeout to 2 minutes
  adds an http request timer to ensure connections are always closed
  adds an http request timer to ensure connections are always closed
  adds (disabled) h2o access log
  don't leak ship-name in _proxy_ward_connect()
  refactors .http.ports write/release (avoid the loom, etc.)
  updates SSL_CTX init to support any PEM private key, simplifies error handling
  ...
2018-10-02 18:25:41 -04:00
Fang
7569f8d8ad Fix issue with trimming >4 character jet names 2018-10-02 15:24:29 -04:00
Joe Bryan
b1f8b79992 adds -S to skip battery hashes 2018-10-02 15:23:35 -04:00
Joe Bryan
8d9f2fac89 fixes u3n_prog pointers in u3n_ream() 2018-10-02 15:15:37 -04:00
Isaac Visintainer
359388a63f bypassed profiling bug 2018-09-27 16:42:43 -07:00
Joe Bryan
89479463e5
Merge pull request #1017 from urbit/fix-jet-name-trim
Fix issue with trimming >4 character jet names
2018-09-07 18:02:50 -04:00
Joe Bryan
ba5e228d78 Merge branch 'https-proxy-config' into ford-turbo-proxy
* https-proxy-config: (92 commits)
  increases tcp proxy listener timeout to 2 minutes
  fixes dumb bug in tcp reverse proxy remote address resolution
  upgrades libh2o to v0.13.5 (h2o v2.2.5)
  sets the http client request timeout to 2 minutes
  adds an http request timer to ensure connections are always closed
  adds an http request timer to ensure connections are always closed
  adds (disabled) h2o access log
  don't leak ship-name in _proxy_ward_connect()
  refactors .http.ports write/release (avoid the loom, etc.)
  updates SSL_CTX init to support any PEM private key, simplifies error handling
  adds u3_wcon (ward candidate conn), refactors ward connection accept and auth
  enables ALPN and HTTP2 over TLS
  increases timeout before server struct, adds explanatory comment
  closes u3_ward stream and timer sequentially, fixing use-after-free per ASan
  moves u3_pact to vere.h, replacing the unused u3_apac
  fixes memory leak in failed cttp.c address resolution
  suppresses AddressSanitizer in vararg functions u3i_molt and u3r_mean
  ignores AddressSanitizer errors in jets.c
  updates %wise and %that to give and receive the proxy auth nonce
  implements nonce-baced authentication for u3_ward proxies
  ...
2018-08-20 22:24:13 -04:00
Joe Bryan
dacb80eef0 Merge branch 'master' into https-proxy-config
* master:
  adds an http request timer to ensure connections are always closed
  moves u3_pact to vere.h, replacing the unused u3_apac
  fixes memory leak in failed cttp.c address resolution
  Remove deprecated paths from gitignore
  print error on failed syscall in _ce_patch_create()
  removes tabs from http.c
  removes orphaned telnet constants and forward declarations
2018-08-09 18:22:53 -04:00
Fang
ad628cbf64
Fix issue with trimming >4 character jet names 2018-07-20 01:31:28 +02:00
Joe Bryan
d5c075b185 suppresses AddressSanitizer in vararg functions u3i_molt and u3r_mean 2018-07-12 16:01:57 -04:00
Joseph Bryan
053509b7c4 ignores AddressSanitizer errors in jets.c 2018-07-12 16:01:57 -04:00
Paul Driver
7dcc2303d1 mutating edit 2018-07-02 07:47:48 -07:00
Joe Bryan
78a0d7732f print error on failed syscall in _ce_patch_create() 2018-06-18 13:50:26 -04:00
Paul Driver
07e524532f avoid allocating an atom for _cj_bash 2018-06-15 11:17:56 -07:00
Paul Driver
6ce5fb681e bail in _n_edit on invalid path 2018-06-14 12:25:45 -07:00
Paul Driver
e629272ac6 avoid allocating an atom for _cj_bash 2018-06-14 11:36:56 -07:00
Paul Driver
0fe4157b82 small memory leak for large edits 2018-06-12 10:23:47 -07:00
Paul Driver
61f9a39f35 disable hike jet, kill errant and unneccessary mutate-context-sample opcodes 2018-06-11 15:04:49 -07:00
Paul Driver
0c64dabc97 bugfixes 2018-06-10 14:02:07 -07:00
Paul Driver
c8da5efe2b first pass at nock 12 impl 2018-06-10 10:39:36 -07:00
Paul Driver
da051310df Merge branch 'master' into hashboard 2018-06-04 14:15:53 -07:00
Paul Driver
a8d7d79b0c use nul prefix for regular (no loc) nock formulas, fix memory leak in _cj_mile, delete unused code 2018-06-04 13:53:41 -07:00
Paul Driver
88b7d23ed8 fix reaming after changing cold dash 2018-05-30 11:32:10 -07:00
Paul Driver
402e77357d stash - working out which hash to use 2018-05-29 21:33:10 -07:00
Paul Driver
d19fde0b5a memory bug in ice testing 2018-05-29 21:32:47 -07:00
Curtis Yarvin
b089420cea Some renaming and stuff. 2018-05-27 12:16:13 -07:00
Paul Driver
5c0232a42b bug in _box_slot 2018-05-26 20:49:11 -07:00
Paul Driver
1486aec835 better bash conveyance 2018-05-26 12:03:09 -07:00
Paul Driver
7fe3eee82a program splitting for located cores 2018-05-25 18:17:19 -07:00
Paul Driver
56ff1520bf bug in _box_slot 2018-05-25 17:54:03 -07:00
Paul Driver
8c4fd067de general battery hash caching 2018-05-25 17:53:36 -07:00
Paul Driver
a0819e41f8 remove superflous profiling quals 2018-05-16 15:18:17 -07:00
Paul Driver
21637cdca9 fix bug in u3j_gate_prep and move hot_p to home road 2018-05-16 13:45:40 -07:00