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 (core dumped) #76

Open
assidence opened this issue Mar 3, 2022 · 2 comments
Open

Segmentation fault (core dumped) #76

assidence opened this issue Mar 3, 2022 · 2 comments

Comments

@assidence
Copy link

assidence commented Mar 3, 2022

Hello, I compile a static build release on ubuntu18 with kernel4.15 and glibc2.27.
I upload it to my vps which running alma8.5 with kernel4.18 and glibc2.28.
It startup failed with:
'''
2022/03/03 02:47:21 [cO] Starting MLDonkey 3.1.7 ...
2022/03/03 02:47:21 [cO] Language EN, locale UTF-8, ulimit for open files 1024
2022/03/03 02:47:21 [cO] raised ulimit for open files from 1024 to 262144
2022/03/03 02:47:21 [cO] MLDonkey is working in /home/emule/.mldonkey

2022/03/03 02:47:21 [cO] creating new MLDonkey base directory in /home/emule/.mldonkey

2022/03/03 02:47:21 [Gettext] Loading language resource mlnet_strings.en_US.UTF-8
2022/03/03 02:47:21 [cO] loaded language resource file
2022/03/03 02:47:21 [DNS] Resolving [lpa-3dedb0839a] ...
Segmentation fault (core dumped)
'''
Is that a bug or im doing something wrong please?

I have tried to located the core dump file. There is nothing.

@ygrek
Copy link
Owner

ygrek commented Mar 3, 2022

hard to say without backtrace

  1. please report more info, need full configure and compilation logs
  2. run ulimit -c unlimited first, then in the same terminal session start the core. There should be corefile after that. Alternative start the core under gdb immediately : gdb --args ./mlnet other args - when it crashes do thread apply all bt to show backtrace

@assidence
Copy link
Author

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