Bug 742917 - cups-pk-helper-mechanism segfault with GetDevices
Summary: cups-pk-helper-mechanism segfault with GetDevices
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: cups-pk-helper
Version: 16
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Marek Kašík
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-03 11:37 UTC by Tim Waugh
Modified: 2013-02-13 19:00 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-02-13 19:00:53 UTC
Type: ---


Attachments (Terms of Use)

Description Tim Waugh 2011-10-03 11:37:16 UTC
Description of problem:
The mechanism can segfault with a particular invocation of GetDevices.

Version-Release number of selected component (if applicable):
cups-pk-helper-0.1.3-2.fc16.x86_64

How reproducible:
100%

Steps to Reproduce:
1.python -c 'import time,cupspk; c=cupspk.Connection("localhost",631,0);c.getDevices(include_schemes=["/dev/null"])'
  
Actual results:
cups-pk-helper-mechanism crashes here:

#0  g_hash_table_foreach (hash_table=0x0, 
    func=0x320cc1b0e0 <hashtable_foreach_with_values>, 
    user_data=0x7fff34388860) at ghash.c:1407
#1  0x000000320cc1b54e in hashtable_iterator (hash_type=28937520, 
    instance=0x0, iterator=0x320cc17460 <marshal_map_entry>, 
    user_data=0x7fff34388900) at dbus-gvalue-utils.c:608
#2  0x000000320cc16752 in marshal_map (iter=0x7fff34388960, 
    value=0x7fff343889f0) at dbus-gvalue.c:1701
#3  0x000000320cc0f3f6 in dbus_g_method_return (context=0x1ba8bd0)
    at dbus-gobject.c:2946
#4  0x0000000000406d5f in dbus_glib_marshal_cph_mechanism_VOID__INT_INT_BOXED_BOXED_POINTER (closure=0x7fff34388c50, return_value=<optimized out>, 
    n_param_values=<optimized out>, param_values=0x1ba8750, 
    invocation_hint=<optimized out>, marshal_data=<optimized out>)
    at cups-pk-helper-mechanism-glue.h:474
#5  0x000000320cc0e0f2 in invoke_object_method (message=0x1b7c7c0, 
    connection=0x1b7c2d0, method=0x40adc0, object_info=0x40a8a0, 
    object=0x1b82800) at dbus-gobject.c:1720
#6  object_registration_message (connection=0x1b7c2d0, message=0x1b7c7c0, 
    user_data=<optimized out>) at dbus-gobject.c:1940
#7  0x00000039b901d9a1 in _dbus_object_tree_dispatch_and_unlock (
    tree=0x1b7bf80, message=0x1b7c7c0) at dbus-object-tree.c:858
#8  0x00000039b900f930 in dbus_connection_dispatch (connection=0x1b7c2d0)
---Type <return> to continue, or q <return> to quit---
    at dbus-connection.c:4685
#9  0x000000320cc0aad5 in message_queue_dispatch (source=<optimized out>, 
    callback=<optimized out>, user_data=<optimized out>) at dbus-gmain.c:101
#10 0x000000320b844a4d in g_main_dispatch (context=0x1b7f130) at gmain.c:2441
#11 g_main_context_dispatch (context=0x1b7f130) at gmain.c:3011
#12 0x000000320b845248 in g_main_context_iterate (context=0x1b7f130, 
    block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3089
#13 0x000000320b845795 in g_main_loop_run (loop=0x1b90ca0) at gmain.c:3297
#14 0x0000000000402781 in main (argc=<optimized out>, argv=<optimized out>)
    at main.c:141

Comment 1 Fedora End Of Life 2013-01-16 15:52:53 UTC
This message is a reminder that Fedora 16 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 16. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '16'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 16's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 16 is end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" and open it against that version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 2 Fedora End Of Life 2013-02-13 19:00:57 UTC
Fedora 16 changed to end-of-life (EOL) status on 2013-02-12. Fedora 16 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.


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