pay-service hangs after opening payui
Bug #1335974 reported by
dobey
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Pay Service |
Fix Released
|
High
|
dobey | ||
pay-service (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
In testing the purchasing process, it appears that pay-service is hanging after the payui is launched. After payui closes, one cannot start a new purchase. Tapping the button in the dash preview simply results in no visible action.
Related branches
lp:~dobey/pay-service/detach-thread
- Alejandro J. Cura (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 25 lines (+2/-5)1 file modifiedservice/purchase-ual.cpp (+2/-5)
Changed in pay-service: | |
status: | New → In Progress |
assignee: | nobody → Rodney Dawes (dobey) |
Changed in pay-service: | |
importance: | Undecided → High |
Changed in pay-service: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
Instead of hanging, it looks like it may actually just be aborting when the buy button is pushed again later, after the first attempt fails or such. I've got the following stack trace, where it appears to be trying to terminate a thread, which may already be dead:
Thread 4 (Thread 0x7fffe95af700 (LWP 1665)): sysdeps/ unix/sysv/ linux/raise. c:56 :__verbose_ terminate_ handler( ) () x86_64- linux-gnu/ libstdc+ +.so.6 x86_64- linux-gnu/ libstdc+ +.so.6 x86_64- linux-gnu/ libstdc+ +.so.6 :operator= (std::thread& &) ( 0x7fffe4010848, Projects/ canonical/ pay-service/ fix-script- path/build/ service/ pay-service, CU 0x1f6b0, DIE 0x39e2f>) c++/4.8/ thread: 151 :UalItem: :run (this=0x7fffe40 10818) Projects/ canonical/ pay-service/ fix-script- path/service/ purchase- ual.cpp: 119 m::purchase (this=0x7fffe40 112a8) Projects/ canonical/ pay-service/ fix-script- path/service/ item-memory. cpp:143 pl::packageCall (this=0x7c0998, 0x7fffe4039d60 ":1.208", 0x7fffe400ada0 "/com/canonical /pay/click_ 2Dscope" , 0x7fffe4039cd0 "PurchaseItem", params= 0x7fffd8007870, 0x7fffe40334b0) Projects/ canonical/ pay-service/ fix-script- path/service/ dbus-interface. cpp:263 pl::packageCall _staticHelper ( 0x7fffe400b090, sender= 0x7fffe4039d60 ":1.208", 0x7fffe400ada0 "/com/canonical /pay/click_ 2Dscope" , 0x7fffe4034e20 "com.canonical. pay.package" , 0x7fffe4039cd0 "PurchaseItem", params= 0x7fffd8007870, 0x7fffe40334b0, user_data=0x7c0998) Projects/ canonical/ pay-service/ fix-script- path/service/ dbus-interface. cpp:327 x86_64- linux-gnu/ libgio- 2.0.so. 0 context_ dispatch () 64-linux- gnu/libglib- 2.0.so. 0 64-linux- gnu/libglib- 2.0.so. 0 64-linux- gnu/libglib- 2.0.so. 0 pl::run( )::{lambda( )#1}::operator( )() const (__closure= 0x7c1040) Projects/ canonical/ pay-service/ fix-script- path/service/ dbus-interface. cpp:106 simple< DBusInterfaceIm pl::run( )::{lambda( )#1} ()>::_M_ invoke< >(std:: _Index_ tuple<> ) (this=0x7c1040) c++/4.8/ functional: 1732 simple< DBusInterfaceIm pl::run( )::{lambda( )#1} ()>::operator()() (this=0x7c1040) at /usr/include/ c++/4.8/ functional: 1720 :_Impl< std::_Bind_ ...
#0 0x00007ffff5e94117 in __GI_raise (sig=sig@entry=6)
at ../nptl/
#1 0x00007ffff5e95808 in __GI_abort () at abort.c:89
#2 0x00007ffff649b285 in __gnu_cxx:
from /usr/lib/
#3 0x00007ffff64990f6 in ?? () from /usr/lib/
#4 0x00007ffff6499141 in std::terminate() ()
from /usr/lib/
#5 0x0000000000509809 in std::thread:
this=
__t=<unknown type in /home/dobey/
at /usr/include/
#6 0x0000000000528f8d in Purchase:
at /home/dobey/
#7 0x0000000000514e9f in Item::MemoryIte
at /home/dobey/
#8 0x000000000050adc5 in DBusInterfaceIm
sender=
path=
method=
invocation=
at /home/dobey/
#9 0x000000000050b0be in DBusInterfaceIm
connection=
path=
---Type <return> to continue, or q <return> to quit---
interface=
method=
invocation=
at /home/dobey/
#10 0x00007ffff76b7151 in ?? () from /usr/lib/
#11 0x00007ffff70ddcc5 in g_main_
from /lib/x86_
#12 0x00007ffff70de028 in ?? () from /lib/x86_
#13 0x00007ffff70de2ea in g_main_loop_run ()
from /lib/x86_
#14 0x0000000000509daa in DBusInterfaceIm
at /home/dobey/
#15 0x0000000000513c9c in std::_Bind_
at /usr/include/
#16 0x0000000000513b5f in std::_Bind_
#17 0x0000000000513a64 in std::thread: