← Back to team overview

touch-packages team mailing list archive

[Bug 1436302] Re: python3.4 segmentation fault while running unattended-upgrade

 

> Python crashes are almost always caused by misbehaving extension
modules.

I understand it may not be caused by python itself. I've added the
unattended-upgrades package to the affects list.


** Also affects: unattended-upgrades (Ubuntu)
   Importance: Undecided
       Status: New

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

Title:
  python3.4 segmentation fault while running unattended-upgrade

Status in python3-defaults package in Ubuntu:
  New
Status in unattended-upgrades package in Ubuntu:
  New

Bug description:
  We run 'unattended-upgrade -d' from cron and have seen regular core
  dumps. Below is some gdb output for one case:

  (gdb) where
  #0 _int_malloc (av=av@entry=0x7fd4362de760 <main_arena>, bytes=bytes@entry=193) at malloc.c:3489
  #1 0x00007fd435fa17e1 in _int_realloc (av=0x7fd4362de760 <main_arena>, oldp=0xd6fe30, oldsize=144, nb=208) at malloc.c:4286
  #2 0x00007fd435fa2fc9 in _GI__libc_realloc (oldmem=0xd6fe40, bytes=200) at malloc.c:3029
  #3 0x00000000004851cd in PyMem_Realloc (new_size=<optimized out>, ptr=<optimized out>) at ../Objects/obmalloc.c:308
  #4 list_resize.7991 (self=0x7fd436549e48, newsize=17) at ../Objects/listobject.c:63
  #5 0x0000000000485269 in app1 (v=0x7fd435306288, self=0x7fd436549e48) at ../Objects/listobject.c:294
  #6 PyList_Append (op=op@entry=0x7fd436549e48, newitem=newitem@entry=0x7fd435306288) at ../Objects/listobject.c:306
  #7 0x00000000005bf7a9 in PyImport_Cleanup () at ../Python/import.c:464
  #8 0x00000000005bf945 in Py_Finalize.part.6.32879 () at ../Python/pythonrun.c:616
  #9 0x000000000060cb12 in Py_Finalize () at ../Python/pythonrun.c:564
  #10 Py_Main (argc=argc@entry=3, argv=argv@entry=0xae6010) at ../Modules/main.c:771
  #11 0x000000000041ec0d in main (argc=3, argv=<optimized out>) at ../Modules/python.c:69

  Note that gdb always complains that the coredump may not match the
  binary I provided. However, I'm pretty sure I got the right one.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: python3-minimal 3.4.0-0ubuntu2
  ProcVersionSignature: Ubuntu 3.13.0-46.79-generic 3.13.11-ckt15
  Uname: Linux 3.13.0-46-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.7
  Architecture: amd64
  Date: Wed Mar 25 11:57:03 2015
  Ec2AMI: ami-254ad452
  Ec2AMIManifest: (unknown)
  Ec2AvailabilityZone: eu-west-1b
  Ec2InstanceType: r3.xlarge
  Ec2Kernel: unavailable
  Ec2Ramdisk: unavailable
  MarkForUpload: True
  ProcEnviron:
   SHELL=/bin/bash
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_US.UTF-8
  SourcePackage: python3-defaults
  UpgradeStatus: No upgrade log present (probably fresh install)
  _MarkForUpload: True

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3-defaults/+bug/1436302/+subscriptions


References