Julien Kerihuel wrote:
On Tue, 2010-06-08 at 15:04 +0100, Jack Challen wrote:
Yes! Just slightly :-) It works, and gets information for my Test account correctly. My normal user account works at
least partially (it gets many appointments), then it also SIGSEGVs.
I'll try to locate where etc, but it appears I've got some more delving into
code to do.
Something that may also help us would be for you to run mapitest under
your test account. It would give us a good overview of our MAPI stack
compatibility with your server and whether the involved work is at stack
or application layer.
Ok, mapitest produces different results for my real account versus my test
account. It crashes in both cases, though:
Note: this might well be a talloc/samba version thing -- here are the versions I'm on right now. I'm having a bit of a
problem building samba using the build scripts with OpenChange, so I'm on the versions provided with Fedora 13:
libtalloc-2.0.1-1.fc13.i686
libtalloc-debuginfo-2.0.1-1.fc13.i686
libtalloc-devel-2.0.1-1.fc13.i686
samba4-debuginfo-4.0.0-22.alpha11.fc13.i686
samba4-devel-4.0.0-22.alpha11.fc13.i686
samba4-libs-4.0.0-22.alpha11.fc13.i686
samba4-pidl-4.0.0-22.alpha11.fc13.i686
Anyway, here are the results.
c.f:
Real (edited to remove longer, hopefully unnecessary info) (gdb backtrace
included):
====
[r...@axiom bin]# ./mapitest --profile=jack
#############################[mapitest report]#################################
[*] Date : Tue Jun 8 20:53:25 2010
[*] Confidential mode : [no]
[*] Samba Information : 4.0.0alpha11-22.fc13
[*] OpenChange Information : 0.9 (Cochrane)
[*] System Information :
Kernel name : Linux
Kernel release : 2.6.33.3-85.fc13.i686.PAE
Processor : i686
[*] Exchange Server :
Store Version : 14.00.0694.4000
Username : Jack Challen
Organization : (null)
Organization Unit : (null)
###############################################################################
<snip>
[RESULT] OXCFOLD-GET-SEARCHCRITERIA: [SUCCESS]
========================================================================
[TEST] OXCFOLD-MOVECOPY-MESSAGES
------------------------------------------------------------------------
* OpenMsgStore : MAPI_E_SUCCESS
* GetDefaultFolder : MAPI_E_SUCCESS
* OpenFolder : MAPI_E_SUCCESS
* GetDefaultFolder : MAPI_E_SUCCESS
* OpenFolder : MAPI_E_SUCCESS
* GetContentsTable : MAPI_E_SUCCESS
* ResolveNames : 0x084268f8
Aborted
...
GDB Backtrace info:
* ResolveNames : 0x080c08f8
Program received signal SIGABRT, Aborted.
0x00246424 in __kernel_vsyscall ()
(gdb) bt
#0 0x00246424 in __kernel_vsyscall ()
#1 0x0034ed71 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#2 0x0035064a in abort () at abort.c:92
#3 0x002858aa in talloc_abort (reason=0x28b5f8 "Bad talloc magic value - double
free") at talloc.c:199
#4 0x002857cd in talloc_abort_double_free (ptr=<value optimized out>,
location=<value optimized out>) at talloc.c:218
#5 talloc_chunk_from_ptr (ptr=<value optimized out>, location=<value optimized
out>) at talloc.c:239
#6 _talloc_free (ptr=<value optimized out>, location=<value optimized out>) at
talloc.c:1118
#7 0x0804ed84 in mapitest_common_message_fill (mt=0xbffff53c, obj_message=0xbffff270, subject=0x80670a5 "[MT] Sample
E-MAIL") at utils/mapitest/mapitest_common.c:272
#8 0x08053174 in mapitest_oxcfold_MoveCopyMessages (mt=0xbffff53c) at
utils/mapitest/modules/module_oxcfold.c:675
#9 0x0804cd19 in mapitest_run_all (mt=0xbffff53c) at
utils/mapitest/mapitest_suite.c:371
#10 0x0804c129 in main (argc=2, argv=0xbffff654) at
utils/mapitest/mapitest.c:320
====
Test account:
====
[r...@axiom bin]# ./mapitest --profile=johnbull
#############################[mapitest report]#################################
[*] Date : Tue Jun 8 20:53:32 2010
[*] Confidential mode : [no]
[*] Samba Information : 4.0.0alpha11-22.fc13
[*] OpenChange Information : 0.9 (Cochrane)
[*] System Information :
Kernel name : Linux
Kernel release : 2.6.33.3-85.fc13.i686.PAE
Processor : i686
[*] Exchange Server :
Store Version : 14.00.0694.4000
Username : John Bull
Organization : (null)
Organization Unit : (null)
###############################################################################
...
[RESULT] OXCFOLD-GET-SEARCHCRITERIA: [SUCCESS]
========================================================================
[TEST] OXCFOLD-MOVECOPY-MESSAGES
------------------------------------------------------------------------
* OpenMsgStore : MAPI_E_SUCCESS
* GetDefaultFolder : MAPI_E_SUCCESS
* OpenFolder : MAPI_E_SUCCESS
* GetDefaultFolder : MAPI_E_SUCCESS
* OpenFolder : MAPI_E_SUCCESS
* GetContentsTable : MAPI_E_SUCCESS
Aborted
...
GDB bt info:
Program received signal SIGABRT, Aborted.
0x00326424 in __kernel_vsyscall ()
(gdb) bt
#0 0x00326424 in __kernel_vsyscall ()
#1 0x004ded71 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#2 0x004e064a in abort () at abort.c:92
#3 0x004ab8aa in talloc_abort (reason=0x4b1620 "Bad talloc magic value - unknown
value") at talloc.c:199
#4 0x004b0279 in talloc_abort_unknown_value (context=<value optimized out>, ptr=<value optimized out>, size=<value
optimized out>, name=<value optimized out>) at talloc.c:223
#5 talloc_chunk_from_ptr (context=<value optimized out>, ptr=<value optimized out>, size=<value optimized out>,
name=<value optimized out>) at talloc.c:242
#6 _talloc_realloc (context=<value optimized out>, ptr=<value optimized out>, size=<value optimized out>, name=<value
optimized out>) at talloc.c:1163
#7 0x004b0322 in _talloc_realloc_array (ctx=<value optimized out>, ptr=<value optimized out>, el_size=<value optimized
out>, count=<value optimized out>,
name=<value optimized out>) at talloc.c:1871
#8 0x00e84345 in SRow_addprop (aRow=0x8088cd0, SPropValue=...) at
libmapi/property.c:604
#9 0x00e7cb44 in SetRecipientType (aRow=0x8088cd0, RecipClass=MAPI_TO) at
libmapi/IMessage.c:510
#10 0x0804edbe in mapitest_common_message_fill (mt=0xbffff53c, obj_message=0xbffff270, subject=0x80670a5 "[MT] Sample
E-MAIL") at utils/mapitest/mapitest_common.c:283
#11 0x08053174 in mapitest_oxcfold_MoveCopyMessages (mt=0xbffff53c) at
utils/mapitest/modules/module_oxcfold.c:675
#12 0x0804cd19 in mapitest_run_all (mt=0xbffff53c) at
utils/mapitest/mapitest_suite.c:371
#13 0x0804c129 in main (argc=2, argv=0xbffff654) at
utils/mapitest/mapitest.c:320
====
_______________________________________________
devel mailing list
[email protected]
http://mailman.openchange.org/listinfo/devel