[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: More KLocale/KCmdLineArgs breakage
From: Stephan Kulow <coolo () kde ! org>
Date: 2000-01-27 13:01:44
[Download RAW message or body]
David Faure wrote:
>
> Try this :
> myfavouriteapp --help
>
> Bingo. core dump.
>
> (gdb) bt
> #0 0x405789a7 in QObject::name ()
> from /mnt/devel/kde/kde2/qt-copy/lib/libqt.so.2
> #1 0x402e9c2b in KLocale::KLocale () from /opt/kde2/lib/libkdecore.so.3
> #2 0x402eea3a in KLocale::initInstance () from /opt/kde2/lib/libkdecore.so.3
> #3 0x403110a6 in KGlobal::locale () from /opt/kde2/lib/libkdecore.so.3
> #4 0x402ee9a8 in i18n () from /opt/kde2/lib/libkdecore.so.3
> #5 0x4031f6c0 in KCmdLineArgs::usage () from /opt/kde2/lib/libkdecore.so.3
> #6 0x4031efa0 in KCmdLineArgs::parseAllArgs ()
> from /opt/kde2/lib/libkdecore.so.3
> #7 0x4031e7e8 in KCmdLineArgs::parsedArgs ()
> from /opt/kde2/lib/libkdecore.so.3
> #8 0x4031f43c in KCmdLineArgs::qt_argv () from /opt/kde2/lib/libkdecore.so.3
> #9 0x402dd48d in KApplication::KApplication ()
> from /opt/kde2/lib/libkdecore.so.3
> #10 0x8056deb in QCollection::newItem ()
> #11 0x40a04913 in __libc_start_main (
> main=0x8056d64 <QCollection::newItem(void *)+832>, argc=2,
> argv=0xbffff804, init=0x8053d24 <_init>, fini=0x807275c <_fini>,
> rtld_fini=0x4000bb30 <_dl_fini>, stack_end=0xbffff7fc)
> at ../sysdeps/generic/libc-start.c:90
>
BTW: you have libc compiled with debug, but not kdelibs? Why is
libc_start_main
called with something QCollection? This looks strange to me.
What is strange, is that the i18n in usage() calls initInstance. This
should
have been done by a enable_i18n before. I can see a enable_i18n in
usage(char*),
but not in usage(QString) - but --help calls usage(0) - should be
usage(char*).
Greetings, Stephan
--
It said Windows 95 or better, so in theory Linux should run it
GeorgeH on /.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic