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

segfault #267

Closed
herby-popnecker opened this issue Apr 2, 2024 · 9 comments
Closed

segfault #267

herby-popnecker opened this issue Apr 2, 2024 · 9 comments
Assignees
Labels
bug Something isn't working

Comments

@herby-popnecker
Copy link

Describe the bug
A clear and concise description of what the bug is.

segmentation fault when launching on rPi 5

To Reproduce
Steps to reproduce the behavior:

  1. Downloaded ticker-4.5.14-linux-arm64.tar.gz
  2. tar -xvf ticker.....
  3. chmod +x ticker
  4. sudo mv ticker /usr/local/bin
  5. ./ticker -w IBM

Expected behavior
A clear and concise description of what you expected to happen.

Normally, ticker would just launch

Screenshots
If applicable, add screenshots to help explain your problem

  • OS: Linux Debian version: 11 (bullseye) 64bit
  • Terminal: LXterminal
  • Terminal Version: 0.4.0
  • Font: (Optional) Monospace 16
  • ticker Version: 4.5.14

Additional context
Add any other context about the problem here.

@herby-popnecker herby-popnecker added the bug Something isn't working label Apr 2, 2024
@herby-popnecker
Copy link
Author

FYI. I am running the same version of ticker on the same O/S on a rPi 4 and it works well
--herbie-

@thaihugo
Copy link

This probably a bug with 16K pages. If you use the kernel=kernel8.img in the /boot/firmware/config.txt (the one that is actually used on the RPI4) it willl work because this is a 4K page kernel. I've tested this solution myself.

To the developer: This bug is related to the ability in newer kernels to work with 16K memory pages. It means that something in your components is probably not happy with this king of configuration. I hope it can shed some light on what's happening.

@achannarasappa achannarasappa self-assigned this May 31, 2024
@achannarasappa
Copy link
Owner

Thanks for reporting the issue and the suggestion on the root cause. I'll take a look into fixing it in the next week or two

@herby-popnecker
Copy link
Author

herby-popnecker commented Jun 2, 2024 via email

@thaihugo
Copy link

thaihugo commented Jun 2, 2024 via email

@herby-popnecker
Copy link
Author

herby-popnecker commented Jun 2, 2024 via email

@achannarasappa
Copy link
Owner

I don't have access to a system to replicate confirm the fix / replicate this issue but I believe it is related to upx and this issue. I've upgraded the version of upx before building the latest release v4.6.3 which should fix the issue. When you have a moment, give the latest version a shot and let me know if it fixes the problem.

@thaihugo
Copy link

thaihugo commented Jun 3, 2024

I don't have access to a system to replicate confirm the fix / replicate this issue but I believe it is related to upx and this issue. I've upgraded the version of upx before building the latest release v4.6.3 which should fix the issue. When you have a moment, give the latest version a shot and let me know if it fixes the problem.

The new v4.6.3 indeed solves the problem. The build runs perfectly on a 16K page kernel. Thanks for solving this so fast!

@achannarasappa
Copy link
Owner

Glad to hear it fixed the issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants