All pastes #928769 Raw Edit

Unnamed

public text v1 · immutable
·published 2008-03-05 08:27 UTC
rendered paste body

Day 1 : This is where the exception is set : 

[Switching to Thread -1265091680 (LWP 18286)]
#0  connect_to_storage (stub=0x82e9878, sa_un=0xb49831ee, ex=0x816a868)
    at camel-stub.c:146
#1  0xb4a94534 in camel_stub_new (
    socket_path=0x82e9408 "/tmp/.exchange-jony/pgoel@164.99.168.137", 
    backend_name=0xb4a9514c "Evolution Exchange backend process", ex=0x816a868)
    at camel-stub.c:206
#2  0xb4a905c2 in exchange_connect (service=0x82e8328, ex=0x816a868)
    at camel-exchange-store.c:404
#3  0xb7debcc3 in camel_service_connect (service=0x82e8328, ex=0x816a868)
    at camel-service.c:369
#4  0xb4a8f7d2 in camel_exchange_store_connected (store=0x82e8328, 
    ex=0x816a868) at camel-exchange-store.c:180
#5  0xb4a91a99 in exchange_get_folder (store=0x82e8328, 
    folder_name=0x82e6969 "personal/Inbox", flags=0, ex=0x816a868)
    at camel-exchange-store.c:479
#6  0xb7df2c2f in camel_store_get_folder (store=0x82e8328, 
    folder_name=0x82e6969 "personal/Inbox", flags=0, ex=0x816a868)
    at camel-store.c:260
#7  0xb57e721a in mail_tool_uri_to_folder (
    uri=0x82e8c00 "exchange://pgoel;auth=NTLM@164.99.168.137/personal/Inbox", 
    flags=0, ex=0x816a868) at mail-tools.c:333
#8  0xb57df753 in get_folder_get (mm=0x816a850) at mail-ops.c:1221
#9  0xb57dd4a5 in mail_msg_received (e=0x8173790, msg=0x816a850, data=0x0)
    at mail-mt.c:570
#10 0xb7a45b74 in thread_dispatch (din=0x8173790) at e-msgport.c:976
#11 0xb72c214b in start_thread (arg=0xb4983ba0) at pthread_create.c:274
#12 0xb688a48e in clone () from /lib/libc.so.6

Breakpoint 2, connect_to_storage (stub=0x82e9878, sa_un=0xb49831ee, 
    ex=0x816a868) at camel-stub.c:146
146     {
(gdb) p sa_un->sun.path
There is no member named sun.
(gdb) p sa_un->sun_path
$1 = "/tmp/.exchange-jony/pgoel@164.99.168.137\0002\230�\035\\���k.\b\000\000\000\000\001\000\000\000\001\000\000\000\000\000\000\000@\217��\000`��\b\v\001\0008r��\020i��0\224.\b7\000\000\000�2\230� ����D��"
(gdb) 


Why connect is called twice ?? 

BBDB spinning up...
[Switching to Thread -1253020768 (LWP 17051)]
#0  exchange_connect (service=0x82e96a0, ex=0x8163128) at camel-exchange-store.c:379
#1  0xb7dd2cc3 in camel_service_connect (service=0x82e96a0, ex=0x8163128) at camel-service.c:369
#2  0xb4a727d2 in camel_exchange_store_connected (store=0x82e96a0, ex=0x8163128) at camel-exchange-store.c:180
#3  0xb4a739bf in exchange_get_folder_info (store=0x82e96a0, top=0x0, flags=7, ex=0x8163128)
    at camel-exchange-store.c:728
#4  0xb7dda4d6 in camel_store_get_folder_info (store=0x82e96a0, top=0x0, flags=7, ex=0x8163128)
    at camel-store.c:788
#5  0xb578e10d in emft_get_folder_info__get (mm=0x8163110) at em-folder-tree.c:1694
#6  0xb57c44b5 in mail_msg_received (e=0x8173a80, msg=0x8163110, data=0x0) at mail-mt.c:570
#7  0xb7a2cb74 in thread_dispatch (din=0x8173a80) at e-msgport.c:976
#8  0xb72a914b in start_thread (arg=0xb5506ba0) at pthread_create.c:274
#9  0xb687148e in clone () from /lib/libc.so.6

Breakpoint 1, exchange_connect (service=0x82e96a0, ex=0x8163128) at camel-exchange-store.c:379
379             CamelExchangeStore *exch = CAMEL_EXCHANGE_STORE (service);
(gdb) c
Continuing.
#0  exchange_connect (service=0x82e96a0, ex=0x8163128) at camel-exchange-store.c:379
#1  0xb4a739e0 in exchange_get_folder_info (store=0x82e96a0, top=0x0, flags=7, ex=0x8163128)
    at camel-exchange-store.c:728
#2  0xb7dda4d6 in camel_store_get_folder_info (store=0x82e96a0, top=0x0, flags=7, ex=0x8163128)
    at camel-store.c:788
#3  0xb578e10d in emft_get_folder_info__get (mm=0x8163110) at em-folder-tree.c:1694
#4  0xb57c44b5 in mail_msg_received (e=0x8173a80, msg=0x8163110, data=0x0) at mail-mt.c:570
#5  0xb7a2cb74 in thread_dispatch (din=0x8173a80) at e-msgport.c:976
#6  0xb72a914b in start_thread (arg=0xb5506ba0) at pthread_create.c:274
#7  0xb687148e in clone () from /lib/libc.so.6

Breakpoint 1, exchange_connect (service=0x82e96a0, ex=0x8163128) at camel-exchange-store.c:379
379             CamelExchangeStore *exch = CAMEL_EXCHANGE_STORE (service);
(gdb) 

First break is valid and a pwd prompt is thrown. But second is unwanted ? or am i wrong here ?