Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

[0.14.0] 'actix-web' panics with a GDAL config, but non-GDAL built #260

Open
tobwen opened this issue Sep 18, 2021 · 2 comments
Open

[0.14.0] 'actix-web' panics with a GDAL config, but non-GDAL built #260

tobwen opened this issue Sep 18, 2021 · 2 comments
Assignees

Comments

@tobwen
Copy link
Contributor

tobwen commented Sep 18, 2021

tl;dr

thread 'actix-web' panicked at 'not implemented', t-rex-core/src/datasource/datasource.rs:47:9

environment

build: https://github.com/t-rex-tileserver/t-rex/releases/download/v0.14.0/t-rex-v0.14.0-x86_64-linux-gnu.tar.gz
OS: Debian Bullseye, 64-bit

# ldd t_rex
        linux-vdso.so.1 (0x00007ffeea466000)
        libssl.so.1.1 => /lib/x86_64-linux-gnu/libssl.so.1.1 (0x00007fdce2717000)
        libcrypto.so.1.1 => /lib/x86_64-linux-gnu/libcrypto.so.1.1 (0x00007fdce2423000)
        libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fdce2409000)
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fdce23e7000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fdce22a3000)
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fdce229d000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fdce20d6000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fdce3c52000)

RUST backtrace

open me
# RUST_BACKTRACE=full t_rex serve --config t-rex.toml
2021-09-18 02:09:43.510 INFO Reading configuration from 't-rex.toml'
thread 'actix-web' panicked at 'not implemented', t-rex-core/src/datasource/datasource.rs:47:9
stack backtrace:
   0:     0x55ea096077f0 - <unknown>
   1:     0x55ea0962d65c - <unknown>
   2:     0x55ea09600395 - <unknown>
   3:     0x55ea0960989b - <unknown>
   4:     0x55ea09609371 - <unknown>
   5:     0x55ea09609f64 - <unknown>
   6:     0x55ea09609a17 - <unknown>
   7:     0x55ea09607cec - <unknown>
   8:     0x55ea096099a9 - <unknown>
   9:     0x55ea08ec8751 - <unknown>
  10:     0x55ea08ec869d - <unknown>
  11:     0x55ea0922ce9a - <unknown>
  12:     0x55ea09170bde - <unknown>
  13:     0x55ea08f16039 - <unknown>
  14:     0x55ea08ef62c9 - <unknown>
  15:     0x55ea090e6861 - <unknown>
  16:     0x55ea090e706f - <unknown>
  17:     0x55ea0960fda7 - <unknown>
  18:     0x7f3fe7f0eea7 - start_thread
  19:     0x7f3fe7cf2def - clone
  20:                0x0 - <unknown>
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Canceled', t-rex-webserver/src/server.rs:242:6
stack backtrace:
   0:     0x55ea096077f0 - <unknown>
   1:     0x55ea0962d65c - <unknown>
   2:     0x55ea09600395 - <unknown>
   3:     0x55ea0960989b - <unknown>
   4:     0x55ea09609371 - <unknown>
   5:     0x55ea09609f64 - <unknown>
   6:     0x55ea09609a47 - <unknown>
   7:     0x55ea09607cec - <unknown>
   8:     0x55ea096099a9 - <unknown>
   9:     0x55ea08ec8751 - <unknown>
  10:     0x55ea08ec8843 - <unknown>
  11:     0x55ea08fb0369 - <unknown>
  12:     0x55ea08f72950 - <unknown>
  13:     0x55ea08fcfa65 - <unknown>
  14:     0x55ea08f71005 - <unknown>
  15:     0x55ea08fbd6c9 - <unknown>
  16:     0x55ea08fa7138 - <unknown>
  17:     0x55ea08fbdd6a - <unknown>
  18:     0x55ea08eee7d5 - <unknown>
  19:     0x55ea08ee620f - <unknown>
  20:     0x55ea08ed0c43 - <unknown>
  21:     0x55ea08ee8389 - <unknown>
  22:     0x55ea0960a569 - <unknown>
  23:     0x55ea08ee71b2 - <unknown>
  24:     0x7f3fe7c1bd0a - __libc_start_main
  25:     0x55ea08ec8f2e - <unknown>
  26:                0x0 - <unknown>
Panic in Arbiter thread.
@tobwen
Copy link
Contributor Author

tobwen commented Sep 18, 2021

Own build works, but it is linked against WAY more dependencies (which belong to GDAL world): #259 (comment)

@pka
Copy link
Member

pka commented Sep 18, 2021

The t-rex-v0.14.0-x86_64-linux-gnu tarball is built without GDAL support. I assume, you're getting his panic when accessing a GDAL datasource. So we should have a better error message here.

@pka pka self-assigned this Sep 18, 2021
@tobwen tobwen changed the title [0.14.0] thread 'actix-web' panicked at 'not implemented', t-rex-core/src/datasource/datasource.rs:47:9 [0.14.0] 'actix-web' panics with a GDAL config, but non-GDAL built Sep 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants