After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 313381 - gw: evo crashes while trying to refresh the folder
gw: evo crashes while trying to refresh the folder
Status: VERIFIED FIXED
Product: evolution
Classification: Applications
Component: Mailer
2.4.x
Other All
: Normal major
: ---
Assigned To: vivek jain
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2005-08-13 09:08 UTC by vivek jain
Modified: 2013-09-13 00:54 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10


Attachments
should fix the problem (1.61 KB, patch)
2005-08-13 11:13 UTC, vivek jain
accepted-commit_now Details | Review

Description vivek jain 2005-08-13 09:08:40 UTC
Please describe the problem:
detected when evo was automatically trying to refresh  the folders.

Steps to reproduce:
1. 
2. 
3. 


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 vivek jain 2005-08-13 09:11:30 UTC
traces : I have replaced the actual mail address with user@test.com


  • #12 segv_redirect
    at main.c line 433
  • #13 segv_redirect
    at main.c line 433
  • #14 <signal handler called>
  • #15 strlen
    from /lib/tls/libc.so.6
  • #16 IA__g_strdup
    at gstrfuncs.c line 90
  • #17 e_gw_item_new_from_soap_parameter
    at e-gw-item.c line 1672
  • #18 e_gw_connection_get_item
    at e-gw-connection.c line 1294
  • #19 groupwise_folder_item_to_msg
    at camel-groupwise-folder.c line 1363
  • #20 groupwise_refresh_folder
    at camel-groupwise-folder.c line 1077
  • #21 groupwise_refresh_info
    at camel-groupwise-folder.c line 753
  • #22 camel_folder_refresh_info
    at camel-folder.c line 299
  • #23 refresh_folders_get
    at mail-send-recv.c line 712
  • #24 mail_msg_received
    at mail-mt.c line 556
  • #25 thread_dispatch
    at e-msgport.c line 826
  • #26 start_thread
    from /lib/tls/libpthread.so.0
  • #27 clone
    from /lib/tls/libc.so.6
  • #17 e_gw_item_new_from_soap_parameter
    at e-gw-item.c line 1672
$1 = {_private = 0x0, type = XML_ELEMENT_NODE, name = 0x8de19c8 "item",
children = 0x8dca210, last = 0x8ded400, parent = 0x8df96e8, next =
0x8df21a0,
  prev = 0x0, doc = 0x8df26b0, ns = 0x0, content = 0x0, properties =
0x8dbd790, nsDef = 0x8df16c0, psvi = 0x0, line = 0, extra = 0}
(gdb) list
1667                    return NULL;
1668            }
1669
1670            g_free (item_type);
1671
1672            item->priv->container = g_strdup (container);
1673            /* set the email of the user */
1674            user_email = g_list_append (user_email, g_strdup
(email));
1675            e_gw_item_set_email_list (item, user_email);
1676
(gdb) p item->priv->container
$2 = 0x0
(gdb) p container
$3 = 0x1 <Address 0x1 out of bounds>
(gdb) p *container
Cannot access memory at address 0x1
(gdb) p user_email
$4 = (GList *) 0x0
(gdb) p email
$5 = 0x8585a38 "user@test.com"
(gdb) p item
$6 = (EGwItem *) 0x8e20088
(gdb) p *item
Comment 2 vivek jain 2005-08-13 11:13:35 UTC
Created attachment 50644 [details] [review]
should fix the problem
Comment 3 parthasarathi susarla 2005-08-13 16:58:43 UTC
The fix looks fine. Please commit.
Comment 4 vivek jain 2005-08-16 04:11:23 UTC
Committed to CVS Head.
Comment 5 C Shilpa 2005-09-09 10:33:46 UTC
verified using evolution-2.4.0.