Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 89995 - hal-device-manager assertion failed: (kwdict != NULL)
Summary: hal-device-manager assertion failed: (kwdict != NULL)
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: Lowest minor
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-21 19:17 UTC by chengqiang
Modified: 2005-07-21 04:38 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description chengqiang 2005-04-21 19:17:10 UTC
I emerged gnome-volumn-manager and hal-device-manager.
when I try to run hal-device-manager, it report:

** ERROR **: file pyorbit-utils.c: line 40 (_pyorbit_escape_name): assertion failed: (kwdict != NULL)
aborting...
Aborted

My desktop use:
dev-python/pygtk-2.4.1
dev-python/pyrex-0.9.3-r1
sys-apps/dbus-0.23-r3
sys-libs/libcap-1.10-r5
sys-apps/hal-0.4.5-r2
gnome-base/gnome-volume-manager-1.0.2-r1
gnome-extra/hal-device-manager-0.2.98




Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 chengqiang 2005-04-23 07:28:08 UTC
This bug make hal-device-manager not start up at all, so I think the severity should not be set to minor.

I traced into the script of hal-device-manager, the problem is caused by 'import gnome.ui' in DeviceManager.

This cause python interpreter abort with the assertion.

(gdb) r
Starting program: /usr/bin/python
[Thread debugging using libthread_db enabled]
[New Thread -1211430688 (LWP 24034)]
Python 2.4 (#1, Mar 16 2005, 16:29:43)
[GCC 3.3.5  (Gentoo Linux 3.3.5-r1, ssp-3.3.2-3, pie-8.7.7.1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import gnome.ui

** ERROR **: file pyorbit-utils.c: line 40 (_pyorbit_escape_name): assertion failed: (kwdict != NULL)
aborting...

Program received signal SIGABRT, Aborted.
[Switching to Thread -1211430688 (LWP 24034)]
0xffffe410 in ?? ()
(gdb) bt
#0  0xffffe410 in ?? ()
#1  0xbfffc23c in ?? ()
#2  0x00000006 in ?? ()
#3  0x00005de2 in ?? ()
#4  0xb7cd9541 in raise () from /lib/tls/libc.so.6
#5  0xb7cdad27 in abort () from /lib/tls/libc.so.6
#6  0xb7b346b6 in g_logv () from /usr/lib/libglib-2.0.so.0
#7  0xb7b346e6 in g_log () from /usr/lib/libglib-2.0.so.0
#8  0xb7b347d9 in g_assert_warning () from /usr/lib/libglib-2.0.so.0
#9  0xb7040023 in _pyorbit_escape_name (name=0xb7041c30 "kwdict != NULL") at pyorbit-utils.c:47
#10 0xb704044b in _pyorbit_get_container (repo_id=0xb79caeb4 "CORBA/completion_status:1.0", is_poa=0)
    at pyorbit-utils.c:123
#11 0xb703e0b8 in generate_enum_stub (tc=0xb79d3ca0) at stub-gen.c:219
#12 0xb703e20b in pyorbit_generate_typecode_stubs (tc=0xb79d3ca0) at stub-gen.c:268
#13 0xb70372e8 in register_corba_types () at ORBitmodule.c:275
#14 0xb7037b87 in initORBit () at ORBitmodule.c:452
#15 0xb7f73ff0 in _PyImport_LoadDynamicModule () from /usr/lib/libpython2.4.so.1.0
#16 0xb7f71c13 in load_module () from /usr/lib/libpython2.4.so.1.0
#17 0xb7f72be7 in import_submodule () from /usr/lib/libpython2.4.so.1.0
#18 0xb7f726c4 in load_next () from /usr/lib/libpython2.4.so.1.0
#19 0xb7f721e3 in import_module_ex () from /usr/lib/libpython2.4.so.1.0
#20 0xb7fb4c28 in _Py_abstract_hack () from /usr/lib/libpython2.4.so.1.0
#21 0xbfffd2a0 in ?? ()
#22 0xbfffce70 in ?? ()
#23 0xbfffce6c in ?? ()
#24 0x0000006b in ?? ()
#25 0xbfffce80 in ?? ()
#26 0xb7fad9f4 in ?? () from /usr/lib/libpython2.4.so.1.0
#27 0xbfffce6c in ?? ()
#28 0xbfffce70 in ?? ()
#29 0xb7c703a4 in ?? ()
#30 0x0000000c in ?? ()
#31 0x6f6e6f62 in ?? ()
#32 0x4f2e6f62 in ?? ()
#33 0x74694252 in ?? ()
#34 0xbf007400 in ?? ()
#35 0x6e6f625f in ?? ()
#36 0x006f626f in ?? ()
#37 0xbfffced8 in ?? ()
#38 0xb7f210f1 in lookdict () from /usr/lib/libpython2.4.so.1.0
Previous frame inner to this frame (corrupt stack?)
(gdb)
Comment 2 foser (RETIRED) gentoo-dev 2005-04-23 11:58:49 UTC
We decide what the severity is to us, h-d-m is a dev tool so not of much consequence. Your problem is not with hdm anyway i bet, but with python modules & maybe you not (re)compiling them right.
Comment 3 chengqiang 2005-04-24 18:35:18 UTC
it works with version of gnome-python-2.6.1 and pyorbit-2.0.1
both are ~x86 masked.
Comment 4 John N. Laliberte (RETIRED) gentoo-dev 2005-07-17 07:12:49 UTC
reporter: do you still have these problems? the versions you mention are stable now.
Comment 5 chengqiang 2005-07-19 20:44:10 UTC
it works fine with these versions :)
Comment 6 foser (RETIRED) gentoo-dev 2005-07-21 04:38:20 UTC
closing