On Fri, 2010-09-17 at 14:23 +0100, Steven Chamberlain wrote:
> Hi Soeren,
> 
> Could you please try this again with package python-apt-dbg installed? 
> I think that will provide some of the missing information in the backtrace.


OK, here is more:
# gdb --args python /usr/bin/unattended-upgrades
GNU gdb (GDB) 7.0.1-debian
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/python...Reading symbols from 
/usr/lib/debug/usr/bin/python2.6...done.
(no debugging symbols found)...done.
(gdb) r
Starting program: /usr/bin/python /usr/bin/unattended-upgrades
[Thread debugging using libthread_db enabled]

Program received signal SIGSEGV, Segmentation fault.
__strlen_sse2 () at ../sysdeps/i386/i686/multiarch/strlen.S:99
99      ../sysdeps/i386/i686/multiarch/strlen.S: No such file or directory.
        in ../sysdeps/i386/i686/multiarch/strlen.S
Current language:  auto
The current source language is "auto; currently asm".
(gdb) bt
#0  __strlen_sse2 () at ../sysdeps/i386/i686/multiarch/strlen.S:99
#1  0x080a472c in PyString_FromFormatV (format=0xba0ba8 "<%s object: Status: %i 
Complete: %i Local: %i IsTrusted: %i FileSize: %lu DestFile:'%s' DescURI: '%s' 
ID:%lu ErrorText: '%s'>", 
    vargs=0xbfffd064 ":\026\272") at ../Objects/stringobject.c:210
#2  0x080a49a8 in PyString_FromFormat (format=0xba0ba8 "<%s object: Status: %i 
Complete: %i Local: %i IsTrusted: %i FileSize: %lu DestFile:'%s' DescURI: '%s' 
ID:%lu ErrorText: '%s'>")
    at ../Objects/stringobject.c:357
#3  0x00b87d63 in acquireitem_repr (Self=<apt_pkg.AcquireItem at remote 
0x8735bac>) at python/acquire-item.cc:170
#4  0x080949c7 in _PyObject_Str (v=<apt_pkg.AcquireItem at remote 0x8735bac>) 
at ../Objects/object.c:425
#5  0x080a542a in PyString_Format (format='%s', args=<apt_pkg.AcquireItem at 
remote 0x8735bac>) at ../Objects/stringobject.c:4850
#6  0x080628de in binary_op1 (v='%s', w=<apt_pkg.AcquireItem at remote 
0x8735bac>, op_slot=<value optimized out>) at ../Objects/abstract.c:917
#7  0x08065340 in binary_op (v='%s', w=<apt_pkg.AcquireItem at remote 
0x8735bac>) at ../Objects/abstract.c:969
#8  PyNumber_Remainder (v='%s', w=<apt_pkg.AcquireItem at remote 0x8735bac>) at 
../Objects/abstract.c:1221
#9  0x080de1c5 in PyEval_EvalFrameEx (f=
    Frame 0x84acab4, for file /usr/bin/unattended-upgrades, line 375, in main 
(parser=<OptionParser(process_default_values=True, 
allow_interspersed_args=True, _long_opt={'--dry-run': 
<Option(_long_opts=['--dry-run'], help='Simulation, download but do not 
install', callback_args=None, callback=None, default=False, nargs=None, 
choices=None, dest='dry_run', container=<...>, _short_opts=[], 
action='store_true', const=None, callback_kwargs=None, type=None, metavar=None) 
at remote 0x8491ccc>, '--debug': <Option(_long_opts=['--debug'], help='print 
debug messages', callback_args=None, callback=None, default=False, nargs=None, 
choices=None, dest='debug', container=<...>, _short_opts=['-d'], 
action='store_true', const=None, callback_kwargs=None, type=None, metavar=None) 
at remote 0x84918ac>, '--help': <Option(_long_opts=['--help'], help='show this 
help message and exit', callback_args=None, callback=None, default=('NO', 
'DEFAULT'), nargs=None, choices=None, dest=None, container=<...>, 
_short_opts=['-h'], action='help', con...(truncated), throwflag=0) at 
../Python/ceval.c:1180
#10 0x080e18b0 in fast_function (f=Frame 0x830caf4, for file 
/usr/bin/unattended-upgrades, line 533, in <module> (), throwflag=0) at 
../Python/ceval.c:3836
#11 call_function (f=Frame 0x830caf4, for file /usr/bin/unattended-upgrades, 
line 533, in <module> (), throwflag=0) at ../Python/ceval.c:3771
#12 PyEval_EvalFrameEx (f=Frame 0x830caf4, for file 
/usr/bin/unattended-upgrades, line 533, in <module> (), throwflag=0) at 
../Python/ceval.c:2412
#13 0x080e2507 in PyEval_EvalCodeEx (co=0xb7fa1890, globals=
    {'get_allowed_origins': <function at remote 0x8494304>, 
'setup_apt_listchanges': <function at remote 0x84944fc>, 'localesApp': 
'unattended-upgrades', 'apt_pkg': <module at remote 0xb7fb5524>, 'apt': <module 
at remote 0xb7fb5adc>, 'subprocess': <module at remote 0xb7fb59a4>, 
'rewind_cache': <function at remote 0x8494454>, 'wrap': <function at remote 
0x84944c4>, 'substitute': <function at remote 0x84941ec>, 'apt_inst': <module 
at remote 0xb7fb54f4>, 'get_distro_codename': <function at remote 0x8494294>, 
'logfile': '/var/log/unattended-upgrades/unattended-upgrades.log', 
'lsb_release': <module at remote 0x843d65c>, 'is_allowed_origin': <function at 
remote 0x849433c>, 'gettext': <module at remote 0xb7fb5884>, '__package__': 
None, 'PIPE': -1, 'logdir': '/var/log/unattended-upgrades/', 'MyCache': <type 
at remote 0x84abbfc>, '__doc__': None, 'OptionParser': <classobj at remote 
0x834cb0c>, 'REBOOT_REQUIRED_FILE': '/var/run/reboot-required', 'string': 
<module at remote 0xb7fb5614>, 'warnings': <module at remote 
0xb7fb5...(truncated), locals=
    {'get_allowed_origins': <function at remote 0x8494304>, 
'setup_apt_listchanges': <function at remote 0x84944fc>, 'localesApp': 
'unattended-upgrades', 'apt_pkg': <module at remote 0xb7fb5524>, 'apt': <module 
at remote 0xb7fb5adc>, 'subprocess': <module at remote 0xb7fb59a4>, 
'rewind_cache': <function at remote 0x8494454>, 'wrap': <function at remote 
0x84944c4>, 'substitute': <function at remote 0x84941ec>, 'apt_inst': <module 
at remote 0xb7fb54f4>, 'get_distro_codename': <function at remote 0x8494294>, 
'logfile': '/var/log/unattended-upgrades/unattended-upgrades.log', 
'lsb_release': <module at remote 0x843d65c>, 'is_allowed_origin': <function at 
remote 0x849433c>, 'gettext': <module at remote 0xb7fb5884>, '__package__': 
None, 'PIPE': -1, 'logdir': '/var/log/unattended-upgrades/', 'MyCache': <type 
at remote 0x84abbfc>, '__doc__': None, 'OptionParser': <classobj at remote 
0x834cb0c>, 'REBOOT_REQUIRED_FILE': '/var/run/reboot-required', 'string': 
<module at remote 0xb7fb5614>, 'warnings': <module at remote 
0xb7fb5...(truncated), args=0x0, argcount=0, kws=0x0, kwcount=0, defs=0x0, 
defcount=0, closure=0x0) at ../Python/ceval.c:3000
#14 0x080e2607 in PyEval_EvalCode (co=0xb7fa1890, globals=
    {'get_allowed_origins': <function at remote 0x8494304>, 
'setup_apt_listchanges': <function at remote 0x84944fc>, 'localesApp': 
'unattended-upgrades', 'apt_pkg': <module at remote 0xb7fb5524>, 'apt': <module 
at remote 0xb7fb5adc>, 'subprocess': <module at remote 0xb7fb59a4>, 
'rewind_cache': <function at remote 0x8494454>, 'wrap': <function at remote 
0x84944c4>, 'substitute': <function at remote 0x84941ec>, 'apt_inst': <module 
at remote 0xb7fb54f4>, 'get_distro_codename': <function at remote 0x8494294>, 
'logfile': '/var/log/unattended-upgrades/unattended-upgrades.log', 
'lsb_release': <module at remote 0x843d65c>, 'is_allowed_origin': <function at 
remote 0x849433c>, 'gettext': <module at remote 0xb7fb5884>, '__package__': 
None, 'PIPE': -1, 'logdir': '/var/log/unattended-upgrades/', 'MyCache': <type 
at remote 0x84abbfc>, '__doc__': None, 'OptionParser': <classobj at remote 
0x834cb0c>, 'REBOOT_REQUIRED_FILE': '/var/run/reboot-required', 'string': 
<module at remote 0xb7fb5614>, 'warnings': <module at remote 
0xb7fb5...(truncated), locals=
    {'get_allowed_origins': <function at remote 0x8494304>, 
'setup_apt_listchanges': <function at remote 0x84944fc>, 'localesApp': 
'unattended-upgrades', 'apt_pkg': <module at remote 0xb7fb5524>, 'apt': <module 
at remote 0xb7fb5adc>, 'subprocess': <module at remote 0xb7fb59a4>, 
'rewind_cache': <function at remote 0x8494454>, 'wrap': <function at remote 
0x84944c4>, 'substitute': <function at remote 0x84941ec>, 'apt_inst': <module 
at remote 0xb7fb54f4>, 'get_distro_codename': <function at remote 0x8494294>, 
'logfile': '/var/log/unattended-upgrades/unattended-upgrades.log', 
'lsb_release': <module at remote 0x843d65c>, 'is_allowed_origin': <function at 
remote 0x849433c>, 'gettext': <module at remote 0xb7fb5884>, '__package__': 
None, 'PIPE': -1, 'logdir': '/var/log/unattended-upgrades/', 'MyCache': <type 
at remote 0x84abbfc>, '__doc__': None, 'OptionParser': <classobj at remote 
0x834cb0c>, 'REBOOT_REQUIRED_FILE': '/var/run/reboot-required', 'string': 
<module at remote 0xb7fb5614>, 'warnings': <module at remote 
0xb7fb5...(truncated)) at ../Python/ceval.c:541
#15 0x080ffcbd in run_mod (fp=0x829ab28, filename=0xbfffd969 
"/usr/bin/unattended-upgrades", start=257, globals=
    {'get_allowed_origins': <function at remote 0x8494304>, 
'setup_apt_listchanges': <function at remote 0x84944fc>, 'localesApp': 
'unattended-upgrades', 'apt_pkg': <module at remote 0xb7fb5524>, 'apt': <module 
at remote 0xb7fb5adc>, 'subprocess': <module at remote 0xb7fb59a4>, 
'rewind_cache': <function at remote 0x8494454>, 'wrap': <function at remote 
0x84944c4>, 'substitute': <function at remote 0x84941ec>, 'apt_inst': <module 
at remote 0xb7fb54f4>, 'get_distro_codename': <function at remote 0x8494294>, 
'logfile': '/var/log/unattended-upgrades/unattended-upgrades.log', 
'lsb_release': <module at remote 0x843d65c>, 'is_allowed_origin': <function at 
remote 0x849433c>, 'gettext': <module at remote 0xb7fb5884>, '__package__': 
None, 'PIPE': -1, 'logdir': '/var/log/unattended-upgrades/', 'MyCache': <type 
at remote 0x84abbfc>, '__doc__': None, 'OptionParser': <classobj at remote 
0x834cb0c>, 'REBOOT_REQUIRED_FILE': '/var/run/reboot-required', 'string': 
<module at remote 0xb7fb5614>, 'warnings': <module at remote 
0xb7fb5...(truncated), locals=
---Type <return> to continue, or q <return> to quit---
    {'get_allowed_origins': <function at remote 0x8494304>, 
'setup_apt_listchanges': <function at remote 0x84944fc>, 'localesApp': 
'unattended-upgrades', 'apt_pkg': <module at remote 0xb7fb5524>, 'apt': <module 
at remote 0xb7fb5adc>, 'subprocess': <module at remote 0xb7fb59a4>, 
'rewind_cache': <function at remote 0x8494454>, 'wrap': <function at remote 
0x84944c4>, 'substitute': <function at remote 0x84941ec>, 'apt_inst': <module 
at remote 0xb7fb54f4>, 'get_distro_codename': <function at remote 0x8494294>, 
'logfile': '/var/log/unattended-upgrades/unattended-upgrades.log', 
'lsb_release': <module at remote 0x843d65c>, 'is_allowed_origin': <function at 
remote 0x849433c>, 'gettext': <module at remote 0xb7fb5884>, '__package__': 
None, 'PIPE': -1, 'logdir': '/var/log/unattended-upgrades/', 'MyCache': <type 
at remote 0x84abbfc>, '__doc__': None, 'OptionParser': <classobj at remote 
0x834cb0c>, 'REBOOT_REQUIRED_FILE': '/var/run/reboot-required', 'string': 
<module at remote 0xb7fb5614>, 'warnings': <module at remote 
0xb7fb5...(truncated), closeit=1, flags=0xbfffd76c) at 
../Python/pythonrun.c:1351
#16 PyRun_FileExFlags (fp=0x829ab28, filename=0xbfffd969 
"/usr/bin/unattended-upgrades", start=257, globals=
    {'get_allowed_origins': <function at remote 0x8494304>, 
'setup_apt_listchanges': <function at remote 0x84944fc>, 'localesApp': 
'unattended-upgrades', 'apt_pkg': <module at remote 0xb7fb5524>, 'apt': <module 
at remote 0xb7fb5adc>, 'subprocess': <module at remote 0xb7fb59a4>, 
'rewind_cache': <function at remote 0x8494454>, 'wrap': <function at remote 
0x84944c4>, 'substitute': <function at remote 0x84941ec>, 'apt_inst': <module 
at remote 0xb7fb54f4>, 'get_distro_codename': <function at remote 0x8494294>, 
'logfile': '/var/log/unattended-upgrades/unattended-upgrades.log', 
'lsb_release': <module at remote 0x843d65c>, 'is_allowed_origin': <function at 
remote 0x849433c>, 'gettext': <module at remote 0xb7fb5884>, '__package__': 
None, 'PIPE': -1, 'logdir': '/var/log/unattended-upgrades/', 'MyCache': <type 
at remote 0x84abbfc>, '__doc__': None, 'OptionParser': <classobj at remote 
0x834cb0c>, 'REBOOT_REQUIRED_FILE': '/var/run/reboot-required', 'string': 
<module at remote 0xb7fb5614>, 'warnings': <module at remote 
0xb7fb5...(truncated), locals=
    {'get_allowed_origins': <function at remote 0x8494304>, 
'setup_apt_listchanges': <function at remote 0x84944fc>, 'localesApp': 
'unattended-upgrades', 'apt_pkg': <module at remote 0xb7fb5524>, 'apt': <module 
at remote 0xb7fb5adc>, 'subprocess': <module at remote 0xb7fb59a4>, 
'rewind_cache': <function at remote 0x8494454>, 'wrap': <function at remote 
0x84944c4>, 'substitute': <function at remote 0x84941ec>, 'apt_inst': <module 
at remote 0xb7fb54f4>, 'get_distro_codename': <function at remote 0x8494294>, 
'logfile': '/var/log/unattended-upgrades/unattended-upgrades.log', 
'lsb_release': <module at remote 0x843d65c>, 'is_allowed_origin': <function at 
remote 0x849433c>, 'gettext': <module at remote 0xb7fb5884>, '__package__': 
None, 'PIPE': -1, 'logdir': '/var/log/unattended-upgrades/', 'MyCache': <type 
at remote 0x84abbfc>, '__doc__': None, 'OptionParser': <classobj at remote 
0x834cb0c>, 'REBOOT_REQUIRED_FILE': '/var/run/reboot-required', 'string': 
<module at remote 0xb7fb5614>, 'warnings': <module at remote 
0xb7fb5...(truncated), closeit=1, flags=0xbfffd76c) at 
../Python/pythonrun.c:1337
#17 0x080fff22 in PyRun_SimpleFileExFlags (fp=0x829ab28, filename=0xbfffd969 
"/usr/bin/unattended-upgrades", closeit=1, flags=0xbfffd76c) at 
../Python/pythonrun.c:941
#18 0x0805dd81 in Py_Main (argc=2, argv=0xbfffd854) at ../Modules/main.c:577
#19 0x0805cf6b in main (argc=2, argv=0xbfffd854) at ../Modules/python.c:23

> 
> On 17/09/10 04:23, Soeren Sonnenburg wrote:
> > # gdb --args python /usr/bin/unattended-upgrades
> ...
> > (gdb) bt
> > #0  __strlen_sse2 () at ../sysdeps/i386/i686/multiarch/strlen.S:99
> > #1  0x080a472c in PyString_FromFormatV ()
> > #2  0x080a49a8 in PyString_FromFormat ()
> > #3  0x002fdd63 in ?? () from /usr/lib/python2.6/dist-packages/apt_pkg.so
> > #4  0x080949c7 in _PyObject_Str ()
> > #5  0x080a542a in PyString_Format ()
> > #6  0x080628de in ?? ()
> 
> Thanks,
> Regards,

Soeren
-- 
For the one fact about the future of which we can be certain is that it
will be utterly fantastic. -- Arthur C. Clarke, 1962

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to