Re: [Evolution-hackers] Evolution crashes while creating appointment from Mail

2013-04-09 Thread Milan Crha
On Mon, 2013-04-08 at 19:32 +0530, samarjit Adhikari wrote:
 Thus issue is with only MAPI Account.
 
 
 Hope some one will try to reproduce it with MAPI Account

Hi,
no crash for me. Simple text message, after Discard changes I clicked
on a message above the currently selected, which was downloaded and
shown.
Bye,
Milan


___
evolution-hackers mailing list
evolution-hackers@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Evolution crashes while creating appointment from Mail

2013-04-09 Thread samarjit Adhikari
Hi Mila,

no crash for me. Simple text message, after Discard changes I clicked
on a message above the currently selected, which was downloaded and
shown.

You are right Milan, it is also not crashing for simple text messages. But
in my environment there are lot of multipart messages.
Could you give me some code hint so that I myself can start looking into it?

With regards,
Samarjit



On Tue, Apr 9, 2013 at 3:08 PM, Milan Crha mc...@redhat.com wrote:

 On Mon, 2013-04-08 at 19:32 +0530, samarjit Adhikari wrote:
  Thus issue is with only MAPI Account.
 
 
  Hope some one will try to reproduce it with MAPI Account

 Hi,
 no crash for me. Simple text message, after Discard changes I clicked
 on a message above the currently selected, which was downloaded and
 shown.
 Bye,
 Milan


 ___
 evolution-hackers mailing list
 evolution-hackers@gnome.org
 To change your list options or unsubscribe, visit ...
 https://mail.gnome.org/mailman/listinfo/evolution-hackers

___
evolution-hackers mailing list
evolution-hackers@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Evolution crashes while creating appointment from Mail

2013-04-09 Thread samarjit Adhikari
Thanks Milan for confirming this.

I was playing with gdb for this issue and have little guess that it could
be because of memory corruption Then you confirm it.

Let me start playing with valgrind as well.

With regards,
samarjit


On Tue, Apr 9, 2013 at 4:17 PM, Milan Crha mc...@redhat.com wrote:

 On Tue, 2013-04-09 at 15:44 +0530, samarjit Adhikari wrote:
  You are right Milan, it is also not crashing for simple text messages.
  But in my environment there are lot of multipart messages.

 Hi,
 I think I got something similar with simple text message too. The thing
 is that every detail matters, thus:
  9. Now left click on any places of evolution.  It will crash
 is not the best description, because my any place was a message above
 the currently selected. If I change it to:
   9a) left click on a MAPI account name in the folder tree
   9b) left click on MAPI's Inbox in the folder tree
 then I get set of critical warnings on console and a crash of evolution.
 This does it only with MAPI (I tested same steps with IMAP), but the
 backtrace itself is different from that yours. In any case, I believe
 it's related, if not the same issue as you have, thus please file a bug
 into GNOME's bugzilla [1] and let's investigate further there.

  Could you give me some code hint so that I myself can start looking
  into it?

 It's not that simple, it seems like a memory corruption or a misplaced
 g_object_unref(), which is not easy to track. Tools like valgrind
 usually help.

 Thanks,
 Milan

 [1] https://bugzilla.gnome.org/enter_bug.cgi?product=Evolution-mapi

 ___
 evolution-hackers mailing list
 evolution-hackers@gnome.org
 To change your list options or unsubscribe, visit ...
 https://mail.gnome.org/mailman/listinfo/evolution-hackers

___
evolution-hackers mailing list
evolution-hackers@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Evolution crashes while creating appointment from Mail

2013-04-08 Thread Milan Crha
On Mon, 2013-04-08 at 09:51 +0530, samarjit Adhikari wrote:
 If 1 more person can reproduce the crash along with me , I will go
 ahead and report it in Bugzilla.
 
 Are you able to reproduce using my given steps ?

Hi,
I tried in (to be) 3.9.1 (git master), on your original email in this
thread, and after Discard I clicked on Johnny's reply to your message,
and evolution didn't crash to me. It doesn't mean the bug is not
present, it just means that it can depend on various factors. For
example, I did this testing in my IMAP folder. On the other hand, there
is a chance that 3.8.0 has it fixed.
Bye,
Milan

___
evolution-hackers mailing list
evolution-hackers@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Evolution crashes while creating appointment from Mail

2013-04-08 Thread Sasa Ostrouska
I tried it too to reproduce it on 3.6.4 it didnt crash for me.

Rgds
Saxa


On Mon, Apr 8, 2013 at 10:00 AM, Milan Crha mc...@redhat.com wrote:

 On Mon, 2013-04-08 at 09:51 +0530, samarjit Adhikari wrote:
  If 1 more person can reproduce the crash along with me , I will go
  ahead and report it in Bugzilla.
 
  Are you able to reproduce using my given steps ?

 Hi,
 I tried in (to be) 3.9.1 (git master), on your original email in this
 thread, and after Discard I clicked on Johnny's reply to your message,
 and evolution didn't crash to me. It doesn't mean the bug is not
 present, it just means that it can depend on various factors. For
 example, I did this testing in my IMAP folder. On the other hand, there
 is a chance that 3.8.0 has it fixed.
 Bye,
 Milan

 ___
 evolution-hackers mailing list
 evolution-hackers@gnome.org
 To change your list options or unsubscribe, visit ...
 https://mail.gnome.org/mailman/listinfo/evolution-hackers

___
evolution-hackers mailing list
evolution-hackers@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Evolution crashes while creating appointment from Mail

2013-04-08 Thread samarjit Adhikari
Hi All,

I tried it with my IMAP account as well and yes it did not crash.
Thus issue is with only MAPI Account.

Hope some one will try to reproduce it with MAPI Account

With regards,
Samarjit


On Mon, Apr 8, 2013 at 5:45 PM, Sasa Ostrouska cas...@gmail.com wrote:

 I tried it too to reproduce it on 3.6.4 it didnt crash for me.

 Rgds
 Saxa


 On Mon, Apr 8, 2013 at 10:00 AM, Milan Crha mc...@redhat.com wrote:

 On Mon, 2013-04-08 at 09:51 +0530, samarjit Adhikari wrote:
  If 1 more person can reproduce the crash along with me , I will go
  ahead and report it in Bugzilla.
 
  Are you able to reproduce using my given steps ?

 Hi,
 I tried in (to be) 3.9.1 (git master), on your original email in this
 thread, and after Discard I clicked on Johnny's reply to your message,
 and evolution didn't crash to me. It doesn't mean the bug is not
 present, it just means that it can depend on various factors. For
 example, I did this testing in my IMAP folder. On the other hand, there
 is a chance that 3.8.0 has it fixed.
 Bye,
 Milan

 ___
 evolution-hackers mailing list
 evolution-hackers@gnome.org
 To change your list options or unsubscribe, visit ...
 https://mail.gnome.org/mailman/listinfo/evolution-hackers



 ___
 evolution-hackers mailing list
 evolution-hackers@gnome.org
 To change your list options or unsubscribe, visit ...
 https://mail.gnome.org/mailman/listinfo/evolution-hackers


___
evolution-hackers mailing list
evolution-hackers@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Evolution crashes while creating appointment from Mail

2013-04-08 Thread samarjit Adhikari
Anybody able to reproduce with MAPI account?

With regards,
Samarjit


On Mon, Apr 8, 2013 at 7:32 PM, samarjit Adhikari 
samarjit.adhik...@gmail.com wrote:

 Hi All,

 I tried it with my IMAP account as well and yes it did not crash.
 Thus issue is with only MAPI Account.

 Hope some one will try to reproduce it with MAPI Account

 With regards,
 Samarjit


 On Mon, Apr 8, 2013 at 5:45 PM, Sasa Ostrouska cas...@gmail.com wrote:

 I tried it too to reproduce it on 3.6.4 it didnt crash for me.

 Rgds
 Saxa


 On Mon, Apr 8, 2013 at 10:00 AM, Milan Crha mc...@redhat.com wrote:

 On Mon, 2013-04-08 at 09:51 +0530, samarjit Adhikari wrote:
  If 1 more person can reproduce the crash along with me , I will go
  ahead and report it in Bugzilla.
 
  Are you able to reproduce using my given steps ?

 Hi,
 I tried in (to be) 3.9.1 (git master), on your original email in this
 thread, and after Discard I clicked on Johnny's reply to your message,
 and evolution didn't crash to me. It doesn't mean the bug is not
 present, it just means that it can depend on various factors. For
 example, I did this testing in my IMAP folder. On the other hand, there
 is a chance that 3.8.0 has it fixed.
 Bye,
 Milan

 ___
 evolution-hackers mailing list
 evolution-hackers@gnome.org
 To change your list options or unsubscribe, visit ...
 https://mail.gnome.org/mailman/listinfo/evolution-hackers



 ___
 evolution-hackers mailing list
 evolution-hackers@gnome.org
 To change your list options or unsubscribe, visit ...
 https://mail.gnome.org/mailman/listinfo/evolution-hackers



___
evolution-hackers mailing list
evolution-hackers@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-hackers


[Evolution-hackers] Evolution crashes while creating appointment from Mail

2013-04-07 Thread samarjit Adhikari
Hi All

[My Evolution configuration]
Version: 3.6.4+
Plugin: evolution-mapi

[steps to reproduce]
1. Select any mail from inbox.
2. Right Click on a mail. A action menu list will appear.
3. Choose Create--Create an Appointment
4. it will ask for Select destination
5. Select Personal on this computer followed by OK
6. A Appointment window will open. Just cancel it by closing it.
7. It will ask Would you like to save changes to this appointment?
8. Select Discard Changes
9. Now left click on any places of evolution.  It will crash

Attaching gdb what is being found
===
Breakpoint 1, e_mail_reader_check_state (reader=reader@entry=0x7f22a8d31340)
at e-mail-reader.c:4129
4129e-mail-reader.c: No such file or directory.
(gdb) c
Continuing.

Breakpoint 2, camel_folder_get_parent_store (folder=0x7f22a8f93730) at
camel-folder.c:2113
2113camel-folder.c: No such file or directory.
(gdb) p folder
$1 = (CamelFolder *) 0x7f22a8f93730
(gdb) p *folder
$2 = {parent = {parent = {g_type_instance = {g_class = 0x7f22a8f93580},
ref_count = 0, qdata = 0x0}, priv = 0x7f22a8f937d0},
  priv = 0x7f22a8f937e0, summary = 0x0, folder_flags =
CAMEL_FOLDER_HAS_SUMMARY_CAPABILITY, permanent_flags = 159, later = {0x0,
0x0, 0x0,
0x0}}
(gdb) b e-mail-reader.c:4172
Breakpoint 3 at 0x7f22729ff41c: file e-mail-reader.c, line 4172.
(gdb) c
Continuing.

Breakpoint 2, camel_folder_get_parent_store (folder=0x7f22a8f93730) at
camel-folder.c:2112
2112in camel-folder.c
*(gdb) p store
$3 = (GtkListStore *) 0x0
*(gdb) p *folder
$4 = {parent = {parent = {g_type_instance = {g_class = 0x7f22a8f93580},
ref_count = 0, qdata = 0x0}, priv = 0x7f22a8f937d0},
  priv = 0x7f22a8f937e0, summary = 0x0, folder_flags =
CAMEL_FOLDER_HAS_SUMMARY_CAPABILITY, permanent_flags = 159, later = {0x0,
0x0, 0x0,
0x0}}
(gdb) p *folder-priv
$5 = {lock = {mutex = {mutex = 0x7f224c178940, unused = {__data = {__lock =
0, __count = 0, __owner = 0, __nusers = 0, __kind = 0,
  __spins = 0, __list = {__prev = 0x0, __next = 0x0}}, __size =
'\000' repeats 39 times, __align = 0}}, depth = 0, unused = {
  owner = 0, dummy = 0}}, change_lock = {mutex = 0x0, unused = {__data
= {__lock = 0, __count = 0, __owner = 0, __nusers = 0, __kind = 0,
__spins = 0, __list = {__prev = 0x0, __next = 0x0}}, __size =
'\000' repeats 39 times, __align = 0}}, frozen = 0,
  changed_frozen = 0x7f22840212f0, skip_folder_lock = 0, pending_changes =
0x0, parent_store = 0x0, full_name = 0x7f224c005f90 \300c,
  display_name = 0x7f224c0013f0 \260\020, description = 0x7f224c006380
\240]}
(gdb) p *account_store
No symbol account_store in current context.
===

File bt_evolution_8651_04082013.txt contains stack trace just before step
9.
File createAppointmentStackTrace contains traces when crash happens at
step 9


With regards,
Samarjit
[New LWP 8696]
[New LWP 8682]
[New LWP 8681]
[New LWP 8657]
[New LWP 8656]
[New LWP 8655]
[New LWP 8654]
[Thread debugging using libthread_db enabled]
Using host libthread_db library /lib/x86_64-linux-gnu/libthread_db.so.1.
0x7f6e73470303 in poll () from /lib/x86_64-linux-gnu/libc.so.6

Thread 8 (Thread 0x7f6e616c6700 (LWP 8654)):
#0  0x7f6e73470303 in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x7f6e739abd84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x7f6e739ac1e2 in g_main_loop_run () from 
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x7f6e73f774a6 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x7f6e739cf645 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x7f6e7374ee9a in start_thread () from 
/lib/x86_64-linux-gnu/libpthread.so.0
#6  0x7f6e7347bcbd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#7  0x in ?? ()

Thread 7 (Thread 0x7f6e5b7b6700 (LWP 8655)):
#0  0x7f6e73470303 in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x7f6e739abd84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x7f6e739abea4 in g_main_context_iteration () from 
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x7f6e5b7bd4ad in ?? () from 
/usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
#4  0x7f6e739cf645 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x7f6e7374ee9a in start_thread () from 
/lib/x86_64-linux-gnu/libpthread.so.0
#6  0x7f6e7347bcbd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#7  0x in ?? ()

Thread 6 (Thread 0x7f6e5afb5700 (LWP 8656)):
#0  0x7f6e73470303 in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x7f6e739abd84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x7f6e739abea4 in g_main_context_iteration () from 
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x7f6e739abef1 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x7f6e739cf645 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x7f6e7374ee9a in 

Re: [Evolution-hackers] Evolution crashes while creating appointment from Mail

2013-04-07 Thread Johnny Jacob
Samarjit,

You should report this in bugzilla.

Thanks.
//Johnny


On Mon, Apr 8, 2013 at 5:52 AM, samarjit Adhikari 
samarjit.adhik...@gmail.com wrote:

 Hi All

 [My Evolution configuration]
 Version: 3.6.4+
 Plugin: evolution-mapi

 [steps to reproduce]
 1. Select any mail from inbox.
 2. Right Click on a mail. A action menu list will appear.
 3. Choose Create--Create an Appointment
 4. it will ask for Select destination
 5. Select Personal on this computer followed by OK
 6. A Appointment window will open. Just cancel it by closing it.
 7. It will ask Would you like to save changes to this appointment?
 8. Select Discard Changes
 9. Now left click on any places of evolution.  It will crash

 Attaching gdb what is being found
 ===
 Breakpoint 1, e_mail_reader_check_state (reader=reader@entry=0x7f22a8d31340)
 at e-mail-reader.c:4129
 4129e-mail-reader.c: No such file or directory.
 (gdb) c
 Continuing.

 Breakpoint 2, camel_folder_get_parent_store (folder=0x7f22a8f93730) at
 camel-folder.c:2113
 2113camel-folder.c: No such file or directory.
 (gdb) p folder
 $1 = (CamelFolder *) 0x7f22a8f93730
 (gdb) p *folder
 $2 = {parent = {parent = {g_type_instance = {g_class = 0x7f22a8f93580},
 ref_count = 0, qdata = 0x0}, priv = 0x7f22a8f937d0},
   priv = 0x7f22a8f937e0, summary = 0x0, folder_flags =
 CAMEL_FOLDER_HAS_SUMMARY_CAPABILITY, permanent_flags = 159, later = {0x0,
 0x0, 0x0,
 0x0}}
 (gdb) b e-mail-reader.c:4172
 Breakpoint 3 at 0x7f22729ff41c: file e-mail-reader.c, line 4172.
 (gdb) c
 Continuing.

 Breakpoint 2, camel_folder_get_parent_store (folder=0x7f22a8f93730) at
 camel-folder.c:2112
 2112in camel-folder.c
 *(gdb) p store
 $3 = (GtkListStore *) 0x0
 *(gdb) p *folder
 $4 = {parent = {parent = {g_type_instance = {g_class = 0x7f22a8f93580},
 ref_count = 0, qdata = 0x0}, priv = 0x7f22a8f937d0},
   priv = 0x7f22a8f937e0, summary = 0x0, folder_flags =
 CAMEL_FOLDER_HAS_SUMMARY_CAPABILITY, permanent_flags = 159, later = {0x0,
 0x0, 0x0,
 0x0}}
 (gdb) p *folder-priv
 $5 = {lock = {mutex = {mutex = 0x7f224c178940, unused = {__data = {__lock
 = 0, __count = 0, __owner = 0, __nusers = 0, __kind = 0,
   __spins = 0, __list = {__prev = 0x0, __next = 0x0}}, __size =
 '\000' repeats 39 times, __align = 0}}, depth = 0, unused = {
   owner = 0, dummy = 0}}, change_lock = {mutex = 0x0, unused = {__data
 = {__lock = 0, __count = 0, __owner = 0, __nusers = 0, __kind = 0,
 __spins = 0, __list = {__prev = 0x0, __next = 0x0}}, __size =
 '\000' repeats 39 times, __align = 0}}, frozen = 0,
   changed_frozen = 0x7f22840212f0, skip_folder_lock = 0, pending_changes =
 0x0, parent_store = 0x0, full_name = 0x7f224c005f90 \300c,
   display_name = 0x7f224c0013f0 \260\020, description = 0x7f224c006380
 \240]}
 (gdb) p *account_store
 No symbol account_store in current context.
 ===

 File bt_evolution_8651_04082013.txt contains stack trace just before
 step 9.
 File createAppointmentStackTrace contains traces when crash happens at
 step 9


 With regards,
 Samarjit

 ___
 evolution-hackers mailing list
 evolution-hackers@gnome.org
 To change your list options or unsubscribe, visit ...
 https://mail.gnome.org/mailman/listinfo/evolution-hackers




-- 
[ http://about.me/johnnyjacob ]
___
evolution-hackers mailing list
evolution-hackers@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Evolution crashes while creating appointment from Mail

2013-04-07 Thread samarjit Adhikari
Hi Johnny,

If 1 more person can reproduce the crash along with me , I will go ahead
and report it in Bugzilla.
Are you able to reproduce using my given steps ?

with regards,
Samarjit
___
evolution-hackers mailing list
evolution-hackers@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-hackers