9 Apr 2010 12:52
[openchange]RegisterNotification needs a session/context parameter
Milan Crha <mcrha <at> redhat.com>
2010-04-09 10:52:46 GMT
2010-04-09 10:52:46 GMT
Hi,
I would like to use notification on multiple connections (sessions) to
multiple servers, but the RegisterNotification function has only a
parameter ulEventMask, but not the session to which I want run it, so it
chooses some semi-random session from the session pool and registers it
there. It actually only tries to register it, because it crashes to me
when I try with two servers:
Thread 17 (Thread 0xb12f9b70 (LWP 13787)):
#0 0x0064c424 in __kernel_vsyscall ()
#1 0x02d84a81 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#2 0x02d8634a in abort () at abort.c:92
#3 0x01805871 in tevent_abort (ev=0x889eba8, reason=0xb5b2f320 "tevent_loop_once() nesting at
librpc/rpc/dcerpc.c:1144") at tevent.c:340
#4 0x01805aba in tevent_abort_nesting (ev=0x889eba8, location=0x180d420
"librpc/rpc/dcerpc.c:1144") at tevent.c:454
#5 0x01805b14 in _tevent_loop_once (ev=0x889eba8, location=0x180d420 "librpc/rpc/dcerpc.c:1144")
at tevent.c:469
#6 0x01263030 in dcerpc_request_recv (req=0xb5b2f458, mem_ctx=0x8816990, stub_data=0xb12f9034) at librpc/rpc/dcerpc.c:1144
#7 0x01263df2 in dcerpc_ndr_request_recv (req=0xb5b2f458) at librpc/rpc/dcerpc.c:1459
#8 0x01264181 in dcerpc_ndr_request (p=0x889efa8, object=0x0, table=0x552d100, opnum=4,
mem_ctx=0x8816990, r=0xb12f9150) at librpc/rpc/dcerpc.c:1544
#9 0x054dd9b4 in dcerpc_EcRRegisterPushNotification (p=<value optimized out>, mem_ctx=<value
optimized out>, r=<value optimized out>)
at gen_ndr/ndr_exchange_c.c:1861
#10 0x05455d23 in emsmdb_register_notification (notifkey=<value optimized out>,
ulEventMask=<value optimized out>) at libmapi/emsmdb.c:486
#11 0x0544b637 in RegisterNotification (ulEventMask=<value optimized out>) at libmapi/IMSProvider.c:399
Thread 9 (Thread 0xb26fbb70 (LWP 13772)):
(Continue reading)
RSS Feed