[RFC] Importing modules using an in-memory structured representation of olean files

(I don't know how much time I'll have during the next few days, so I'm putting this here for comments, even though there are still some improvements to try out.)
Same motivation as #1243, different approach: this is option 2 from that PR.
Right now the way we import modules is by essentially going environment --> std::string --> environment.  This PR changes this to environment --> modification_list --> environment, c.f. environment --> modification_list --> std::string --> modification_list --> environment if we save to an olean file, and then load it again.
Basically we introduce an intermediary data structure that contains precisely the information of an olean file, but not serialized.
Performance (current master, this PR w/o init caching, this PR):
$ lean --make

76.61user 0.91system 0:28.20elapsed 274%CPU (0avgtext+0avgdata 1006560maxresident)k
40inputs+8984outputs (1major+256530minor)pagefaults 0swaps

51.50user 0.72system 0:18.27elapsed 285%CPU (0avgtext+0avgdata 564004maxresident)k
0inputs+9008outputs (0major+140749minor)pagefaults 0swaps

40.29user 0.68system 0:15.15elapsed 270%CPU (0avgtext+0avgdata 373824maxresident)k
0inputs+9008outputs (0major+94284minor)pagefaults 0swaps

$ lean --make -j0

48.94user 0.44system 0:49.44elapsed 99%CPU (0avgtext+0avgdata 745368maxresident)k
0inputs+8984outputs (0major+191014minor)pagefaults 0swaps

31.44user 0.32system 0:31.80elapsed 99%CPU (0avgtext+0avgdata 446444maxresident)k
0inputs+9008outputs (0major+112103minor)pagefaults 0swaps

24.00user 0.23system 0:24.25elapsed 99%CPU (0avgtext+0avgdata 249584maxresident)k
0inputs+9008outputs (0major+62430minor)pagefaults 0swaps

$ lean standard.lean

0.59user 0.02system 0:00.62elapsed 100%CPU (0avgtext+0avgdata 62500maxresident)k
0inputs+0outputs (0major+14806minor)pagefaults 0swaps

0.33user 0.02system 0:00.36elapsed 99%CPU (0avgtext+0avgdata 50528maxresident)k
0inputs+0outputs (0major+11025minor)pagefaults 0swaps

0.35user 0.03system 0:00.38elapsed 99%CPU (0avgtext+0avgdata 50584maxresident)k
0inputs+0outputs (0major+11028minor)pagefaults 0swaps

To sum up, 2x as fast, 3x memory reduction (very similar to the results with #1243, the 6x memory difference there was due to master not doing expression caching on import).
Issues:

Declaring trace options in a lean file is a global operation, even though it is stored as an environment modification.  I think this is broken right now as well, if you declare_trace foo and remove it again, it will be still be declared.
I disabled expression caching as a performance optimization (~30% faster)
The big improvement in memory consumption comes not only from reusing expressions and VM declarations across environments, but also from reusing the environments.  As an optimization, I'm caching the result of the first import in a module (usually init).

To do:

Cache more than just the first import (init).  As a quick fix we could only add init if there are no imports specified in a file.  Another option would be to drop init in the module import code if the second module imports init already.
There are a few modifications that take a lot of time, which might yield further improvments: 1) eqn_lemmas_modification, creates a simp_lemma on every import, 2) attributes, here we spend a lot of time modifying priority queues, 3) pos_info and source file maps in the module extension, we could speed things up by only having a map for both.

Declaring trace options in a lean file is a global operation, even though it is stored as an environment modification. I think this is broken right now as well, if you declare_trace foo and remove it again, it will be still be declared.

I can fix this one. The declare_trace command should not use the function register_trace_class.
We need to distinguish between builtin global trace (and options), and the ones that are user defined and are stored in an environment.

Another second and 70M down.  At this rate we will be able to compile the standard library on an AVR by summer. :smile:
Interestingly enough, dropping the initial init import breaks one module (data.list, which unnecessarily imports something from init), but doesn't have any noticeable effect on memory or cpu consumption.

This is good news. I will merge today.

I'm experiencing a nasty problem with this commit. It is nasty because I cannot reproduce it deterministically. After a lean --make, lean would try to recompile parts of the standard library when we execute lean foo.lean and/or lean --make again. In the following trace, only after the 3rd lean --make, I get the expected behavior.
~/projects/lean/library (master)$ time ../bin/lean --make

real	0m15.233s
user	0m38.706s
sys	0m8.253s
~/projects/lean/library (master)$ time ../bin/lean --make

real	0m1.222s
user	0m2.192s
sys	0m0.896s
~/projects/lean/library (master)$ time ../bin/lean --make

real	0m5.408s
user	0m10.429s
sys	0m2.348s
~/projects/lean/library (master)$ time ../bin/lean --make

real	0m0.298s
user	0m0.260s
sys	0m0.036s
~/projects/lean/library (master)$ time ../bin/lean --make

real	0m0.296s~/projects/lean/library (master)$ time ../bin/lean --make

real	0m15.233s
user	0m38.706s
sys	0m8.253s
~/projects/lean/library (master)$ time ../bin/lean --make

real	0m1.222s
user	0m2.192s
sys	0m0.896s
~/projects/lean/library (master)$ time ../bin/lean --make

real	0m5.408s
user	0m10.429s
sys	0m2.348s
~/projects/lean/library (master)$ time ../bin/lean --make

real	0m0.298s
user	0m0.260s
sys	0m0.036s
~/projects/lean/library (master)$ time ../bin/lean --make

real	0m0.296s
user	0m0.232s
sys	0m0.068s
~/projects/lean/library (master)$ time ../bin/lean --make

real	0m0.300s
user	0m0.264s
sys	0m0.024s

user	0m0.232s
sys	0m0.068s
~/projects/lean/library (master)$ time ../bin/lean --make

real	0m0.300s
user	0m0.264s
sys	0m0.024s

I noticed the problem because it was taking forever to run the test suite. Each test was essentially recompiling big chunks of the standard library.
I managed to reproduce the trace above several times, but sometimes after the first lean --make, everything is fine.

After a lean --make, lean would try to recompile parts of the standard library when we execute lean foo.lean and/or lean --make again.

I have a suspicion: we determine whether an olean file is out of date by looking at the mtime.  The (relative order of the) mtimes of the olean files depends on the order they are written in.  This order might not be compatible with the dependency order.  For example: we might right standard.olean very soon (because it is empty), but then write init/data/nat/lemmas.olean much later (because we wait for the proofs).
This issue was not introduced with this PR but has probably been there since the first parbld merge--we just didn't notice it until now because the compilation was too slow.  One fix might be to set the mtime of the olean file manually at the end (let's say to the transitive mtime + 1).

Another fix might be to compare the mtimes for the lean files instead of the olean files.

Third solution: wait for the dependent olean files to be written first.

@gebner Thanks for the quick response.

I have a suspicion: we determine whether an olean file is out of date by looking at the mtime. The (relative order of the) mtimes of the olean files depends on the order they are written in.

This would explain the problem.

This issue was not introduced with this PR but has probably been there since the first parbld merge

I see. It would also explain the weird behavior that Jared reported, and we never managed to reproduce.

Third solution: wait for the dependent olean files to be written first.

I think this is the cleanest solution.

I think this is the cleanest solution.

And this fix is already pushed. :smile:

And this fix is already pushed. :smile:

Thanks. It fixed the problem for me.

Everything seems to be working. I have only one minor strange behavior. Again, it didn't start with this PR, but it got worse. I used to get huge speedups when running tests using ctest -j 30 on my desktop. Now, even ctest -j 15 seems to "freeze" my machine, and almost no speedup.
Here is a small trace for different values for -j.
~/projects/lean/build/release (master)$ ctest -R comp
Test project /home/leo/projects/lean/build/release
      Start  41: leantest_noncomp_error.lean
 1/13 Test  #41: leantest_noncomp_error.lean ..............   Passed    0.40 sec
      Start 152: leantest_noncomp.lean
 2/13 Test #152: leantest_noncomp.lean ....................   Passed    0.43 sec
      Start 160: leantest_eqn_compiler_loop.lean
 3/13 Test #160: leantest_eqn_compiler_loop.lean ..........   Passed    0.44 sec
      Start 179: leantest_noncomp_thm.lean
 4/13 Test #179: leantest_noncomp_thm.lean ................   Passed    0.41 sec
      Start 267: leanruntest_compiler_bug3.lean
 5/13 Test #267: leanruntest_compiler_bug3.lean ...........   Passed    1.49 sec
      Start 324: leanruntest_compiler_bug2.lean
 6/13 Test #324: leanruntest_compiler_bug2.lean ...........   Passed    0.46 sec
      Start 396: leanruntest_noncomputable_example.lean
 7/13 Test #396: leanruntest_noncomputable_example.lean ...   Passed    0.46 sec
      Start 490: leanruntest_def_complete_bug.lean
 8/13 Test #490: leanruntest_def_complete_bug.lean ........   Passed    0.47 sec
      Start 501: leanruntest_compiler_bug1.lean
 9/13 Test #501: leanruntest_compiler_bug1.lean ...........   Passed    2.71 sec
      Start 625: leanruntest_noncomputable_meta.lean
10/13 Test #625: leanruntest_noncomputable_meta.lean ......   Passed    0.44 sec
      Start 627: leanruntest_comp_val1.lean
11/13 Test #627: leanruntest_comp_val1.lean ...............   Passed    1.13 sec
      Start 653: leanruntest_kcomp.lean
12/13 Test #653: leanruntest_kcomp.lean ...................   Passed    0.45 sec
      Start 677: leanruntest_comp_val2.lean
13/13 Test #677: leanruntest_comp_val2.lean ...............   Passed    0.87 sec

100% tests passed, 0 tests failed out of 13

Total Test time (real) =  10.41 sec
~/projects/lean/build/release (master)$ ctest -j 10 -R comp
Test project /home/leo/projects/lean/build/release
      Start 501: leanruntest_compiler_bug1.lean
      Start 267: leanruntest_compiler_bug3.lean
      Start 627: leanruntest_comp_val1.lean
      Start 677: leanruntest_comp_val2.lean
      Start 490: leanruntest_def_complete_bug.lean
      Start 324: leanruntest_compiler_bug2.lean
      Start 396: leanruntest_noncomputable_example.lean
      Start 653: leanruntest_kcomp.lean
      Start 160: leantest_eqn_compiler_loop.lean
      Start 625: leanruntest_noncomputable_meta.lean
 1/13 Test #160: leantest_eqn_compiler_loop.lean ..........   Passed    1.16 sec
      Start 152: leantest_noncomp.lean
 2/13 Test #396: leanruntest_noncomputable_example.lean ...   Passed    2.62 sec
 3/13 Test #653: leanruntest_kcomp.lean ...................   Passed    2.62 sec
 4/13 Test #625: leanruntest_noncomputable_meta.lean ......   Passed    2.62 sec
 5/13 Test #324: leanruntest_compiler_bug2.lean ...........   Passed    2.62 sec
 6/13 Test #490: leanruntest_def_complete_bug.lean ........   Passed    2.62 sec
      Start 179: leantest_noncomp_thm.lean
      Start  41: leantest_noncomp_error.lean
 7/13 Test #152: leantest_noncomp.lean ....................   Passed    1.45 sec
 8/13 Test #179: leantest_noncomp_thm.lean ................   Passed    0.97 sec
 9/13 Test  #41: leantest_noncomp_error.lean ..............   Passed    0.97 sec
10/13 Test #267: leanruntest_compiler_bug3.lean ...........   Passed    4.63 sec
11/13 Test #627: leanruntest_comp_val1.lean ...............   Passed    5.88 sec
12/13 Test #677: leanruntest_comp_val2.lean ...............   Passed    6.26 sec
13/13 Test #501: leanruntest_compiler_bug1.lean ...........   Passed    6.61 sec

100% tests passed, 0 tests failed out of 13

Total Test time (real) =   6.66 sec
~/projects/lean/build/release (master)$ ctest -j 15 -R comp
Test project /home/leo/projects/lean/build/release
      Start 501: leanruntest_compiler_bug1.lean
      Start 677: leanruntest_comp_val2.lean
      Start 627: leanruntest_comp_val1.lean
      Start 267: leanruntest_compiler_bug3.lean
      Start 490: leanruntest_def_complete_bug.lean
      Start 324: leanruntest_compiler_bug2.lean
      Start 396: leanruntest_noncomputable_example.lean
      Start 653: leanruntest_kcomp.lean
      Start 625: leanruntest_noncomputable_meta.lean
      Start 152: leantest_noncomp.lean
      Start 160: leantest_eqn_compiler_loop.lean
      Start 179: leantest_noncomp_thm.lean
      Start  41: leantest_noncomp_error.lean
 1/13 Test #179: leantest_noncomp_thm.lean ................   Passed    1.63 sec
 2/13 Test #152: leantest_noncomp.lean ....................   Passed    2.19 sec
 3/13 Test  #41: leantest_noncomp_error.lean ..............   Passed    2.87 sec
 4/13 Test #160: leantest_eqn_compiler_loop.lean ..........   Passed    2.93 sec
 5/13 Test #625: leanruntest_noncomputable_meta.lean ......   Passed    3.13 sec
 6/13 Test #396: leanruntest_noncomputable_example.lean ...   Passed    3.26 sec
 7/13 Test #653: leanruntest_kcomp.lean ...................   Passed    3.26 sec
 8/13 Test #324: leanruntest_compiler_bug2.lean ...........   Passed    3.26 sec
 9/13 Test #490: leanruntest_def_complete_bug.lean ........   Passed    3.26 sec
10/13 Test #267: leanruntest_compiler_bug3.lean ...........   Passed    5.17 sec
11/13 Test #627: leanruntest_comp_val1.lean ...............   Passed    5.49 sec
12/13 Test #677: leanruntest_comp_val2.lean ...............   Passed    5.69 sec
13/13 Test #501: leanruntest_compiler_bug1.lean ...........   Passed    6.67 sec

100% tests passed, 0 tests failed out of 13

Total Test time (real) =   6.73 sec

I used to get huge speedups when running tests using ctest -j 30 on my desktop.

I have noticed these spuriously slow tests as well.  I have a suspicion: can you try commenting out the file lock in the fs_module_vfs::load_module function?

I have noticed these spuriously slow tests as well. I have a suspicion: can you try commenting out the file lock in the fs_module_vfs::load_module function?

I had the same suspicion, but it didn't work. This lock is not the source of the problem.

The test script tests/lean/run/test_single.sh does not use the option -j 0.
On my desktop, hardware_concurrency is 30. So, when I use ctest -j 30, I may get up to 900 lean threads running simultaneously. I get back the old behavior by using -j 0 at tests/lean/run/test_single.sh.


Automatically trigger provider updates.

Due to changes in the upstream blang/semver package, we now use a more
crude (but hopefully good-enough) test of whether a version is a
pre-release.
Add (nearly) all non-forked providers to the allow list.
When an new release event is received, automatically trigger the
workflow to update the provider if the provider is on an allow list (of
non-forked providers).

Fixes #13

We need to upgrade the bridge in the provider repos before we get the real functionality here


Update minimum-requirements.md

removed EOL versions of Windows OS
Fixes https://github.com/MicrosoftDocs/microsoft-365-docs/issues/12378

@mjcaparas Please merge this PR. Thanks


feat: generic factory helper

This is a POC implementation of adding generics to the factory helper.
Currently we can understand factory(User::class, 5)->create() returns Collection<User> and factory(User::class)->create() returns User
It might be possible to add support for times.
@timacdonald Please take a look at this. And you can improve on it. Adding custom collection support, support for other FactoryBuilder methods like state, times etc.

@canvural can I do anything to help complete this?


Config curly brace test

Support for multiple curly brace pairs.
Example:
super + {_, ctrl} + {_, shift} + {1-9}
    dwmc {_, toggle}{view, tag}ex {0-8}

The tests pass. Code looks fine to me. LGTM!


RFE: Warmup

add the ability to warm-up Model Mesh so that all pods are able to serve the model equally

Closing as stale


Issues with ChatGPTLLMPredictor

VERSION: 0.4.19
When trying to build an index with llm_predictor as ChatGPTLLMPredictor I get the following error (The key is set by the code as an env var. I even tried setting it via OpenAI.openai_api_key) -
Traceback (most recent call last):
File "/Users/ankit/miniforge3/lib/python3.10/site-packages/tenacity/init.py", line 409, in call
result = fn(*args, **kwargs)
File "/Users/ankit/miniforge3/lib/python3.10/site-packages/llama_index/embeddings/openai.py", line 147, in get_embeddings
data = openai.Embedding.create(input=list_of_text, engine=engine).data
File "/Users/ankit/miniforge3/lib/python3.10/site-packages/openai/api_resources/embedding.py", line 33, in create
response = super().create(*args, **kwargs)
File "/Users/ankit/miniforge3/lib/python3.10/site-packages/openai/api_resources/abstract/engine_api_resource.py", line 149, in create
) = cls.__prepare_create_request(
File "/Users/ankit/miniforge3/lib/python3.10/site-packages/openai/api_resources/abstract/engine_api_resource.py", line 106, in __prepare_create_request
requestor = api_requestor.APIRequestor(
File "/Users/ankit/miniforge3/lib/python3.10/site-packages/openai/api_requestor.py", line 130, in init
self.api_key = key or util.default_api_key()
File "/Users/ankit/miniforge3/lib/python3.10/site-packages/openai/util.py", line 186, in default_api_key
raise openai.error.AuthenticationError(
openai.error.AuthenticationError: No API key provided. You can set your API key in code using 'openai.api_key = ', or you can set the environment variable OPENAI_API_KEY=). If your API key is stored in a file, you can point the openai module at it with 'openai.api_key_path = '. You can generate API keys in the OpenAI web interface. See https://onboard.openai.com for details, or email<EMAIL_ADDRESS>if you have any questions.

Assuming an existing index is on disk, making a query call just hangs.
File "/Users/ankit/miniforge3/lib/python3.10/site-packages/llama_index/indices/base.py", line 395, in query
return query_runner.query(query_str, self._index_struct)
File "/Users/ankit/miniforge3/lib/python3.10/site-packages/llama_index/indices/query/query_runner.py", line 120, in query
return query_obj.query(query_bundle)
File "/Users/ankit/miniforge3/lib/python3.10/site-packages/llama_index/token_counter/token_counter.py", line 55, in wrapped_llm_predict
f_return_val = f(_self, *args, **kwargs)
File "/Users/ankit/miniforge3/lib/python3.10/site-packages/llama_index/indices/query/base.py", line 300, in query
response = self._query(query_bundle)
File "/Users/ankit/miniforge3/lib/python3.10/site-packages/llama_index/indices/query/base.py", line 262, in _query
tuples = self.get_nodes_and_similarities_for_response(query_bundle)
File "/Users/ankit/miniforge3/lib/python3.10/site-packages/llama_index/indices/query/base.py", line 233, in get_nodes_and_similarities_for_response
nodes = self._get_nodes_for_response(
File "/Users/ankit/miniforge3/lib/python3.10/site-packages/llama_index/indices/query/vector_store/base.py", line 45, in _get_nodes_for_response
query_embedding = self._embed_model.get_agg_embedding_from_queries(
File "/Users/ankit/miniforge3/lib/python3.10/site-packages/llama_index/embeddings/base.py", line 79, in get_agg_embedding_from_queries
query_embeddings = [self.get_query_embedding(query) for query in queries]
File "/Users/ankit/miniforge3/lib/python3.10/site-packages/llama_index/embeddings/base.py", line 79, in
query_embeddings = [self.get_query_embedding(query) for query in queries]
File "/Users/ankit/miniforge3/lib/python3.10/site-packages/llama_index/embeddings/base.py", line 68, in get_query_embedding
query_embedding = self._get_query_embedding(query)
File "/Users/ankit/miniforge3/lib/python3.10/site-packages/llama_index/embeddings/openai.py", line 222, in _get_query_embedding
return get_embedding(query, engine=engine)
File "/Users/ankit/miniforge3/lib/python3.10/site-packages/tenacity/init.py", line 326, in wrapped_f
return self(f, *args, **kw)
File "/Users/ankit/miniforge3/lib/python3.10/site-packages/tenacity/init.py", line 416, in call
self.sleep(do)
File "/Users/ankit/miniforge3/lib/python3.10/site-packages/tenacity/nap.py", line 31, in sleep
time.sleep(seconds)
KeyboardInterrupt

@ankitb82  As a sanity check, can you put this at the top of your code?
import os
os.environ['OPENAI_API_KEY'] = "your-openai-key"

If that doesn't work, try generating a new api key

@ankitb82 As a sanity check, can you put this at the top of your code? (Obviosuly, use your real key when you copy it in 👍)
import os
os.environ['OPENAI_API_KEY'] = "your-openai-key"

I try this, but not work, still raise the error.

I'm not sure what to think then 🤔 The best advice I can give (in addition to setting that variable at the top of your script) is generating a new key and/or creating a fresh python environment

Thanks, @logan-markewich when executing the code in the terminal and export OPENAI_API_KEY=my_key works!

@ankitb82 As a sanity check, can you put this at the top of your code? (Obviosuly, use your real key when you copy it in 👍)
import os
os.environ['OPENAI_API_KEY'] = "your-openai-key"

This is how the code has been structured from day one.
I did however try export on the command line and that worked. This means that the code is either forking or executing code in a new context that is not a child of the current python path.

sweet! closing for now


Initial support of robot machine

This is work in progress pull, but at least I was able to add bare metal machine.
This somehow related to https://github.com/kube-hetzner/terraform-hcloud-kube-hetzner/issues/433 and discussion https://github.com/kube-hetzner/terraform-hcloud-kube-hetzner/discussions/1311
Tested scenarios

[x]  - cilium(tunnel) - works and no issues in cilium status
[ ]  - cilium(native) - half works, cilium status has issues, I suspect this is due to turned-off routing
[ ] - calico, maybe works see https://github.com/hetznercloud/hcloud-cloud-controller-manager/issues/641

Tasks to implement:

[x] - support vSwitch  in subnets
[ ] - support setup of robot box
[ ] - support of joining of robot box to existing cluster as a worker

It requires understanding some important points

The name of the server in the robot interface is important, you have to set the hostname of the bare machine matching to it

hostnamectl set-hostname <name>

you have to be very patient with the vSwitch configuration. It can take minutes (I had to wait 20 minutes one time) to see it's routed

Steps to run:

Take your customer ID K12345677 from your account this will be hetzner_robot_user and use your actual robot password as `
Use them in kube.tf

module "kube-hetzner" {
  providers = {
    hcloud = hcloud
  }
  hcloud_token = var.hcloud_token != "" ? var.hcloud_token : local.hcloud_token

  hcloud_robot_password = var.hcloud_robot_password
  hcloud_robot_user     = var.hcloud_robot_user
  vswitch_id = "53981"
...

I was able to run with rancher, longhorn, v1.28
Once you start the cluster you will notice no routes, due to current limitations

follow and create vSwitch and attach the bare metal machine to it

And cloud configuration you should see vswitch connected

But do not blindly follow, be very careful with the changes you make, one mistake and it won't work
In my case I have had next info in my bare machine
# ip addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet <IP_ADDRESS>/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: enp6s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 xdp/id:7637 qdisc mq state UP group default qlen 1000

So I have adapted to the next script
ip link add link enp6s0 name enp6s0.4000 type vlan id 4000
ip link set enp6s0.4000 mtu 1400
ip link set dev enp6s0.4000 up
ip addr add <IP_ADDRESS>/16 dev enp6s0.4000
ip route add <IP_ADDRESS>/8 via <IP_ADDRESS>

Or you can also modify if you use ubuntu 20.04 or above vi /etc/netplan/01-netcfg.yaml and add to the end
network:
  version: 2
  renderer: networkd
  ethernets:
    enp6s0:
      addresses:
...
  vlans:
    enp6s0.4000:
      id: 4000
      link: enp6s0
      mtu: 1400
      addresses:
        - <IP_ADDRESS>/16
      routes:
        - to: "<IP_ADDRESS>/8"
          via: "<IP_ADDRESS>"

And run
netplan generate
netplan apply

As result you should see
root@kt1 ~ # ip route show
default via <IP_ADDRESS> dev enp6s0 proto static onlink
<IP_ADDRESS>/8 via <IP_ADDRESS> dev enp6s0.4000 proto static
<IP_ADDRESS>/16 dev enp6s0.4000 proto kernel scope link src <IP_ADDRESS>
root@kt1 ~ # ip addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet <IP_ADDRESS>/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: enp6s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 xdp/id:7637 qdisc mq state UP group default qlen 1000
    link/ether xxxxxx  brd ff:ff:ff:ff:ff:ff
    inet xxxxxx/32 scope global enp6s0
       valid_lft forever preferred_lft forever
...
3: enp6s0.4000@enp6s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1400 qdisc noqueue state UP group default qlen 1000
    link/ether 9c:6b:00:26:55:47 brd ff:ff:ff:ff:ff:ff
    inet <IP_ADDRESS>/16 brd <IP_ADDRESS> scope global enp6s0.4000
       valid_lft forever preferred_lft forever
    inet6 fe80::9e6b:ff:fe26:5547/64 scope link
       valid_lft forever preferred_lft forever

Verify in robot configuration

Now verify that you see the cloud machine from your robot machine
root@kt1 ~ # ping <IP_ADDRESS>
PING <IP_ADDRESS> (<IP_ADDRESS>) 56(84) bytes of data.
64 bytes from <IP_ADDRESS>: icmp_seq=1 ttl=62 time=1.92 ms
64 bytes from <IP_ADDRESS>: icmp_seq=2 ttl=62 time=0.771 ms

BE VERY PATIENT HERE! IT CAN BE SLOW TO PROPAGATE vSwitch connection
The next important thing to put the node name = machine name in robot screen = hostname
See
mkdir -p /etc/rancher/k3s/
cat << EOF > /etc/rancher/k3s/config.yaml
"kubelet-arg":
- "cloud-provider=external"
- "--provider-id=hrobot://2432264"
- "volume-plugin-dir=/var/lib/kubelet/volumeplugins"
- "kube-reserved=cpu=50m,memory=300Mi,ephemeral-storage=1Gi"
- "system-reserved=cpu=250m,memory=300Mi"
"node-ip": "<IP_ADDRESS>"
"node-label":
- "k3s_upgrade=true"
"node-name": "kt1"
"node-taint":
- "node.cilium.io/agent-not-ready:NoExecute"
"selinux": true
"server": "https://<IP_ADDRESS>:6443"
"token": "<TOKEN_FROM_CONTROL>"
EOF

curl -sfL https://get.k3s.io | INSTALL_K3S_CHANNEL=v1.28 INSTALL_K3S_EXEC='agent ' sh -

If everything is fine you should get the agent joined to the cluster and even more I see it's added to load balancer

At this moment I did not find how to solve access problem to robot machine as it does not have private IP
And I see in logs of hcloud-cloud-controller-manager
node_controller.go:240] error syncing 'kt1': failed to get node modifiers from cloud provider: provided node ip for node "kt1" is not valid: failed to get node address from cloud provider that matches ip: <IP_ADDRESS>, requeuing

@olexiyb This is the cleanest proposal I have seen to date. If you choose to only support cilium tunnel and nothing else and it works well, I would be happy.
Just one thing, try to not change the core functionality too much, like with the ccm. If you can built a system that switches over to the needed custom implementation when a key variable is true like the robot related ones, it would be great.
That way it's even easier for maintenance. And the less boilerplate code the better. Also please continue clarifying the docs which is already on track.
Overall, looking very promising 🙏

@mysticaltech hey I have started separate discussion about move hccm to helm approach
I realize this can be very tricky as many people already use deployement approach and it will be hard for them to switch
I will revert my pull to use direct deployment for now

At this moment I was able to create 2 clusters (manage them using rancher)
They were build the identical way, but for some reason I have had issue with ingress controller. The default externalTrafficPolicy: "Cluster" just did not work as expected, so I have had to use custom

nginx_values = <<EOT
controller:
watchIngressWithoutClass: "true"
kind: "DaemonSet"
config:
"use-forwarded-headers": "true"
"compute-full-forwarded-for": "true"
"use-proxy-protocol": "true"
service:
externalTrafficPolicy: "Local"
annotations:
"load-balancer.hetzner.cloud/name": "scdev-nginx"
"load-balancer.hetzner.cloud/use-private-ip": "true"
"load-balancer.hetzner.cloud/disable-private-ingress": "true"
"load-balancer.hetzner.cloud/disable-public-network": "false"
"load-balancer.hetzner.cloud/ipv6-disabled": "false"
"load-balancer.hetzner.cloud/location": "hel1"
"load-balancer.hetzner.cloud/type": "lb11"
"load-balancer.hetzner.cloud/uses-proxyprotocol": "true"
"load-balancer.hetzner.cloud/algorithm-type": "round_robin"
"load-balancer.hetzner.cloud/health-check-interval": "15s"
"load-balancer.hetzner.cloud/health-check-timeout": "10s"
"load-balancer.hetzner.cloud/health-check-retries": "3"
EOT

And now all bare metal machines properly join the load balancer!

Good to hear @olexiyb

+1 for @olexiyb always

I saw this PR and maybe our project will help you for setting up LoadBalancers. We have made an operator that is used for issuing cloud loadbalancers for dedicated servers within private networks.
Here's announce: https://www.reddit.com/r/hetzner/comments/1gzg5ge/robotlb_integrate_hetzner_loadbalancer_in/
Hers's repo: https://github.com/Intreecom/robotlb


package.json: use http git protocol

git protocol is a pain in many environments, http is the proxy friendly alternative

thanks


Buttons don't work sometimes.

Describe the bug
Some times the buttons don't work.

I can't reproduce, but it mostly happened when I have made a lot of operation like cut, copy, paste from these dialog to those, etc...
Nothing happens when you click Copy/Cut/Undo/Redo. Paste will paste a old one that you ever copyed(because Copy doesn't work now).

Browser

[x] Chrome
[ ] Safari
[ ] Firefox
[ ] Edge

OS

[ ] macOS
[x] Windows
[ ] Ubuntu

@ssss141414 can you provide a simpler approach to repro?

I met this bug too. But not sure how to repro it...

Had a live debug with Shiyi @ssss141414 , I found this bug is related to iframe and ApiClient. A Delete event was fired but there was no listener in the ApiClient.
Considering that we have a plan to remove iframe wrapper #2121 , the ApiClient should also be retired along with iframe, so I won't spend more time on digging why ApiClient failed to receive a message. @boydc2014
@KayMKM After we closed #2121 , this bug should be resolved as well.

@ssss141414 can you repro it now? We've merged the PR to remove iframe wrapper

I‘ve confirmed with @KayMKM , it seems has been solved by Andy's work on retiring iframe.
Close it


CClaimTrieCache is caching Nodes inefficiently during updates

lbrycrd uses space inefficient map and set structure to cache Nodes (cacheing nodes is done when updating the claim trie structure to keep track of which node should or should not be updated)
CClaimTrieCache.cacheHashes -> (hashMapType, std::map<std::string, uint256> , stores hashes for each nodes
CClaimTrieCache.cache -> (nodeCacheType, std::map<std::string, CClaimTrieNode*>
CClaimTrieCache.block_originals -> (nodeCacheType)
CClaimTrieCache.dirtyHashes -> (std::setstd::string)
CClaimTrie.dirtyNodes -> (nodeCacheType)
This is problematic for caching large name claims (max length 255) since each subnode gets put into the map/set (i.e, claim "test" must cache "t", "te" ,"tes" , "test") thus 32 kilobytes alone (255*256 /2) is used to store the string keys for a max length name claim in the cache. We could improve the memory  usage by utilizing a trie structure.
We actually do not have a base template trie class although ClaimTrie itself is a trie structure. It would make sense to create this base template tire class so that a) ClaimTrie can inherit from it and b) we can use it instead of map and set structure used to cache nodes.
Having a base trie class will also have the benefit of  improving code readability and testability.

closing as this is a duplicate of https://github.com/lbryio/lbrycrd/issues/108 and https://github.com/lbryio/lbrycrd/issues/106


Refactor step function processing pipeline to no longer use HandleErrors step

At present, the steps DefineDefaults, ApplyDefaults, and DownloadValidate all rely on an error catch that cues up the HandleErrors step. However, with a few tweaks, the HandleSuccess step can be configured to handle the aforementioned errors instead after recently being modified to handle both successes and errors for the CxgSeuratParallel step. This will simplify the SFN definition.

configure HandleSuccess to be able to handle errors from the first three steps and use it to replace HandleErrors here
remove HandleErrors step

@danieljhegeman , by removing the on-call label, are you proposing to address this as part of schema 4 work?


Documents don't get stored back to Nextcloud

Hey,
I upgraded yesterday to the latest Onlyoffice documentserver version 5.0.3.
But I guess I also experienced this bug in earlier versions so this is not a regression.
Changes in the document are present but they don't get stored on Nextcloud. The newly created document there remains empty.
Unforatunately, the interface doesn't inform the user that something went wrong. It displays the file as saved.
In the network activity log of my browser I notice this unfinished request:
Get: https://office.example.com/users/sign_in
Host: office.example.com
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:56.0) Gecko/20100101 Firefox/56.0
Accept: */*
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate, br
Referer: https://office.example.com/web-apps/apps/documenteditor/main/index.html?_dc=0&lang=en&customer=ONLYOFFICE&frameEditorId=iframeEditor
Cookie: _ga=GA1.2.28880319.1502505349; _gitlab_session=c00707e8509c07dba8a1c67a9a5851d8
DNT: 1
Connection: keep-alive

The request returns 404.
I'm a bit confused because /users/sign_in seems to refer to my Gitlab instance I also host on the domain.
Is there any way to debug this issue further?
Best regards,
Jonas

Hello @onny,
Please try to use internal URL addresses of NextCloud and Document Server in the administrator section of NextCloud. Check also the logs of NextCloud for any errors.
Please specify if the document server and NextCloud are installed on the one server or on the different.

Hi Jonas, cloud you provide Document Server log? I think an error occur when Document Server try to save document into the NextCloud server.

This error message is not super recent but it could be related:
Nov 09 12:54:52 http-new node[9584]: [2017-11-09 12:54:52.621] [ERROR] nodeJS - sendServerRequest error: docId = 542224_1508324369_1;url = https://nextcloud.example.com/index.php/apps/onlyoffice/track?doc=dlp2SWFxbHpHcEJsM0puSFM4aWFvMGVmSC9SWE5CUTcxTWZNZ3I4WHJjaz0/eyJmaWxlSWQiOjU0MjIyNCwidXNlcklkIjoib25ueSIsImFjdGlvbiI6InRyYWNrIn0%3D;data = {"key":"542224_1508324369_1","status":3,"users":["onny"],"actions":[{"type":0,"userid":"onny"}],"lastsave":"2017-11-09T12:54:35.920Z","notmodified":false}
Nov 09 12:54:52 http-new node[9584]: Error: Error response: statusCode:400 ;body:
Nov 09 12:54:52 http-new node[9584]: {"message":"Url not found"}
Nov 09 12:54:52 http-new node[9584]:     at Request._callback (/usr/share/webapps/onlyoffice/documentserver/server/Common/sources/utils.js:269:18)
Nov 09 12:54:52 http-new node[9584]:     at Request.self.callback (/usr/share/webapps/onlyoffice/documentserver/server/Common/node_modules/request/request.js:186:22)
Nov 09 12:54:52 http-new node[9584]:     at emitTwo (events.js:125:13)
Nov 09 12:54:52 http-new node[9584]:     at Request.emit (events.js:213:7)
Nov 09 12:54:52 http-new node[9584]:     at Request.<anonymous> (/usr/share/webapps/onlyoffice/documentserver/server/Common/node_modules/request/request.js:1163:10)
Nov 09 12:54:52 http-new node[9584]:     at emitOne (events.js:115:13)
Nov 09 12:54:52 http-new node[9584]:     at Request.emit (events.js:210:7)
Nov 09 12:54:52 http-new node[9584]:     at IncomingMessage.<anonymous> (/usr/share/webapps/onlyoffice/documentserver/server/Common/node_modules/request/request.js:1085:12)
Nov 09 12:54:52 http-new node[9584]:     at Object.onceWrapper (events.js:312:30)
Nov 09 12:54:52 http-new node[9584]:     at emitNone (events.js:110:20)
Nov 09 13:09:18 http-new node[9584]: [2017-11-09 13:09:18.472] [WARN] nodeJS - update cluster with 1 workers

For me, this issue is fixed with the latest Nextcloud 13 Beta 1. I guess there was some wired bug in my old Nextcloud setup, after the upgrade, these kind of permission issues seems to be fixed!
Thank you for your help!
Best regards,
Joans

Sorry I have to reopen the issue. The problem still persists. I accidentally configured Nextcloud to a different, external document server which is working fine.
Instead, my installation which is running on the same VM as Nextcloud, still has this issue :(
[2017-12-21 15:23:53.420] [ERROR] nodeJS - sendServerRequest error: docId = 557774_1513869792;url = https://nextcloud.example.com/index.php/apps/onlyoffice/track?doc=Zy9BNHJBQm*****WRT0/eyJmaWxlSWQi*****vbiI6InRyYWNrIn0%3D;data = {"key":"557******792","status":3,"users":["onny"],"actions":[{"type":0,"userid":"onny"}],"lastsave":"2017-12-21T15:23:41.973Z","notmodified":false}
Error: Error response: statusCode:400 ;body:
{"message":"Url not found"}
    at Request._callback (/usr/share/webapps/onlyoffice/documentserver/server/Common/sources/utils.js:269:18)
    at Request.self.callback (/usr/share/webapps/onlyoffice/documentserver/server/Common/node_modules/request/request.js:186:22)
    at Request.emit (events.js:159:13)
    at Request.<anonymous> (/usr/share/webapps/onlyoffice/documentserver/server/Common/node_modules/request/request.js:1163:10)
    at Request.emit (events.js:159:13)
    at IncomingMessage.<anonymous> (/usr/share/webapps/onlyoffice/documentserver/server/Common/node_modules/request/request.js:1085:12)
    at Object.onceWrapper (events.js:254:19)
    at IncomingMessage.emit (events.js:164:20)
    at endReadableNT (_stream_readable.js:1054:12)
    at _combinedTickCallback (internal/process/next_tick.js:138:11)

Hello @onny,
We will analyze the problem and work on adding the status 3 to the file processing (for corrupted process). Could you please specify the version of the Document Server and NextCloud. Specify also if the issue occurs only on one particular file or with every file. Please send us logs of converting service or the file itself. You can send it to<EMAIL_ADDRESS>Thank you for the provided information and your feedback.

@alexanderonlyoffice: Thank you for your response. Yes, it's really important that the user will see some kind of error message, that the document server was unable to store / push the file back to the server.
My versions are:
pacman -Q onlyoffice-documentserver nextcloud-git
onlyoffice-documentserver 5.0.6-1
nextcloud-git 13.0.0beta1.r182.gcec236f0af-1

I'm quite sure that this issue affects all files and formats
journalctl -u onlyoffice-fileconverter.service
[...]
Dec 21 15:37:24 http-new node[13894]: [2017-12-21 15:37:24.798] [ERROR] nodeJS - ExitCode (code=0;signal=SIGSEGV;error:-80;id=557774_1513869792_2366)
Dec 21 15:40:35 http-new node[13894]: [2017-12-21 15:40:35.002] [ERROR] nodeJS - stdout (id=557774_1513869792_1854):
Dec 21 15:40:36 http-new node[13894]: [2017-12-21 15:40:35.002] [ERROR] nodeJS - stderr (id=557774_1513869792_1854):
Dec 21 15:40:36 http-new node[13894]: [2017-12-21 15:40:35.002] [ERROR] nodeJS - ExitCode (code=0;signal=SIGSEGV;error:-80;id=557774_1513869792_1854)
Dec 21 17:00:13 http-new node[13894]: [2017-12-21 17:00:13.969] [WARN] nodeJS - update cluster with 1 workers
Dec 22 13:34:03 http-new node[13894]: [2017-12-22 13:34:02.967] [ERROR] nodeJS - stdout (id=557808_1513949589_6270):
Dec 22 13:34:06 http-new node[13894]: [2017-12-22 13:34:03.016] [ERROR] nodeJS - stderr (id=557808_1513949589_6270):
Dec 22 13:34:06 http-new node[13894]: [2017-12-22 13:34:03.016] [ERROR] nodeJS - ExitCode (code=0;signal=SIGSEGV;error:-80;id=557808_1513949589_6270)
Dec 22 13:36:33 http-new node[13894]: [2017-12-22 13:36:33.327] [ERROR] nodeJS - stdout (id=557808_1513949589_2218):
Dec 22 13:36:39 http-new node[13894]: [2017-12-22 13:36:33.328] [ERROR] nodeJS - stderr (id=557808_1513949589_2218):
Dec 22 13:36:39 http-new node[13894]: [2017-12-22 13:36:33.328] [ERROR] nodeJS - ExitCode (code=0;signal=SIGSEGV;error:-80;id=557808_1513949589_2218)
Dec 22 13:45:39 http-new node[13894]: [2017-12-22 13:45:39.607] [ERROR] nodeJS - stdout (id=557808_1513949589_2284):
Dec 22 13:45:39 http-new node[13894]: [2017-12-22 13:45:39.608] [ERROR] nodeJS - stderr (id=557808_1513949589_2284):
Dec 22 13:45:39 http-new node[13894]: [2017-12-22 13:45:39.608] [ERROR] nodeJS - ExitCode (code=0;signal=SIGSEGV;error:-80;id=557808_1513949589_2284)
[....]

I'll try to collect some infos via. tcpdump

@onny,
There are x2t errors in logs. Please specify also if you have built the x2t by yourself. We suppose the reason of the issue can be found in in x2t (documentserver).
You have also mentioned document server version 5.0.6-1 - we do not have such version. You can try to download and install official installation and check if there are any similar issues.

@alexanderonlyoffice: Yes I build it myself. It's from my ArchLinux package here https://aur.archlinux.org/packages/onlyoffice-documentserver/ which is using this buildscript https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=onlyoffice-documentserver .
Therefore I took the Document Server version from this repo https://github.com/ONLYOFFICE/DocumentServer/releases
What's the best practice to debug this error? Are there any error logs or debug log levels I can check?
I also noticed an other error while trying to upload a file to the document server integration example (https://github.com/ONLYOFFICE/document-server-integration):
[2017-12-27 22:45:50.182] [ERROR] nodeJS - sendServerRequest error: docId = -2092860721;url = https://office.***/track?filename=new.docx&useraddress=151.217.***;data = {"key":"-2092860721","status":3,"users":["uid-1"],"actions":[{"type":0,"userid":"uid-1"}],"lastsave":"2017-12-27T20:52:51.916Z","notmodified":false}
Error: Error response: statusCode:500 ;body:
<!DOCTYPE html>

    <meta name="viewport" content="width=device-width" />
    <title>Error</title>

    <hgroup>

Error.

An error occurred while processing your request.

    </hgroup>

Cannot read property 'length' of undefined

    at Request._callback (/usr/share/webapps/onlyoffice/documentserver/server/Common/sources/utils.js:269:18)
    at Request.self.callback (/usr/share/webapps/onlyoffice/documentserver/server/Common/node_modules/request/request.js:186:22)
    at Request.emit (events.js:159:13)
    at Request.<anonymous> (/usr/share/webapps/onlyoffice/documentserver/server/Common/node_modules/request/request.js:1163:10)
    at Request.emit (events.js:159:13)
    at IncomingMessage.<anonymous> (/usr/share/webapps/onlyoffice/documentserver/server/Common/node_modules/request/request.js:1085:12)
    at Object.onceWrapper (events.js:254:19)
    at IncomingMessage.emit (events.js:164:20)
    at endReadableNT (_stream_readable.js:1054:12)
    at _combinedTickCallback (internal/process/next_tick.js:138:11)

ps. We can meet up if you're on the Chaos Communication Congress in Leipzig (Germany) :)

Of course you're right, it is obviously related to x2t. So I collected all temporary files and manually ran x2t with the correct parameter and it crashed. Here's the debugger output:
valgrind ./x2t_bak /tmp/ASC_CONVERT1171128-lhuyfy.z3txs/params.xml &> /tmp/debug

==6104== Memcheck, a memory error detector
==6104== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==6104== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==6104== Command: ./x2t_bak /tmp/ASC_CONVERT1171128-lhuyfy.z3txs/params.xml
==6104==
==6104== Conditional jump or move depends on uninitialised value(s)
==6104==    at 0xAC0C521: __wmemchr_sse2 (in /usr/lib/libc-2.26.so)
==6104==    by 0x6356C8B: std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::find(wchar_t const*, unsigned long, unsigned long) const (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/libdoctrenderer.so)
==6104==    by 0x17BD2A5: ??? (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t_bak)
==6104==    by 0x1863048: ??? (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t_bak)
==6104==    by 0x17E7540: ??? (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t_bak)
==6104==    by 0xAB1F89: ??? (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t_bak)
==6104==    by 0x6EA164: ??? (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t_bak)
==6104==    by 0x1D85EBC: ??? (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t_bak)
==6104==    by 0xAB7AEDA: (below main) (in /usr/lib/libc-2.26.so)
==6104==
==6104== Conditional jump or move depends on uninitialised value(s)
==6104==    at 0xAC0C521: __wmemchr_sse2 (in /usr/lib/libc-2.26.so)
==6104==    by 0x6356C8B: std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::find(wchar_t const*, unsigned long, unsigned long) const (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/libdoctrenderer.so)
==6104==    by 0x17BD2A5: ??? (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t_bak)
==6104==    by 0x186309D: ??? (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t_bak)
==6104==    by 0x17E7540: ??? (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t_bak)
==6104==    by 0xAB1F89: ??? (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t_bak)
==6104==    by 0x6EA164: ??? (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t_bak)
==6104==    by 0x1D85EBC: ??? (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t_bak)
==6104==    by 0xAB7AEDA: (below main) (in /usr/lib/libc-2.26.so)
==6104==
==6104== Conditional jump or move depends on uninitialised value(s)
==6104==    at 0xAC0C537: __wmemchr_sse2 (in /usr/lib/libc-2.26.so)
==6104==    by 0x6356C8B: std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::find(wchar_t const*, unsigned long, unsigned long) const (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/libdoctrenderer.so)
==6104==    by 0x17BD2A5: ??? (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t_bak)
==6104==    by 0x1863048: ??? (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t_bak)
==6104==    by 0x17E7540: ??? (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t_bak)
==6104==    by 0xAB1F9C: ??? (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t_bak)
==6104==    by 0x6EA164: ??? (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t_bak)
==6104==    by 0x1D85EBC: ??? (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t_bak)
==6104==    by 0xAB7AEDA: (below main) (in /usr/lib/libc-2.26.so)
==6104==
==6104== Conditional jump or move depends on uninitialised value(s)
==6104==    at 0xAC0C537: __wmemchr_sse2 (in /usr/lib/libc-2.26.so)
==6104==    by 0x6356C8B: std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::find(wchar_t const*, unsigned long, unsigned long) const (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/libdoctrenderer.so)
==6104==    by 0x17BD2A5: ??? (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t_bak)
==6104==    by 0x186309D: ??? (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t_bak)
==6104==    by 0x17E7540: ??? (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t_bak)
==6104==    by 0xAB1F9C: ??? (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t_bak)
==6104==    by 0x6EA164: ??? (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t_bak)
==6104==    by 0x1D85EBC: ??? (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t_bak)
==6104==    by 0xAB7AEDA: (below main) (in /usr/lib/libc-2.26.so)
==6104==
==6104== Conditional jump or move depends on uninitialised value(s)
==6104==    at 0xAC0C4ED: __wmemchr_sse2 (in /usr/lib/libc-2.26.so)
==6104==    by 0x6356C8B: std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::find(wchar_t const*, unsigned long, unsigned long) const (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/libdoctrenderer.so)
==6104==    by 0x17BD2A5: ??? (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t_bak)
==6104==    by 0x1863048: ??? (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t_bak)
==6104==    by 0x17E7540: ??? (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t_bak)
==6104==    by 0xAB1F89: ??? (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t_bak)
==6104==    by 0x6EA1F1: ??? (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t_bak)
==6104==    by 0x1D85EBC: ??? (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t_bak)
==6104==    by 0xAB7AEDA: (below main) (in /usr/lib/libc-2.26.so)
==6104==
==6104== Conditional jump or move depends on uninitialised value(s)
==6104==    at 0xAC0C4ED: __wmemchr_sse2 (in /usr/lib/libc-2.26.so)
==6104==    by 0x6356C8B: std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::find(wchar_t const*, unsigned long, unsigned long) const (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/libdoctrenderer.so)
==6104==    by 0x17BD2A5: ??? (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t_bak)
==6104==    by 0x186309D: ??? (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t_bak)
==6104==    by 0x17E7540: ??? (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t_bak)
==6104==    by 0xAB1F89: ??? (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t_bak)
==6104==    by 0x6EA1F1: ??? (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t_bak)
==6104==    by 0x1D85EBC: ??? (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t_bak)
==6104==    by 0xAB7AEDA: (below main) (in /usr/lib/libc-2.26.so)
==6104==
==6104== Conditional jump or move depends on uninitialised value(s)
==6104==    at 0xAC0C507: __wmemchr_sse2 (in /usr/lib/libc-2.26.so)
==6104==    by 0x6356C8B: std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::find(wchar_t const*, unsigned long, unsigned long) const (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/libdoctrenderer.so)
==6104==    by 0x17BD2A5: ??? (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t_bak)
==6104==    by 0x1863048: ??? (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t_bak)
==6104==    by 0x17E7540: ??? (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t_bak)
==6104==    by 0xAB1F9C: ??? (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t_bak)
==6104==    by 0x6EA1F1: ??? (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t_bak)
==6104==    by 0x1D85EBC: ??? (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t_bak)
==6104==    by 0xAB7AEDA: (below main) (in /usr/lib/libc-2.26.so)
==6104==
==6104== Conditional jump or move depends on uninitialised value(s)
==6104==    at 0xAC0C507: __wmemchr_sse2 (in /usr/lib/libc-2.26.so)
==6104==    by 0x6356C8B: std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::find(wchar_t const*, unsigned long, unsigned long) const (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/libdoctrenderer.so)
==6104==    by 0x17BD2A5: ??? (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t_bak)
==6104==    by 0x186309D: ??? (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t_bak)
==6104==    by 0x17E7540: ??? (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t_bak)
==6104==    by 0xAB1F9C: ??? (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t_bak)
==6104==    by 0x6EA1F1: ??? (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t_bak)
==6104==    by 0x1D85EBC: ??? (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t_bak)
==6104==    by 0xAB7AEDA: (below main) (in /usr/lib/libc-2.26.so)
==6104==
==6104== Conditional jump or move depends on uninitialised value(s)
==6104==    at 0xAC0C537: __wmemchr_sse2 (in /usr/lib/libc-2.26.so)
==6104==    by 0x6356C8B: std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::find(wchar_t const*, unsigned long, unsigned long) const (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/libdoctrenderer.so)
==6104==    by 0x5A75508: ??? (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/libdoctrenderer.so)
==6104==    by 0x5A76C37: NSDoctRenderer::CDoctrenderer::Execute(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&) (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/libdoctrenderer.so)
==6104==    by 0x79E0F9: ??? (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t_bak)
==6104==    by 0x7BAD62: ??? (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t_bak)
==6104==    by 0x7C329F: ??? (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t_bak)
==6104==    by 0x7C607D: ??? (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t_bak)
==6104==    by 0x7C6EBC: ??? (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t_bak)
==6104==    by 0x6DA77B: ??? (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t_bak)
==6104==    by 0xAB7AF49: (below main) (in /usr/lib/libc-2.26.so)
==6104==
==6104== Conditional jump or move depends on uninitialised value(s)
==6104==    at 0xAC0C537: __wmemchr_sse2 (in /usr/lib/libc-2.26.so)
==6104==    by 0x6356C8B: std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::find(wchar_t const*, unsigned long, unsigned long) const (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/libdoctrenderer.so)
==6104==    by 0x5A75508: ??? (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/libdoctrenderer.so)
==6104==    by 0x5A76D6D: NSDoctRenderer::CDoctrenderer::Execute(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&) (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/libdoctrenderer.so)
==6104==    by 0x79E0F9: ??? (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t_bak)
==6104==    by 0x7BAD62: ??? (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t_bak)
==6104==    by 0x7C329F: ??? (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t_bak)
==6104==    by 0x7C607D: ??? (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t_bak)
==6104==    by 0x7C6EBC: ??? (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t_bak)
==6104==    by 0x6DA77B: ??? (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t_bak)
==6104==    by 0xAB7AF49: (below main) (in /usr/lib/libc-2.26.so)
==6104==
==6104== Conditional jump or move depends on uninitialised value(s)
==6104==    at 0xAC0C537: __wmemchr_sse2 (in /usr/lib/libc-2.26.so)
==6104==    by 0x6356C8B: std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::find(wchar_t const*, unsigned long, unsigned long) const (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/libdoctrenderer.so)
==6104==    by 0x5A75508: ??? (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/libdoctrenderer.so)
==6104==    by 0x5A76E95: NSDoctRenderer::CDoctrenderer::Execute(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&) (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/libdoctrenderer.so)
==6104==    by 0x79E0F9: ??? (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t_bak)
==6104==    by 0x7BAD62: ??? (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t_bak)
==6104==    by 0x7C329F: ??? (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t_bak)
==6104==    by 0x7C607D: ??? (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t_bak)
==6104==    by 0x7C6EBC: ??? (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t_bak)
==6104==    by 0x6DA77B: ??? (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t_bak)
==6104==    by 0xAB7AF49: (below main) (in /usr/lib/libc-2.26.so)
==6104==
==6104== Warning: set address range perms: large range [0x3ba881102000, 0x3ba8a1102000) (noaccess)

Here the same debugger log with debug symbols enabled:
==19152== Memcheck, a memory error detector
==19152== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==19152== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==19152== Command: ./x2t /tmp/ASC_CONVERT1171128-lhuyfy.z3txs/params.xml
==19152==
==19152== Conditional jump or move depends on uninitialised value(s)
==19152==    at 0xAC0C521: __wmemchr_sse2 (in /usr/lib/libc-2.26.so)
==19152==    by 0x635795B: std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::find(wchar_t const*, unsigned long, unsigned long) const (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/libdoctrenderer.so)
==19152==    by 0x17BD2A5: XmlUtils::replace_all(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t)
==19152==    by 0x1863048: OOX::CPath::Normalize() (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t)
==19152==    by 0x17E7540: OOX::CPath::CPath(wchar_t const*&, bool) (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t)
==19152==    by 0xAB1F89: OOX::FileType::FileType(wchar_t const*, wchar_t const*, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, bool, bool) (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t)
==19152==    by 0x6EA164: __static_initialization_and_destruction_0(int, int) [clone .constprop.315] (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t)
==19152==    by 0x1D85EBC: __libc_csu_init (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t)
==19152==    by 0xAB7AEDA: (below main) (in /usr/lib/libc-2.26.so)
==19152==
==19152== Conditional jump or move depends on uninitialised value(s)
==19152==    at 0xAC0C521: __wmemchr_sse2 (in /usr/lib/libc-2.26.so)
==19152==    by 0x635795B: std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::find(wchar_t const*, unsigned long, unsigned long) const (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/libdoctrenderer.so)
==19152==    by 0x17BD2A5: XmlUtils::replace_all(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t)
==19152==    by 0x186309D: OOX::CPath::Normalize() (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t)
==19152==    by 0x17E7540: OOX::CPath::CPath(wchar_t const*&, bool) (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t)
==19152==    by 0xAB1F89: OOX::FileType::FileType(wchar_t const*, wchar_t const*, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, bool, bool) (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t)
==19152==    by 0x6EA164: __static_initialization_and_destruction_0(int, int) [clone .constprop.315] (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t)
==19152==    by 0x1D85EBC: __libc_csu_init (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t)
==19152==    by 0xAB7AEDA: (below main) (in /usr/lib/libc-2.26.so)
==19152==
==19152== Conditional jump or move depends on uninitialised value(s)
==19152==    at 0xAC0C537: __wmemchr_sse2 (in /usr/lib/libc-2.26.so)
==19152==    by 0x635795B: std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::find(wchar_t const*, unsigned long, unsigned long) const (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/libdoctrenderer.so)
==19152==    by 0x17BD2A5: XmlUtils::replace_all(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t)
==19152==    by 0x1863048: OOX::CPath::Normalize() (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t)
==19152==    by 0x17E7540: OOX::CPath::CPath(wchar_t const*&, bool) (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t)
==19152==    by 0xAB1F9C: OOX::FileType::FileType(wchar_t const*, wchar_t const*, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, bool, bool) (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t)
==19152==    by 0x6EA164: __static_initialization_and_destruction_0(int, int) [clone .constprop.315] (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t)
==19152==    by 0x1D85EBC: __libc_csu_init (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t)
==19152==    by 0xAB7AEDA: (below main) (in /usr/lib/libc-2.26.so)
==19152==
==19152== Conditional jump or move depends on uninitialised value(s)
==19152==    at 0xAC0C537: __wmemchr_sse2 (in /usr/lib/libc-2.26.so)
==19152==    by 0x635795B: std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::find(wchar_t const*, unsigned long, unsigned long) const (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/libdoctrenderer.so)
==19152==    by 0x17BD2A5: XmlUtils::replace_all(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t)
==19152==    by 0x186309D: OOX::CPath::Normalize() (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t)
==19152==    by 0x17E7540: OOX::CPath::CPath(wchar_t const*&, bool) (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t)
==19152==    by 0xAB1F9C: OOX::FileType::FileType(wchar_t const*, wchar_t const*, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, bool, bool) (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t)
==19152==    by 0x6EA164: __static_initialization_and_destruction_0(int, int) [clone .constprop.315] (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t)
==19152==    by 0x1D85EBC: __libc_csu_init (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t)
==19152==    by 0xAB7AEDA: (below main) (in /usr/lib/libc-2.26.so)
==19152==
==19152== Conditional jump or move depends on uninitialised value(s)
==19152==    at 0xAC0C4ED: __wmemchr_sse2 (in /usr/lib/libc-2.26.so)
==19152==    by 0x635795B: std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::find(wchar_t const*, unsigned long, unsigned long) const (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/libdoctrenderer.so)
==19152==    by 0x17BD2A5: XmlUtils::replace_all(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t)
==19152==    by 0x1863048: OOX::CPath::Normalize() (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t)
==19152==    by 0x17E7540: OOX::CPath::CPath(wchar_t const*&, bool) (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t)
==19152==    by 0xAB1F89: OOX::FileType::FileType(wchar_t const*, wchar_t const*, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, bool, bool) (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t)
==19152==    by 0x6EA1F1: __static_initialization_and_destruction_0(int, int) [clone .constprop.315] (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t)
==19152==    by 0x1D85EBC: __libc_csu_init (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t)
==19152==    by 0xAB7AEDA: (below main) (in /usr/lib/libc-2.26.so)
==19152==
==19152== Conditional jump or move depends on uninitialised value(s)
==19152==    at 0xAC0C4ED: __wmemchr_sse2 (in /usr/lib/libc-2.26.so)
==19152==    by 0x635795B: std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::find(wchar_t const*, unsigned long, unsigned long) const (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/libdoctrenderer.so)
==19152==    by 0x17BD2A5: XmlUtils::replace_all(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t)
==19152==    by 0x186309D: OOX::CPath::Normalize() (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t)
==19152==    by 0x17E7540: OOX::CPath::CPath(wchar_t const*&, bool) (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t)
==19152==    by 0xAB1F89: OOX::FileType::FileType(wchar_t const*, wchar_t const*, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, bool, bool) (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t)
==19152==    by 0x6EA1F1: __static_initialization_and_destruction_0(int, int) [clone .constprop.315] (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t)
==19152==    by 0x1D85EBC: __libc_csu_init (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t)
==19152==    by 0xAB7AEDA: (below main) (in /usr/lib/libc-2.26.so)
==19152==
==19152== Conditional jump or move depends on uninitialised value(s)
==19152==    at 0xAC0C507: __wmemchr_sse2 (in /usr/lib/libc-2.26.so)
==19152==    by 0x635795B: std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::find(wchar_t const*, unsigned long, unsigned long) const (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/libdoctrenderer.so)
==19152==    by 0x17BD2A5: XmlUtils::replace_all(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t)
==19152==    by 0x1863048: OOX::CPath::Normalize() (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t)
==19152==    by 0x17E7540: OOX::CPath::CPath(wchar_t const*&, bool) (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t)
==19152==    by 0xAB1F9C: OOX::FileType::FileType(wchar_t const*, wchar_t const*, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, bool, bool) (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t)
==19152==    by 0x6EA1F1: __static_initialization_and_destruction_0(int, int) [clone .constprop.315] (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t)
==19152==    by 0x1D85EBC: __libc_csu_init (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t)
==19152==    by 0xAB7AEDA: (below main) (in /usr/lib/libc-2.26.so)
==19152==
==19152== Conditional jump or move depends on uninitialised value(s)
==19152==    at 0xAC0C507: __wmemchr_sse2 (in /usr/lib/libc-2.26.so)
==19152==    by 0x635795B: std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::find(wchar_t const*, unsigned long, unsigned long) const (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/libdoctrenderer.so)
==19152==    by 0x17BD2A5: XmlUtils::replace_all(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t)
==19152==    by 0x186309D: OOX::CPath::Normalize() (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t)
==19152==    by 0x17E7540: OOX::CPath::CPath(wchar_t const*&, bool) (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t)
==19152==    by 0xAB1F9C: OOX::FileType::FileType(wchar_t const*, wchar_t const*, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, bool, bool) (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t)
==19152==    by 0x6EA1F1: __static_initialization_and_destruction_0(int, int) [clone .constprop.315] (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t)
==19152==    by 0x1D85EBC: __libc_csu_init (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/x2t)
==19152==    by 0xAB7AEDA: (below main) (in /usr/lib/libc-2.26.so)
==19152==
==19152== Conditional jump or move depends on uninitialised value(s)
==19152==    at 0xAC0C537: __wmemchr_sse2 (in /usr/lib/libc-2.26.so)
==19152==    by 0x635795B: std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::find(wchar_t const*, unsigned long, unsigned long) const (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/libdoctrenderer.so)
==19152==    by 0x5A75108: NSDoctRenderer::string_replaceAll(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/libdoctrenderer.so)
==19152==    by 0x5A76837: NSDoctRenderer::CDoctrenderer::Execute(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&) (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/libdoctrenderer.so)
==19152==    by 0x79E0F9: NExtractTools::apply_changes(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, NSDoctRenderer::DoctRendererFormat::FormatFile, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&, NExtractTools::InputParams const&) (cextracttools.cpp:419)
==19152==    by 0x7BAD62: NExtractTools::doct_bin2docx_dir(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, bool, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, NExtractTools::InputParams&) (ASCConverters.cpp:186)
==19152==    by 0x7C329F: NExtractTools::fromDoctBin(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, int, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, bool, bool, NExtractTools::InputParams&) (ASCConverters.cpp:3064)
==19152==    by 0x7C607D: NExtractTools::fromInputParams(NExtractTools::InputParams&) (ASCConverters.cpp:4158)
==19152==    by 0x7C6EBC: NExtractTools::FromFile(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) (ASCConverters.cpp:4243)
==19152==    by 0x6DA77B: main (main.cpp:121)
==19152==
==19152== Conditional jump or move depends on uninitialised value(s)
==19152==    at 0xAC0C537: __wmemchr_sse2 (in /usr/lib/libc-2.26.so)
==19152==    by 0x635795B: std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::find(wchar_t const*, unsigned long, unsigned long) const (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/libdoctrenderer.so)
==19152==    by 0x5A75108: NSDoctRenderer::string_replaceAll(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/libdoctrenderer.so)
==19152==    by 0x5A7696D: NSDoctRenderer::CDoctrenderer::Execute(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&) (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/libdoctrenderer.so)
==19152==    by 0x79E0F9: NExtractTools::apply_changes(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, NSDoctRenderer::DoctRendererFormat::FormatFile, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&, NExtractTools::InputParams const&) (cextracttools.cpp:419)
==19152==    by 0x7BAD62: NExtractTools::doct_bin2docx_dir(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, bool, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, NExtractTools::InputParams&) (ASCConverters.cpp:186)
==19152==    by 0x7C329F: NExtractTools::fromDoctBin(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, int, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, bool, bool, NExtractTools::InputParams&) (ASCConverters.cpp:3064)
==19152==    by 0x7C607D: NExtractTools::fromInputParams(NExtractTools::InputParams&) (ASCConverters.cpp:4158)
==19152==    by 0x7C6EBC: NExtractTools::FromFile(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) (ASCConverters.cpp:4243)
==19152==    by 0x6DA77B: main (main.cpp:121)
==19152==
==19152== Conditional jump or move depends on uninitialised value(s)
==19152==    at 0xAC0C537: __wmemchr_sse2 (in /usr/lib/libc-2.26.so)
==19152==    by 0x635795B: std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::find(wchar_t const*, unsigned long, unsigned long) const (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/libdoctrenderer.so)
==19152==    by 0x5A75108: NSDoctRenderer::string_replaceAll(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/libdoctrenderer.so)
==19152==    by 0x5A76A95: NSDoctRenderer::CDoctrenderer::Execute(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&) (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/libdoctrenderer.so)
==19152==    by 0x79E0F9: NExtractTools::apply_changes(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, NSDoctRenderer::DoctRendererFormat::FormatFile, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&, NExtractTools::InputParams const&) (cextracttools.cpp:419)
==19152==    by 0x7BAD62: NExtractTools::doct_bin2docx_dir(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, bool, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, NExtractTools::InputParams&) (ASCConverters.cpp:186)
==19152==    by 0x7C329F: NExtractTools::fromDoctBin(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, int, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, bool, bool, NExtractTools::InputParams&) (ASCConverters.cpp:3064)
==19152==    by 0x7C607D: NExtractTools::fromInputParams(NExtractTools::InputParams&) (ASCConverters.cpp:4158)
==19152==    by 0x7C6EBC: NExtractTools::FromFile(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) (ASCConverters.cpp:4243)
==19152==    by 0x6DA77B: main (main.cpp:121)
==19152==
==19152== Warning: set address range perms: large range [0x37cf83e19000, 0x37cfa3e19000) (noaccess)
==19152==
==19152== Process terminating with default action of signal 2 (SIGINT)
==19152==    at 0xA5FFCC6: do_futex_wait.constprop.1 (in /usr/lib/libpthread-2.26.so)
==19152==    by 0xA5FFDB7: __new_sem_wait_slow.constprop.0 (in /usr/lib/libpthread-2.26.so)
==19152==    by 0x615E5EF: v8::base::Semaphore::Wait() (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/libdoctrenderer.so)
==19152==    by 0x6158EC8: v8::platform::TaskQueue::GetNext() (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/libdoctrenderer.so)
==19152==    by 0x6158FFA: v8::platform::WorkerThread::Run() (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/libdoctrenderer.so)
==19152==    by 0x615FACE: v8::base::ThreadEntry(void*) (in /usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/libdoctrenderer.so)
==19152==    by 0xA5F7089: start_thread (in /usr/lib/libpthread-2.26.so)
==19152==    by 0xAC5042E: clone (in /usr/lib/libc-2.26.so)
==19152==
==19152== HEAP SUMMARY:
==19152==     in use at exit: 273,195,227 bytes in 17,254 blocks
==19152==   total heap usage: 125,576 allocs, 108,322 frees, 408,234,761 bytes allocated
==19152==
==19152== LEAK SUMMARY:
==19152==    definitely lost: 0 bytes in 0 blocks
==19152==    indirectly lost: 0 bytes in 0 blocks
==19152==      possibly lost: 1,344 bytes in 4 blocks
==19152==    still reachable: 273,193,883 bytes in 17,250 blocks
==19152==                       of which reachable via heuristic:
==19152==                         newarray           : 4,200 bytes in 3 blocks
==19152==         suppressed: 0 bytes in 0 blocks
==19152== Rerun with --leak-check=full to see details of leaked memory
==19152==
==19152== For counts of detected and suppressed errors, rerun with: -v
==19152== Use --track-origins=yes to see where uninitialised values come from
==19152== ERROR SUMMARY: 4491 errors from 11 contexts (suppressed: 0 from 0)

Hello @onny,
We will analyze the provided information.
Please try also to install our official version as we have mentioned before and check if there are any errors.

Okay I copied your compiled binaries from the Debian x64 package, to be found in /var/www/onlyoffice/documentserver/server/FileConverter/bin to my ArchLinux instance. Now x2t succeeds and the file will be copied to Nextcloud ...

Hello @onny,
Thank you for the provided information. We will check it.


Omniauth login screens opens on top when called from iFrame.

Hi,
I noticed that whenever we load up an authentication screen (such as the login screen on facebook), it loads the screen on top. I am calling /auth/facebook from within an iFrame and would like it to stay put! Is there anyway to present to the user the login screen within the iFrame instead of top?

Dave

To all on this issue: please doublecheck if you are still experiencing the same problem with OmniAuth 1.0 (released today) and that the issue is relevant to the omniauth core library (and not a strategy gem). I'll assume it's working properly if no one comments in the next week. Thanks!

This seems like a provider-specific issue that doesn't really have any reference in the core library's code. Please comment more if you disagree.


[Feature request] Add horizontal padding (spacing) to each item

As the title describes, I'd appreciate a little padding. Currently, each item (if being top-most one) is sitting right next to the border, and the cursor is overlapping part of the item. A desired result would be like Neo-tree (screenshot below).

I think the spacing is fine. If you dislike the aesthetic of the cursor atop an icon you could write an autocmd to move your cursor to the symbol name, or hide the cursor, or you could change the cursor highlight


Store Region data for each projects

Description:
Comms team needs to be able to filter the CBC and CCBC data by regions so they know where the projects are.  The data team currently updates this manually in the CBC data.  We need a way for this data to also be in the CCBC projects

Interview with Krista about regions

To accomplish this, the SOW tables Geoname Tab could include columns for Economic Regional District and Regional Districts then these could be imported when uploaded.
This is how the data are in the Master Spreadsheet.

we could also automate this as a GIS query during the uploading of KMZ file at application, RFI, signed agreement, and change requests.

@MarsRomer moved to new Jira with comments (Sprint 40 backlog)


Last played item

Create a metadata item displaying the last scene played by the user that features the performer, including a timestamp.

Cannot be implemented until play_history is made available in queries. Have raised at https://github.com/stashapp/stash/issues/4510#issuecomment-2171652436

already available in develop
query FindScenes {
    findScenes(
        filter: { sort: "last_played_at", per_page: -1, direction: DESC }
        scene_filter: { performers: { value: #, modifier: INCLUDES } }
    ) {
        scenes {
            play_history
            id
            last_played_at
        }
    }
}

Weirdly neither play_history or last_played_at are returned via the plugin API, even though I can see it returned in the playground.  See my console log of your query via the plugin.

odd....


⚠ Processors has degraded performance

In 614fadc, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 84 ms

Resolved: Processors performance has improved in 29c39f2.


Nested inline marks dropped from rich text output

Description
If I have a sentence that contains nested bold & italics, that text is dropped completely from the output.
Steps to reproduce

Create a new collection with a rich-text field.
Write a sentence that works similar to one like this: This is bold with nested italics.
Query the results for output.

Expected result
The word "nested" should be a text field with bold & italic properties.
Actual result
Word is dropped completely. Part of the schema is output as follows:
{
  "bold": true
  "text": "bold with  italics."
  "type": "text"
  "undefined": true
  "value": " italics."
}

Markdown appears like this:
This is a **bold with *****nested***** italics.**

I've also had this drop the word nested completely, although not 100% sure how to reproduce that.
Environment
Tinacms Package Versions

├─┬<EMAIL_ADDRESS>│ ├─┬<EMAIL_ADDRESS>│ ├─┬<EMAIL_ADDRESS>│ ├─┬<EMAIL_ADDRESS>│ ├─┬<EMAIL_ADDRESS>├─┬<EMAIL_ADDRESS>│ ├─┬<EMAIL_ADDRESS>│ │ ├──<EMAIL_ADDRESS>├─┬<EMAIL_ADDRESS>invalid
│ ├──<EMAIL_ADDRESS>extraneous
│ ├──<EMAIL_ADDRESS>extraneous
│ ├──<EMAIL_ADDRESS>extraneous

Tools

Tool
Version

browser
Chrome

os
OSX

node
14.17.6

npm
6.14.15

Seems related to the fix in #2964 but that never landed.

This appears to be resolved now.


Put opengraph information where aliases are defined

I think it'd be a nice feature to have anything defined in your frontmatter's aliases list have their URLs generated with the redirect and with the open graph information from the file it's redirecting to.
In my use case, I want a short URL to type inside a chatroom and still have the open graph embed pop up.

You should handle that with a custom template:
https://gohugo.io/content-management/urls/#customize
The embedded template is here:
https://github.com/gohugoio/hugo/blob/master/tpl/tplimpl/embedded/templates/alias.html


US-91: Implement AWeapon in ABody

US-91
As a developer I want an ABody to implement AWeapon
Because
Every body should be able to have a weapon.
Tasks

[ ] Implement AWeapon class in ABody
[ ] When creating a new body, there should be an option to give it a weapon.

Acceptance criteria
Every body should be able to have a weapon.

Closed since this was the same US as #164


CET 1.31.x and 1.32.x, REDEngineErrorReporter.exe crashes on every game application startup.

Hello,
REDEngineErrorReporter.exe crashes on every game application startup with the version.dll v6.0.0 installed in the ..\Cyberpunk 2077\bin\x64 folder.
The game application itself is unaffected so severity level is down to irritating crash messages in this case.
I tracked it down to the version.dll file on a clean game install (disabling cyber_engine_tweaks.asi does not help so it's not the culprit)
It seems to be caused by some debugging code failing as the error message details it to:
An unhandled win32 exception occurred in [8184] REDEngineErrorReporter.exe. Just-In-Time debugging this exception failed with the following error: No installed debugger has Just-In-Time debugging enabled. In Visual Studio, Just-In-Time debugging can be enabled from Tools/Options/Debugging/Just-In-Time.
As a workaround I disabled the REDEngineErrorReporter.exe by renaming the file to stop the annoying messages, however I believe there is something in the version.dll that should be amended.
Regards.
Anygoodname.

Update: possibly related to Visual Studio leftovers:

Same issue in CET 1.32.0 and 1.32.1

Same here:
AppName REDEngineErrorReporter.exe
AppVersion <IP_ADDRESS>
AppTimeStamp 65f416ce
ModuleName VERSION.dll
ModuleVersion <IP_ADDRESS>
ModuleTimeStamp 65e1b757
ExceptionCode c0000409
FaultingOffset<PHONE_NUMBER>06d88d
ProcessId 0x8074
ProcessCreationTime 0x1da7bd7eb0e5ead
AppPath C:\Spiele\GOG Games\Cyberpunk 2077\bin\x64\REDEngineErrorReporter.exe
ModulePath C:\Spiele\GOG Games\Cyberpunk 2077\bin\x64\VERSION.dll
IntegratorReportId a7727eb8-1853-488a-b284-aaf39efeedd7
PackageFullName
PackageRelativeAppId
AppName REDEngineErrorReporter.exe
AppVersion <IP_ADDRESS>
AppTimeStamp 65f416ce
ModuleName KERNELBASE.dll
ModuleVersion 10.0.22621.3235
ModuleTimeStamp 2b72307b
ExceptionCode e06d7363
FaultingOffset<PHONE_NUMBER>065b0c
ProcessId 0x8074
ProcessCreationTime 0x1da7bd7eb0e5ead
AppPath C:\Spiele\GOG Games\Cyberpunk 2077\bin\x64\REDEngineErrorReporter.exe
ModulePath C:\WINDOWS\System32\KERNELBASE.dll
IntegratorReportId ed060707-d03e-4551-9408-709896a7f970
PackageFullName
PackageRelativeAppId
AppName REDEngineErrorReporter.exe
AppVersion <IP_ADDRESS>
AppTimeStamp 65f416ce
ModuleName VERSION.dll
ModuleVersion <IP_ADDRESS>
ModuleTimeStamp 65e1b757
ExceptionCode c0000409
FaultingOffset<PHONE_NUMBER>06d88d
ProcessId 0x8294
ProcessCreationTime 0x1da7bd3443ba0b2
AppPath C:\Spiele\GOG Games\Cyberpunk 2077\bin\x64\REDEngineErrorReporter.exe
ModulePath C:\Spiele\GOG Games\Cyberpunk 2077\bin\x64\VERSION.dll
IntegratorReportId bf6015bf-5a35-4480-bd03-fe567368a36c
PackageFullName
PackageRelativeAppId
AppName REDEngineErrorReporter.exe
AppVersion <IP_ADDRESS>
AppTimeStamp 65f416ce
ModuleName KERNELBASE.dll
ModuleVersion 10.0.22621.3235
ModuleTimeStamp 2b72307b
ExceptionCode e06d7363
FaultingOffset<PHONE_NUMBER>065b0c
ProcessId 0x8294
ProcessCreationTime 0x1da7bd3443ba0b2
AppPath C:\Spiele\GOG Games\Cyberpunk 2077\bin\x64\REDEngineErrorReporter.exe
ModulePath C:\WINDOWS\System32\KERNELBASE.dll
IntegratorReportId 71936634-c0dc-4cca-add5-e22ccd357dbe
PackageFullName
PackageRelativeAppId

Hello,
REDEngineErrorReporter.exe crashes on every game application startup with the version.dll v6.0.0 installed in the ..\Cyberpunk 2077\bin\x64 folder. The game application itself is unaffected so severity level is down to irritating crash messages in this case. I tracked it down to the version.dll file on a clean game install (disabling cyber_engine_tweaks.asi does not help so it's not the culprit) It seems to be caused by some debugging code failing as the error message details it to:
An unhandled win32 exception occurred in [8184] REDEngineErrorReporter.exe. Just-In-Time debugging this exception failed with the following error: No installed debugger has Just-In-Time debugging enabled. In Visual Studio, Just-In-Time debugging can be enabled from Tools/Options/Debugging/Just-In-Time.
As a workaround I disabled the REDEngineErrorReporter.exe by renaming the file to stop the annoying messages, however I believe there is something in the version.dll that should be amended.
Regards. Anygoodname.

I also get these exact errors. Version.dll is a file created by CET correct? if thats the case then only the creator of CET would be able to fix it?

Version.dll is Ultimate ASI Loader. You may try to download latest release of it if it doesnt help by a chance if that is causing the crash seemingly.

https://github.com/ThirteenAG/Ultimate-ASI-Loader/releases/tag/v7.1.0
If it helps, we can bump version we use (I think we currently use 5.0 or something like that)

Thank you.
Unfortunately none of the versions 5.6 up worked for me - while they try to load the asi, it all ends up in in a fatal error and the game application collapsing on that:

Do I simply add the .dll file to the same dir as the original version.dll file and rename it to 'version.dll'?

Yes I am the same, all fatal error when trying to use 6.3 to latest 7.1

You must use the one packed with CET, it's a fork. https://github.com/maximegmd/Ultimate-ASI-Loader

So there is no other version.dll than the one already included in the 1.32.1 distribution?

Yeah, and it seems this is latest one. Had not noticed we switched to custom fork, wouldn't suggest it. Guess maybe we have sth wrong in the fork? :suspect: I dont think we had this issue before with vanilla ASI loader.

It started with the CET 1.31 when switched back to asi.

Can you try this dll:
version.zip

Hm, wanted to test if I can replicate this on Steam Deck by a chance (as I have nothing better at hand atm) and I can't, even with former release. Funny when Linux works better than Windows...

Can you try this dll: version.zip

Barring a binge error message (screenshot below) at the process startup, it all seems to work fine.
The REDEngineErrorReporter.exe works fine too.
So it seems like a good candidate.

Fixed in v1.32.2, uploading once the build finishes :)

Thanks a lot! :)

https://github.com/maximegmd/CyberEngineTweaks/releases/tag/v1.32.2

I've just woken up its morning here, I'll check out the new update and see how we go :D

Well, I got another crasdh to desktop after playing maybe about 30 mins, this time however nothing reported in windows event viewer or from RedEngineErrorReporter. So thats a good sign the updated CET is working. But frustrating that crashes still happen with nothing to go on.

This case is about REDEngineErrorReporter.exe crashing on version.dll startup which has been fixed in the CET 1.32.2.
If you experience other issues, please open a separate case.
This case is closed as solved now.

I'm getting "unable to load cyber engine tweaks.asi. error 998" using 1.32.3, reverting back to 1.32.2 loaded correctly.

read the instructions.


use mjs for esm output

When using this in node, the CJS output is being loaded even though the library exports ESM output. I've adjusted the ESM output to end with the .mjs extension, and added an exports field so that node resolves to it.

This would be a breaking change. Giving magic-string currently support down to Node v10, we might need to introduce a breaking change to deprecated it.

Good point. To be safe, I agree this should be a minor bump for 0.x. Though I think normal Node 10 resolution algorithm should avoid the .mjs paths, since Node 10 doesn't read pkg.module and pkg.exports, so we could get away bumping the node version perhaps 🤔