Hi!
On Mon, Aug 16, 2010 at 08:55:06AM +0530, Raj Mathur wrote:
> skim crashes on startup. The actual errors are:
>
> r...@mail:~$ skim -c kconfig
> kbuildsycoca running...
> DCOP Cleaning up dead connections.
> KCrash: Application 'skim' crashing...
> Could not find 'drkonqi' executable.
> KCrash cannot reach kdeinit, launching directly.
>
> Strace shows this (just around the crash, invoked with skim -c kconfig):
>
> poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
> writev(3,
> [{"\22\0\t\0\1\0\340\3v\1\0\0\37\0\0\0\10\2\231\1\v\0\0\0en_IN.UT"..., 2768},
> {"XFIXES", 6}, {"\0\0", 2}], 3) = 2776
> poll([{fd=3, events=POLLIN}], 1, -1) = 1 ([{fd=3, revents=POLLIN}])
> read(3,
> "\1\0\234\0\0\0\0\0\1\222b\232\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0",
> 4096) = 32
> read(3, 0x8857a28, 4096) = -1 EAGAIN (Resource temporarily
> unavailable)
> poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
> writev(3, [{"\222\0\3\0\4\0\0\0\0\0\0\0", 12}, {NULL, 0}, {"", 0}], 3) = 12
> poll([{fd=3, events=POLLIN}], 1, -1) = 1 ([{fd=3, revents=POLLIN}])
> read(3, "\1\0\235\0\0\0\0\0\4\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0",
> 4096) = 32
> read(3, 0x8857a28, 4096) = -1 EAGAIN (Resource temporarily
> unavailable)
> ioctl(5, FIONREAD, [1]) = 0
> ioctl(5, FIONREAD, [1]) = 0
> rt_sigaction(SIGTERM, {0x8049ab0, [TERM], SA_RESTART}, {SIG_DFL, [], 0}, 8) = > 0
> rt_sigaction(SIGINT, {0x8049ab0, [INT], SA_RESTART}, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGHUP, {0x8049ab0, [HUP], SA_RESTART}, {SIG_DFL, [], 0}, 8) = 0
> ioctl(5, FIONREAD, [1]) = 0
> open("/usr/lib/scim-1.0/1.4.0/Config/kconfig.la", O_RDONLY) = 10
> fstat64(10, {st_mode=S_IFREG|0644, st_size=292, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
> 0xb5b7a000
> read(10, "# Generated by ltmain.sh - GNU l"..., 4096) = 292
> read(10, "", 4096) = 0
> close(10) = 0
> munmap(0xb5b7a000, 4096) = 0
> open("/usr/lib/gconv/gconv-modules.cache", O_RDONLY) = 10
> fstat64(10, {st_mode=S_IFREG|0644, st_size=26048, ...}) = 0
> mmap2(NULL, 26048, PROT_READ, MAP_SHARED, 10, 0) = 0xb5b74000
> close(10) = 0
> futex(0xb6671a6c, FUTEX_WAKE_PRIVATE, 2147483647) = 0
> --- SIGSEGV (Segmentation fault) @ 0 (0) ---
>
> scim -c simple (or kconfig) doesn't crash, but it hangs the desktop and
> only a ctrl-alt-backspace works.
I can reproduce this bug.
The gdb backtrace reveals this:
(gdb) backtrace full
#0 0x00007ffff4c50843 in ?? () from /usr/lib/libltdl.so.7
No symbol table info available.
#1 0x00007ffff4c51248 in ?? () from /usr/lib/libltdl.so.7
No symbol table info available.
#2 0x00007ffff4c51af8 in lt_dlopenadvise () from /usr/lib/libltdl.so.7
No symbol table info available.
#3 0x00007ffff7b6b8ed in scim::Module::load(std::string const&, std::string
const&) () from /usr/lib/libscim-1.0.so.8
No symbol table info available.
#4 0x00007ffff7b47d55 in scim::ConfigModule::load(std::string const&) () from
/usr/lib/libscim-1.0.so.8
No symbol table info available.
#5 0x00007ffff7b47fb4 in scim::ConfigModule::ConfigModule(std::string const&)
() from /usr/lib/libscim-1.0.so.8
No symbol table info available.
#6 0x00007ffff5bd3f54 in
scim::SocketServerThread::SocketServerThread(QObject*, QStringList&) () from
/usr/lib/libskim.so.0
No symbol table info available.
#7 0x00007ffff5bd89e6 in SkimPluginManager::SkimPluginManager(QStringList,
QStringList, QStringList, QObject*, char const*) () from /usr/lib/libskim.so.0
No symbol table info available.
#8 0x0000000000403a89 in main (argc=1, argv=0x7fffffffdec8) at src/main.cpp:147
fake_arg1 = 0x40516a "--noxim"
fake_argv = {0x7fffffffe1e6 "skim", 0x40516b "-noxim", 0x0, 0x0, 0x0,
0x0, 0x0, 0x0, 0x0, 0x0}
p = <incomplete type>
np = <incomplete type>
enabledPlugins = {<QValueList<QString>> = {sh = 0x6196b0}, <No data
fields>}
disabledPlugins = {<QValueList<QString>> = {sh = 0x6199b0}, <No data
fields>}
kAppMainThread = 0x619a30
curarg = {static null = {static null = <same as static member of an
already seen type>, d = 0x60b400, static shared_null = 0x60b400}, d = 0x60b400,
static shared_null = 0x60b400}
verbose_level = 0
about = {mAppName = 0x404f29 "skim", mProgramName = 0x404f24 "SKIM",
mVersion = 0x404f00 "1.4.5 (compiled with libscim 1.4.9)", mShortDescription =
0x405260 "KDE Frontend for SCIM Input Method Platform", mLicenseKey = 1,
mCopyrightStatement = 0x404fba "(C) 2004 - 2006 LiuCougar",
mOtherText = 0x404f60 "IRC:\nserver: irc.freenode.net / channel:
#scim\n\nFeedback:\[email protected]", mHomepageAddress =
0x404f42 "http://www.scim-im.org",
mBugEmailAddress = 0x404f2e "[email protected]", mAuthorList = {sh
= 0x617ff0}, mCreditList = {sh = 0x618050}, mLicenseText = 0x0, d = 0x6180b0}
otherArgs = {<QValueList<QString>> = {sh = 0x618480}, <No data fields>}
args = 0x619630
verbose_raw = {static null = {static null = <same as static member of
an already seen type>, d = 0x60b400, static shared_null = 0x60b400}, d =
0x6198c0, static shared_null = 0x60b400}
My next step would be to rebuild some libraries (libltdl7, libscim)
without stripping them and trying it out, when I have the time.
Thanks.
Kumar
--
Problem solving under Linux has never been the circus that it is under
AIX.
-- Pete Ehlke in comp.unix.aix
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]