← Back to team overview

touch-packages team mailing list archive

[Bug 1449389] Re: Python Exception <class 'TypeError'> iter() returned non-iterator of type '_iterator'

 

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.
It's a small script that adds /usr/share/glib-2.0/gdb to sys.path and imports stuff from it.

/usr/share/glib-2.0/gdb is shipped in libglib2.0-0-dbg.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to gdb in Ubuntu.
https://bugs.launchpad.net/bugs/1449389

Title:
  Python Exception <class 'TypeError'> iter() returned non-iterator of
  type '_iterator'

Status in gdb package in Ubuntu:
  New

Bug description:
  I tried to gdb a gnome-shell segfault:

  (gdb) bt
  #0  0x00007f8cad51f638 in g_slice_alloc (magazine_chunks=0xf879b0) at /build/buildd/glib2.0-2.44.0/./glib/gslice.c:535
  #1  0x00007f8cad51f638 in g_slice_alloc (tmem=<optimized out>, ix=1) at /build/buildd/glib2.0-2.44.0/./glib/gslice.c:842
  #2  0x00007f8cad51f638 in g_slice_alloc (mem_size=mem_size@entry=24) at /build/buildd/glib2.0-2.44.0/./glib/gslice.c:998
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdb/+bug/1449389/+subscriptions


References