Thank you for your reply.
I have aplied the patch from r3363. Unfortunately the bug is not persistent and
right now all work fine even without the patch. I'll report when the problem
arises again.
Indeed another problem came into existence. I tried to connect with Outlook
2010 for the first time since I had updated to the version 2.0.0b2 from
2.0.0b1. All connections resulted in coredump. All works fine for Outlook 2003
SP2.
Program terminated with signal 11, Segmentation fault.
#0 0x00002b0c5caec5cf in ndr_print_mapi_response (ndr=0x124b3b80,
name=0x2b0c5cbf1c3b "mapi_response", r=0x128381d0)
at ndr_mapi.c:511
Last entries in the log file look like:
exchange_emsmdb: [OXCPRPT] GetPropertiesSpecific (0x07)
[SOGo: sogo_properties_get_properties:1008]
ndr_push_error(2): Bad switch value 0 at gen_ndr/ndr_exchange.c:42891
EcDoRpcExt2: struct EcDoRpcExt2
out: struct EcDoRpcExt2
handle : *
handle: struct policy_handle
handle_type : 0x00000001 (1)
uuid :
4aba764d-9b1c-416d-9a19-28aaad0ce88b
pulFlags : *
pulFlags : 0x00000000 (0)
ndr_pull_error(11): Pull bytes 494 (../librpc/ndr/ndr.c:562)
mapi_response: struct mapi2k7_response
header: struct RPC_HEADER_EXT
Version : 0x0000 (0)
Flags : 0x0004 (4)
0: RHEF_Compressed
0: RHEF_XorMagic
1: RHEF_Last
Size : 0x01d6 (470)
SizeActual : 0x01d6 (470)
mapi_response : *
mapi_response : length=496
mapi_response: ARRAY(494)
mapi_repl: struct EcDoRpc_MAPI_REPL
opnum : 0x75 (117)
handle_idx : 0x00 (0)
error_code : MAPI_E_SUCCESS (0x0)
u : union
EcDoRpc_MAPI_REPL_UNION(case 117)
mapi_SyncUploadStateStreamBegin: struct
SyncUploadStateStreamBegin_repl
mapi_repl: struct EcDoRpc_MAPI_REPL
opnum : 0x28 (40)
handle_idx : 0x2d (45)
error_code : UNKNOWN_ENUM_VALUE (0x3D)
mapi_response : (handles) number=1073741817
25 октября 2011, 06:05 от Ludovic Marcotte <[email protected]>:
> On 24/10/11 11:22, Pavlo Zajichenko wrote:
> > I do not know how to report bug for OpenChange's libmapi. So I report the
> > bug here in hope it will be useful.
> >
> > OS: CentOS 5 (x64)
> > SOGO: 2.0.0b2
> > SAMBA: 4.0.0alpha17
> >
> > Program terminated with signal 11, Segmentation fault.
> > #0 0x00002b98f23190a5 in IDSET_merge_idsets (mem_ctx=0x10a3c300,
> > left=0x10a3d950, right=0x10a3d830) at libmapi/idset.c:811
> > 811 current->ranges->prev->next = range;
> >
> > Replacing line 811 in libmapi/idset.c
> > current->ranges->prev->next = range;
> > with
> > if (current->ranges)
> > current->ranges->prev->next = range;
> > else
> > current->ranges = range;
> > fixes the bug. But I am not sure the bug is absolutely correct.
> >
> > Best regards,
> > Pavlo Zajichenko
> The fix should rather be something along the lines of r3363 in
> openchange (sogo branch) - can you test that fix instead?
>
> Thanks,
>
> --
> Ludovic Marcotte
> [email protected] :: +1.514.755.3630 :: www.inverse.ca
> Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence
> (www.packetfence.org)
>
> --
> [email protected]
> https://inverse.ca/sogo/lists
>
Best Regards,
Pavlo Zajichenko
--
[email protected]
https://inverse.ca/sogo/lists