[Gambas-user] Bug with JIT and external functions

Emil Lenngren emil.lenngren at ...626...
Mon Jun 18 21:08:00 CEST 2012


Hi. Can you please provide more information? A gdb backtrace or something,
because I get no errors at all. Everything seems to work for me ...

/Emil

2012/6/18 Jussi Lahtinen <jussi.lahtinen at ...626...>

> OK, I found it. See attachment.
>
> Jussi
>
>
>
>
> On 17 June 2012 23:36, Jussi Lahtinen <jussi.lahtinen at ...626...> wrote:
>
> > OK, that is fixed, and I cannot see any problems with compare method
> > anymore.
> >
> > But with my big project, I got this with signal 6;
> > gbx3: ExecutionEngine.cpp:165: void
> > llvm::ExecutionEngine::addGlobalMapping(const llvm::GlobalValue*, void*):
> > Assertion `(CurVal == 0 || Addr == 0) && "GlobalMapping already
> > established!"' failed.
> >
> > I'm out of time, but as soon as I have time I try to isolate code causing
> > the problem.
> >
> > Jussi
> >
> >
> >
> > On 17 June 2012 20:24, Emil Lenngren <emil.lenngren at ...626...> wrote:
> >
> >> It should be fixed in revision #4843!
> >>
> >> /Emil
> >>
> >> 2012/6/17 Jussi Lahtinen <jussi.lahtinen at ...626...>
> >>
> >> > Yes, it really works now. And I found  a lot of errors by me.
> >> >
> >> > But for some reason JIT raises compare method when it shouldn't,
> >> > and when I tried to isolate the problem I got crash (signal 11).
> >> > This seems not to be related to compare method, so just ignore name of
> >> the
> >> > attached project.
> >> > I will look it more closely when this is fixed.
> >> >
> >> > Jussi
> >> >
> >> >
> >> >
> >> >
> >> > On 17 June 2012 19:01, Emil Lenngren <emil.lenngren at ...626...> wrote:
> >> >
> >> > > Yes, it works now :)
> >> > >
> >> > > 2012/6/17 Benoît Minisini <gambas at ...1...>
> >> > >
> >> > > > Le 17/06/2012 02:54, Jussi Lahtinen a écrit :
> >> > > > > Yeah, terminal gives other position...
> >> > > > > With my actual project, I got error message; wanted string, got
> >> > > > > blaablaaClass instead.
> >> > > > > And that error message comes from function (from other module
> >> without
> >> > > > Fast)
> >> > > > > which takes two objects are parameters.
> >> > > > >
> >> > > > > So either terminal isn't showing the real stack, or there is
> >> > something
> >> > > > else
> >> > > > > wrong...
> >> > > > >
> >> > > > > But my time is up, I'll see it tomorrow (with latest revision).
> >> > > > >
> >> > > > > Jussi
> >> > > > >
> >> > > > >
> >> > > >
> >> > > > The incorrect line number problem, as reported by the debugger
> (and
> >> not
> >> > > > when you run the program normally!), should be fixed in revision
> >> #4841.
> >> > > >
> >> > > > Regards,
> >> > > >
> >> > > > --
> >> > > > Benoît Minisini
> >> > > >
> >> > > >
> >> > > >
> >> > >
> >> >
> >>
> ------------------------------------------------------------------------------
> >> > > > Live Security Virtual Conference
> >> > > > Exclusive live event will cover all the ways today's security and
> >> > > > threat landscape has changed and how IT managers can respond.
> >> > Discussions
> >> > > > will include endpoint security, mobile security and the latest in
> >> > malware
> >> > > > threats.
> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> >> > > > _______________________________________________
> >> > > > Gambas-user mailing list
> >> > > > Gambas-user at lists.sourceforge.net
> >> > > > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >> > > >
> >> > >
> >> > >
> >> >
> >>
> ------------------------------------------------------------------------------
> >> > > Live Security Virtual Conference
> >> > > Exclusive live event will cover all the ways today's security and
> >> > > threat landscape has changed and how IT managers can respond.
> >> Discussions
> >> > > will include endpoint security, mobile security and the latest in
> >> malware
> >> > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> >> > > _______________________________________________
> >> > > Gambas-user mailing list
> >> > > Gambas-user at lists.sourceforge.net
> >> > > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >> > >
> >> >
> >> >
> >> >
> >>
> ------------------------------------------------------------------------------
> >> > Live Security Virtual Conference
> >> > Exclusive live event will cover all the ways today's security and
> >> > threat landscape has changed and how IT managers can respond.
> >> Discussions
> >> > will include endpoint security, mobile security and the latest in
> >> malware
> >> > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> >> > _______________________________________________
> >> > Gambas-user mailing list
> >> > Gambas-user at lists.sourceforge.net
> >> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >> >
> >> >
> >>
> >>
> ------------------------------------------------------------------------------
> >> Live Security Virtual Conference
> >> Exclusive live event will cover all the ways today's security and
> >> threat landscape has changed and how IT managers can respond.
> Discussions
> >> will include endpoint security, mobile security and the latest in
> malware
> >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> >> _______________________________________________
> >> Gambas-user mailing list
> >> Gambas-user at lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/gambas-user
> >>
> >
> >
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>



More information about the User mailing list