Skip to content

docs: add Linux troubleshooting for menu freeze, path-sandbox, and AVX issues - #802

Closed
GautamKumarOffical wants to merge 6934 commits into
CodebuffAI:mainfrom
GautamKumarOffical:docs/linux-troubleshooting
Closed

docs: add Linux troubleshooting for menu freeze, path-sandbox, and AVX issues#802
GautamKumarOffical wants to merge 6934 commits into
CodebuffAI:mainfrom
GautamKumarOffical:docs/linux-troubleshooting

Conversation

@GautamKumarOffical

Copy link
Copy Markdown

Summary

Adds Linux troubleshooting documentation for known issues.

Closes #775, #767, #797

What this PR does

Creates a new LINUX.md file documenting known Linux-specific issues and workarounds:

Why this helps

Linux users encountering these issues now have clear documentation and workarounds instead of having to search through GitHub issues.

James Grugett and others added 30 commits May 12, 2026 15:52
Set FREEBUFF_DEV_FORCE_LIMITED=true on localhost to make free-mode
country resolution return allowed=false, so the limited tier UX can be
exercised without a real geo block. Honored only when
NEXT_PUBLIC_CB_ENVIRONMENT === 'dev'; cache lookups are bypassed for
forced-limited requests so toggling the flag takes effect immediately.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Limited tier only ever sees one model, so the multi-row picker chrome
(LIMITED section header, comparative tagline like "Most efficient",
"Pick a model to start" copy) read as filler. Fork a LimitedLandingPanel
that renders the model identity, data-collection caveat, session
counter, and a single bordered "Start session   Enter" CTA — confirm
gate rather than picker. Also strip the word "limited" from the session
counter and rate-limit copy across the waiting room and session-ended
banner so the tier name doesn't leak into user-facing text.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
The padStart was added so a centered title wouldn't shift width as
the count ticks during loading, but the limited-tier landing panel
is left-aligned — the padding just shows up as a visible leading
indent that misaligns the line with the model name and CTA above
and below it.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-authored-by: James Grugett <jahooma@gmail.com>
Co-authored-by: James Grugett <jahooma@gmail.com>
Co-authored-by: James Grugett <jahooma@gmail.com>
Co-authored-by: James Grugett <jahooma@gmail.com>
codebuff public sync bot and others added 20 commits June 17, 2026 22:16
Source: CodebuffAI/freebuff-private@a8a49a209d368afdb4e32fcb434c3c0f9836948f
Source: CodebuffAI/freebuff-private@e038daf17abbb0ce620cd3a773e4c7148ff7b7b2
Source: CodebuffAI/freebuff-private@8958a6a3c16669d350ac88160ed2843f92ff9ac0
Source: CodebuffAI/freebuff-private@25411999d182d933a7a8194e5f287d06ac1d916d
Source: CodebuffAI/freebuff-private@65a331719108871b760db132c2334b82362ec629
Source: CodebuffAI/freebuff-private@40fe6544498d03c06c91797bd8b7cee3416a0442
Source: CodebuffAI/freebuff-private@4550670e52eac9ddc8bfb42d6a7efb41b8ba7857
Source: CodebuffAI/freebuff-private@26f3a57e94f2ada6297eb4ad57103b09d290dd41
Source: CodebuffAI/freebuff-private@5c69e7331616d4a3a5a5f153a901a0e45d14e348
Source: CodebuffAI/freebuff-private@2a7e6e79ffb66da4925d442e503fc4609d4b1856
Source: CodebuffAI/freebuff-private@7c2310d6a658ae6f207adacb7b285185d9086707
Source: CodebuffAI/freebuff-private@aece3fdbee31f0c41a29ca077aa2459a3cdfb73b
Source: CodebuffAI/freebuff-private@109823fb90fe9add3d8c85a23d49dbf1a5e84682
Source: CodebuffAI/freebuff-private@2d3defc2f15f0be20139e9e6af9694f412032f8d
Source: CodebuffAI/freebuff-private@c520cd59da4ba326faa94fe691e59a60f2ce37f7
Source: CodebuffAI/freebuff-private@f76828c91081bf0198202660a37ffe04b3da605d
Source: CodebuffAI/freebuff-private@3f1ef74f5899daaa16e33a64f14073db4a2ac1f3
Source: CodebuffAI/freebuff-private@a347fbbd92ff1db93556f62dec7e5bd3e90d2de5
Adds documentation for known Windows terminal issues:
- Mouse wheel behaving like arrow keys
- Shift+Enter not creating newlines

Includes solutions for MobaXTerm, Git Bash, and older terminals.

Closes CodebuffAI#789
…X issues

Documents known Linux-specific issues:
- CLI menu freeze on Enter (CodebuffAI#775)
- Path-sandbox error for skills (CodebuffAI#767)
- SIGILL on older CPUs (CodebuffAI#797)

Includes workarounds and general troubleshooting tips.

Closes CodebuffAI#775, CodebuffAI#767, CodebuffAI#797
@mVRx3i

ghost commented Aug 13, 2026

Copy link
Copy Markdown

Hi! Just to confirm, the linux-x64-baseline binary indeed crashes with SIGILL on older CPUs because it still contains AVX and even AVX-512 instructions (like vinserti128 and %zmm registers).

For reference, my CPU flags only support up to SSE4.1: flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl cpuid aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 xsave lahf_lm pti tpr_shadow flexpriority vpid dtherm vnmi (No avx, avx2 or avx512 support).

Compiling the baseline target with Bun using a truly generic x86-64 target (without AVX) is necessary for older hardware to run the tool.

@codebuff-team

ghost commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Thanks for pulling together troubleshooting notes for these three issues — consolidating known Linux gotchas into one doc instead of scattered GitHub issues is genuinely useful, and the WINDOWS.md addition for #789 is a nice bonus in the same spirit.

A few things to tighten before this is portable:

  1. Verify claims against the actual issues. For Bug: Path-sandbox [FILE_OUTSIDE_PROJECT] error when executing skills referencing auxiliary files #767 (path-sandbox), the "workaround: copy skill files into your project directory" and the stated cause ("SDK's path validation blocks reads outside the project root") need to match what was actually said/fixed in the issue thread. If the real fix was a config flag or an allowlist entry rather than manually copying files, this doc will mislead users.
  2. linux-x64-baseline target still contains AVX instructions, causing SIGILL on older CPUs (SSE4.1 only) #797 AVX/SIGILL section is speculative — "may still contain AVX instructions due to Bun's compilation" and "wait for a fix" isn't actionable. If there's a known status (fixed in a later release, tracked upstream in Bun, etc.), that should be stated instead of a vague waiting game.
  3. Bug: CLI interactive menu freezes on Enter/Submit on Linux (KDE Konsole / Node LTS) #775 terminal freeze fixes (GNOME Terminal/Alacritty/Kitty recommendations, tmux workaround) read like plausible guesses rather than confirmed workarounds from the issue. Worth quoting or linking the specific comment that confirmed the fix, if one exists.

Since this is a docs PR, the bar is factual accuracy tied to the referenced issues, not just plausible-sounding troubleshooting steps. If you can confirm each workaround against maintainer/user replies in #775, #767, #797 (or link the exact comment), this becomes a straightforward merge.

@codebuff-team codebuff-team added bot:triaged Classified by the community triage bot pr:needs-work Right idea, not mergeable as written stale No activity after a maintainer request; queued for closing labels Aug 20, 2026
@codebuff-team

ghost commented Aug 23, 2026

Copy link
Copy Markdown
Contributor

Marking this stale - there has been no activity here for 66 days. It will close in 7 days unless someone comments.

This is backlog upkeep, not a verdict on the pull request. A single comment keeps it open, and anything closed this way can be reopened.

@victorxheng

ghost commented Aug 31, 2026

Copy link
Copy Markdown

Apologies — this PR was auto-closed by GitHub when we force-pushed a history rewrite of this repository (repository maintenance; every commit SHA changed). That was not a judgment on this PR, and GitHub does not allow us to reopen it because the commits it was based on no longer exist in the new history.

If you'd like to continue with this change: rebase your branch onto the new main (or recreate it from a fresh clone) and open a new PR — feel free to link back to this one for context, and we'll pick up the review there.

Sorry for the churn, and thanks for contributing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot:triaged Classified by the community triage bot pr:needs-work Right idea, not mergeable as written stale No activity after a maintainer request; queued for closing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: CLI interactive menu freezes on Enter/Submit on Linux (KDE Konsole / Node LTS)

9 participants