[mapguide-internals] The roadblock for Ubuntu 14.04 support

Jackie Ng jumpinjackie at gmail.com
Mon Nov 23 05:17:20 PST 2015


Hi All,

For the longest time, the official supported version of Ubuntu for MapGuide
is Ubuntu 12.04 LTS.

The reason for this is because on 14.04 there is a blocking issue with
server stability. If you load the Sheboygan map and do several zooms and
pans, MapGuide will quickly crash with a stack trace like this:

*** Error in `/usr/local/mapguideopensource-3.1.0/server/bin/mgserver':
corrupted double-linked list: 0x00007fffa0d43e20 ***

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7fff9ffff700 (LWP 3557)]
0x00007ffff1a36cc9 in __GI_raise (sig=sig at entry=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:56
56 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0  0x00007ffff1a36cc9 in __GI_raise (sig=sig at entry=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1  0x00007ffff1a3a0d8 in __GI_abort () at abort.c:89
#2  0x00007ffff1a73394 in __libc_message (do_abort=do_abort at entry=1,
    fmt=fmt at entry=0x7ffff1b81b28 "*** Error in `%s': %s: 0x%s ***\n") at
../sysdeps/posix/libc_fatal.c:175
#3  0x00007ffff1a7e0f7 in malloc_printerr (action=<optimised out>,
str=0x7ffff1b7dbfc "corrupted double-linked list",
    ptr=<optimised out>) at malloc.c:4996
#4  0x00007ffff1a7f7a7 in _int_free (av=0x7fffa0000020, p=<optimised out>,
have_lock=0) at malloc.c:3996
#5  0x00007ffff25a9120 in agg::obj_allocator<agg::font_cache>::deallocate
(ptr=0x7fffa0d435f0)
    at ../../Oem/agg-2.4/include/agg_basics.h:53
#6  0x00007ffff259fbb5 in agg::font_cache_pool::~font_cache_pool
(this=0x7fffa0a11500, __in_chrg=<optimised out>)
    at ../../Oem/agg-2.4/include/agg_font_cache_manager.h:142
#7  0x00007ffff25a018e in
agg::font_cache_manager<agg::font_engine_freetype_int32>::~font_cache_manager
(this=0x7fffa0a11500,
    __in_chrg=<optimised out>) at
../../Oem/agg-2.4/include/agg_font_cache_manager.h:258
#8  0x00007ffff25a07d6 in agg_context::~agg_context (this=0x7fffa0a103f0,
__in_chrg=<optimised out>) at agg_context.h:160
#9  0x00007ffff2591722 in AGGRenderer::~AGGRenderer (this=0x7fffa000c700,
__in_chrg=<optimised out>) at AGGRenderer.cpp:206
#10 0x00007ffff2591968 in AGGRenderer::~AGGRenderer (this=0x7fffa000c700,
__in_chrg=<optimised out>) at AGGRenderer.cpp:212
#11 0x00007ffff3b71abd in std::auto_ptr<SE_Renderer>::~auto_ptr
(this=0x7fff9fffdaa0, __in_chrg=<optimised out>)
    at /usr/include/c++/4.8/backward/auto_ptr.h:170
#12 0x00007ffff3b3b0a1 in MgServerRenderingService::RenderDynamicOverlay
(this=0x7fffa00094e0, map=0x7fffa000a260,
    selection=0x7fffa000b500, options=0x7fffa000c670, pPRMResult=0x0) at
ServerRenderingService.cpp:592
#13 0x00007ffff3b39e7c in MgServerRenderingService::RenderDynamicOverlay
(this=0x7fffa00094e0, map=0x7fffa000a260,
    selection=0x7fffa000b500, options=0x7fffa000c670) at
ServerRenderingService.cpp:530
#14 0x00007ffff3b20d52 in MgOpRenderDynamicOverlay::Execute
(this=0x7fffa0009230) at OpRenderDynamicOverlay.cpp:108
#15 0x00007ffff3b33d47 in MgRenderingServiceHandler::ProcessOperation
(this=0x7fffa00091f0) at RenderingServiceHandler.cpp:79
#16 0x000000000045908e in MgOperationThread::ProcessOperation
(this=0x7fffffffc680, pData=0x882a10) at OperationThread.cpp:397
#17 0x00000000004576b9 in MgOperationThread::ProcessMessage
(this=0x7fffffffc680, pMB=0x882aa0) at OperationThread.cpp:226
#18 0x0000000000455ff0 in MgOperationThread::svc (this=0x7fffffffc680) at
OperationThread.cpp:90
#19 0x00007ffff7b56d87 in ACE_Task_Base::svc_run (args=0x7fffffffc680) at
Task.cpp:260
#20 0x00007ffff7b57350 in ACE_Thread_Adapter::invoke_i (this=0x7ea6b0) at
Thread_Adapter.cpp:161
#21 0x00007ffff7b57214 in ACE_Thread_Adapter::invoke (this=0x7ea6b0) at
Thread_Adapter.cpp:96
#22 0x00007ffff7ad2593 in ace_thread_adapter (args=0x7ea6b0) at
Base_Thread_Adapter.cpp:126
#23 0x00007ffff12dc182 in start_thread (arg=0x7fff9ffff700) at
pthread_create.c:312
#24 0x00007ffff1afa47d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111
(gdb)


I don't really have an idea why this is happening, but this is the
roadblock to MapGuide running on Ubuntu 14.04. Any help to solve this would
be appreciated.

- Jackie


More information about the mapguide-internals mailing list