gdb in Ubuntu links against libpython3.4. The Python scripts in /usr/share/glib-2.0/gdb haven't been fully ported to Python 3: the custom iterators should define a '__next__' method alias pointing to 'next'.
** Also affects: glib2.0 (Ubuntu) Importance: Undecided Status: New ** Changed in: gdb (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to glib2.0 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: Invalid Status in glib2.0 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 -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp