Description of problem: The XFCE mail plugin crashes periodically. I have it connected to DavMail gateway which runs locally. Version-Release number of selected component: xfce4-panel-4.12.0-5.fc24 Additional info: reporter: libreport-2.7.2 backtrace_rating: 4 cmdline: /usr/lib64/xfce4/panel/wrapper-1.0 /usr/lib64/xfce4/panel/plugins/libmailwatch.so 10 4194342 mailwatch 'Mail Watcher' 'Check mail from multiple mailboxes' '' crash_function: imap_recv_command executable: /usr/lib64/xfce4/panel/wrapper-1.0 global_pid: 23526 kernel: 4.7.7-200.fc24.x86_64 pkg_fingerprint: 73BD E983 81B4 6521 pkg_vendor: Fedora Project runlevel: N 5 type: CCpp uid: 1213 Truncated backtrace: Thread no. 1 (1 frames) #0 imap_recv_command at mailwatch-mailbox-imap.c:258
Created attachment 1212404 [details] File: backtrace
Created attachment 1212405 [details] File: cgroup
Created attachment 1212406 [details] File: core_backtrace
Created attachment 1212407 [details] File: dso_list
Created attachment 1212408 [details] File: environ
Created attachment 1212409 [details] File: exploitable
Created attachment 1212410 [details] File: limits
Created attachment 1212411 [details] File: maps
Created attachment 1212412 [details] File: mountinfo
Created attachment 1212413 [details] File: namespaces
Created attachment 1212414 [details] File: open_fds
Created attachment 1212415 [details] File: proc_pid_status
Created attachment 1212416 [details] File: var_log_messages
Can you see any pattern to it?
Sorry, I can't see a pattern to it. Sometimes it'll crash several times in a day, sometimes it'll work fine for days or weeks. Maybe it's something to with the way DavMail implements IMAP.
I ran it with gdb attached and this is what I could get out of it: (gdb) bt #0 0x00007ff34e957523 in imap_recv_command (imailbox=0x5561897cd7f0, net_conn=<optimized out>, buf=<optimized out>, len=<optimized out>) at mailwatch-mailbox-imap.c:258 #1 0x0a007ff34e957567 in () #2 0x346e69616d6f6400 in () #3 0x6f686c61636f6c00 in () #4 0x6774683264007473 in () #5 0x6774683264003236 in () #6 0x2e656361702e3236 in () #7 0x6c616e7265746e69 in () #8 0x6f686c61636f6c00 in () #9 0x6c61636f6c2e7473 in () #10 0x6c006e69616d6f64 in () #11 0x74736f686c61636f in () #12 0x686c61636f6c0036 in () #13 0x636f6c2e3674736f in () #14 0x6e69616d6f646c61 in () #15 0x686c61636f6c0036 in () #16 0x746832640074736f in () #17 0x7468326400323667 in () #18 0x656361702e323667 in () #19 0x616e7265746e692e in () #20 0x00007ff33f7f006c in () #21 0x00007ff33f7fbd50 in () #22 0x00007ff34e963884 in () at /usr/lib64/xfce4/panel/plugins/libmailwatch.so #23 0x00007ff33f7fbed0 in () #24 0x0000000000000000 in () (gdb) info frame Stack level 0, frame at 0x7ff33f7fb750: rip = 0x7ff34e957523 in imap_recv_command (mailwatch-mailbox-imap.c:258); saved rip = 0xa007ff34e957567 called by frame at 0x7ff33f7fb758 source language c. Arglist at 0x7ff33f7fb740, args: imailbox=0x5561897cd7f0, net_conn=<optimized out>, buf=<optimized out>, len=<optimized out> Locals at 0x7ff33f7fb740, Previous frame's sp is 0x7ff33f7fb750 Saved registers: rbx at 0x7ff33f7fb718, rbp at 0x7ff33f7fb720, r12 at 0x7ff33f7fb728, r13 at 0x7ff33f7fb730, r14 at 0x7ff33f7fb738, r15 at 0x7ff33f7fb740, rip at 0x7ff33f7fb748 (gdb) info locals bin = <optimized out> tot = <optimized out> p = <optimized out> (gdb) info registers rax 0xffffffffffffffff -1 rbx 0x7ff3300010e0 140682459091168 rcx 0xa0 160 rdx 0x0 0 rsi 0x0 0 rdi 0x0 0 rbp 0x5561897cd7f0 0x5561897cd7f0 rsp 0x7ff33f7fb748 0x7ff33f7fb748 r8 0x7ff330000cc0 140682459090112 r9 0x0 0 r10 0x10 16 r11 0x0 0 r12 0x7ff33f7fc3c0 140682719118272 r13 0x7ff33f7fc7c0 140682719119296 r14 0x7ff33f7fc3c0 140682719118272 r15 0x7ff33f7fc7c0 140682719119296 rip 0x7ff34e957523 0x7ff34e957523 <imap_recv_command+307> eflags 0x10206 [ PF IF RF ] cs 0x33 51 ss 0x2b 43 ds 0x0 0 es 0x0 0 fs 0x0 0 gs 0x0 0 This was with the following RPM versions: xfce4-mailwatch-plugin-1.2.0-8.fc24.x86_64 xfce4-panel-4.12.0-5.fc24.x86_64 From the source (https://git.xfce.org/panel-plugins/xfce4-mailwatch-plugin/tree/libmailwatch-core/mailwatch-mailbox-imap.c?id=3ed2f006ff16b0412f00beb3a8b05d25090c9055) it looks like it might be returning after a "buffer full" error.
Would you be willing to file this upstream at bugzilla.xfce.org ? Or if you like I can do so...
I have created the bug in the XFCE bugzilla: https://bugzilla.xfce.org/show_bug.cgi?id=12939
Excellent. Thank you very much.
This message is a reminder that Fedora 24 is nearing its end of life. Approximately 2 (two) weeks from now Fedora will stop maintaining and issuing updates for Fedora 24. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '24'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 24 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
Fedora 24 changed to end-of-life (EOL) status on 2017-08-08. Fedora 24 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed.