Problems with gdal

Frederico Lucca fredlucca at GMAIL.COM
Thu Jul 21 13:05:47 PDT 2005


On 7/21/05, Frank Warmerdam <fwarmerdam at gmail.com> wrote:
> On 7/21/05, Frederico Lucca <fredlucca at gmail.com> wrote:
> > Hello Frank,
> >
> > Let me see, if a use a shape file, without OGR, can I have a mutex?
> > I use a Mapinfo file, but if I can translate this to shape and have a
> > mutex, I can do this.
> > I will test...
> 
> Frederico,
> 
> I believe the direct shapefile support in MapServer is threadsafe, so
> if you can easily translate to shapefiles that is likely prudent.
> 
> > But if you can do a mutex for OGR (and you think that it's important)
> > I can test in my enviroment too.
> 
> Well, it needs to be done eventually. There is already an open bug
> report on the issue, I believe.  But I'm happy enough to leave it for
> another time.
> 
> Best regards,
> --

Hello Frank,

Well, I translate some TABs to SHPs using org2ogr.
Then I return to my tests and loopings, and I get this error.

C [libpthread.so.0+0x6a12] __pthread_mutex_lock+0x12

What can I do now?
I call a jsp page which create a unique map, I call this application
from another with a looping  - for 1 to 100. Then, I put 3 or 4 of
this applications running at same time. And I get the error. When I
was using TABs I get the error (with gdal) with 2 applications running
at same time.

Thanks in advance.

Best Regards,

Fred

-- 
"Everything under the sun is in tune
But the sun is eclipsed by the moon"



More information about the MapServer-users mailing list