OpenSSL causing WFS/WMS provider instability on Ubuntu

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

OpenSSL causing WFS/WMS provider instability on Ubuntu

Jackie Ng
Hi All,

In my current MapGuide testing, I'm finding the recent OpenSSL update to fix the heartbleed flaw has destabilized the WFS and WMS FDO providers when built for Ubuntu 12.04.

After this OpenSSL update, when I do a GetFeatureProviders call from MapGuide, attempting to load any provider that links to libFdoOws.so (ie. WMS or WFS provider) will kill MapGuide like so:

Program terminated with signal 4, Illegal instruction.

GDB backtrace:

#0  0x0424fcaa in OPENSSL_cpuid_setup () from /usr/local/fdo-3.9.0/lib/libFdoOws-3.9.0.so
#1  0x00000002 in ?? ()
#2  0x0413cc1d in _init () from /usr/local/fdo-3.9.0/lib/libFdoOws-3.9.0.so
#3  0x05451976 in ?? () from /usr/local/fdo-3.9.0/lib/libgdal.so.1
#4  0x00ebbe49 in ?? () from /lib/ld-linux.so.2
#5  0x00ebbf94 in ?? () from /lib/ld-linux.so.2
#6  0x00ebffa6 in ?? () from /lib/ld-linux.so.2
#7  0x00ebbccf in ?? () from /lib/ld-linux.so.2
#8  0x00ebf7f4 in ?? () from /lib/ld-linux.so.2
#9  0x00a4bbe9 in ?? () from /lib/i386-linux-gnu/libdl.so.2
#10 0x00ebbccf in ?? () from /lib/ld-linux.so.2
#11 0x00a4c33a in ?? () from /lib/i386-linux-gnu/libdl.so.2
#12 0x00a4bc97 in dlopen () from /lib/i386-linux-gnu/libdl.so.2
#13 0x00bfd713 in FdoConnectionManager::CreateConnection(wchar_t const*) () from /usr/local/fdo-3.9.0/lib/libFDO-3.9.0.so
#14 0x015b0818 in MgServerGetFeatureProviders::AddConnectionProperties(xercesc_3_1::DOMElement*, wchar_t const*) ()
   from /usr/local/mapguideopensource-2.6.0/server/lib/libMgServerFeatureService-2.6.0.so
#15 0x015b025f in MgServerGetFeatureProviders::CreateFeatureProvidersDocument() ()
   from /usr/local/mapguideopensource-2.6.0/server/lib/libMgServerFeatureService-2.6.0.so
#16 0x015af3b7 in MgServerGetFeatureProviders::GetFeatureProviders() ()
   from /usr/local/mapguideopensource-2.6.0/server/lib/libMgServerFeatureService-2.6.0.so
#17 0x015719ba in MgServerFeatureService::GetFeatureProviders() ()
   from /usr/local/mapguideopensource-2.6.0/server/lib/libMgServerFeatureService-2.6.0.so
#18 0x0153ebdc in MgOpGetFeatureProviders::Execute() ()
   from /usr/local/mapguideopensource-2.6.0/server/lib/libMgServerFeatureService-2.6.0.so
#19 0x01529f04 in MgFeatureServiceHandler::ProcessOperation() ()
   from /usr/local/mapguideopensource-2.6.0/server/lib/libMgServerFeatureService-2.6.0.so
#20 0x08093fd9 in MgOperationThread::ProcessOperation (this=0xbfeeb4b8, pData=0x8dda1c8) at OperationThread.cpp:397
#21 0x080927e7 in MgOperationThread::ProcessMessage (this=0xbfeeb4b8, pMB=0x8c8a6e8) at OperationThread.cpp:226
#22 0x0809130c in MgOperationThread::svc (this=0xbfeeb4b8) at OperationThread.cpp:90
#23 0x0043ca43 in ACE_Task_Base::svc_run(void*) () from /usr/local/mapguideopensource-2.6.0/lib/libACE.so.5.8.0
#24 0x0043e41d in ACE_Thread_Adapter::invoke_i() () from /usr/local/mapguideopensource-2.6.0/lib/libACE.so.5.8.0
#25 0x0043e4a7 in ACE_Thread_Adapter::invoke() () from /usr/local/mapguideopensource-2.6.0/lib/libACE.so.5.8.0
#26 0x003d41bf in ace_thread_adapter () from /usr/local/mapguideopensource-2.6.0/lib/libACE.so.5.8.0
#27 0x00a56d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#28 0x01c0bbae in clone () from /lib/i386-linux-gnu/libc.so.6


FDO built on CentOS does not exhibit this problem. Any ideas?

- Jackie
Reply | Threaded
Open this post in threaded view
|

Re: OpenSSL causing WFS/WMS provider instability on Ubuntu

Greg Boone
Hi Jackie,

Did you build FDO on Ubuntu, or "install" it from the RC candidate?

Greg

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Jackie Ng
Sent: Tuesday, May 20, 2014 6:18 AM
To: [hidden email]
Subject: [fdo-internals] OpenSSL causing WFS/WMS provider instability on Ubuntu

Hi All,

In my current MapGuide testing, I'm finding the recent OpenSSL update to fix the heartbleed flaw has destabilized the WFS and WMS FDO providers when built for Ubuntu 12.04.

After this OpenSSL update, when I do a GetFeatureProviders call from MapGuide, attempting to load any provider that links to libFdoOws.so (ie.
WMS or WFS provider) will kill MapGuide like so:

Program terminated with signal 4, Illegal instruction.

GDB backtrace:

#0  0x0424fcaa in OPENSSL_cpuid_setup () from /usr/local/fdo-3.9.0/lib/libFdoOws-3.9.0.so
#1  0x00000002 in ?? ()
#2  0x0413cc1d in _init () from /usr/local/fdo-3.9.0/lib/libFdoOws-3.9.0.so
#3  0x05451976 in ?? () from /usr/local/fdo-3.9.0/lib/libgdal.so.1
#4  0x00ebbe49 in ?? () from /lib/ld-linux.so.2
#5  0x00ebbf94 in ?? () from /lib/ld-linux.so.2
#6  0x00ebffa6 in ?? () from /lib/ld-linux.so.2
#7  0x00ebbccf in ?? () from /lib/ld-linux.so.2
#8  0x00ebf7f4 in ?? () from /lib/ld-linux.so.2
#9  0x00a4bbe9 in ?? () from /lib/i386-linux-gnu/libdl.so.2
#10 0x00ebbccf in ?? () from /lib/ld-linux.so.2
#11 0x00a4c33a in ?? () from /lib/i386-linux-gnu/libdl.so.2
#12 0x00a4bc97 in dlopen () from /lib/i386-linux-gnu/libdl.so.2
#13 0x00bfd713 in FdoConnectionManager::CreateConnection(wchar_t const*) () from /usr/local/fdo-3.9.0/lib/libFDO-3.9.0.so
#14 0x015b0818 in
MgServerGetFeatureProviders::AddConnectionProperties(xercesc_3_1::DOMElement*,
wchar_t const*) ()
   from
/usr/local/mapguideopensource-2.6.0/server/lib/libMgServerFeatureService-2.6.0.so
#15 0x015b025f in
MgServerGetFeatureProviders::CreateFeatureProvidersDocument() ()
   from
/usr/local/mapguideopensource-2.6.0/server/lib/libMgServerFeatureService-2.6.0.so
#16 0x015af3b7 in MgServerGetFeatureProviders::GetFeatureProviders() ()
   from
/usr/local/mapguideopensource-2.6.0/server/lib/libMgServerFeatureService-2.6.0.so
#17 0x015719ba in MgServerFeatureService::GetFeatureProviders() ()
   from
/usr/local/mapguideopensource-2.6.0/server/lib/libMgServerFeatureService-2.6.0.so
#18 0x0153ebdc in MgOpGetFeatureProviders::Execute() ()
   from
/usr/local/mapguideopensource-2.6.0/server/lib/libMgServerFeatureService-2.6.0.so
#19 0x01529f04 in MgFeatureServiceHandler::ProcessOperation() ()
   from
/usr/local/mapguideopensource-2.6.0/server/lib/libMgServerFeatureService-2.6.0.so
#20 0x08093fd9 in MgOperationThread::ProcessOperation (this=0xbfeeb4b8,
pData=0x8dda1c8) at OperationThread.cpp:397
#21 0x080927e7 in MgOperationThread::ProcessMessage (this=0xbfeeb4b8,
pMB=0x8c8a6e8) at OperationThread.cpp:226
#22 0x0809130c in MgOperationThread::svc (this=0xbfeeb4b8) at
OperationThread.cpp:90
#23 0x0043ca43 in ACE_Task_Base::svc_run(void*) () from
/usr/local/mapguideopensource-2.6.0/lib/libACE.so.5.8.0
#24 0x0043e41d in ACE_Thread_Adapter::invoke_i() () from
/usr/local/mapguideopensource-2.6.0/lib/libACE.so.5.8.0
#25 0x0043e4a7 in ACE_Thread_Adapter::invoke() () from
/usr/local/mapguideopensource-2.6.0/lib/libACE.so.5.8.0
#26 0x003d41bf in ace_thread_adapter () from
/usr/local/mapguideopensource-2.6.0/lib/libACE.so.5.8.0
#27 0x00a56d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#28 0x01c0bbae in clone () from /lib/i386-linux-gnu/libc.so.6


FDO built on CentOS does not exhibit this problem. Any ideas?

- Jackie




--
View this message in context: http://osgeo-org.1560.x6.nabble.com/OpenSSL-causing-WFS-WMS-provider-instability-on-Ubuntu-tp5141398.html
Sent from the FDO Internals mailing list archive at Nabble.com.
_______________________________________________
fdo-internals mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fdo-internals
_______________________________________________
fdo-internals mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fdo-internals
Reply | Threaded
Open this post in threaded view
|

Re: OpenSSL causing WFS/WMS provider instability on Ubuntu

Jackie Ng
Hi Greg,

I built FDO on Ubuntu.

- Jackie