question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] Crash: bus error on MBP Air M1

See original GitHub issue

Describe the bug

Crash on MBP Air M1

To Reproduce

  • Run on MBP Air M1
  • Wait
  • Crash

Expected behavior

  • Running indefinitely

Info (please complete the following information):

Running under Rosetta Homebrew,

bpytop version: 1.0.59 (cc9c7dcc297e9e2fe1f8da54087e9dd46e150754) psutil version: 5.8.0 Python version: Python 3.8.2 MacOS: Darwin a1r.local 20.2.0 Darwin Kernel Version 20.2.0: Wed Dec 2 20:40:21 PST 2020; root:xnu-7195.60.75~1/RELEASE_ARM64_T8101 x86_64 Terminal: iTerm2

Additional context

contents of ~/.config/bpytop/error.log

14/01/21 (19:19:28) | INFO: New instance of bpytop version 1.0.59 started with pid 42329 14/01/21 (19:19:28) | INFO: Loglevel set to DEBUG 14/01/21 (19:19:28) | DEBUG: Using psutil version 5.8.0 14/01/21 (19:19:28) | DEBUG: CMD: OneDrive - BKK AS/@Jakob/git/bpytop/bpytop.py --debug 14/01/21 (19:19:30) | DEBUG: Collect and draw completed in 0.259425 seconds 14/01/21 (19:19:31) | DEBUG: Init completed in 2.872058 seconds

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
aristocratoscommented, Jan 15, 2021

@jakobbg

Please advise if there is any more context I can supply, I know this is sparse.

Yeah, the actual error message you get when it crashes 😃

I have never run into any issues running on my Mac mini M1, I do however usually not let it run for very long periods and I’m running on native (arm64) python 3.9, will leave it running overnight and see if anything happens.

0reactions
jakobbgcommented, Jan 22, 2021

Issue located. My fault (of course). doh

Explanation

  • Had installed Homebrew using Rosetta 2 and used the “old” x86 system.
  • Uninstalled “old” x86 Homebrew
  • Installed new ARM Homebrew system
  • Tried launching tmux, which still was running a server in memory from old, deleted, system
  • Error appeared (since whole x86 Homebrew was gong)

All fixed with a quick tmux kill-server ; tmux -vv new. Sorry for any braincycles spent on this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

14" M1 Pro Kernel Panic - How to diagnose?
Try unplugging from the dock and see if it happens again. If not, then leave with the monitor plugged in and repeat. Then...
Read more >
Mysterious Kernel Panic - Apple Support Communities
My MBP is crashing and restarting at least 1-2x/day, but I cannot figure out the cause or conditions that are making it happen....
Read more >
Macbook air M1 - Repeated kernel panics because of display ...
The problem is almost certainly a software bug. It could be a hardware error as welll, but it is unlikely. It is impossible...
Read more >
Mac keeps restarting: how to fix a kernel panic - Setapp
Check crash reports · Boot your Mac in safe mode · Manage login items · Remove third-party kernel extensions · Run Apple Diagnostics....
Read more >
Can't run "pod install" on M1 - Stack Overflow
me@My-MacBook-Air APP % pod install Analyzing dependencies Adding spec ... [BUG] Bus Error at 0x00000001044dc000 ruby 2.6.8p205 (2021-07-07 ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found