[Kde-java] Signal 4 crashes

Paul Sprakes pauls at sprakes.co.uk
Sat Mar 27 15:23:50 CET 2004


On Wednesday 24 Mar 2004 16:45, Richard Dale wrote:
> On Tuesday 23 March 2004 22:34, Paul Sprakes wrote:
> > On Thursday 18 Mar 2004 19:45, Richard Dale wrote:
> > > On Thursday 18 March 2004 18:51, Paul Sprakes wrote:
> > > > Every so often I get a signal 4 crash from my kde-java application. I
> > > > can't figure out the cause as it seems fairly random. Anyone have any
> > > > ideas?
> > > >
> > > > This is the console ouput:
> > > >
> > > > KCrash: crashing... crashRecursionCounter = 2
> > > > KCrash: Application Name = java [interpreter-options] <main class>
> > > > path = <unknown> pid = 17770
> > >
> > > Oh dear! Could you post the source so I can reproduce the problem?
> > > Perhaps it's a programming error, or maybe not..
> >
> > Thanks for the offer, but I believe it was because I was using java
> > threads which updated the ui. If I don't use threads it doesn't crash
> > (but the ui locks up :-( ) I'm looking into kio now.
>
> Ah ok - I wondered what it was - even in C++ only apps the Qt lib isn't
> thread safe for the GUI part.
>
> I'll be interested in how you get on with kio, as I'm not sure anyone's
> tried to anything yet in java.

So far it seems KIO is a no go. I can't get access to the UDSEntrlyList stuff 
as it doesn't seem to have the bindings. Do you know if these will become 
available with the smoke bindings?

The good news is that the java bindings have helped me pick up kde c++ 
programming pretty quickly. I now have a native c++ version of my app working 
with KIO.

Cheers, Paul.


> -- Richard
> _______________________________________________
> Kde-java mailing list
> Kde-java at kde.org
> https://mail.kde.org/mailman/listinfo/kde-java


More information about the Kde-java mailing list