ubuntuone-preferences crashed with SIGSEGV in free() due to libproxy call in Thread()

Bug #633241 reported by Roman Yepishev
316
This bug affects 40 people
Affects Status Importance Assigned to Milestone
Ubuntu One Client
Fix Released
Critical
John Lenton
ubuntuone-client (Ubuntu)
Fix Released
Critical
Rodrigo Moya

Bug Description

Binary package hint: ubuntuone-client

It is reproducible with 100% reliability. Full stack trace:

#0 0x00007ffff6a32c2d in free () from /lib/libc.so.6
#1 0x00007fffec757e4c in ffi_call_unix64 () from /usr/lib/python2.6/lib-dynload/_ctypes.so
#2 0x00007fffec757bd4 in ffi_call () from /usr/lib/python2.6/lib-dynload/_ctypes.so
#3 0x00007fffec752664 in _call_function_pointer (pProc=<value optimized out>, argtuple=<value optimized out>, flags=<value optimized out>,
    argtypes=<value optimized out>, restype=<value optimized out>, checker=<value optimized out>)
    at /build/buildd/python2.6-2.6.6/Modules/_ctypes/callproc.c:816
#4 _CallProc (pProc=<value optimized out>, argtuple=<value optimized out>, flags=<value optimized out>, argtypes=<value optimized out>,
    restype=<value optimized out>, checker=<value optimized out>) at /build/buildd/python2.6-2.6.6/Modules/_ctypes/callproc.c:1163
#5 0x00007fffec749f33 in CFuncPtr_call (self=0x1bc8e20, inargs=(140736750168192,), kwds=<value optimized out>)
    at /build/buildd/python2.6-2.6.6/Modules/_ctypes/_ctypes.c:3860
#6 0x000000000041c9d7 in PyObject_Call (func=<_FuncPtr(__name__='px_free') at remote 0x1bc8e20>, arg=<unknown at remote 0x3>, kw=
    <unknown at remote 0x7fffffffbfd0>) at ../Objects/abstract.c:2492
#7 0x00000000004a48c8 in do_call (f=
    Frame 0xb143d0, for file /usr/lib/pymodules/python2.6/libproxy.py, line 95, in getProxies (self=<ProxyFactory(_pf=31964064) at remote 0x1e25c50>, url='https://one.ubuntu.com/api/1.0/devices/', proxies=['direct://'], array=<LP_c_void_p at remote 0x1bec4d0>, i=0), throwflag=<value optimized out>)
    at ../Python/ceval.c:3968
#8 call_function (f=
    Frame 0xb143d0, for file /usr/lib/pymodules/python2.6/libproxy.py, line 95, in getProxies (self=<ProxyFactory(_pf=31964064) at remote 0x1e25c50>, url='https://one.ubuntu.com/api/1.0/devices/', proxies=['direct://'], array=<LP_c_void_p at remote 0x1bec4d0>, i=0), throwflag=<value optimized out>)
    at ../Python/ceval.c:3773
#9 PyEval_EvalFrameEx (f=
    Frame 0xb143d0, for file /usr/lib/pymodules/python2.6/libproxy.py, line 95, in getProxies (self=<ProxyFactory(_pf=31964064) at remote 0x1e25c50>, url='https://one.ubuntu.com/api/1.0/devices/', proxies=['direct://'], array=<LP_c_void_p at remote 0x1bec4d0>, i=0), throwflag=<value optimized out>)
    at ../Python/ceval.c:2412
#10 0x00000000004a5ab0 in fast_function (f=
    Frame 0x1daf9b0, for file /usr/lib/pymodules/python2.6/ubuntuone/api/restclient.py, line 34, in __init__ (self=<RestClient(conf_client=<gconf.Client at remote 0x1e29c80>) at remote 0x1e361b8>, url='https://one.ubuntu.com/api/1.0/devices/', pf=<ProxyFactory(_pf=31964064) at remote 0x1e25c50>),
    throwflag=<value optimized out>) at ../Python/ceval.c:3836
#11 call_function (f=
    Frame 0x1daf9b0, for file /usr/lib/pymodules/python2.6/ubuntuone/api/restclient.py, line 34, in __init__ (self=<RestClient(conf_client=<gconf.Client at remote 0x1e29c80>) at remote 0x1e361b8>, url='https://one.ubuntu.com/api/1.0/devices/', pf=<ProxyFactory(_pf=31964064) at remote 0x1e25c50>),
    throwflag=<value optimized out>) at ../Python/ceval.c:3771
#12 PyEval_EvalFrameEx (f=
    Frame 0x1daf9b0, for file /usr/lib/pymodules/python2.6/ubuntuone/api/restclient.py, line 34, in __init__ (self=<RestClient(conf_client=<gconf.Client at remote 0x1e29c80>) at remote 0x1e361b8>, url='https://one.ubuntu.com/api/1.0/devices/', pf=<ProxyFactory(_pf=31964064) at remote 0x1e25c50>),
    throwflag=<value optimized out>) at ../Python/ceval.c:2412
#13 0x00000000004a6bd1 in PyEval_EvalCodeEx (co=0xe6feb8, globals=<value optimized out>, locals=<value optimized out>, args=0x2,
    argcount=<value optimized out>, kws=<value optimized out>, kwcount=0, defs=0x0, defcount=0, closure=0x0) at ../Python/ceval.c:3000
#14 0x0000000000535b40 in function_call (func=<function at remote 0x1acccf8>, arg=
    (<RestClient(conf_client=<gconf.Client at remote 0x1e29c80>) at remote 0x1e361b8>, 'https://one.ubuntu.com/api/1.0/devices/'), kw=0x0)
    at ../Objects/funcobject.c:524
#15 0x000000000041c9d7 in PyObject_Call (func=<function at remote 0x1acccf8>, arg=<unknown at remote 0x3>, kw=<unknown at remote 0x7fffffffbfd0>)
    at ../Objects/abstract.c:2492
#16 0x000000000042570f in instancemethod_call (func=<function at remote 0x1acccf8>, arg=
    (<RestClient(conf_client=<gconf.Client at remote 0x1e29c80>) at remote 0x1e361b8>, 'https://one.ubuntu.com/api/1.0/devices/'), kw=0x0)
    at ../Objects/classobject.c:2579
#17 0x000000000041c9d7 in PyObject_Call (func=<instancemethod at remote 0x1e23640>, arg=<unknown at remote 0x3>, kw=<unknown at remote 0x7fffffffbfd0>)
    at ../Objects/abstract.c:2492
#18 0x000000000049f053 in PyEval_CallObjectWithKeywords (func=<instancemethod at remote 0x1e23640>, arg=('https://one.ubuntu.com/api/1.0/devices/',), kw=
    <unknown at remote 0x7fffffffbfd0>) at ../Python/ceval.c:3619
#19 0x0000000000427a16 in PyInstance_New (klass=<value optimized out>, arg=('https://one.ubuntu.com/api/1.0/devices/',), kw=0x0)
    at ../Objects/classobject.c:568
#20 0x000000000041c9d7 in PyObject_Call (func=<classobj at remote 0x1a330b0>, arg=<unknown at remote 0x3>, kw=<unknown at remote 0x7fffffffbfd0>)
    at ../Objects/abstract.c:2492
#21 0x00000000004a48c8 in do_call (f=
    Frame 0x1daf7a0, for file /usr/bin/ubuntuone-preferences, line 130, in make_rest_request (url='https://one.ubuntu.com/api/1.0/devices/', method='GET', callback=<instancemethod at remote 0x1bf9640>), throwflag=<value optimized out>) at ../Python/ceval.c:3968
#22 call_function (f=
    Frame 0x1daf7a0, for file /usr/bin/ubuntuone-preferences, line 130, in make_rest_request (url='https://one.ubuntu.com/api/1.0/devices/', method='GET', callback=<instancemethod at remote 0x1bf9640>), throwflag=<value optimized out>) at ../Python/ceval.c:3773
#23 PyEval_EvalFrameEx (f=
    Frame 0x1daf7a0, for file /usr/bin/ubuntuone-preferences, line 130, in make_rest_request (url='https://one.ubuntu.com/api/1.0/devices/', method='GET', callback=<instancemethod at remote 0x1bf9640>), throwflag=<value optimized out>) at ../Python/ceval.c:2412
#24 0x00000000004a6bd1 in PyEval_EvalCodeEx (co=0x7ffff7f046c0, globals=<value optimized out>, locals=<value optimized out>, args=0x3,
    argcount=<value optimized out>, kws=<value optimized out>, kwcount=2, defs=0x1bd84c8, defcount=3, closure=0x0) at ../Python/ceval.c:3000
#25 0x00000000004a4d59 in fast_function (f=
    Frame 0x1dceb50, for file /usr/bin/ubuntuone-preferences, line 282, in get_devices (self=<DevicesWidget(description=<gtk.Label at remote 0x1be8a50>, dn_limit=2097152, status_label=<gtk.Label at remote 0x1be8a00>, bw_limited=0, bus=<SessionBus(_bus_type=0, _signals_lock=<thread.lock at remote 0xcedd98>, _Connection__call_on_disconnection=[], _dbus_Connection_initialized=1, _bus_names=<WeakValueDictionary(_remove=<function at remote 0x1be6410>, data={'com.ubuntuone.Preferences': <KeyedRef at remote 0x1bdeb30>}) at remote 0x1bd9998>, _signal_sender_matches={}, _signal_recipients_by_object_path={None: {'com.ubuntu.sso.ApplicationCredentials': {'CredentialsError': [<SignalMatch at remote 0x1bdf650>], 'AuthorizationDenied': [<SignalMatch at remote 0x1bdf710>], 'CredentialsFound': [<SignalMatch at remote 0x1bdf590>]}, 'com.ubuntuone.SyncDaemon.Status': {'StatusChanged': [<SignalMatch at remote 0x1bdf4d0>]}}}) at remote 0x1bde650>, dn_spin=<gtk.SpinButton at remote 0x1be8d20>, got_limits=True, _update_id=0, base_url=...(truncated), throwflag=<value optimized out>)
    at ../Python/ceval.c:3846
#26 call_function (f=
    Frame 0x1dceb50, for file /usr/bin/ubuntuone-preferences, line 282, in get_devices (self=<DevicesWidget(description=<gtk.Label at remote 0x1be8a50>, dn_limit=2097152, status_label=<gtk.Label at remote 0x1be8a00>, bw_limited=0, bus=<SessionBus(_bus_type=0, _signals_lock=<thread.lock at remote 0xcedd98>, _Connection__call_on_disconnection=[], _dbus_Connection_initialized=1, _bus_names=<WeakValueDictionary(_remove=<function at remote 0x1be6410>, data={'com.ubuntuone.Preferences': <KeyedRef at remote 0x1bdeb30>}) at remote 0x1bd9998>, _signal_sender_matches={}, _signal_recipients_by_object_path={None: {'com.ubuntu.sso.ApplicationCredentials': {'CredentialsError': [<SignalMatch at remote 0x1bdf650>], 'AuthorizationDenied': [<SignalMatch at remote 0x1bdf710>], 'CredentialsFound': [<SignalMatch at remote 0x1bdf590>]}, 'com.ubuntuone.SyncDaemon.Status': {'StatusChanged': [<SignalMatch at remote 0x1bdf4d0>]}}}) at remote 0x1bde650>, dn_spin=<gtk.SpinButton at remote 0x1be8d20>, got_limits=True, _update_id=0, base_url=...(truncated), throwflag=<value optimized out>)
    at ../Python/ceval.c:3771
#27 PyEval_EvalFrameEx (f=
    Frame 0x1dceb50, for file /usr/bin/ubuntuone-preferences, line 282, in get_devices (self=<DevicesWidget(description=<gtk.Label at remote 0x1be8a50>, dn_limit=2097152, status_label=<gtk.Label at remote 0x1be8a00>, bw_limited=0, bus=<SessionBus(_bus_type=0, _signals_lock=<thread.lock at remote 0xcedd98>, _Connection__call_on_disconnection=[], _dbus_Connection_initialized=1, _bus_names=<WeakValueDictionary(_remove=<function at remote 0x1be6410>, data={'com.ubuntuone.Preferences': <KeyedRef at remote 0x1bdeb30>}) at remote 0x1bd9998>, _signal_sender_matches={}, _signal_recipients_by_object_path={None: {'com.ubuntu.sso.ApplicationCredentials': {'CredentialsError': [<SignalMatch at remote 0x1bdf650>], 'AuthorizationDenied': [<SignalMatch at remote 0x1bdf710>], 'CredentialsFound': [<SignalMatch at remote 0x1bdf590>]}, 'com.ubuntuone.SyncDaemon.Status': {'StatusChanged': [<SignalMatch at remote 0x1bdf4d0>]}}}) at remote 0x1bde650>, dn_spin=<gtk.SpinButton at remote 0x1be8d20>, got_limits=True, _update_id=0, base_url=...(truncated), throwflag=<value optimized out>)
    at ../Python/ceval.c:2412
#28 0x00000000004a6bd1 in PyEval_EvalCodeEx (co=0x7ffff7f04b70, globals=<value optimized out>, locals=<value optimized out>, args=0x1,
    argcount=<value optimized out>, kws=<value optimized out>, kwcount=0, defs=0x0, defcount=0, closure=0x0) at ../Python/ceval.c:3000
#29 0x00000000004a4d59 in fast_function (f=
    Frame 0xe16c70, for file /usr/bin/ubuntuone-preferences, line 1021, in present (self=<UbuntuoneLoginHandler(_connection=<SessionBus(_bus_type=0, _signals_lock=<thread.lock at remote 0xcedd98>, _Connection__call_on_disconnection=[], _dbus_Connection_initialized=1, _bus_names=<WeakValueDictionary(_remove=<function at remote 0x1be6410>, data={'com.ubuntuone.Preferences': <KeyedRef at remote 0x1bdeb30>}) at remote 0x1bd9998>, _signal_sender_matches={}, _signal_recipients_by_object_path={None: {'com.ubuntu.sso.ApplicationCredentials': {'CredentialsError': [<SignalMatch at remote 0x1bdf650>], 'AuthorizationDenied': [<SignalMatch at remote 0x1bdf710>], 'CredentialsFound': [<SignalMatch at remote 0x1bdf590>]}, 'com.ubuntuone.SyncDaemon.Status': {'StatusChanged': [<SignalMatch at remote 0x1bdf4d0>]}}}) at remote 0x1bde650>, _locations=[(<...>, '/', False)], bus=<...>, _name=<BusName(_name='com.ubuntuone.Preferences', _bus=<...>) at remote 0x1bf5250>, dialog=<UbuntuOneDialog(upgrade_link=<gtk.LinkButton at remote 0x1be...(truncated), throwflag=<value optimized out>)
    at ../Python/ceval.c:3846
#30 call_function (f=
    Frame 0xe16c70, for file /usr/bin/ubuntuone-preferences, line 1021, in present (self=<UbuntuoneLoginHandler(_connection=<SessionBus(_bus_type=0, _signals_lock=<thread.lock at remote 0xcedd98>, _Connection__call_on_disconnection=[], _dbus_Connection_initialized=1, _bus_names=<WeakValueDictionary(_remove=<function at remote 0x1be6410>, data={'com.ubuntuone.Preferences': <KeyedRef at remote 0x1bdeb30>}) at remote 0x1bd9998>, _signal_sender_matches={}, _signal_recipients_by_object_path={None: {'com.ubuntu.sso.ApplicationCredentials': {'CredentialsError': [<SignalMatch at remote 0x1bdf650>], 'AuthorizationDenied': [<SignalMatch at remote 0x1bdf710>], 'CredentialsFound': [<SignalMatch at remote 0x1bdf590>]}, 'com.ubuntuone.SyncDaemon.Status': {'StatusChanged': [<SignalMatch at remote 0x1bdf4d0>]}}}) at remote 0x1bde650>, _locations=[(<...>, '/', False)], bus=<...>, _name=<BusName(_name='com.ubuntuone.Preferences', _bus=<...>) at remote 0x1bf5250>, dialog=<UbuntuOneDialog(upgrade_link=<gtk.LinkButton at remote 0x1be...(truncated), throwflag=<value optimized out>)
    at ../Python/ceval.c:3771
#31 PyEval_EvalFrameEx (f=
    Frame 0xe16c70, for file /usr/bin/ubuntuone-preferences, line 1021, in present (self=<UbuntuoneLoginHandler(_connection=<SessionBus(_bus_type=0, _signals_lock=<thread.lock at remote 0xcedd98>, _Connection__call_on_disconnection=[], _dbus_Connection_initialized=1, _bus_names=<WeakValueDictionary(_remove=<function at remote 0x1be6410>, data={'com.ubuntuone.Preferences': <KeyedRef at remote 0x1bdeb30>}) at remote 0x1bd9998>, _signal_sender_matches={}, _signal_recipients_by_object_path={None: {'com.ubuntu.sso.ApplicationCredentials': {'CredentialsError': [<SignalMatch at remote 0x1bdf650>], 'AuthorizationDenied': [<SignalMatch at remote 0x1bdf710>], 'CredentialsFound': [<SignalMatch at remote 0x1bdf590>]}, 'com.ubuntuone.SyncDaemon.Status': {'StatusChanged': [<SignalMatch at remote 0x1bdf4d0>]}}}) at remote 0x1bde650>, _locations=[(<...>, '/', False)], bus=<...>, _name=<BusName(_name='com.ubuntuone.Preferences', _bus=<...>) at remote 0x1bf5250>, dialog=<UbuntuOneDialog(upgrade_link=<gtk.LinkButton at remote 0x1be...(truncated), throwflag=<value optimized out>)
    at ../Python/ceval.c:2412
#32 0x00000000004a6bd1 in PyEval_EvalCodeEx (co=0x7ffff7f18210, globals=<value optimized out>, locals=<value optimized out>, args=0x1,
    argcount=<value optimized out>, kws=<value optimized out>, kwcount=0, defs=0x0, defcount=0, closure=0x0) at ../Python/ceval.c:3000
#33 0x00000000004a4d59 in fast_function (f=
    Frame 0x1cd8370, for file /usr/bin/ubuntuone-preferences, line 1036, in got_newcredentials (self=<UbuntuoneLoginHandler(_connection=<SessionBus(_bus_type=0, _signals_lock=<thread.lock at remote 0xcedd98>, _Connection__call_on_disconnection=[], _dbus_Connection_initialized=1, _bus_names=<WeakValueDictionary(_remove=<function at remote 0x1be6410>, data={'com.ubuntuone.Preferences': <KeyedRef at remote 0x1bdeb30>}) at remote 0x1bd9998>, _signal_sender_matches={}, _signal_recipients_by_object_path={None: {'com.ubuntu.sso.ApplicationCredentials': {'CredentialsError': [<SignalMatch at remote 0x1bdf650>], 'AuthorizationDenied': [<SignalMatch at remote 0x1bdf710>], 'CredentialsFound': [<SignalMatch at remote 0x1bdf590>]}, 'com.ubuntuone.SyncDaemon.Status': {'StatusChanged': [<SignalMatch at remote 0x1bdf4d0>]}}}) at remote 0x1bde650>, _locations=[(<...>, '/', False)], bus=<...>, _name=<BusName(_name='com.ubuntuone.Preferences', _bus=<...>) at remote 0x1bf5250>, dialog=<UbuntuOneDialog(upgrade_link=<gtk.LinkButton at ...(truncated), throwflag=<value optimized out>)
    at ../Python/ceval.c:3846
#34 call_function (f=
    Frame 0x1cd8370, for file /usr/bin/ubuntuone-preferences, line 1036, in got_newcredentials (self=<UbuntuoneLoginHandler(_connection=<SessionBus(_bus_type=0, _signals_lock=<thread.lock at remote 0xcedd98>, _Connection__call_on_disconnection=[], _dbus_Connection_initialized=1, _bus_names=<WeakValueDictionary(_remove=<function at remote 0x1be6410>, data={'com.ubuntuone.Preferences': <KeyedRef at remote 0x1bdeb30>}) at remote 0x1bd9998>, _signal_sender_matches={}, _signal_recipients_by_object_path={None: {'com.ubuntu.sso.ApplicationCredentials': {'CredentialsError': [<SignalMatch at remote 0x1bdf650>], 'AuthorizationDenied': [<SignalMatch at remote 0x1bdf710>], 'CredentialsFound': [<SignalMatch at remote 0x1bdf590>]}, 'com.ubuntuone.SyncDaemon.Status': {'StatusChanged': [<SignalMatch at remote 0x1bdf4d0>]}}}) at remote 0x1bde650>, _locations=[(<...>, '/', False)], bus=<...>, _name=<BusName(_name='com.ubuntuone.Preferences', _bus=<...>) at remote 0x1bf5250>, dialog=<UbuntuOneDialog(upgrade_link=<gtk.LinkButton at ...(truncated), throwflag=<value optimized out>)
    at ../Python/ceval.c:3771
#35 PyEval_EvalFrameEx (f=
    Frame 0x1cd8370, for file /usr/bin/ubuntuone-preferences, line 1036, in got_newcredentials (self=<UbuntuoneLoginHandler(_connection=<SessionBus(_bus_type=0, _signals_lock=<thread.lock at remote 0xcedd98>, _Connection__call_on_disconnection=[], _dbus_Connection_initialized=1, _bus_names=<WeakValueDictionary(_remove=<function at remote 0x1be6410>, data={'com.ubuntuone.Preferences': <KeyedRef at remote 0x1bdeb30>}) at remote 0x1bd9998>, _signal_sender_matches={}, _signal_recipients_by_object_path={None: {'com.ubuntu.sso.ApplicationCredentials': {'CredentialsError': [<SignalMatch at remote 0x1bdf650>], 'AuthorizationDenied': [<SignalMatch at remote 0x1bdf710>], 'CredentialsFound': [<SignalMatch at remote 0x1bdf590>]}, 'com.ubuntuone.SyncDaemon.Status': {'StatusChanged': [<SignalMatch at remote 0x1bdf4d0>]}}}) at remote 0x1bde650>, _locations=[(<...>, '/', False)], bus=<...>, _name=<BusName(_name='com.ubuntuone.Preferences', _bus=<...>) at remote 0x1bf5250>, dialog=<UbuntuOneDialog(upgrade_link=<gtk.LinkButton at ...(truncated), throwflag=<value optimized out>)
    at ../Python/ceval.c:2412
#36 0x00000000004a6bd1 in PyEval_EvalCodeEx (co=0x7ffff7f18288, globals=<value optimized out>, locals=<value optimized out>, args=0x3,
    argcount=<value optimized out>, kws=<value optimized out>, kwcount=0, defs=0x0, defcount=0, closure=0x0) at ../Python/ceval.c:3000
#37 0x0000000000535c3d in function_call (func=<function at remote 0x1be7848>, arg=
    (<UbuntuoneLoginHandler(_connection=<SessionBus(_bus_type=0, _signals_lock=<thread.lock at remote 0xcedd98>, _Connection__call_on_disconnection=[], _dbus_Connection_initialized=1, _bus_names=<WeakValueDictionary(_remove=<function at remote 0x1be6410>, data={'com.ubuntuone.Preferences': <KeyedRef at remote 0x1bdeb30>}) at remote 0x1bd9998>, _signal_sender_matches={}, _signal_recipients_by_object_path={None: {'com.ubuntu.sso.ApplicationCredentials': {'CredentialsError': [<SignalMatch at remote 0x1bdf650>], 'AuthorizationDenied': [<SignalMatch at remote 0x1bdf710>], 'CredentialsFound': [<SignalMatch at remote 0x1bdf590>]}, 'com.ubuntuone.SyncDaemon.Status': {'StatusChanged': [<SignalMatch at remote 0x1bdf4d0>]}}}) at remote 0x1bde650>, _locations=[(<...>, '/', False)], bus=<...>, _name=<BusName(_name='com.ubuntuone.Preferences', _bus=<...>) at remote 0x1bf5250>, dialog=<UbuntuOneDialog(upgrade_link=<gtk.LinkButton at remote 0x1be8910>, ums_id=None, bookmarks_check=<gtk.CheckButton at remote 0x1be8e10>, overquota...(truncated), kw={}) at ../Objects/funcobject.c:524
#38 0x000000000041c9d7 in PyObject_Call (func=<function at remote 0x1be7848>, arg=<unknown at remote 0x3>, kw=<unknown at remote 0x7fffffffbfd0>)
    at ../Objects/abstract.c:2492
#39 0x00000000004a38a1 in ext_do_call (f=
    Frame 0x1d0ff60, for file /usr/lib/pymodules/python2.6/dbus/connection.py, line 214, in maybe_handle_message (self=<SignalMatch at remote 0x1bdf590>, message=<dbus.lowlevel.SignalMessage at remote 0xcede58>, args=[u'Ubuntu One', {u'consumer_secret': u'***, u'token': u'***', u'consumer_key': u'hPQWPsH', u'name': u'Ubuntu One @ buzz', u'token_secret': u'***'}], kwargs={}), throwflag=<value optimized out>) at ../Python/ceval.c:4063
#40 PyEval_EvalFrameEx (f=
    Frame 0x1d0ff60, for file /usr/lib/pymodules/python2.6/dbus/connection.py, line 214, in maybe_handle_message (self=<SignalMatch at remote 0x1bdf590>, message=<dbus.lowlevel.SignalMessage at remote 0xcede58>, args=[u'Ubuntu One', {u'consumer_secret': u'***', u'token': u'***', u'consumer_key': u'hPQWPsH', u'name': u'Ubuntu One @ buzz', u'token_secret': u'***'}], kwargs={}), throwflag=<value optimized out>) at ../Python/ceval.c:2452
#41 0x00000000004a5ab0 in fast_function (f=
    Frame 0x1c704f0, for file /usr/lib/pymodules/python2.6/dbus/connection.py, line 510, in _signal_func (self=<SessionBus(_bus_type=0, _signals_lock=<thread.lock at remote 0xcedd98>, _Connection__call_on_disconnection=[], _dbus_Connection_initialized=1, _bus_names=<WeakValueDictionary(_remove=<function at remote 0x1be6410>, data={'com.ubuntuone.Preferences': <KeyedRef at remote 0x1bdeb30>}) at remote 0x1bd9998>, _signal_sender_matches={}, _signal_recipients_by_object_path={None: {'com.ubuntu.sso.ApplicationCredentials': {'CredentialsError': [<SignalMatch at remote 0x1bdf650>], 'AuthorizationDenied': [<SignalMatch at remote 0x1bdf710>], 'CredentialsFound': [<SignalMatch at remote 0x1bdf590>]}, 'com.ubuntuone.SyncDaemon.Status': {'StatusChanged': [<SignalMatch at remote 0x1bdf4d0>]}}}) at remote 0x1bde650>, message=<dbus.lowlevel.SignalMessage at remote 0xcede58>, dbus_interface='com.ubuntu.sso.ApplicationCredentials', path='/credentials', signal_name='CredentialsFound', match=<...>), throwflag=<value optimized out>) at ../Python/ceval.c:3836
#42 call_function (f=
    Frame 0x1c704f0, for file /usr/lib/pymodules/python2.6/dbus/connection.py, line 510, in _signal_func (self=<SessionBus(_bus_type=0, _signals_lock=<thread.lock at remote 0xcedd98>, _Connection__call_on_disconnection=[], _dbus_Connection_initialized=1, _bus_names=<WeakValueDictionary(_remove=<function at remote 0x1be6410>, data={'com.ubuntuone.Preferences': <KeyedRef at remote 0x1bdeb30>}) at remote 0x1bd9998>, _signal_sender_matches={}, _signal_recipients_by_object_path={None: {'com.ubuntu.sso.ApplicationCredentials': {'CredentialsError': [<SignalMatch at remote 0x1bdf650>], 'AuthorizationDenied': [<SignalMatch at remote 0x1bdf710>], 'CredentialsFound': [<SignalMatch at remote 0x1bdf590>]}, 'com.ubuntuone.SyncDaemon.Status': {'StatusChanged': [<SignalMatch at remote 0x1bdf4d0>]}}}) at remote 0x1bde650>, message=<dbus.lowlevel.SignalMessage at remote 0xcede58>, dbus_interface='com.ubuntu.sso.ApplicationCredentials', path='/credentials', signal_name='CredentialsFound', match=<...>), throwflag=<value optimized out>) at ../Python/ceval.c:3771
#43 PyEval_EvalFrameEx (f=
    Frame 0x1c704f0, for file /usr/lib/pymodules/python2.6/dbus/connection.py, line 510, in _signal_func (self=<SessionBus(_bus_type=0, _signals_lock=<thread.lock at remote 0xcedd98>, _Connection__call_on_disconnection=[], _dbus_Connection_initialized=1, _bus_names=<WeakValueDictionary(_remove=<function at remote 0x1be6410>, data={'com.ubuntuone.Preferences': <KeyedRef at remote 0x1bdeb30>}) at remote 0x1bd9998>, _signal_sender_matches={}, _signal_recipients_by_object_path={None: {'com.ubuntu.sso.ApplicationCredentials': {'CredentialsError': [<SignalMatch at remote 0x1bdf650>], 'AuthorizationDenied': [<SignalMatch at remote 0x1bdf710>], 'CredentialsFound': [<SignalMatch at remote 0x1bdf590>]}, 'com.ubuntuone.SyncDaemon.Status': {'StatusChanged': [<SignalMatch at remote 0x1bdf4d0>]}}}) at remote 0x1bde650>, message=<dbus.lowlevel.SignalMessage at remote 0xcede58>, dbus_interface='com.ubuntu.sso.ApplicationCredentials', path='/credentials', signal_name='CredentialsFound', match=<...>), throwflag=<value optimized out>) at ../Python/ceval.c:2412
#44 0x00000000004a6bd1 in PyEval_EvalCodeEx (co=0x103b7b0, globals=<value optimized out>, locals=<value optimized out>, args=0x2,
    argcount=<value optimized out>, kws=<value optimized out>, kwcount=0, defs=0x0, defcount=0, closure=0x0) at ../Python/ceval.c:3000
#45 0x0000000000535b40 in function_call (func=<function at remote 0x1092a28>, arg=
    (<SessionBus(_bus_type=0, _signals_lock=<thread.lock at remote 0xcedd98>, _Connection__call_on_disconnection=[], _dbus_Connection_initialized=1, _bus_names=<WeakValueDictionary(_remove=<function at remote 0x1be6410>, data={'com.ubuntuone.Preferences': <KeyedRef at remote 0x1bdeb30>}) at remote 0x1bd9998>, _signal_sender_matches={}, _signal_recipients_by_object_path={None: {'com.ubuntu.sso.ApplicationCredentials': {'CredentialsError': [<SignalMatch at remote 0x1bdf650>], 'AuthorizationDenied': [<SignalMatch at remote 0x1bdf710>], 'CredentialsFound': [<SignalMatch at remote 0x1bdf590>]}, 'com.ubuntuone.SyncDaemon.Status': {'StatusChanged': [<SignalMatch at remote 0x1bdf4d0>]}}}) at remote 0x1bde650>, <dbus.lowlevel.SignalMessage at remote 0xcede58>), kw=0x0)
    at ../Objects/funcobject.c:524
#46 0x000000000041c9d7 in PyObject_Call (func=<function at remote 0x1092a28>, arg=<unknown at remote 0x3>, kw=<unknown at remote 0x7fffffffbfd0>)
    at ../Objects/abstract.c:2492
#47 0x000000000042570f in instancemethod_call (func=<function at remote 0x1092a28>, arg=
    (<SessionBus(_bus_type=0, _signals_lock=<thread.lock at remote 0xcedd98>, _Connection__call_on_disconnection=[], _dbus_Connection_initialized=1, _bus_names=<WeakValueDictionary(_remove=<function at remote 0x1be6410>, data={'com.ubuntuone.Preferences': <KeyedRef at remote 0x1bdeb30>}) at remote 0x1bd9998>, _signal_sender_matches={}, _signal_recipients_by_object_path={None: {'com.ubuntu.sso.ApplicationCredentials': {'CredentialsError': [<SignalMatch at remote 0x1bdf650>], 'AuthorizationDenied': [<SignalMatch at remote 0x1bdf710>], 'CredentialsFound': [<SignalMatch at remote 0x1bdf590>]}, 'com.ubuntuone.SyncDaemon.Status': {'StatusChanged': [<SignalMatch at remote 0x1bdf4d0>]}}}) at remote 0x1bde650>, <dbus.lowlevel.SignalMessage at remote 0xcede58>), kw=0x0)
    at ../Objects/classobject.c:2579
#48 0x00000000004212e0 in PyObject_Call (callable=<instancemethod at remote 0x1b686e0>) at ../Objects/abstract.c:2492
#49 PyObject_CallFunctionObjArgs (callable=<instancemethod at remote 0x1b686e0>) at ../Objects/abstract.c:2723
#50 0x00007fffecde1c7b in ?? () from /usr/lib/pymodules/python2.6/_dbus_bindings.so
#51 0x00007fffecde27f2 in ?? () from /usr/lib/pymodules/python2.6/_dbus_bindings.so
#52 0x00007fffecba8aa6 in dbus_connection_dispatch () from /lib/libdbus-1.so.3
#53 0x00007fffea614a45 in ?? () from /usr/lib/libdbus-glib-1.so.2
#54 0x00007ffff56687e2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#55 0x00007ffff566c748 in ?? () from /lib/libglib-2.0.so.0
#56 0x00007ffff566cc55 in g_main_loop_run () from /lib/libglib-2.0.so.0
#57 0x00007ffff4617a47 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#58 0x00007ffff4cd1852 in ?? () from /usr/lib/pymodules/python2.6/gtk-2.0/gtk/_gtk.so
#59 0x00000000004a52e8 in call_function (f=Frame 0x95c320, for file /usr/bin/ubuntuone-preferences, line 1103, in <module> (),
    throwflag=<value optimized out>) at ../Python/ceval.c:3734
#60 PyEval_EvalFrameEx (f=Frame 0x95c320, for file /usr/bin/ubuntuone-preferences, line 1103, in <module> (), throwflag=<value optimized out>)
    at ../Python/ceval.c:2412
#61 0x00000000004a6bd1 in PyEval_EvalCodeEx (co=0x7ffff7f18558, globals=<value optimized out>, locals=<value optimized out>, args=0x0,
    argcount=<value optimized out>, kws=<value optimized out>, kwcount=0, defs=0x0, defcount=0, closure=0x0) at ../Python/ceval.c:3000
#62 0x00000000004a6ca2 in PyEval_EvalCode (co=0xd4002880, globals=<unknown at remote 0x3>, locals=<unknown at remote 0x7fffffffbfd0>)
    at ../Python/ceval.c:541
#63 0x00000000004c701e in run_mod (fp=<value optimized out>, filename=0x7fffffffe52e "/usr/bin/ubuntuone-preferences", start=<value optimized out>,
    globals=<value optimized out>, locals=<value optimized out>, closeit=1, flags=0x7fffffffe100) at ../Python/pythonrun.c:1351
#64 PyRun_FileExFlags (fp=<value optimized out>, filename=0x7fffffffe52e "/usr/bin/ubuntuone-preferences", start=<value optimized out>,
    globals=<value optimized out>, locals=<value optimized out>, closeit=1, flags=0x7fffffffe100) at ../Python/pythonrun.c:1337
#65 0x00000000004c7234 in PyRun_SimpleFileExFlags (fp=<value optimized out>, filename=0x7fffffffe52e "/usr/bin/ubuntuone-preferences", closeit=1, flags=
    0x7fffffffe100) at ../Python/pythonrun.c:941
#66 0x00000000004180c1 in Py_Main (argc=-135360384, argv=<value optimized out>) at ../Modules/main.c:577
#67 0x00007ffff69d3d8e in __libc_start_main () from /lib/libc.so.6
#68 0x00000000004172c9 in _start ()

ProblemType: Crash
DistroRelease: Ubuntu 10.10
Package: ubuntuone-client-gnome 1.4.0-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.35-20.29-generic 2.6.35.4
Uname: Linux 2.6.35-20-generic x86_64
Architecture: amd64
Date: Wed Sep 8 17:49:37 2010
EcryptfsInUse: Yes
ExecutablePath: /usr/bin/ubuntuone-preferences
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
InterpreterPath: /usr/bin/python2.6
ProcCmdline: /usr/bin/python /usr/bin/ubuntuone-preferences
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, user)
 LANG=et_EE.utf8
SegvAnalysis:
 Segfault happened at: 0x7fa8267a2c2d <free+29>: mov -0x8(%rdi),%rsi
 PC (0x7fa8267a2c2d) ok
 source "-0x8(%rdi)" (0x0800c838) not located in a known VMA region (needed readable region)!
 destination "%rsi" ok
SegvReason: reading unknown VMA
Signal: 11
SourcePackage: ubuntuone-client
StacktraceTop:
 free () from /lib/libc.so.6
 ffi_call_unix64 () from /usr/lib/python2.6/lib-dynload/_ctypes.so
 ffi_call () from /usr/lib/python2.6/lib-dynload/_ctypes.so
 _call_function_pointer (pProc=<value optimized out>, argtuple=<value optimized out>, flags=<value optimized out>, argtypes=<value optimized out>, restype=<value optimized out>, checker=<value optimized out>) at /build/buildd/python2.6-2.6.6/Modules/_ctypes/callproc.c:816
 _CallProc (pProc=<value optimized out>, argtuple=<value optimized out>, flags=<value optimized out>, argtypes=<value optimized out>, restype=<value optimized out>, checker=<value optimized out>) at /build/buildd/python2.6-2.6.6/Modules/_ctypes/callproc.c:1163
Title: ubuntuone-preferences crashed with SIGSEGV in free()
UbuntuOneSyncdaemonExceptionsLog:

UserGroups: adm admin audio cdrom dialout libvirtd lpadmin plugdev sambashare

Related branches

Revision history for this message
Roman Yepishev (rye) wrote :
visibility: private → public
Changed in ubuntuone-client (Ubuntu):
assignee: nobody → Rodrigo Moya (rodrigo-moya)
status: New → In Progress
Revision history for this message
John Lenton (chipaca) wrote :
John Lenton (chipaca)
Changed in ubuntuone-client:
assignee: nobody → John Lenton (chipaca)
status: New → In Progress
John Lenton (chipaca)
Changed in ubuntuone-client:
importance: Undecided → Critical
Changed in ubuntuone-client (Ubuntu):
importance: Undecided → Critical
dobey (dobey)
Changed in ubuntuone-client:
status: In Progress → Fix Committed
Changed in ubuntuone-client:
status: Fix Committed → Fix Released
Revision history for this message
Colin Watson (cjwatson) wrote :

ubuntuone-client (1.4.1-0ubuntu1) maverick; urgency=low

  * New upstream release:
    - Fix VolumeManager.subscribe_udf method to handle the error cases properly
      (Guillermo Gonzalez) (LP: #632439)
    - Make ubuntuone-launch work with the new sso (John Lenton) (LP: #631822)
    - Wait for READY before asking for connection (John Lenton) (LP: #525743
      and LP: #518027)
    - Move operations live in limbo until confirmed (Facundo Batista)
    - Fix a few problems with emblems (Rodrigo Moya) (LP: #607247)
    - Load UDFs as soon as syncdaemon is ready (Rodrigo Moya) (LP: #612541)
    - Load public files as soon as syncdaemon is ready (Rodrigo Moya)
      (LP: #627339)
    - When VM receives an event on a volume it doesn't have, refresh them
      (Facundo Batista)
    - Made u1sync client work from the command line. No more "authorize" option,
      only --oauth (Natalia Bidart) (LP: #634337)
    - Marker chains are errbacked ok now (Facundo Batista)
    - Remove multiple returns in VolumeManager.subscribe_udf method (Guillermo
      Gonzalez)
    - Do calls to libproxy in a separate process (John Lenton) (LP: #633241)
    - OAuth consumer key and secret can be passed as parameter (Natalia Bidart)
      (LP: #637022)
    - Don't generate a new file if we're deleting or overwriting it
      (Facundo Batista)
    - Make sure that the u1 music path is present (Manuel de la Peña)
      (LP: #558762)
    - Make the "Current plan" label show the actual value returned from the
      server (John Lenton) (LP: #551138)
    - Add --with-sso option to configure, for building with uninstalled
      sso-client (Rodney Dawes)
    - Fix volume manager to create the fsm node on server rescan if the node
      isn't there (Guillermo Gonzalez) (LP: #632454)
    - Fix Local rescan to process read only shares and resume interrupted
      downloads (Guillermo Gonzalez) (LP: #598189)
    - Make sure we load list of shared folders in Nautilus plugin (Rodrigo Moya)
      (LP: #633013)
    - Dereference the possible markers in limbos (Facundo Batista)
    - Don't start syncdaemon from Nautilus plugin. Just wait for it to be
      available (Rodrigo Moya) (LP: #613219, LP: #635629 and LP: #628877)

 -- Rodrigo Moya <email address hidden> Wed, 15 Sep 2010 22:17:37 +0200

Changed in ubuntuone-client (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.