Bug 91185 - URL completion for files results in bus error
Summary: URL completion for files results in bus error
Status: RESOLVED NOT A BUG
Alias: None
Product: kio
Classification: Unmaintained
Component: kfile (other bugs)
Version First Reported In: unspecified
Platform: unspecified Solaris
: NOR crash
Target Milestone: ---
Assignee: Carsten Pfeiffer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-12 15:41 UTC by Devendra Deshpande
Modified: 2006-12-17 18:16 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Devendra Deshpande 2004-10-12 15:41:36 UTC
Version:           unknown (using KDE 3.3.0, compiled sources)
Compiler:          gcc version 3.2.3
OS:                SunOS (sun4u) release 5.8

In any KDE application that provides the file browser, the
moment I start typing into the location text field, the app
dies with a bus error trying to complete the file name.

Please note that completion works fine in konqueror for web
addresses. It is only the file completion that is problematic.

Here's the stack trace:

Program received signal SIGSEGV, Segmentation fault.
0xfde3f64c in QString::length() const (this=0xfd20bc88)
    at ../include/qstring.h:880
880     { return d->len; }
Current language:  auto; currently c++
(gdb) where
#0  0xfde3f64c in QString::length() const (this=0xfd20bc88)
    at ../include/qstring.h:880
#1  0xfe3417fc in QTextCodec::fromUnicode(QString const&) const (this=0x54890,ยท
    uc=@0xfd20bc88) at codecs/qtextcodec.cpp:996
#2  0xfe3148d4 in QString::local8Bit() const (this=0xfd20bc88)
    at tools/qstring.cpp:5861
#3  0xfe2d6c34 in locale_encoder(QString const&) (fileName=@0xfd20bc88)
    at tools/qfile.cpp:559
#4  0xfe2d6c80 in QFile::encodeName(QString const&) (fileName=@0xfd20bc88)
    at tools/qfile.cpp:589
#5  0xfe2b85e8 in QDir::setCurrent(QString const&) (path=@0xfd20bc88)
    at tools/qdir_unix.cpp:137
#6  0xff058438 in DirectoryListThread::run() ()
   from /usr/local/KDE/lib/libkio.so.4
#7  0xfdebfb54 in QThreadInstance::start(void*) (_arg=0x2758d4)
    at kernel/qthread_unix.cpp:119

Any clue as to what I am doing wrong?

Thanks,
Devendra
Comment 1 Stephan Kulow 2004-10-12 16:19:27 UTC
No idea. Works for me though.
Comment 2 Martin Koller 2006-12-17 18:16:50 UTC
No response; closing