Opened 11 years ago

Closed 11 years ago

#1950 closed defect (fixed)

Postgres on Windows freezes on start-up with libxml2-2.dll from PostGIS 2.1.0

Reported by: realityexists Owned by: pramsey
Priority: medium Milestone: PostGIS 2.1.0
Component: postgis Version: master
Keywords: Cc:


PostgreSQL 9.1.4 x64 on Windows 7, installed using the installer

I stopped the PostgreSQL service, copied the binaries from PostGIS 2.1.0 r10170 to the PG bin directory and tried to start the service. It freezes in the "starting" state. I can see in process explorer that pg_ctl is running, but it doesn't have any child processes. This happens every time - I cannot start Postgres.

Eventually I narrowed it down to libxml2-2.dll. PostgreSQL already includes that file (6307 KB) and if I don't replace it with the PostGIS one (1295 KB) then it starts and runs successfully.

Change History (3)

comment:1 by robe, 11 years ago

Thanks for the update. I assume you are using the buildbot version?

I'll make sure to package the one that comes with EDB next time (it's kind of annoying because in the 9.2 they have libxml2.dll again) and in 9.1.4 they have libxml2-2.dll. I must have accidentally put the one that we have from mingw in there and unfortunately for some reason I think they are compiled with different features so PostGIS works happily with the EDB packaged one, but the EDB install does not like the PostGIS one probably because we have minimal features compiled in.

comment:2 by realityexists, 11 years ago

Yes, the buildbot version. Thanks!

comment:3 by robe, 11 years ago

Resolution: fixed
Status: newclosed

Should be fixed in the next build. I changed to package the EDb version instead.

Note: See TracTickets for help on using tickets.