Problems with querybypoint and shapelib

Frederico Lucca fredlucca at GMAIL.COM
Tue Jun 6 11:42:15 EDT 2006


Hello Humberto,

I'm still having problems with my application.
I suspect that the problem is the method where I call queryByPoint(), but I
don't know why.
What about that problem with delete(), I remember that you and others have
talked about.
Can you give me some light?

Best regards,

Fred

On 6/2/06, Umberto Nicoletti < umberto.nicoletti at gmail.com> wrote:
>
> On 6/1/06, Frederico Lucca < fredlucca at gmail.com> wrote:
> > Umberto,
> >
> > Yes, I build using --with-threads --with-ogr --with-proj
> > Now i will try to make the interface with a newer version of swig.
> > I have read your article and I will try to follow him step by step.
> >
> > Another question, I still need to syncronize my code?
>
> The answer should be no, but that depends on what components you use.
> Oracle spatial or cartoline DOES require synchronized becaus it is not
> thread safe. OGR and PROJ are safe (if I recall correctly).
>
> Umberto
> >
> > Thanks,
> >
> > Fred
> >
> >
> > On 6/1/06, Umberto Nicoletti < umberto.nicoletti at gmail.com> wrote:
> > > How did you compile mapserver and java mapscript (give the configure
> > > arguments exactly)? Did you use the -use-threads argument?
> > >
> > > Have you read the docs on mapserver web site (search for java):
> > > http://mapserver.gis.umn.edu/docs/howto/javamapscript ?
> > >
> > > Regards,
> > > Umberto
> > >
> > >
> > >
> > > On 6/1/06, Frederico Lucca <fredlucca at gmail.com> wrote:
> > > > Hello list,
> > > >
> > > > After a couple of request at same time my Tomcat broke with this
> error:
> > > >
> > > > # Java VM: Java HotSpot(TM) Server VM (
> > > > 1.5.0_06-b05 mixed mode)
> > > >
> > > > # Problematic frame:
> > > > # C [libc.so.6+0x6c91c] mempcpy+0x1c
> > > > #
> > > >
> > > > --------------- T H R E A D ---------------
> > > >
> > > > Current thread (0x6d049348): JavaThread "http-8080-Processor23"
> daemon
> > > > [_thread_in_native, id=11434]
> > > >
> > > >
> > > > siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x00000000
> > > >
> > > > Stack: [0x6c06d000,0x6c0ee000), sp=0x6c0ebad4, free space=506k
> > > > Native frames: (J=compiled Java code, j=interpreted, Vv=VM code,
> > C=native
> > > > code)
> > > >
> > > > C [libc.so.6+0x6c91c] mempcpy+0x1c
> > > > C [libc.so.6+0x60b08 ] _IO_sgetn+0x28
> > > > C [libc.so.6+0x5548e] _IO_fread+0x8e
> > > > C [libmapscript.so+0x6b968] msSHPOpen+0x478
> > > > C [libmapscript.so+0x6bba5] msSHPOpenFile+0x55
> > > >
> > > > C [ libmapscript.so+0x6bdce ] msShapeFileLayerOpen+0x8e
> > > > C [libmapscript.so+0x95341] msLayerOpen+0x61
> > > > C [libmapscript.so+0x86362] msQueryByPoint+0x172
> > > > C [libmapscript.so+0x57f4d ] layerObj_queryByPoint+0x4d
> > > >
> > > > C [libmapscript.so+0x57fc1 ]
> > > >
> > Java_edu_umn_gis_mapscript_mapscriptJNI_layerObj_1queryByPoint+0x61
> > > > j
> > > >
> > edu.umn.gis.mapscript.mapscriptJNI.layerObj_queryByPoint(JJJID)I+0
> > > >
> > > > --------------- S Y S T E M ---------------
> > > >
> > > >
> > > > OS:Mandriva Linux release 2007.0 (Cooker) for i586
> > > >
> > > > uname:Linux 2.6.16-1mdksmp #1 SMP Fri May 19 19:16:59 CEST 2006 i686
> > > > libc:glibc 2.4 NPTL 2.4
> > > >
> > > >
> > > > I have already heard about a problem with swig and java, how can I
> fix
> > it if
> > > > this is the problem?
> > > >
> > > > Could somebody help me?
> > > >
> > > > Thanks in advance,
> > > >
> > > > Fred
> > > >
> > > >
> > > > --
> > > > "Everything under the sun is in tune
> > > > But the sun is eclipsed by the moon"
> > > >
> > >
> >
> >
> >
> > --
> >
> > "Everything under the sun is in tune
> > But the sun is eclipsed by the moon"
>



-- 
"Everything under the sun is in tune
But the sun is eclipsed by the moon"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20060606/8b33da9a/attachment.html


More information about the mapserver-users mailing list