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 in [email protected] and [email protected] #199354

Open
4 tasks done
cosmosgenius opened this issue Nov 28, 2024 · 0 comments
Open
4 tasks done

segmentation fault in [email protected] and [email protected] #199354

cosmosgenius opened this issue Nov 28, 2024 · 0 comments
Labels
bug Reproducible Homebrew/homebrew-core bug

Comments

@cosmosgenius
Copy link

cosmosgenius commented Nov 28, 2024

brew gist-logs <formula> link OR brew config AND brew doctor output

HOMEBREW_VERSION: 4.4.8
ORIGIN: https://github.com/Homebrew/brew
HEAD: e78a0adb4f260913fffdc956cc8c20fb54109feb
Last commit: 3 days ago
Branch: stable
Core tap JSON: 28 Nov 07:19 UTC
Core cask tap JSON: 28 Nov 07:19 UTC
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_MAKE_JOBS: 12
Homebrew Ruby: 3.3.6 => /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.6/bin/ruby
CPU: dodeca-core 64-bit arm_blizzard_avalanche
Clang: 16.0.0 build 1600
Git: 2.47.1 => /opt/homebrew/bin/git
Curl: 8.7.1 => /usr/bin/curl
macOS: 15.1-arm64
CLT: 16.1.0.0.1.1729049160
Xcode: 16.1
Rosetta 2: false

Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: Some installed formulae are deprecated or disabled.
You should find replacements for the following formulae:
  packer
  vault

Warning: You have unlinked kegs in your Cellar.
Leaving kegs unlinked can lead to build-trouble and cause formulae that depend on
those kegs to fail to run properly once built. Run `brew link` on these:
  numpy

Verification

  • My brew doctor output says Your system is ready to brew. and am still able to reproduce my issue.
  • I ran brew update and am still able to reproduce my issue.
  • I have resolved all warnings from brew doctor and that did not fix my problem.
  • I searched for recent similar issues at https://github.com/Homebrew/homebrew-core/issues?q=is%3Aissue and found no duplicates.

What were you trying to do (and why)?

I was trying to compile and run koboldcpp https://github.com/LostRuins/koboldcpp.

What happened (include all command output)?

The following python snippet segfaults. This for both [email protected] and [email protected]

import tkinter
import threading

original_windowwidth = 580
original_windowheight = 560
windowwidth = original_windowwidth
windowheight = original_windowheight

root = tkinter.Tk()
root.geometry(str(windowwidth) + "x" + str(windowheight))
gpu_choice_var = tkinter.StringVar(value="1")
quick_gpuname_label = tkinter.Label(root, text="hello")

def outPrint(*args):
    quick_gpuname_label.configure(text="1")
    print(args)
gpu_choice_var.trace_add("write", outPrint)

gpuinfo_thread = threading.Thread(target=outPrint)
gpuinfo_thread.start()

# gpu_choice_var.set("1")
# outPrint()
# root.mainloop()

What did you expect to happen?

segmentation fault to not happen.

This problem came up due to the recent change from tcl 8.x to tcl 9.0.0 as the default tcl package.
I am not sure where in the segfault issue is from
PFA of segfault dump

segfault.txt

Step-by-step reproduction instructions (by running brew commands)

brew install [email protected] [email protected]
python3.12 <above script>
@cosmosgenius cosmosgenius added the bug Reproducible Homebrew/homebrew-core bug label Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Reproducible Homebrew/homebrew-core bug
Projects
None yet
Development

No branches or pull requests

1 participant