kde-4.0.4 segfaults on netbsd sparc

Matthew Woehlke mw_triad at users.sourceforge.net
Sat Jun 7 02:06:22 BST 2008


raymond.meyer at rambler.ru wrote:
> I can't start kde on netbsd sparc machine, because kdelibs contains sloppy 
> code that causes segfault. It terminates with "Bus error" which indicates 
> unaligned memory access. Below is the backtrace.
> 
> The problem is with kdelibs-4.0.4/kdeui/icons/kpixmapcache.cpp. On line 159 it 
> has
> 
> *mSize = *((quint32*)(mMemory + mSizeEntryOffset));
> 
> So looks like a pointer to char is cast to a pointer to some form of uint32_t 
> and then dereferenced. Can anyone suggest a proper fix?

For the sake of follow-up, I think this is fixed now? It seems to have 
gotten lumped into http://bugs.kde.org/show_bug.cgi?id=160284.

-- 
Matthew
Somewhere, there is a .sig so funny that reading it will cause an 
aneurysm. I haven't found it yet, but I think I met a few of the runners-up.

___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.




More information about the kde mailing list