Bug 1158743 - scp-dbus-service stops responding while installing a printer from control-center
Summary: scp-dbus-service stops responding while installing a printer from control-center
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: system-config-printer
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-10-30 05:15 UTC by Mikhail
Modified: 2014-11-03 11:50 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-11-03 11:50:48 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
screenshot 1 (314.53 KB, image/png)
2014-10-30 05:15 UTC, Mikhail
no flags Details
screenshot 2 (298.07 KB, image/png)
2014-10-30 05:15 UTC, Mikhail
no flags Details
scp.log (5.04 KB, text/plain)
2014-10-31 05:30 UTC, Mikhail
no flags Details
screnshoot error which pops when I try print test page (242.36 KB, image/png)
2014-10-31 05:33 UTC, Mikhail
no flags Details

Description Mikhail 2014-10-30 05:15:11 UTC
Created attachment 951968 [details]
screenshot 1

Description of problem:
Couldn't install USB printer HP LaserJet Professional M1132 MFP

Comment 1 Mikhail 2014-10-30 05:15:46 UTC
Created attachment 951969 [details]
screenshot 2

Comment 2 Mikhail 2014-10-30 05:16:59 UTC
$ lsusb
Bus 002 Device 003: ID 03f0:042a Hewlett-Packard LaserJet M1132 MFP
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 006: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 005: ID 046d:08d9 Logitech, Inc. QuickCam IM/Connect
Bus 001 Device 004: ID 046d:c326 Logitech, Inc. 
Bus 001 Device 003: ID 1a40:0201 Terminus Technology Inc. FE 2.1 7-port Hub
Bus 001 Device 002: ID 2109:0811  
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Comment 3 Mikhail 2014-10-30 05:19:56 UTC
$ rpm -qa | grep cups
cups-filters-1.0.58-1.fc21.i686
cups-pk-helper-0.2.5-5.fc21.i686
cups-filesystem-1.7.5-13.fc21.noarch
cups-client-1.7.5-13.fc21.i686
gutenprint-cups-5.2.10-5.fc21.i686
cups-1.7.5-13.fc21.i686
cups-filters-libs-1.0.58-1.fc21.i686
bluez-cups-5.23-1.fc21.i686
python3-cups-1.9.68-1.fc21.i686
cups-libs-1.7.5-13.fc21.i686

Comment 4 Jiri Popelka 2014-10-30 08:32:33 UTC
What's the output of
# /usr/lib/cups/backend/usb
? (run it as root)

Comment 5 Mikhail 2014-10-30 08:33:32 UTC
(In reply to Jiri Popelka from comment #4)
> What's the output of
> # /usr/lib/cups/backend/usb
> ? (run it as root)

# /usr/lib/cups/backend/usb
DEBUG: Loading USB quirks from "/usr/share/cups/usb".
DEBUG: Loaded 111 quirks.
DEBUG: list_devices
DEBUG: libusb_get_device_list=14
DEBUG2: Printer found with device ID: MFG:Hewlett-Packard;MDL:HP LaserJet Professional M1132 MFP;CMD:ZJS,HBS,PJL,ACL,HTTP;CLS:PRINTER;DES:HP LaserJet Professional M1132 MFP;FWVER:20120206; Device URI: usb://HP/LaserJet%20Professional%20M1132%20MFP?serial=000000000QH707YTPR1a
direct usb://HP/LaserJet%20Professional%20M1132%20MFP?serial=000000000QH707YTPR1a "HP LaserJet Professional M1132 MFP" "HP LaserJet Professional M1132 MFP" "MFG:Hewlett-Packard;MDL:HP LaserJet Professional M1132 MFP;CMD:ZJS,HBS,PJL,ACL,HTTP;CLS:PRINTER;DES:HP LaserJet Professional M1132 MFP;FWVER:20120206;" ""

Comment 7 Tim Waugh 2014-10-30 10:14:01 UTC
The screenshots lack context. It's not clear what you did before or after each one. The second screenshot looks like everything is working fine, but I'm not clear on how you got from one to the other.

Could you write out the steps you performed?

Comment 9 Tim Waugh 2014-10-30 16:01:00 UTC
Please find the scp-dbus-service process:

ps axf | grep [s]cp-dbus

and kill it.

Having done that, if you try adding the printer now does it work?

If not, please
1. Kill the scp-dbus-service process again
2. Run it manually (with debugging enabled:

$ scp-dbus-service --debug > scp.log 2>&1

3. Now try adding the printer.
Does that fail? If so, please attach scp.log to this bug report using the 'Add an attachment' link above.

Comment 10 Mikhail 2014-10-31 05:30:07 UTC
(In reply to Tim Waugh from comment #9)
> Please find the scp-dbus-service process:
> 
> ps axf | grep [s]cp-dbus
> 
> and kill it.
> 
> Having done that, if you try adding the printer now does it work?
> 
> If not, please
> 1. Kill the scp-dbus-service process again
> 2. Run it manually (with debugging enabled:

It's really not helps

> 
> $ scp-dbus-service --debug > scp.log 2>&1
> 
> 3. Now try adding the printer.
> Does that fail? If so, please attach scp.log to this bug report using the
> 'Add an attachment' link above.

I am don't understand but it this case printer was installed, but test page it wouldn't print :(

Comment 11 Mikhail 2014-10-31 05:30:35 UTC
Created attachment 952394 [details]
scp.log

Comment 12 Mikhail 2014-10-31 05:33:35 UTC
Created attachment 952395 [details]
screnshoot error which pops when I try print test page

Comment 13 Tim Waugh 2014-10-31 09:24:14 UTC
Please install python-debuginfo and python-cups-debuginfo, and try to install the printer again.

When it fails, please find the process ID of the scp-dbus-service process and attach to it with gdb:

gdb /usr/bin/python3 $PID

Then run this gdb command: thread apply all bt

End with 'quit'. What output does the 'thread apply all bt' command give?

Comment 14 Mikhail 2014-10-31 09:55:07 UTC
I am reboot system and reinstall printer seems all fine here.
scp-dbus-service.py - not stuck here. 

Demonstration: https://drive.google.com/file/d/0B0nwzlfiB4aQSVJRLU9HNDdzLVk/view?usp=sharing

Do you this message?
Timeout (30s), exiting
DESTROY: <asyncconn.Connection object at 0xb456c44c>
DESTROY: <asyncpk1.PK1Connection object at 0xb47fba6c>
DESTROY: <asyncipp.IPPAuthConnection object at 0xb47fba0c>
**** Incorrect IEEE 1284 Device ID: ['drv:///hp/hpcups.drv/hp-laserjet_professional_m1132_mfp.ppd', 'drv:///hp/hpijs.drv/hp-laserjet_professional_m1132_mfp-hpijs.ppd']
**** Actual ID is MFG:Hewlett-Packard;MDL:HP LaserJet Professional M1132 MFP;
**** Please report a bug against the HPLIP component

Comment 15 Mikhail 2014-10-31 09:56:59 UTC
> Then run this gdb command: thread apply all bt
> 
> End with 'quit'. What output does the 'thread apply all bt' command give?

(gdb) thread apply all bt

Thread 2 (Thread 0xb45b2b40 (LWP 6698)):
#0  0xb77c7ccc in __kernel_vsyscall ()
#1  0xb75371d5 in sem_wait@@GLIBC_2.1 () at ../sysdeps/unix/sysv/linux/i386/i486/sem_wait.S:79
#2  0xb76763cd in PyThread_acquire_lock_timed () from /lib/libpython3.4m.so.1.0
#3  0xb767b563 in acquire_timed () from /lib/libpython3.4m.so.1.0
#4  0xb767b98d in lock_PyThread_acquire_lock () from /lib/libpython3.4m.so.1.0
#5  0xb75c6109 in PyCFunction_Call () from /lib/libpython3.4m.so.1.0
#6  0xb764062e in PyEval_EvalFrameEx () from /lib/libpython3.4m.so.1.0
#7  0xb7641431 in PyEval_EvalCodeEx () from /lib/libpython3.4m.so.1.0
#8  0xb763f4d7 in PyEval_EvalFrameEx () from /lib/libpython3.4m.so.1.0
#9  0xb7641431 in PyEval_EvalCodeEx () from /lib/libpython3.4m.so.1.0
#10 0xb763f4d7 in PyEval_EvalFrameEx () from /lib/libpython3.4m.so.1.0
#11 0xb7640047 in PyEval_EvalFrameEx () from /lib/libpython3.4m.so.1.0
#12 0xb7640047 in PyEval_EvalFrameEx () from /lib/libpython3.4m.so.1.0
#13 0xb7641431 in PyEval_EvalCodeEx () from /lib/libpython3.4m.so.1.0
#14 0xb75aaea9 in function_call () from /lib/libpython3.4m.so.1.0
#15 0xb757d9f5 in PyObject_Call () from /lib/libpython3.4m.so.1.0
#16 0xb759652a in method_call () from /lib/libpython3.4m.so.1.0
#17 0xb757d9f5 in PyObject_Call () from /lib/libpython3.4m.so.1.0
#18 0xb76384d3 in PyEval_CallObjectWithKeywords () from /lib/libpython3.4m.so.1.0
#19 0xb767b2cd in t_bootstrap () from /lib/libpython3.4m.so.1.0
#20 0xb7530313 in start_thread (arg=0xb45b2b40) at pthread_create.c:310
#21 0xb7400c2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:122

Thread 1 (Thread 0xb7305940 (LWP 6669)):
#0  0xb77c7ccc in __kernel_vsyscall ()
#1  0xb73f3f9b in poll () at ../sysdeps/unix/syscall-template.S:81
#2  0xb6ad32bc in g_poll () from /lib/libglib-2.0.so.0
#3  0xb6ac3670 in g_main_context_iterate.isra () from /lib/libglib-2.0.so.0
#4  0xb6ac3a73 in g_main_loop_run () from /lib/libglib-2.0.so.0
#5  0xb57bce3d in gtk_main () from /lib/libgtk-3.so.0
#6  0xb6a76f8a in ffi_call_SYSV () from /lib/libffi.so.6
#7  0xb6a76a1a in ffi_call () from /lib/libffi.so.6
#8  0xb6c74e3c in pygi_invoke_c_callable () from /usr/lib/python3.4/site-packages/gi/_gi.cpython-34m.so
#9  0xb6c75a44 in _function_cache_invoke_real () from /usr/lib/python3.4/site-packages/gi/_gi.cpython-34m.so
#10 0xb6c76a8e in pygi_function_cache_invoke () from /usr/lib/python3.4/site-packages/gi/_gi.cpython-34m.so
#11 0xb6c7569c in pygi_callable_info_invoke () from /usr/lib/python3.4/site-packages/gi/_gi.cpython-34m.so
#12 0xb6c756f3 in _wrap_g_callable_info_invoke () from /usr/lib/python3.4/site-packages/gi/_gi.cpython-34m.so
#13 0xb6c68de5 in _callable_info_call () from /usr/lib/python3.4/site-packages/gi/_gi.cpython-34m.so
#14 0xb757d9f5 in PyObject_Call () from /lib/libpython3.4m.so.1.0
#15 0xb763d67e in PyEval_EvalFrameEx () from /lib/libpython3.4m.so.1.0
#16 0xb7641431 in PyEval_EvalCodeEx () from /lib/libpython3.4m.so.1.0
#17 0xb764153c in PyEval_EvalCode () from /lib/libpython3.4m.so.1.0
#18 0xb765e273 in run_mod () from /lib/libpython3.4m.so.1.0
#19 0xb766078e in PyRun_FileExFlags () from /lib/libpython3.4m.so.1.0
#20 0xb76618ff in PyRun_SimpleFileExFlags () from /lib/libpython3.4m.so.1.0
#21 0xb7662848 in PyRun_AnyFileExFlags () from /lib/libpython3.4m.so.1.0
#22 0xb76790c1 in Py_Main () from /lib/libpython3.4m.so.1.0
#23 0x080488a7 in main ()
(gdb)

Comment 16 Mikhail 2014-10-31 10:47:02 UTC
(gdb) thread apply all bt

Thread 2 (Thread 0xb451bb40 (LWP 8116)):
#0  0xb7730ccc in __kernel_vsyscall ()
#1  0xb735cf9b in poll () at ../sysdeps/unix/syscall-template.S:81
#2  0xb53ab6e4 in poll (__timeout=60000, __nfds=1, __fds=0xb450aa64) at /usr/include/bits/poll2.h:46
#3  _httpWait (http=http@entry=0xb3c02978, msec=60000, usessl=usessl@entry=1) at http.c:3335
#4  0xb53abb1a in httpGets (line=line@entry=0xb450ab2c "", length=length@entry=32768, http=http@entry=0xb3c02978) at http.c:1262
#5  0xb53ac0d3 in _httpUpdate (http=http@entry=0xb3c02978, status=status@entry=0xb4512b68) at http.c:3044
#6  0xb53ac454 in httpUpdate (http=http@entry=0xb3c02978) at http.c:3237
#7  0xb53cf588 in cupsGetResponse (http=http@entry=0xb3c02978, resource=resource@entry=0xb54109c1 "/") at request.c:404
#8  0xb53d0569 in cupsDoIORequest (http=http@entry=0xb3c02978, request=request@entry=0xb3c06fc0, resource=resource@entry=0xb54109c1 "/", infile=infile@entry=-1, outfile=outfile@entry=-1) at request.c:266
#9  0xb53d0898 in cupsDoRequest (http=0xb3c02978, request=request@entry=0xb3c06fc0, resource=resource@entry=0xb54109c1 "/") at request.c:328
#10 0xb5409654 in do_getPPDs (self=0xb484c7b8, args=<optimized out>, kwds={}, all_lists=1) at cupsconnection.c:1163
#11 0xb752f109 in PyCFunction_Call (func=<built-in method getPPDs2 of cups.Connection object at remote 0xb484c7b8>, arg=(), kw={}) at /usr/src/debug/Python-3.4.1/Objects/methodobject.c:99
#12 0xb74e69f5 in PyObject_Call (func=func@entry=<built-in method getPPDs2 of cups.Connection object at remote 0xb484c7b8>, arg=arg@entry=(), kw=kw@entry={})
    at /usr/src/debug/Python-3.4.1/Objects/abstract.c:2067
#13 0xb75a14d3 in PyEval_CallObjectWithKeywords (func=func@entry=<built-in method getPPDs2 of cups.Connection object at remote 0xb484c7b8>, arg=arg@entry=(), kw=kw@entry={})
    at /usr/src/debug/Python-3.4.1/Python/ceval.c:4133
#14 0xb7504016 in methoddescr_call (descr=0xb54876e4, args=(), kwds={}) at /usr/src/debug/Python-3.4.1/Objects/descrobject.c:250
#15 0xb74e69f5 in PyObject_Call (func=func@entry=<method_descriptor at remote 0xb54876e4>, arg=arg@entry=(<cups.Connection at remote 0xb484c7b8>,), kw=kw@entry={})
    at /usr/src/debug/Python-3.4.1/Objects/abstract.c:2067
#16 0xb75a444e in ext_do_call (nk=<optimized out>, na=1, flags=<optimized out>, pp_stack=0xb451af5c, func=<method_descriptor at remote 0xb54876e4>) at /usr/src/debug/Python-3.4.1/Python/ceval.c:4580
#17 PyEval_EvalFrameEx (
    f=f@entry=Frame 0xb453121c, for file /usr/share/system-config-printer/asyncipp.py, line 142, in run (self=<_IPPConnectionThread(_destroyed=False, _encryption=-1, user='mikhail', _auth_handler=<method at remote 0xb4aabc4c>, _target=None, _kwargs={}, _ident=-1269712064, _name='Thread-1', _stderr=<_io.TextIOWrapper at remote 0xb6f187ac>, _error_handler=<method at remote 0xb4aab8cc>, port=631, _queue=<Queue(maxsize=0, queue=<collections.deque at remote 0xb4536a3c>, not_full=<Condition(release=<built-in method release of _thread.lock object at remote 0xb484cc80>, _lock=<_thread.lock at remote 0xb484cc80>, acquire=<built-in method acquire of _thread.lock object at remote 0xb484cc80>, _waiters=<collections.deque at remote 0xb45363e4>) at remote 0xb453decc>, mutex=<_thread.lock at remote 0xb484cc80>, not_empty=<Condition(release=<built-in method release of _thread.lock object at remote 0xb484cc80>, _lock=<_thread.lock at remote 0xb484cc80>, acquire=<built-in method acquire of _thread.lock object at remote 0xb484cc80>, _waiters...(truncated), 
    throwflag=throwflag@entry=0) at /usr/src/debug/Python-3.4.1/Python/ceval.c:2893
#18 0xb75a9047 in fast_function (nk=<optimized out>, na=<optimized out>, n=1, pp_stack=0xb451b038, func=<function at remote 0xb453bf14>) at /usr/src/debug/Python-3.4.1/Python/ceval.c:4353
#19 call_function (oparg=<optimized out>, pp_stack=0xb451b038) at /usr/src/debug/Python-3.4.1/Python/ceval.c:4281
#20 PyEval_EvalFrameEx (
    f=f@entry=Frame 0xb3c00474, for file /usr/lib/python3.4/threading.py, line 920, in _bootstrap_inner (self=<_IPPConnectionThread(_destroyed=False, _encryption=-1, user='mikhail', _auth_handler=<method at remote 0xb4aabc4c>, _target=None, _kwargs={}, _ident=-1269712064, _name='Thread-1', _stderr=<_io.TextIOWrapper at remote 0xb6f187ac>, _error_handler=<method at remote 0xb4aab8cc>, port=631, _queue=<Queue(maxsize=0, queue=<collections.deque at remote 0xb4536a3c>, not_full=<Condition(release=<built-in method release of _thread.lock object at remote 0xb484cc80>, _lock=<_thread.lock at remote 0xb484cc80>, acquire=<built-in method acquire of _thread.lock object at remote 0xb484cc80>, _waiters=<collections.deque at remote 0xb45363e4>) at remote 0xb453decc>, mutex=<_thread.lock at remote 0xb484cc80>, not_empty=<Condition(release=<built-in method release of _thread.lock object at remote 0xb484cc80>, _lock=<_thread.lock at remote 0xb484cc80>, acquire=<built-in method acquire of _thread.lock object at remote 0xb484cc80>, _waiters...(truncated), 
    throwflag=throwflag@entry=0) at /usr/src/debug/Python-3.4.1/Python/ceval.c:2853
#21 0xb75a9047 in fast_function (nk=<optimized out>, na=<optimized out>, n=1, pp_stack=0xb451b118, func=<function at remote 0xb6cf414c>) at /usr/src/debug/Python-3.4.1/Python/ceval.c:4353
#22 call_function (oparg=<optimized out>, pp_stack=0xb451b118) at /usr/src/debug/Python-3.4.1/Python/ceval.c:4281
#23 PyEval_EvalFrameEx (
    f=f@entry=Frame 0xb47d1784, for file /usr/lib/python3.4/threading.py, line 888, in _bootstrap (self=<_IPPConnectionThread(_destroyed=False, _encryption=-1, user='mikhail', _auth_handler=<method at remote 0xb4aabc4c>, _target=None, _kwargs={}, _ident=-1269712064, _name='Thread-1', _stderr=<_io.TextIOWrapper at remote 0xb6f187ac>, _error_handler=<method at remote 0xb4aab8cc>, port=631, _queue=<Queue(maxsize=0, queue=<collections.deque at remote 0xb4536a3c>, not_full=<Condition(release=<built-in method release of _thread.lock object at remote 0xb484cc80>, _lock=<_thread.lock at remote 0xb484cc80>, acquire=<built-in method acquire of _thread.lock object at remote 0xb484cc80>, _waiters=<collections.deque at remote 0xb45363e4>) at remote 0xb453decc>, mutex=<_thread.lock at remote 0xb484cc80>, not_empty=<Condition(release=<built-in method release of _thread.lock object at remote 0xb484cc80>, _lock=<_thread.lock at remote 0xb484cc80>, acquire=<built-in method acquire of _thread.lock object at remote 0xb484cc80>, _waiters=<coll...(truncated), 
    throwflag=throwflag@entry=0) at /usr/src/debug/Python-3.4.1/Python/ceval.c:2853
#24 0xb75aa431 in PyEval_EvalCodeEx (_co=<code at remote 0xb6d6d520>, 
    globals={'_DummyThread': <type at remote 0xb6cf53ac>, '_trace_hook': None, '_enumerate': <function at remote 0xb6cf47c4>, '_allocate_lock': <built-in method allocate_lock of module object at remote 0xb6ef2b44>, '__spec__': <ModuleSpec(_cached='/usr/lib/python3.4/__pycache__/threading.cpython-34.pyc', _initializing=False, origin='/usr/lib/python3.4/threading.py', loader=<SourceFileLoader(path='/usr/lib/python3.4/threading.py', name='threading') at remote 0xb6d5dfcc>, _set_fileattr=True, name='threading', submodule_search_locations=None, loader_state=None) at remote 0xb6d5df4c>, 'current_thread': <function at remote 0xb6cef---Type <return> to continue, or q <return> to quit---
e84>, '_time': <built-in method monotonic of module object at remote 0xb6dd389c>, '__file__': '/usr/lib/python3.4/threading.py', '_newname': <function at remote 0xb6cef1dc>, 'BoundedSemaphore': <type at remote 0xb6d6872c>, 'enumerate': <function at remote 0xb6cf480c>, '_shutdown': <function at remote 0xb6cf4854>, '_pickSomeNonDaemonThread': <function at remote 0xb6cf489c>, 'ThreadError': <type at rem...(truncated), 
    locals=locals@entry=0x0, args=args@entry=0xb47c8898, argcount=1, kws=kws@entry=0x0, kwcount=kwcount@entry=0, defs=defs@entry=0x0, defcount=defcount@entry=0, kwdefs=0x0, closure=0x0)
    at /usr/src/debug/Python-3.4.1/Python/ceval.c:3607
#25 0xb7513ea9 in function_call (func=<function at remote 0xb6cf4074>, 
    arg=(<_IPPConnectionThread(_destroyed=False, _encryption=-1, user='mikhail', _auth_handler=<method at remote 0xb4aabc4c>, _target=None, _kwargs={}, _ident=-1269712064, _name='Thread-1', _stderr=<_io.TextIOWrapper at remote 0xb6f187ac>, _error_handler=<method at remote 0xb4aab8cc>, port=631, _queue=<Queue(maxsize=0, queue=<collections.deque at remote 0xb4536a3c>, not_full=<Condition(release=<built-in method release of _thread.lock object at remote 0xb484cc80>, _lock=<_thread.lock at remote 0xb484cc80>, acquire=<built-in method acquire of _thread.lock object at remote 0xb484cc80>, _waiters=<collections.deque at remote 0xb45363e4>) at remote 0xb453decc>, mutex=<_thread.lock at remote 0xb484cc80>, not_empty=<Condition(release=<built-in method release of _thread.lock object at remote 0xb484cc80>, _lock=<_thread.lock at remote 0xb484cc80>, acquire=<built-in method acquire of _thread.lock object at remote 0xb484cc80>, _waiters=<collections.deque at remote 0xb4536aac>) at remote 0xb453deec>, unfinished_tasks=1, all_tasks...(truncated), 
    kw=0x0) at /usr/src/debug/Python-3.4.1/Objects/funcobject.c:632
#26 0xb74e69f5 in PyObject_Call (func=func@entry=<function at remote 0xb6cf4074>, 
    arg=arg@entry=(<_IPPConnectionThread(_destroyed=False, _encryption=-1, user='mikhail', _auth_handler=<method at remote 0xb4aabc4c>, _target=None, _kwargs={}, _ident=-1269712064, _name='Thread-1', _stderr=<_io.TextIOWrapper at remote 0xb6f187ac>, _error_handler=<method at remote 0xb4aab8cc>, port=631, _queue=<Queue(maxsize=0, queue=<collections.deque at remote 0xb4536a3c>, not_full=<Condition(release=<built-in method release of _thread.lock object at remote 0xb484cc80>, _lock=<_thread.lock at remote 0xb484cc80>, acquire=<built-in method acquire of _thread.lock object at remote 0xb484cc80>, _waiters=<collections.deque at remote 0xb45363e4>) at remote 0xb453decc>, mutex=<_thread.lock at remote 0xb484cc80>, not_empty=<Condition(release=<built-in method release of _thread.lock object at remote 0xb484cc80>, _lock=<_thread.lock at remote 0xb484cc80>, acquire=<built-in method acquire of _thread.lock object at remote 0xb484cc80>, _waiters=<collections.deque at remote 0xb4536aac>) at remote 0xb453deec>, unfinished_tasks=1, all_tasks...(truncated), kw=kw@entry=0x0) at /usr/src/debug/Python-3.4.1/Objects/abstract.c:2067
#27 0xb74ff52a in method_call (func=<function at remote 0xb6cf4074>, 
    arg=(<_IPPConnectionThread(_destroyed=False, _encryption=-1, user='mikhail', _auth_handler=<method at remote 0xb4aabc4c>, _target=None, _kwargs={}, _ident=-1269712064, _name='Thread-1', _stderr=<_io.TextIOWrapper at remote 0xb6f187ac>, _error_handler=<method at remote 0xb4aab8cc>, port=631, _queue=<Queue(maxsize=0, queue=<collections.deque at remote 0xb4536a3c>, not_full=<Condition(release=<built-in method release of _thread.lock object at remote 0xb484cc80>, _lock=<_thread.lock at remote 0xb484cc80>, acquire=<built-in method acquire of _thread.lock object at remote 0xb484cc80>, _waiters=<collections.deque at remote 0xb45363e4>) at remote 0xb453decc>, mutex=<_thread.lock at remote 0xb484cc80>, not_empty=<Condition(release=<built-in method release of _thread.lock object at remote 0xb484cc80>, _lock=<_thread.lock at remote 0xb484cc80>, acquire=<built-in method acquire of _thread.lock object at remote 0xb484cc80>, _waiters=<collections.deque at remote 0xb4536aac>) at remote 0xb453deec>, unfinished_tasks=1, all_tasks...(truncated), 
    kw=0x0) at /usr/src/debug/Python-3.4.1/Objects/classobject.c:347
#28 0xb74e69f5 in PyObject_Call (func=func@entry=<method at remote 0xb6eda14c>, arg=arg@entry=(), kw=kw@entry=0x0) at /usr/src/debug/Python-3.4.1/Objects/abstract.c:2067
#29 0xb75a14d3 in PyEval_CallObjectWithKeywords (func=<method at remote 0xb6eda14c>, arg=(), kw=0x0) at /usr/src/debug/Python-3.4.1/Python/ceval.c:4133
#30 0xb75e42cd in t_bootstrap (boot_raw=0x8fb74c8) at /usr/src/debug/Python-3.4.1/Modules/_threadmodule.c:999
#31 0xb7499313 in start_thread (arg=0xb451bb40) at pthread_create.c:310
#32 0xb7369c2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:122

Thread 1 (Thread 0xb726e940 (LWP 8085)):
#0  0xb7730ccc in __kernel_vsyscall ()
#1  0xb735cf9b in poll () at ../sysdeps/unix/syscall-template.S:81
#2  0xb6a3c2bc in poll (__timeout=__timeout@entry=-1, __nfds=__nfds@entry=7, __fds=__fds@entry=0x8e86910) at /usr/include/bits/poll2.h:46
#3  g_poll (fds=fds@entry=0x8e86910, nfds=nfds@entry=7, timeout=timeout@entry=-1) at gpoll.c:124
#4  0xb6a2c670 in g_main_context_poll (priority=2147483647, n_fds=7, fds=0x8e86910, timeout=-1, context=0x8e2cae8) at gmain.c:4076
#5  g_main_context_iterate (context=0x8e2cae8, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3776
#6  0xb6a2ca73 in g_main_loop_run (loop=loop@entry=0x8eab7c0) at gmain.c:3975
#7  0xb5725e3d in gtk_main () at gtkmain.c:1207
#8  0xb69dff8a in ffi_call_SYSV () at ../src/x86/sysv.S:65
#9  0xb69dfa1a in ffi_call (cif=<optimized out>, cif@entry=0x8fb7d70, fn=<optimized out>, rvalue=<optimized out>, rvalue@entry=0xbfbe5494, avalue=<optimized out>) at ../src/x86/ffi.c:382
#10 0xb6bdde3c in pygi_invoke_c_callable (function_cache=function_cache@entry=0x8fb7d30, state=state@entry=0xbfbe54f8, py_args=py_args@entry=(), py_kwargs=py_kwargs@entry=0x0) at pygi-invoke.c:628
#11 0xb6bdea44 in _function_cache_invoke_real (function_cache=0x8fb7d30, state=0xbfbe54f8, py_args=(), py_kwargs=0x0) at pygi-cache.c:714
#12 0xb6bdfa8e in pygi_function_cache_invoke (function_cache=function_cache@entry=0x8fb7d30, py_args=py_args@entry=(), py_kwargs=py_kwargs@entry=0x0) at pygi-cache.c:793
#13 0xb6bde69c in pygi_callable_info_invoke (info=0x8f9b690, py_args=py_args@entry=(), kwargs=kwargs@entry=0x0, cache=0x8fb7d30, user_data=user_data@entry=0x0) at pygi-invoke.c:671
#14 0xb6bde6f3 in _wrap_g_callable_info_invoke (self=self@entry=0xb47ce660, py_args=py_args@entry=(), kwargs=kwargs@entry=0x0) at pygi-invoke.c:708
#15 0xb6bd1de5 in _callable_info_call (self=0xb47ce660, args=(), kwargs=0x0) at pygi-info.c:568
#16 0xb74e69f5 in PyObject_Call (func=func@entry=<gi.FunctionInfo at remote 0xb47ce660>, arg=arg@entry=(), kw=kw@entry=0x0) at /usr/src/debug/Python-3.4.1/Objects/abstract.c:2067
#17 0xb75a667e in do_call (nk=<optimized out>, na=<optimized out>, pp_stack=0xbfbe56b8, func=<gi.FunctionInfo at remote 0xb47ce660>) at /usr/src/debug/Python-3.4.1/Python/ceval.c:4485
#18 call_function (oparg=<optimized out>, pp_stack=0xbfbe56b8) at /usr/src/debug/Python-3.4.1/Python/ceval.c:4283
---Type <return> to continue, or q <return> to quit---
#19 PyEval_EvalFrameEx (f=f@entry=Frame 0xb6f176ac, for file /usr/share/system-config-printer/scp-dbus-service.py, line 630, in <module> (), throwflag=throwflag@entry=0)
    at /usr/src/debug/Python-3.4.1/Python/ceval.c:2853
#20 0xb75aa431 in PyEval_EvalCodeEx (_co=_co@entry=<code at remote 0xb6e70160>, 
    globals=globals@entry={'g_killtimer': <KillTimer(_killfunc=<function at remote 0xb5cf61dc>, _holds=1, _timer=29, _timeout=30) at remote 0xb4527f6c>, 'dnssdresolve': <module at remote 0xb54873c4>, 'Gdk': <DynamicModule(_namespace='Gdk', __file__='<gi.repository.Gdk>', _overrides_module=<module at remote 0xb672d66c>, __spec__=<ModuleSpec(_cached=None, origin=None, loader=<DynamicImporter(path='gi.repository') at remote 0xb6c014cc>, _set_fileattr=False, name='gi.repository.Gdk', submodule_search_locations=None, loader_state=None) at remote 0xb6c24c2c>, __path__='/usr/lib/girepository-1.0/Gdk-3.0.typelib', _introspection_module=<IntrospectionModule(_namespace='Gdk', EventExpose=<StructMeta(__module__='gi.repository.Gdk', __info__=<StructInfo at remote 0xb66b9d88>, window=<property at remote 0xb66cab44>, __dict__=<getset_descriptor at remote 0xb66caf2c>, area=<property at remote 0xb66cafcc>, send_event=<property at remote 0xb66ce02c>, region=<property at remote 0xb66ce054>, count=<property at remote 0xb66ce07c>, __doc__=None, __gtype__...(truncated), 
    locals=locals@entry={'g_killtimer': <KillTimer(_killfunc=<function at remote 0xb5cf61dc>, _holds=1, _timer=29, _timeout=30) at remote 0xb4527f6c>, 'dnssdresolve': <module at remote 0xb54873c4>, 'Gdk': <DynamicModule(_namespace='Gdk', __file__='<gi.repository.Gdk>', _overrides_module=<module at remote 0xb672d66c>, __spec__=<ModuleSpec(_cached=None, origin=None, loader=<DynamicImporter(path='gi.repository') at remote 0xb6c014cc>, _set_fileattr=False, name='gi.repository.Gdk', submodule_search_locations=None, loader_state=None) at remote 0xb6c24c2c>, __path__='/usr/lib/girepository-1.0/Gdk-3.0.typelib', _introspection_module=<IntrospectionModule(_namespace='Gdk', EventExpose=<StructMeta(__module__='gi.repository.Gdk', __info__=<StructInfo at remote 0xb66b9d88>, window=<property at remote 0xb66cab44>, __dict__=<getset_descriptor at remote 0xb66caf2c>, area=<property at remote 0xb66cafcc>, send_event=<property at remote 0xb66ce02c>, region=<property at remote 0xb66ce054>, count=<property at remote 0xb66ce07c>, __doc__=None, __gtype__...(truncated), args=args@entry=0x0, argcount=argcount@entry=0, kws=kws@entry=0x0, kwcount=kwcount@entry=0, defs=defs@entry=0x0, defcount=defcount@entry=0, kwdefs=kwdefs@entry=0x0, closure=closure@entry=0x0)
    at /usr/src/debug/Python-3.4.1/Python/ceval.c:3607
#21 0xb75aa53c in PyEval_EvalCode (co=co@entry=<code at remote 0xb6e70160>, 
    globals=globals@entry={'g_killtimer': <KillTimer(_killfunc=<function at remote 0xb5cf61dc>, _holds=1, _timer=29, _timeout=30) at remote 0xb4527f6c>, 'dnssdresolve': <module at remote 0xb54873c4>, 'Gdk': <DynamicModule(_namespace='Gdk', __file__='<gi.repository.Gdk>', _overrides_module=<module at remote 0xb672d66c>, __spec__=<ModuleSpec(_cached=None, origin=None, loader=<DynamicImporter(path='gi.repository') at remote 0xb6c014cc>, _set_fileattr=False, name='gi.repository.Gdk', submodule_search_locations=None, loader_state=None) at remote 0xb6c24c2c>, __path__='/usr/lib/girepository-1.0/Gdk-3.0.typelib', _introspection_module=<IntrospectionModule(_namespace='Gdk', EventExpose=<StructMeta(__module__='gi.repository.Gdk', __info__=<StructInfo at remote 0xb66b9d88>, window=<property at remote 0xb66cab44>, __dict__=<getset_descriptor at remote 0xb66caf2c>, area=<property at remote 0xb66cafcc>, send_event=<property at remote 0xb66ce02c>, region=<property at remote 0xb66ce054>, count=<property at remote 0xb66ce07c>, __doc__=None, __gtype__...(truncated), 
    locals=locals@entry={'g_killtimer': <KillTimer(_killfunc=<function at remote 0xb5cf61dc>, _holds=1, _timer=29, _timeout=30) at remote 0xb4527f6c>, 'dnssdresolve': <module at remote 0xb54873c4>, 'Gdk': <DynamicModule(_namespace='Gdk', __file__='<gi.repository.Gdk>', _overrides_module=<module at remote 0xb672d66c>, __spec__=<ModuleSpec(_cached=None, origin=None, loader=<DynamicImporter(path='gi.repository') at remote 0xb6c014cc>, _set_fileattr=False, name='gi.repository.Gdk', submodule_search_locations=None, loader_state=None) at remote 0xb6c24c2c>, __path__='/usr/lib/girepository-1.0/Gdk-3.0.typelib', _introspection_module=<IntrospectionModule(_namespace='Gdk', EventExpose=<StructMeta(__module__='gi.repository.Gdk', __info__=<StructInfo at remote 0xb66b9d88>, window=<property at remote 0xb66cab44>, __dict__=<getset_descriptor at remote 0xb66caf2c>, area=<property at remote 0xb66cafcc>, send_event=<property at remote 0xb66ce02c>, region=<property at remote 0xb66ce054>, count=<property at remote 0xb66ce07c>, __doc__=None, __gtype__...(truncated)) at /usr/src/debug/Python-3.4.1/Python/ceval.c:793
#22 0xb75c7273 in run_mod (mod=<optimized out>, filename=filename@entry='/usr/share/system-config-printer/scp-dbus-service.py', 
    globals=globals@entry={'g_killtimer': <KillTimer(_killfunc=<function at remote 0xb5cf61dc>, _holds=1, _timer=29, _timeout=30) at remote 0xb4527f6c>, 'dnssdresolve': <module at remote 0xb54873c4>, 'Gdk': <DynamicModule(_namespace='Gdk', __file__='<gi.repository.Gdk>', _overrides_module=<module at remote 0xb672d66c>, __spec__=<ModuleSpec(_cached=None, origin=None, loader=<DynamicImporter(path='gi.repository') at remote 0xb6c014cc>, _set_fileattr=False, name='gi.repository.Gdk', submodule_search_locations=None, loader_state=None) at remote 0xb6c24c2c>, __path__='/usr/lib/girepository-1.0/Gdk-3.0.typelib', _introspection_module=<IntrospectionModule(_namespace='Gdk', EventExpose=<StructMeta(__module__='gi.repository.Gdk', __info__=<StructInfo at remote 0xb66b9d88>, window=<property at remote 0xb66cab44>, __dict__=<getset_descriptor at remote 0xb66caf2c>, area=<property at remote 0xb66cafcc>, send_event=<property at remote 0xb66ce02c>, region=<property at remote 0xb66ce054>, count=<property at remote 0xb66ce07c>, __doc__=None, __gtype__...(truncated), 
    locals=locals@entry={'g_killtimer': <KillTimer(_killfunc=<function at remote 0xb5cf61dc>, _holds=1, _timer=29, _timeout=30) at remote 0xb4527f6c>, 'dnssdresolve': <module at remote 0xb54873c4>, 'Gdk': <DynamicModule(_namespace='Gdk', __file__='<gi.repository.Gdk>', _overrides_module=<module at remote 0xb672d66c>, __spec__=<ModuleSpec(_cached=None, origin=None, loader=<DynamicImporter(path='gi.repository') at remote 0xb6c014cc>, _set_fileattr=False, name='gi.repository.Gdk', submodule_search_locations=None, loader_state=None) at remote 0xb6c24c2c>, __path__='/usr/lib/girepository-1.0/Gdk-3.0.typelib', _introspection_module=<IntrospectionModule(_namespace='Gdk', EventExpose=<StructMeta(__module__='gi.repository.Gdk', __info__=<StructInfo at remote 0xb66b9d88>, window=<property at remote 0xb66cab44>, __dict__=<getset_descriptor at remote 0xb66caf2c>, area=<property at remote 0xb66cafcc>, send_event=<property at remote 0xb66ce02c>, region=<property at remote 0xb66ce054>, count=<property at remote 0xb66ce07c>, __doc__=None, __gtype__...(truncated), flags=flags@entry=0xbfbe5928, arena=arena@entry=0x8d14eb8) at /usr/src/debug/Python-3.4.1/Python/pythonrun.c:2188
#23 0xb75c978e in PyRun_FileExFlags (fp=fp@entry=0x8d14d50, filename_str=filename_str@entry=0xb6f25a08 "/usr/share/system-config-printer/scp-dbus-service.py", start=start@entry=257, 
    globals=globals@entry={'g_killtimer': <KillTimer(_killfunc=<function at remote 0xb5cf61dc>, _holds=1, _timer=29, _timeout=30) at remote 0xb4527f6c>, 'dnssdresolve': <module at remote 0xb54873c4>, 'Gdk': <DynamicModule(_namespace='Gdk', __file__='<gi.repository.Gdk>', _overrides_module=<module at remote 0xb672d66c>, __spec__=<ModuleSpec(_cached=None, origin=None, loader=<DynamicImporter(path='gi.repository') at remote 0xb6c014cc>, _set_fileattr=False, name='gi.repository.Gdk', submodule_search_locations=None, loader_state=None) at remote 0xb6c24c2c>, __path__='/usr/lib/girepository-1.0/Gdk-3.0.typelib', _introspection_module=<IntrospectionModule(_namespace='Gdk', EventExpose=<StructMeta(__module__='gi.repository.Gdk', __info__=<StructInfo at remote 0xb66b9d88>, window=<property at remote 0xb66cab44>, __dict__=<getset_descriptor at remote 0xb66caf2c>, area=<property at remote 0xb66cafcc>, send_event=<property at remote 0xb66ce02c>, region=<property at remote 0xb66ce054>, count=<property at remote 0xb66ce07c>, __doc__=None, __gtype__...(truncated), 
    locals=locals@entry={'g_killtimer': <KillTimer(_killfunc=<function at remote 0xb5cf61dc>, _holds=1, _timer=29, _timeout=30) at remote 0xb4527f6c>, 'dnssdresolve': <module at remote 0xb54873c4>, 'Gdk': <DynamicModule(_namespace='Gdk', __file__='<gi.repository.Gdk>', _overrides_module=<module at remote 0xb672d66c>, __spec__=<ModuleSpec(_cached=None, origin=None, loader=<DynamicImporter(path='gi.repository') at remote---Type <return> to continue, or q <return> to quit---
 0xb6c014cc>, _set_fileattr=False, name='gi.repository.Gdk', submodule_search_locations=None, loader_state=None) at remote 0xb6c24c2c>, __path__='/usr/lib/girepository-1.0/Gdk-3.0.typelib', _introspection_module=<IntrospectionModule(_namespace='Gdk', EventExpose=<StructMeta(__module__='gi.repository.Gdk', __info__=<StructInfo at remote 0xb66b9d88>, window=<property at remote 0xb66cab44>, __dict__=<getset_descriptor at remote 0xb66caf2c>, area=<property at remote 0xb66cafcc>, send_event=<property at remote 0xb66ce02c>, region=<property at remote 0xb66ce054>, count=<property at remote 0xb66ce07c>, __doc__=None, __gtype__...(truncated), closeit=closeit@entry=1, flags=flags@entry=0xbfbe5928) at /usr/src/debug/Python-3.4.1/Python/pythonrun.c:2141
#24 0xb75ca8ff in PyRun_SimpleFileExFlags (fp=fp@entry=0x8d14d50, filename=<optimized out>, filename@entry=0xb6f25a08 "/usr/share/system-config-printer/scp-dbus-service.py", closeit=closeit@entry=1, 
    flags=flags@entry=0xbfbe5928) at /usr/src/debug/Python-3.4.1/Python/pythonrun.c:1614
#25 0xb75cb848 in PyRun_AnyFileExFlags (fp=fp@entry=0x8d14d50, filename=0xb6f25a08 "/usr/share/system-config-printer/scp-dbus-service.py", closeit=closeit@entry=1, flags=flags@entry=0xbfbe5928)
    at /usr/src/debug/Python-3.4.1/Python/pythonrun.c:1300
#26 0xb75e20c1 in run_file (p_cf=0xbfbe5928, filename=0x8cc4250 L"/usr/share/system-config-printer/scp-dbus-service.py", fp=0x8d14d50) at /usr/src/debug/Python-3.4.1/Modules/main.c:319
#27 Py_Main (argc=argc@entry=2, argv=argv@entry=0x8cc3008) at /usr/src/debug/Python-3.4.1/Modules/main.c:751
#28 0x080488a7 in main (argc=2, argv=0xbfbe5a84) at /usr/src/debug/Python-3.4.1/Modules/python.c:69
(gdb) 
(gdb) 
(gdb) 
(gdb) quit
A debugging session is active.

	Inferior 1 [process 8085] will be detached.

Quit anyway? (y or n) y
Detaching from program: /usr/bin/python3, process 8085
[mikhail@localhost ~]$

Comment 17 Tim Waugh 2014-10-31 17:45:41 UTC
(In reply to Mikhail from comment #14)
> I am reboot system and reinstall printer seems all fine here.
> scp-dbus-service.py - not stuck here. 

So it's working now?

> Do you this message?
[...]
> **** Incorrect IEEE 1284 Device ID:
> ['drv:///hp/hpcups.drv/hp-laserjet_professional_m1132_mfp.ppd',
> 'drv:///hp/hpijs.drv/hp-laserjet_professional_m1132_mfp-hpijs.ppd']
> **** Actual ID is MFG:Hewlett-Packard;MDL:HP LaserJet Professional M1132 MFP;
> **** Please report a bug against the HPLIP component

Yes. It's not related to this problem.

Comment 18 Mikhail 2014-10-31 19:00:53 UTC
(In reply to Tim Waugh from comment #17)
> So it's working now?

No, on second demonstration video when I press button "Print Test Page" pops error message "Printer 'HP-LaserJet-Professional-M1132-MFP': 'HP Device requires a proprietary binary Plug-in, run hp-plugin'."

Comment 19 Tim Waugh 2014-11-03 11:50:48 UTC
That's not a bug, it's an instruction. You need to run hp-plugin in order to install the proprietary plug-in required for that printer.

The original bug is fixed now, closing.


Note You need to log in before you can comment on or make changes to this bug.