public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/27324] New: [REGRESSION] `exceptions.UnicodeEncodeError` upon loading a config with λ
@ 2021-02-02 21:52 hi-angel at yandex dot ru
2021-02-14 17:08 ` [Bug gdb/27324] " hi-angel at yandex dot ru
0 siblings, 1 reply; 2+ messages in thread
From: hi-angel at yandex dot ru @ 2021-02-02 21:52 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=27324
Bug ID: 27324
Summary: [REGRESSION] `exceptions.UnicodeEncodeError` upon
loading a config with λ
Product: gdb
Version: HEAD
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: gdb
Assignee: unassigned at sourceware dot org
Reporter: hi-angel at yandex dot ru
Target Milestone: ---
I built latest master to check something, and found there's a regression
regarding configuration files. Works correctly on latest released 10.1.
Not sure how to bisect, because there's too many commits, and the gdb python
exception does not print any stacktrace to point out where's the code
# Steps to reproduce (in terms of terminal commands)
λ cat test-prompt
set extended-prompt \[\e[31m\]gdb λ \[\e[0m\]
λ gdb/gdb -q --nh -x test-prompt
Python Exception <type 'exceptions.UnicodeEncodeError'> 'ascii' codec can't
encode character u'\u03bb' in position 14: ordinal not in range(128):
(gdb)
## Expected
gdb gets loaded as usual and there's a λ prompt as assigned in config
## Actual
gdb prints an error, and the prompt is left unchanged
# Additional information
gdb built from commit `e0bd9202fb: gdb/testsuite: use proc_with_prefix in
gdb.base/scope.exp`
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug gdb/27324] [REGRESSION] `exceptions.UnicodeEncodeError` upon loading a config with λ
2021-02-02 21:52 [Bug gdb/27324] New: [REGRESSION] `exceptions.UnicodeEncodeError` upon loading a config with λ hi-angel at yandex dot ru
@ 2021-02-14 17:08 ` hi-angel at yandex dot ru
0 siblings, 0 replies; 2+ messages in thread
From: hi-angel at yandex dot ru @ 2021-02-14 17:08 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=27324
Hi-Angel <hi-angel at yandex dot ru> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |NOTABUG
Status|UNCONFIRMED |RESOLVED
--- Comment #1 from Hi-Angel <hi-angel at yandex dot ru> ---
Oh, I was just trying to bisect and figured out it may not be a regression. I
occasionally enabled `python2` support (I just copied the `./configure` line
from some PKGBUILD, which apparently is outdated).
Arguably, there is a bug related to python2, but I'd argue python2 needs to be
removed completely because it wasn't a thing since 2020.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-02-14 17:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-02 21:52 [Bug gdb/27324] New: [REGRESSION] `exceptions.UnicodeEncodeError` upon loading a config with λ hi-angel at yandex dot ru
2021-02-14 17:08 ` [Bug gdb/27324] " hi-angel at yandex dot ru
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).