[Bug 905577] Re: ipython crashed with SIGSEGV in __find_specmb()

Julian Taylor jtaylor.debian at googlemail.com
Sat Dec 17 18:32:58 UTC 2011


this is not a ipython issue, but help(), modules attempts to import all modules and crashes in one of them.
for me it crashes in python-apt:

gdb /usr/bin/python-dbg
(gdb) r
>> help()
>>> modules
Program received signal SIGSEGV, Segmentation fault.
(gdb) bt
#0  0x0000000000018236 in ?? ()
#1  0x00007fffefd006e1 in initapt_pkg () from /usr/lib/python2.7/dist-packages/apt_pkg.so
#2  0x000000000054778d in _PyImport_LoadDynamicModule (name=0x7fffffff5794 "apt_pkg", pathname=
    0x7fffffff46a0 "/usr/lib/python2.7/dist-packages/apt_pkg.so", fp=0x266f200)
    at ../Python/importdl.c:53
#3  0x0000000000543734 in load_module (name=0x7fffffff5794 "apt_pkg", fp=0x266f200, pathname=
    0x7fffffff46a0 "/usr/lib/python2.7/dist-packages/apt_pkg.so", type=3, loader=0x0)
    at ../Python/import.c:1834
#4  0x0000000000545940 in import_submodule (mod=None, subname=0x7fffffff5794 "apt_pkg", fullname=
    0x7fffffff5794 "apt_pkg") at ../Python/import.c:2596


** Package changed: ipython (Ubuntu) => python-apt (Ubuntu)

** Changed in: python-apt (Ubuntu)
       Status: New => Confirmed

** Summary changed:

- ipython crashed with SIGSEGV in __find_specmb()
+ help() modules crashes with SIGSEGV in apt_pkg.so

** Visibility changed to: Public

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python-apt in Ubuntu.
https://bugs.launchpad.net/bugs/905577

Title:
  help() modules crashes with SIGSEGV in apt_pkg.so

Status in “python-apt” package in Ubuntu:
  Confirmed

Bug description:
  I got the crash by opening ipython and running help() once in the
  interactive help I typed in modules,  there were a couple of errors
  show up in the shell but then it crashed.

  ProblemType: Crash
  DistroRelease: Ubuntu 12.04
  Package: ipython 0.11-2
  ProcVersionSignature: Ubuntu 3.2.0-5.11-generic 3.2.0-rc5
  Uname: Linux 3.2.0-5-generic i686
  NonfreeKernelModules: wl
  ApportVersion: 1.90-0ubuntu1
  Architecture: i386
  Date: Sat Dec 17 00:30:02 2011
  ExecutablePath: /usr/bin/ipython
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha i386 (20111212)
  InterpreterPath: /usr/bin/python2.7
  PackageArchitecture: all
  ProcCmdline: python /usr/bin/ipython
  ProcEnviron:
   SHELL=/bin/bash
   PATH=(custom, no user)
   LANG=en_GB.UTF-8
   LANGUAGE=en_GB:en
  SegvAnalysis:
   Segfault happened at: 0x5421f9 <vfprintf+201>:	movl   $0x25,0x4(%esp)
   PC (0x005421f9) ok
   source "$0x25" ok
   destination "0x4(%esp)" (0xbf28bfa0) not located in a known VMA region (needed writable region)!
   Stack memory exhausted (SP below stack segment)
  SegvReason: writing unknown VMA
  Signal: 11
  SourcePackage: ipython
  StacktraceTop:
   g_return_if_fail_warning () from /lib/i386-linux-gnu/libglib-2.0.so.0
   g_type_get_qdata () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
   ?? () from /usr/lib/python2.7/dist-packages/gobject/_gobject.so
   ?? () from /usr/lib/python2.7/dist-packages/gobject/_gobject.so
   ?? () from /usr/lib/python2.7/dist-packages/gobject/_gobject.so
  Title: ipython crashed with SIGSEGV in g_return_if_fail_warning()
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-apt/+bug/905577/+subscriptions




More information about the foundations-bugs mailing list