locks up if upowerd is locked up (or absent?)

NEW
Unassigned

Status

()

3 years ago
3 years ago

People

(Reporter: hp, Unassigned)

Tracking

38 Branch
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

3 years ago
To reproduce, `sudo killall -STOP upowerd` and then try to open new tabs.

Fedora 22 / 38.0.5

Locked up trace follows.

#0  0x00000033bdaf666d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00000033c3e2c778 in _dbus_poll (__timeout=<optimized out>, __nfds=<optimized out>, __fds=<optimized out>) at /usr/include/bits/poll2.h:46
#2  0x00000033c3e2c778 in _dbus_poll (fds=<optimized out>, n_fds=<optimized out>, timeout_milliseconds=<optimized out>) at dbus-sysdeps-unix.c:2595
#3  0x00000033c3e25da4 in socket_do_iteration (transport=0x7f36579d4e30, flags=6, timeout_milliseconds=<optimized out>) at dbus-transport-socket.c:1149
#4  0x00000033c3e24c18 in _dbus_transport_do_iteration (transport=0x7f36579d4e30, flags=6, timeout_milliseconds=25000) at dbus-transport.c:1001
#5  0x00000033c3e0dfe4 in _dbus_connection_do_iteration_unlocked (connection=connection@entry=0x7f36583fa9c0, pending=pending@entry=0x0, flags=flags@entry=6, timeout_milliseconds=timeout_milliseconds@entry=25000) at dbus-connection.c:1227
#6  0x00000033c3e0ea9c in _dbus_connection_block_pending_call (pending=pending@entry=0x7f3664a026a0) at dbus-connection.c:2527
#7  0x00000033c3e1efea in dbus_pending_call_block (pending=pending@entry=0x7f3664a026a0)
    at dbus-pending-call.c:741
#8  0x0000003b91811f17 in dbus_g_proxy_end_call_internal (proxy=proxy@entry=0x7f366c864790 [DBusGProxy], call_id=call_id@entry=1, error=error@entry=0x7ffe29cd2480, first_arg_type=139871858371424, args=args@entry=0x7ffe29cd2308) at dbus-gproxy.c:2442
#9  0x0000003b9181433b in dbus_g_proxy_call (proxy=0x7f366c864790 [DBusGProxy], method=<optimized out>, error=<optimized out>, first_arg_type=<optimized out>) at dbus-gproxy.c:2819
#10 0x00007f36876fa39c in mozilla::hal_impl::UPowerClient::UpdateTrackedDeviceSync() (this=this@entry=0x7f3658560440)
    at /usr/src/debug/firefox-38.0.5/mozilla-release/hal/linux/UPowerClient.cpp:280
#11 0x00007f36876fa553 in mozilla::hal_impl::UPowerClient::BeginListening() (this=0x7f3658560440) at /usr/src/debug/firefox-38.0.5/mozilla-release/hal/linux/UPowerClient.cpp:212
#12 0x00007f36876fa5b4 in mozilla::hal_impl::EnableBatteryNotifications() ()
    at /usr/src/debug/firefox-38.0.5/mozilla-release/hal/linux/UPowerClient.cpp:131
#13 0x00007f36876f6163 in mozilla::hal::BatteryObserversManager::EnableNotifications() (this=this@entry=0x7f368a3514c0 <mozilla::hal::sBatteryObservers>)
    at /usr/src/debug/firefox-38.0.5/mozilla-release/hal/Hal.cpp:279
#14 0x00007f36876f7253 in mozilla::hal::RegisterBatteryObserver(mozilla::Observer<mozilla::hal::BatteryInformation>*) (aObserver=0x7f366c864718, this=0x7f368a3514c0 <mozilla::hal::sBatteryObservers>) at /usr/src/debug/firefox-38.0.5/mozilla-release/hal/Hal.cpp:198
#15 0x00007f36876f7253 in mozilla::hal::RegisterBatteryObserver(mozilla::Observer<mozilla::hal::BatteryInformation>*) (aObserver=aObserver@entry=0x7f366c864718)
    at /usr/src/debug/firefox-38.0.5/mozilla-release/hal/Hal.cpp:347
#16 0x00007f3687f256e0 in mozilla::dom::battery::BatteryManager::Init() (this=0x7f366c8646d0)
    at /usr/src/debug/firefox-38.0.5/mozilla-release/dom/battery/BatteryManager.cpp:38
#17 0x00007f3687a0672c in mozilla::dom::Navigator::GetBattery(mozilla::ErrorResult&) (this=0x7f3657adba00, aRv=...)
    at /usr/src/debug/firefox-38.0.5/mozilla-release/dom/base/Navigator.cpp:1379
#18 0x00007f3687ba7ab4 in mozilla::dom::NavigatorBinding::get_battery(JSContext*, JS::Handle<JSObject*>, mozilla::dom::Navigator*, JSJitGetterCallArgs) (cx=0x7f3639c7b650, obj=..., self=<optimized out>, args=...)
    at /usr/src/debug/firefox-38.0.5/mozilla-release/objdir/dom/bindings/NavigatorBinding.cpp:1968
#19 0x00007f3687f23985 in mozilla::dom::GenericBindingGetter(JSContext*, unsigned int, JS::Val---Type <return> to continue, or q <return> to quit---
ue*) (cx=0x7f3639c7b650, argc=<optimized out>, vp=<optimized out>)
    at /usr/src/debug/firefox-38.0.5/mozilla-release/dom/bindings/BindingUtils.cpp:2467
#20 0x00007f3688bb2700 in js::Invoke(JSContext*, JS::CallArgs, js::MaybeConstruct) (args=..., native=<optimized out>, cx=0x7f3639c7b650)
    at /usr/src/debug/firefox-38.0.5/mozilla-release/js/src/jscntxtinlines.h:226
#21 0x00007f3688bb2700 in js::Invoke(JSContext*, JS::CallArgs, js::MaybeConstruct) (cx=cx@entry=0x7f3639c7b650, args=..., construct=construct@entry=js::NO_CONSTRUCT)
    at /usr/src/debug/firefox-38.0.5/mozilla-release/js/src/vm/Interpreter.cpp:498
#22 0x00007f3688bb315f in js::Invoke(JSContext*, JS::Value const&, JS::Value const&, unsigned int, JS::Value const*, JS::MutableHandle<JS::Value>) (cx=cx@entry=0x7f3639c7b650, thisv=..., fval=..., argc=argc@entry=0, argv=argv@entry=0x0, rval=..., rval@entry=...)
    at /usr/src/debug/firefox-38.0.5/mozilla-release/js/src/vm/Interpreter.cpp:554
#23 0x00007f3688bb329a in js::InvokeGetterOrSetter(JSContext*, JSObject*, JS::Value, unsigned int, JS::Value*, JS::MutableHandle<JS::Value>) (cx=cx@entry=0x7f3639c7b650, obj=0x7f363afee580, fval=..., argc=argc@entry=0, argv=argv@entry=0x0, rval=...)
    at /usr/src/debug/firefox-38.0.5/mozilla-release/js/src/vm/Interpreter.cpp:624
#24 0x00007f3688bb7753 in CallGetter(JSContext*, JS::HandleObject, js::HandleShape, JS::MutableHandleValue) (cx=cx@entry=0x7f3639c7b650, receiver=..., receiver@entry=..., shape=..., 
    shape@entry=..., vp=..., vp@entry=...)
    at /usr/src/debug/firefox-38.0.5/mozilla-release/js/src/vm/NativeObject.cpp:1626
#25 0x00007f3688bb7b77 in js::NativeGetProperty(JSContext*, JS::Handle<js::NativeObject*>, JS::Handle<JSObject*>, JS::Handle<jsid>, JS::MutableHandle<JS::Value>) (vp=..., shape=..., obj=..., receiver=..., cx=0x7f3639c7b650)
    at /usr/src/debug/firefox-38.0.5/mozilla-release/js/src/vm/NativeObject.cpp:1673
#26 0x00007f3688bb7b77 in js::NativeGetProperty(JSContext*, JS::Handle<js::NativeObject*>, JS::Handle<JSObject*>, JS::Handle<jsid>, JS::MutableHandle<JS::Value>) (vp=..., nameLookup=NotNameLookup, id=..., receiver=..., obj=..., cx=0x7f3639c7b650)
    at /usr/src/debug/firefox-38.0.5/mozilla-release/js/src/vm/NativeObject.cpp:1875
#27 0x00007f3688bb7b77 in js::NativeGetProperty(JSContext*, JS::Handle<js::NativeObject*>, JS::Handle<JSObject*>, JS::Handle<jsid>, JS::MutableHandle<JS::Value>) (cx=0x7f3639c7b650, obj=..., receiver=..., id=..., vp=...)
    at /usr/src/debug/firefox-38.0.5/mozilla-release/js/src/vm/NativeObject.cpp:1909
#28 0x00007f3688aa2489 in js::GetProperty(JSContext*, JS::Handle<JSObject*>, JS::Handle<JSObject*>, JS::Handle<jsid>, JS::MutableHandle<JS::Value>) (cx=<optimized out>, obj=..., receiver=..., id=..., vp=...)
    at /usr/src/debug/firefox-38.0.5/mozilla-release/js/src/vm/NativeObject.h:1407
#29 0x00007f3688d2747e in js::jit::DoGetElemFallback(JSContext*, js::jit::BaselineFrame*, js::jit::ICGetElem_Fallback*, JS::HandleValue, JS::HandleValue, JS::MutableHandleValue) (vp=..., name=0x7f366ea2a820, receiver=..., obj=..., cx=0x7f3639c7b650)
    at /usr/src/debug/firefox-38.0.5/mozilla-release/js/src/jsobj.h:844
#30 0x00007f3688d2747e in js::jit::DoGetElemFallback(JSContext*, js::jit::BaselineFrame*, js::jit::ICGetElem_Fallback*, JS::HandleValue, JS::HandleValue, JS::MutableHandleValue) (res=..., key=..., receiver=..., op=JSOP_GETELEM, cx=0x7f3639c7b650)
    at /usr/src/debug/firefox-38.0.5/mozilla-release/js/src/vm/Interpreter-inl.h:454
#31 0x00007f3688d2747e in js::jit::DoGetElemFallback(JSContext*, js::jit::BaselineFrame*, js::jit::ICGetElem_Fallback*, JS::HandleValue, JS::HandleValue, JS::MutableHandleValue) (res=..., rref=..., lref=..., op=JSOP_GETELEM, cx=0x7f3639c7b650)
    at /usr/src/debug/firefox-38.0.5/mozilla-release/js/src/vm/Interpreter-inl.h:577
---Type <return> to continue, or q <return> to quit---
#32 0x00007f3688d2747e in js::jit::DoGetElemFallback(JSContext*, js::jit::BaselineFrame*, js::jit::ICGetElem_Fallback*, JS::HandleValue, JS::HandleValue, JS::MutableHandleValue) (cx=0x7f3639c7b650, frame=0x7ffe29cd30c8, stub_=0x7f3657a7ed20, lhs=..., rhs=..., res=...)
    at /usr/src/debug/firefox-38.0.5/mozilla-release/js/src/jit/BaselineIC.cpp:3972
#33 0x00007f368aa93df0 in  ()
#34 0x00007ffe29cd3878 in  ()
#35 0x00007ffe29cd3050 in  ()
Python Exception <class 'OverflowError'> int too big to convert: 
#36 0xffffffffffffffff in  ()#37 0x00007f368a3f8640 in js::jit::DoGetElemFallbackInfo ()
    at /usr/lib64/firefox/libxul.so
#38 0x00007f3679951c40 in  ()
#39 0x00007f366fc0e67c in  ()
#40 0x0000000000000981 in  ()
#41 0x00007ffe29cd30c8 in  ()
#42 0x00007f3657a7ed20 in  ()
Python Exception <class 'OverflowError'> int too big to convert: 
Python Exception <class 'OverflowError'> int too big to convert: 
Python Exception <class 'OverflowError'> int too big to convert: 
Python Exception <class 'OverflowError'> int too big to convert: 
Python Exception <class 'OverflowError'> int too big to convert: 
Python Exception <class 'OverflowError'> int too big to convert: 
Python Exception <class 'OverflowError'> int too big to convert: 
Python Exception <class 'OverflowError'> int too big to convert: 
#43 0xffffffffffffffff in  ()#44 0xffffffffffffffff in  ()#45 0xffffffffffffffff in  ()#46 0xffffffffffffffff in  ()#47 0xffffffffffffffff in  ()#48 0xffffffffffffffff in  ()#49 0xffffffffffffffff in  ()#50 0xffffffffffffffff in  ()#51 0x00007ffe29cd39a0 in  ()
#52 0x00007f3630370380 in  ()
#53 0x00007f3600000078 in  ()
#54 0x00007f367a330ab8 in  ()
#55 0x00007f3600000070 in  ()
#56 0x00007f367a300000 in  ()
Python Exception <class 'OverflowError'> int too big to convert: 
#57 0xffffffffffffffff in  ()#58 0x0000000029cd3188 in  ()
#59 0x00007ffe29cd3190 in  ()
#60 0x00007f368aa8d637 in  ()
#61 0x0000000000000304 in  ()
#62 0x00007f36303b3880 in  ()
#63 0x0000000000000001 in  ()
Python Exception <class 'OverflowError'> int too big to convert: 
Python Exception <class 'OverflowError'> int too big to convert: 
Python Exception <class 'OverflowError'> int too big to convert: 
Python Exception <class 'OverflowError'> int too big to convert: 
Python Exception <class 'OverflowError'> int too big to convert: 
Python Exception <class 'OverflowError'> int too big to convert: 
#64 0xffffffffffffffff in  ()#65 0xffffffffffffffff in  ()#66 0xffffffffffffffff in  ()#67 0xffffffffffffffff in  ()#68 0xffffffffffffffff in  ()#69 0xffffffffffffffff in  ()#70 0x00007f366fc175e2 in  ()
#71 0x0000000000000202 in  ()
#72 0x00007f36303b3880 in  ()
#73 0x0000000000000001 in  ()
Python Exception <class 'OverflowError'> int too big to convert: 
Python Exception <class 'OverflowError'> int too big to convert: 
#74 0xffffffffffffffff in  ()#75 0xffffffffffffffff in  ()#76 0x00007ffe29cd3218 in  ()
#77 0x00007f36579d6e20 in  ()
#78 0x00007f366fc2ed41 in  ()
#79 0x0000000000000701 in  ()
Python Exception <class 'OverflowError'> int too big to convert: 
Python Exception <class 'OverflowError'> int too big to convert: 
Python Exception <class 'OverflowError'> int too big to convert: 
Python Exception <class 'OverflowError'> int too big to convert: 
Python Exception <class 'OverflowError'> int too big to convert: 
#80 0xffffffffffffffff in  ()#81 0xffffffffffffffff in  ()#82 0xffffffffffffffff in  ()#83 0xffffffffffffffff in  ()#84 0xffffffffffffffff in  ()#85 0x00007f3658318f60 in  ()
#86 0x00007f366f290337 in  ()
#87 0x00007f3600000070 in  ()
#88 0x00007f367a300000 in  ()
Python Exception <class 'OverflowError'> int too big to convert: 
Python Exception <class 'OverflowError'> int too big to convert: 
Python Exception <class 'OverflowError'> int too big to convert: 
#89 0xffffffffffffffff in  ()#90 0xffffffffffffffff in  ()#91 0xffffffffffffffff in  ()#92 0x000000003037c380 in  ()
#93 0x00007ffe29cd32a8 in  ()
#94 0x00007f368aa8d637 in  ()
#95 0x0000000000000404 in  ()
(Reporter)

Comment 1

3 years ago
Discovered via upowerd bug at https://bugzilla.redhat.com/show_bug.cgi?id=1237290

Updated

3 years ago
Component: General → Hardware Abstraction Layer (HAL)
Product: Firefox → Core
You need to log in before you can comment on or make changes to this bug.