Bug 1110400 - [abrt] freerdp: mainloop_defer_enable(): xfreerdp killed by SIGABRT
Summary: [abrt] freerdp: mainloop_defer_enable(): xfreerdp killed by SIGABRT
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: freerdp
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mads Kiilerich
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:b915de0e0245d4c25a04f1a905d...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-17 14:48 UTC by Reilly Hall
Modified: 2015-06-29 21:10 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-06-29 21:10:36 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (27.65 KB, text/plain)
2014-06-17 14:48 UTC, Reilly Hall
no flags Details
File: cgroup (172 bytes, text/plain)
2014-06-17 14:48 UTC, Reilly Hall
no flags Details
File: core_backtrace (11.77 KB, text/plain)
2014-06-17 14:48 UTC, Reilly Hall
no flags Details
File: dso_list (5.90 KB, text/plain)
2014-06-17 14:48 UTC, Reilly Hall
no flags Details
File: environ (1.74 KB, text/plain)
2014-06-17 14:48 UTC, Reilly Hall
no flags Details
File: limits (1.29 KB, text/plain)
2014-06-17 14:48 UTC, Reilly Hall
no flags Details
File: maps (28.94 KB, text/plain)
2014-06-17 14:48 UTC, Reilly Hall
no flags Details
File: open_fds (1003 bytes, text/plain)
2014-06-17 14:48 UTC, Reilly Hall
no flags Details
File: proc_pid_status (938 bytes, text/plain)
2014-06-17 14:48 UTC, Reilly Hall
no flags Details
File: var_log_messages (207 bytes, text/plain)
2014-06-17 14:48 UTC, Reilly Hall
no flags Details

Description Reilly Hall 2014-06-17 14:48:26 UTC
Description of problem:
I was just using KDE Remote Desktop and I received a new email in Outlook and the bling sound appeared to crash the client.  I was able to hear the sound but I was abruptly disconnected and I received the SIGABRT error.

Version-Release number of selected component:
freerdp-1.0.2-6.fc20

Additional info:
reporter:       libreport-2.2.2
backtrace_rating: 4
cmdline:        xfreerdp -g 1920x1080 -k 0x00000409 -u hallre01 -p ******** -D -X 52429377 -a 24 --plugin rdpsnd --plugin rdpdr --data disk media /media -- -x l --rfx --ignore-certificate --plugin cliprdr -t 3389 localhost
crash_function: mainloop_defer_enable
executable:     /usr/bin/xfreerdp
kernel:         3.14.7-200.fc20.x86_64
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (8 frames)
 #5 mainloop_defer_enable at pulse/mainloop.c:257
 #6 do_pstream_read_write at pulsecore/pstream.c:182
 #7 dispatch_pollfds at pulse/mainloop.c:656
 #8 pa_mainloop_dispatch at pulse/mainloop.c:903
 #9 pa_mainloop_iterate at pulse/mainloop.c:934
 #10 pa_mainloop_run at pulse/mainloop.c:949
 #11 thread at pulse/thread-mainloop.c:90
 #12 internal_thread_func at pulsecore/thread-posix.c:83

Comment 1 Reilly Hall 2014-06-17 14:48:30 UTC
Created attachment 909616 [details]
File: backtrace

Comment 2 Reilly Hall 2014-06-17 14:48:31 UTC
Created attachment 909617 [details]
File: cgroup

Comment 3 Reilly Hall 2014-06-17 14:48:33 UTC
Created attachment 909618 [details]
File: core_backtrace

Comment 4 Reilly Hall 2014-06-17 14:48:35 UTC
Created attachment 909620 [details]
File: dso_list

Comment 5 Reilly Hall 2014-06-17 14:48:36 UTC
Created attachment 909621 [details]
File: environ

Comment 6 Reilly Hall 2014-06-17 14:48:38 UTC
Created attachment 909622 [details]
File: limits

Comment 7 Reilly Hall 2014-06-17 14:48:39 UTC
Created attachment 909623 [details]
File: maps

Comment 8 Reilly Hall 2014-06-17 14:48:41 UTC
Created attachment 909624 [details]
File: open_fds

Comment 9 Reilly Hall 2014-06-17 14:48:43 UTC
Created attachment 909625 [details]
File: proc_pid_status

Comment 10 Reilly Hall 2014-06-17 14:48:44 UTC
Created attachment 909626 [details]
File: var_log_messages

Comment 11 Reilly Hall 2014-07-30 14:18:25 UTC
Another user experienced a similar problem:

Nothing, I just had the window open, logged in, I was working on something else on another virtual desktop (browser) and it just closed by itself, couldn't see why.

reporter:       libreport-2.2.3
backtrace_rating: 4
cmdline:        xfreerdp -g 1680x1050 -k 0x00000409 -u hallre01 -p ******** -D -X 62914776 -a 24 --plugin rdpsnd --plugin rdpdr --data disk media /media -- -x l --rfx --ignore-certificate --plugin cliprdr -t 3389 vdihallre01-w7v.risk.regn.net
crash_function: mainloop_defer_enable
executable:     /usr/bin/xfreerdp
kernel:         3.15.6-200.fc20.x86_64
package:        freerdp-1.0.2-6.fc20
reason:         xfreerdp killed by SIGABRT
runlevel:       N 5
type:           CCpp
uid:            1000

Comment 12 Martin Wilck 2014-09-01 11:52:01 UTC
Another user experienced a similar problem:

xfreerdp suddenly crashed. session was idle, i was working on  a different computer.

reporter:       libreport-2.2.3
backtrace_rating: 4
cmdline:        xfreerdp -g 1200x1600 -k de -u pdbmwilc -d domfsc01 -a 16 --plugin drdynvc --data audin -- --plugin rdpsnd --plugin cliprdr 192.168.101.185
crash_function: mainloop_defer_enable
executable:     /usr/bin/xfreerdp
kernel:         3.15.10-200.fc20.x86_64
package:        freerdp-1.0.2-6.fc20
reason:         xfreerdp killed by SIGABRT
runlevel:       N 5
type:           CCpp
uid:            1004

Comment 13 Martin Wilck 2014-09-01 12:02:21 UTC
(In reply to Martin Wilck from comment #12)
> Another user experienced a similar problem:
> 
> xfreerdp suddenly crashed. session was idle, i was working on  a different
> computer.

stderr showed:

Assertion 'e->mainloop->n_enabled_defer_events > 0' failed at pulse/mainloop.c:260, function mainloop_defer_enable(). Aborting.

Comment 14 Martin Wilck 2014-09-01 12:19:48 UTC
Crash occurs because mainloop_defer_enable() was called with b=0 while mainloop->n_enabled_defer_events was 0.

255	static void mainloop_defer_enable(pa_defer_event *e, int b) {
256	    pa_assert(e);
257	    pa_assert(!e->dead);
258	
259	    if (e->enabled && !b) {
260	        pa_assert(e->mainloop->n_enabled_defer_events > 0);  <==== HERE
261	        e->mainloop->n_enabled_defer_events--;
262	    } else if (!e->enabled && b) {
263	        e->mainloop->n_enabled_defer_events++;
264	        pa_mainloop_wakeup(e->mainloop);
265	    }
266	
267	    e->enabled = b;
268	}

Comment 15 Martin Wilck 2014-09-01 12:54:46 UTC
More precisely, the error condition is (e->enabled && !b && !e->mainloop->n_enabled_defer_events > 0).

n_enabled_defer_events is changed in:
  
  mainloop_defer_new (++)
  mainloop_defer_enable (++/--, depending on parameters)
  mainloop_defer_free (--)
  cleanup_defer_events (--)

Comment 16 fsoyzh 2014-10-31 02:43:33 UTC
Another user experienced a similar problem:

when I using krdc with rdp, sometime it will discount from server

reporter:       libreport-2.2.3
backtrace_rating: 4
cmdline:        xfreerdp -g 1366x768 -k 0x00000409 -u eveblue -p ********* -D -X 71303305 -a 32 --plugin rdpsnd -x l --rfx --ignore-certificate --plugin cliprdr -t 3389 192.168.1.183
crash_function: mainloop_defer_enable
executable:     /usr/bin/xfreerdp
kernel:         3.16.6-203.fc20.x86_64
package:        freerdp-1.0.2-6.fc20
reason:         xfreerdp killed by SIGABRT
runlevel:       N 5
type:           CCpp
uid:            1000

Comment 17 Roman Mäder 2015-02-19 11:46:19 UTC
Another user experienced a similar problem:

During connection with a Windows 7 machine, the rdp client sometimes crashes. I don't know what causes it.

reporter:       libreport-2.2.3
backtrace_rating: 4
cmdline:        xfreerdp -g 1920x1200 -k 0x00000409 -u maeder -p ***** -D -X 85983476 -a 24 --plugin rdpsnd --plugin rdpdr --data disk media /media -- -x l --rfx --ignore-certificate --plugin cliprdr -t 3389 antares.mathconsult.ch
crash_function: mainloop_defer_enable
executable:     /usr/bin/xfreerdp
kernel:         3.17.8-200.fc20.x86_64
package:        freerdp-1.0.2-6.fc20
reason:         xfreerdp killed by SIGABRT
runlevel:       N 5
type:           CCpp
uid:            1611

Comment 18 Fedora End Of Life 2015-05-29 12:08:34 UTC
This message is a reminder that Fedora 20 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 20. 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 '20'.

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 20 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 19 Fedora End Of Life 2015-06-29 21:10:36 UTC
Fedora 20 changed to end-of-life (EOL) status on 2015-06-23. Fedora 20 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.