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

rust-gdbgui shell script crashes due to improper string quoting #115097

Closed
real-eren opened this issue Aug 22, 2023 · 0 comments · Fixed by #115098
Closed

rust-gdbgui shell script crashes due to improper string quoting #115097

real-eren opened this issue Aug 22, 2023 · 0 comments · Fixed by #115098
Labels
C-bug Category: This is a bug.

Comments

@real-eren
Copy link
Contributor

I tried this code:

rust-gdbgui $my_executable

I expected to see this happen: gdbgui starts

Instead, this happened: (dash) shell error
/home/eren/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rust-gdbgui: 58: -iex "add-auto-load-safe-path /home/eren/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/etc": not found

Meta

rustc --version --verbose:

rustc 1.71.1 (eb26296b5 2023-08-03)
binary: rustc
commit-hash: eb26296b556cef10fb713a38f3d16b9886080f26
commit-date: 2023-08-03
host: x86_64-unknown-linux-gnu
release: 1.71.1
LLVM version: 16.0.5

The bug was introduced by commit 8dd0ec6, which closes a string before an escaped newline.

Backtrace

N/A

@real-eren real-eren added the C-bug Category: This is a bug. label Aug 22, 2023
@rustbot rustbot added the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Aug 22, 2023
@bors bors closed this as completed in fd5a8e1 Aug 27, 2023
@Noratrieb Noratrieb removed the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Sep 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants