[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    KLocale problem/segfault in kcontrol/Desktop/Language
From:       Malte Starostik <starosti () zedat ! fu-berlin ! de>
Date:       2000-04-03 1:35:05
[Download RAW message or body]

Hi!

I just tried to open Desktop/Language in kcontrol with the result of a
nice coredump:
#0  0x40a3f897 in strlen (str=0x0) at ../sysdeps/i386/strlen.c:27
#1  0x40209e8a in k_dcgettext (domainname=0x81411c0 "kcmlocale",
    msgid=0x40b2cd18 "without name", categoryvalue=0x0) at
libintl.cpp:626
#2  0x4022eb04 in KLocale::translate (this=0x8102220,
    msgid=0x40b2cd18 "without name") at klocale.cpp:452
#3  0x40b21ef5 in KLocaleConfig::loadLocaleList (this=0x80fd1b0,
    combo=0x81223d0, sub=@0x806d020, first=@0xbfffee00) at
locale.cpp:162
#4  0x40b22587 in KLocaleConfig::load (this=0x80fd1b0) at locale.cpp:200

#5  0x40b205e4 in KLocaleApplication::load (this=0x81216c0) at
toplevel.cpp:91
#6  0x40b2054a in KLocaleApplication::KLocaleApplication
(this=0x81216c0,
    parent=0x0, name=0x8069bdc "") at toplevel.cpp:80
#7  0x40b1feff in create_locale (parent=0x0, name=0x8069bdc "") at
main.cpp:26
#8  0x8061b82 in ModuleLoader::module (mod=@0x80b8258) at
modloader.cpp:59
#9  0x80605fc in ConfigModule::module (this=0x80b8258) at modules.cpp:52

#10 0x8062235 in DockContainer::dockModule (this=0x80e6b08,
module=0x80b8258)
    at dockcontainer.cpp:78
#11 0x805d7c3 in TopLevel::moduleActivated (this=0x806e510,
module=0x80b8258)
    at toplevel.cpp:253
#12 0x805dee3 in IndexWidget::moduleActivated (this=0x80c6ae8,
t0=0x80b8258)
    at indexwidget.moc:120
#13 0x805e11a in IndexWidget::moduleSelected (this=0x80c6ae8,
m=0x80b8258)
    at indexwidget.cpp:73
[snip]

Obviously the problem is the NULL categoryvalue passed to strlen, but I
can't figure out where it comes from. So KLocale successfully keeps
itself from being configured :)
Hope it helps,
-Malte

--
Gemäß $28 BDSG widerspreche ich unter Strafandrohung der
Speicherung/Nutzung meiner Daten zu kommerziellen Zwecken.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic