Python Exception <class 'TypeError'> iter() returned non-iterator of type '_iterator'
Bug #1449389 reported by
Marius Gedminas
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GLib |
Fix Released
|
Medium
|
|||
gdb (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
glib2.0 (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
I tried to gdb a gnome-shell segfault:
(gdb) bt
#0 0x00007f8cad51f638 in g_slice_alloc (magazine_
#1 0x00007f8cad51f638 in g_slice_alloc (tmem=<optimized out>, ix=1) at /build/
#2 0x00007f8cad51f638 in g_slice_alloc (mem_size=
Python Exception <class 'TypeError'> iter() returned non-iterator of type '_iterator':
This looks like a bug in a gdb pretty-printer that's shipped with Ubuntu.
Changed in glib: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
Changed in glib: | |
status: | Confirmed → Fix Released |
Changed in glib2.0 (Ubuntu): | |
status: | Triaged → Fix Released |
To post a comment you must log in.
The command to list Python scripts that have been autoloaded is:
(gdb) info auto-load python-scripts
I'm guessing /usr/share/ gdb/auto- load/lib/ x86_64- linux-gnu/ libglib- 2.0.so. 0.4400. 0-gdb.py is the one that causes my problem. glib-2. 0/gdb to sys.path and imports stuff from it.
It's a small script that adds /usr/share/
/usr/share/ glib-2. 0/gdb is shipped in libglib2.0-0-dbg.