RFC: ABI break
Aurelien Jarno
aurelien at aurel32.net
Sat Dec 31 11:18:29 UTC 2005
On Sat, Dec 31, 2005 at 11:22:06AM +0100, Aurelien Jarno wrote:
> Here is a backtrace with gdb:
>
> Starting program: /usr/bin/esvn
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x2874cab2 in QFileInfo::setFile(QDir const&, QString const&) (
> this=0xbfbfd2f0, d=@0x0, fileName=@0xbfbfd2e8) at tools/qfileinfo.cpp:335
> 335 fn = d.filePath( fileName );
> Current language: auto; currently c++
> (gdb) bt
> #0 0x2874cab2 in QFileInfo::setFile(QDir const&, QString const&) (
> this=0xbfbfd2f0, d=@0x0, fileName=@0xbfbfd2e8) at tools/qfileinfo.cpp:335
> #1 0x2873468d in QDir::readDirEntries(QString const&, int, int) (this=0x0,
> nameFilter=@0x0, filterSpec=0, sortSpec=0) at tools/qdir_unix.cpp:222
> (gdb)
>
> Unfortunately I don't have a lot of time today to have a look, I'll have a
> look tomorrow afternoon.
>
Some more information:
I have added some debug printf() in Qt:
printf("this = %p\n", this);
readdir_r(dir, &u.mt_file, &file);
printf("this = %p\n", this);
the this pointer becomes null after the call to readdir_r. We have a
problem in the libc function.
Bye,
Aurelien
--
.''`. Aurelien Jarno | GPG: 1024D/F1BCDB73
: :' : Debian developer | Electrical Engineer
`. `' aurel32 at debian.org | aurelien at aurel32.net
`- people.debian.org/~aurel32 | www.aurel32.net
More information about the Glibc-bsd-devel
mailing list