From kde-devel Sun Dec 26 03:58:15 2004 From: Michael Pyne Date: Sun, 26 Dec 2004 03:58:15 +0000 To: kde-devel Subject: Re: Help debugging SIGBUS for 3.3.2 on Solaris Message-Id: <200412252258.15854.pynm0001 () unf ! edu> X-MARC-Message: https://marc.info/?l=kde-devel&m=110403362130824 On Friday 24 December 2004 07:29 pm, Albert Chin wrote: > > http://gcc.gnu.org/PR19144. However, I think it's currently debatable > > if it indeed is a gcc bug. Something odd is going on though. > > Turns out this is a kde bug. kurlcompletion.cpp assumes struct dirent > contains enough space for the filename. On Solaris and IRIX, that's > not the case. Good catch, although I find it highly suspect on the part of the system library authors for those platforms that they would defined struct dirent such that it still can't be used with readdir_r(). Especially since (at least on my man page), struct dirent is what is supposed to be passed as the second parameter to readdir_r, which then initializes it. But whatever, even if it isn't a KDE bug, we can work around it. Please continue this at bug 95830 (http://bugs.kde.org/show_bug.cgi?id=95830), as I'm working on a potential patch. Regards, - Michael Pyne >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<