Bug 1387171 - [abrt] xfce4-panel: imap_recv_command(): wrapper-1.0 killed by SIGSEGV
Summary: [abrt] xfce4-panel: imap_recv_command(): wrapper-1.0 killed by SIGSEGV
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: xfce4-panel
Version: 24
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kevin Fenzi
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:9c51b69819caa550fa131f35a8b...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-20 09:48 UTC by Silas Parker
Modified: 2017-08-08 19:29 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-08-08 19:29:39 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (31.24 KB, text/plain)
2016-10-20 09:48 UTC, Silas Parker
no flags Details
File: cgroup (148 bytes, text/plain)
2016-10-20 09:48 UTC, Silas Parker
no flags Details
File: core_backtrace (8.35 KB, text/plain)
2016-10-20 09:48 UTC, Silas Parker
no flags Details
File: dso_list (10.34 KB, text/plain)
2016-10-20 09:48 UTC, Silas Parker
no flags Details
File: environ (1.93 KB, text/plain)
2016-10-20 09:48 UTC, Silas Parker
no flags Details
File: exploitable (82 bytes, text/plain)
2016-10-20 09:48 UTC, Silas Parker
no flags Details
File: limits (1.29 KB, text/plain)
2016-10-20 09:48 UTC, Silas Parker
no flags Details
File: maps (76.17 KB, text/plain)
2016-10-20 09:49 UTC, Silas Parker
no flags Details
File: mountinfo (3.61 KB, text/plain)
2016-10-20 09:49 UTC, Silas Parker
no flags Details
File: namespaces (102 bytes, text/plain)
2016-10-20 09:49 UTC, Silas Parker
no flags Details
File: open_fds (831 bytes, text/plain)
2016-10-20 09:49 UTC, Silas Parker
no flags Details
File: proc_pid_status (1.12 KB, text/plain)
2016-10-20 09:49 UTC, Silas Parker
no flags Details
File: var_log_messages (28 bytes, text/plain)
2016-10-20 09:49 UTC, Silas Parker
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Xfce 12939 0 None None None 2016-11-04 17:06:20 UTC

Description Silas Parker 2016-10-20 09:48:44 UTC
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

Comment 1 Silas Parker 2016-10-20 09:48:49 UTC
Created attachment 1212404 [details]
File: backtrace

Comment 2 Silas Parker 2016-10-20 09:48:50 UTC
Created attachment 1212405 [details]
File: cgroup

Comment 3 Silas Parker 2016-10-20 09:48:52 UTC
Created attachment 1212406 [details]
File: core_backtrace

Comment 4 Silas Parker 2016-10-20 09:48:53 UTC
Created attachment 1212407 [details]
File: dso_list

Comment 5 Silas Parker 2016-10-20 09:48:55 UTC
Created attachment 1212408 [details]
File: environ

Comment 6 Silas Parker 2016-10-20 09:48:56 UTC
Created attachment 1212409 [details]
File: exploitable

Comment 7 Silas Parker 2016-10-20 09:48:58 UTC
Created attachment 1212410 [details]
File: limits

Comment 8 Silas Parker 2016-10-20 09:49:00 UTC
Created attachment 1212411 [details]
File: maps

Comment 9 Silas Parker 2016-10-20 09:49:01 UTC
Created attachment 1212412 [details]
File: mountinfo

Comment 10 Silas Parker 2016-10-20 09:49:03 UTC
Created attachment 1212413 [details]
File: namespaces

Comment 11 Silas Parker 2016-10-20 09:49:07 UTC
Created attachment 1212414 [details]
File: open_fds

Comment 12 Silas Parker 2016-10-20 09:49:10 UTC
Created attachment 1212415 [details]
File: proc_pid_status

Comment 13 Silas Parker 2016-10-20 09:49:14 UTC
Created attachment 1212416 [details]
File: var_log_messages

Comment 14 Kevin Fenzi 2016-10-20 14:31:26 UTC
Can you see any pattern to it?

Comment 15 Silas Parker 2016-10-21 13:47:45 UTC
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.

Comment 16 Silas Parker 2016-11-04 16:01:08 UTC
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.

Comment 17 Kevin Fenzi 2016-11-04 16:23:05 UTC
Would you be willing to file this upstream at bugzilla.xfce.org ? 

Or if you like I can do so...

Comment 18 Silas Parker 2016-11-04 17:02:05 UTC
I have created the bug in the XFCE bugzilla:
https://bugzilla.xfce.org/show_bug.cgi?id=12939

Comment 19 Kevin Fenzi 2016-11-04 17:06:20 UTC
Excellent. Thank you very much.

Comment 20 Fedora End Of Life 2017-07-25 23:32:56 UTC
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.

Comment 21 Fedora End Of Life 2017-08-08 19:29:39 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.