Recommended application-development styles

2011-04-09 Thread Ian Wadham
What are the currently recommended application-development styles for KDE 4? When KDE 4 started there were several alternatives:- 1. Bleeding edge. Use the very latest KDE 4 as your desktop and keep it up to date, monthly maybe(?). 2. Separate user A. As for 1 (bleeding edge), but keep

Re: Floating point exception in KApplication?

2011-04-09 Thread Ian Wadham
On Sunday 10 April 2011 1:08:51 pm Michael Pyne wrote: > On Sunday, April 10, 2011 12:11:53 Ian Wadham wrote: > > It appears kdelibs from June 2010 does not like an icon-cache.kcache file > > written by KDE 4.6 release and after. When I deleted that file, the June > > KDE libs ran fine. So did th

Re: Floating point exception in KApplication?

2011-04-09 Thread Michael Pyne
On Sunday, April 10, 2011 12:11:53 Ian Wadham wrote: > It appears kdelibs from June 2010 does not like an icon-cache.kcache file > written by KDE 4.6 release and after. When I deleted that file, the June > KDE libs ran fine. So did the January KDE libs. Maybe the file-format > changed at some st

Re: Floating point exception in KApplication?

2011-04-09 Thread Ian Wadham
On Sunday 10 April 2011 9:06:47 am Michael Pyne wrote: > On Saturday, April 09, 2011 18:21:15 Michael Pyne wrote: > > On Saturday, April 09, 2011 23:34:24 Ian Wadham wrote: > > > #1 0xb6a1d2f9 in SharedMemory::totalSize (cacheSize=0, > > > effectivePageSize=0) at > > > /kde-devel/src/4.6/kdelibs/k

Re: Floating point exception in KApplication?

2011-04-09 Thread Michael Pyne
On Saturday, April 09, 2011 18:21:15 Michael Pyne wrote: > On Saturday, April 09, 2011 23:34:24 Ian Wadham wrote: > > #1 0xb6a1d2f9 in SharedMemory::totalSize (cacheSize=0, > > effectivePageSize=0) at > > /kde-devel/src/4.6/kdelibs/kdecore/util/kshareddatacache.cpp:733 #2 > > Well that's certainl

Re: Floating point exception in KApplication?

2011-04-09 Thread Michael Pyne
On Saturday, April 09, 2011 17:18:10 Thomas Lübking wrote: > Am 09.04.2011, 15:34 Uhr, schrieb Ian Wadham : > > Here is a "completer" backtrace, but remember the kdelibs source code I > > am > > using is about 3 months old. I checked the git log and kshareddatacache > > had several fixes after tha

Re: Floating point exception in KApplication?

2011-04-09 Thread Michael Pyne
On Saturday, April 09, 2011 23:34:24 Ian Wadham wrote: > #1 0xb6a1d2f9 in SharedMemory::totalSize (cacheSize=0, effectivePageSize=0) > at /kde-devel/src/4.6/kdelibs/kdecore/util/kshareddatacache.cpp:733 #2 Well that's certainly distressing to me, a cacheSize and effectivePageSize both being 0.

Re: Floating point exception in KApplication?

2011-04-09 Thread Thomas Lübking
Am 09.04.2011, 15:34 Uhr, schrieb Ian Wadham : > Here is a "completer" backtrace, but remember the kdelibs source code I > am > using is about 3 months old. I checked the git log and kshareddatacache > had several fixes after that. looks alot like bug #254741 i checked the 4.6.0 kshareddatacach

Re: Floating point exception in KApplication?

2011-04-09 Thread Ian Wadham
On Saturday 09 April 2011 6:05:54 pm Thomas Lübking wrote: > Am 09.04.2011, 08:59 Uhr, schrieb Ian Wadham : > > Tried gdb and bt after all. Application startup failed as follows: > > Program received signal SIGFPE, Arithmetic exception. > > 0xb6a1e592 in intCeil (a=0, b=0) > > at /kde-devel/sr

Re: Floating point exception in KApplication?

2011-04-09 Thread Ben Cooksley
On Sat, Apr 9, 2011 at 7:31 PM, Ian Wadham wrote: > On Saturday 09 April 2011 2:38:06 pm Ben Cooksley wrote: >> On Sat, Apr 9, 2011 at 4:01 PM, Ian Wadham wrote: >> > I would have liked to looked at revision history in WebSVN online, but >> > now KDE is in git and I can find no equivalent of webs

Re: Floating point exception in KApplication?

2011-04-09 Thread Brad Hards
On Sat, 9 Apr 2011 04:59:14 pm Ian Wadham wrote: > Urk! a and b were both zero, so it divided by zero. And T = unsigned int, > so why do I get "Floating point exception"? That is what SIGFPE usually means - "divide by zero". There are other possibilities, but that is the most common in my experi

Re: Floating point exception in KApplication?

2011-04-09 Thread Thomas Lübking
Am 09.04.2011, 08:59 Uhr, schrieb Ian Wadham : > Tried gdb and bt after all. Application startup failed as follows: > Program received signal SIGFPE, Arithmetic exception. > 0xb6a1e592 in intCeil (a=0, b=0) > at /kde-devel/src/4.6/kdelibs/kdecore/util/kshareddatacache.cpp:161 > 161 re

Re: Floating point exception in KApplication?

2011-04-09 Thread Ian Wadham
On Saturday 09 April 2011 2:38:06 pm Ben Cooksley wrote: > On Sat, Apr 9, 2011 at 4:01 PM, Ian Wadham wrote: > > I would have liked to looked at revision history in WebSVN online, but > > now KDE is in git and I can find no equivalent of websvn. I looked at > > http://techbase.kde.org/Development

Re: Floating point exception in KApplication?

2011-04-09 Thread Ian Wadham
On Saturday 09 April 2011 5:02:43 am Thomas Lübking wrote: > Apparently the KApplication constructor makes some bad call and i'd bet > it's phonon related (conflicting libs linked from KDE and Qt or whatever?) > To know fo sure you should maybe fall back to good old gdb, run your > little crasher a