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

Segmentation fault on musl #4897

Closed
ghost opened this issue Apr 8, 2023 · 2 comments
Closed

Segmentation fault on musl #4897

ghost opened this issue Apr 8, 2023 · 2 comments

Comments

@ghost
Copy link

ghost commented Apr 8, 2023

Describe the bug
When attempting to run Ombi on musl-libc systems (Alpine Linux), the help page is shown then it immediately segfaults.

To Reproduce
Steps to reproduce the behavior:

  1. Clone the repo
  2. Run cd Ombi/src/Ombi
  3. Run dotnet build
  4. Run ./bin/Debug/net6.0/Ombi

Expected behavior
The program runs without segfaulting.

Screenshots

$ ./bin/Debug/net6.0/Ombi
Hello, welcome to Ombi
Valid options are:
Ombi 1.0.0
Copyright (C) 2023 Ombi

  --host       (Default: http://*:5000) Set to a semicolon-separated (;) list of
               URL prefixes to which the server should respond. For example,
               http://localhost:123. Use "localhost" to indicate that the server
               should listen for requests on any IP address or hostname using
               the specified port and protocol (for example,
               http://localhost:5000). The protocol (http:// or https://) must
               be included with each URL. Supported formats vary between
               servers.

  --storage    Storage path, where we save the logs and database

  --baseurl    The base URL for reverse proxy scenarios

  --demo       Demo mode, you will never need to use this, fuck that fruit
               company...

  --migrate    Will run the migrations then exit the application

  --help       Display this help screen.

  --version    Display version information.



Segmentation fault

Logs (Logs directory where Ombi is located)
If applicable, a snippet of the logs that seems relevant to the bug if present.

Desktop (please complete the following information):

  • OS: Alpine Linux

Ombi Version (please complete the following information):

  • Version 4.35.10
  • Media Server none
  • Database Type: SQLite

Additional context
Happens when dotnet run is ran aswell, however it doesn't show the Segmentation fault message at the end.

Also when it is ran with the --version argument, the following is prepended to the above message:

Ombi 1.0.0
CommandLine.VersionRequestedError

Related issue: #2145

@github-actions
Copy link

github-actions bot commented Apr 8, 2023

Hi!

Thanks for the issue report. Before a real human comes by, please make sure you used our bug report format.

Have you looked at the wiki yet? https://docs.ombi.app/

Before posting make sure you also read our FAQ.

Make the title describe your issue. Having 'not working' or 'I get this bug' for 100 issues, isn't really helpful.

If we need more information or there is some progress we tag the issue or update the tag and keep you updated.

Thanks!

Ombi Bot.

@ghost
Copy link
Author

ghost commented Apr 23, 2023

Seems to be fixed on the latest beta (only when building for production).

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

1 participant