Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 656850 - net-misc/freerdp-2.0.0_rc2-r1: _aligned_free: memory block was not allocated by _aligned_malloc!
Summary: net-misc/freerdp-2.0.0_rc2-r1: _aligned_free: memory block was not allocated ...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mike Gilbert
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-29 15:47 UTC by Theo van Rijn
Modified: 2019-09-29 21:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Theo van Rijn 2018-05-29 15:47:38 UTC
xfreerdp crashes when I start my favorite RDP session with version freerdp-2.0.0_rc2-r1. I did not have this issue with 2.0.0_rc1-r1. The removing the option "+async-update" also fixes the issue.

Here is the start command and the begin of the error reported:

$ xfreerdp /sound:sys:alsa,format:1,quality:high /microphone:sys:alsa,format:1,quality:high +compression /compression-level:2 +bitmap-cache +offscreen-cache +async-update -encryption +clipboard /u:user /monitors:0 /w:2430 /h:1440 -decorations /v:rdphost:3389 /log-level:WARN /p:"`zenity --password`"
[17:25:16:714] [27457:27458] [INFO][com.freerdp.client.common.cmdline] - loading channelEx rdpdr
[17:25:16:714] [27457:27458] [INFO][com.freerdp.client.common.cmdline] - loading channelEx rdpsnd
[17:25:16:714] [27457:27458] [INFO][com.freerdp.client.common.cmdline] - loading channelEx cliprdr
[17:25:16:714] [27457:27458] [INFO][com.freerdp.client.common.cmdline] - loading channelEx drdynvc
[17:25:17:027] [27457:27458] [WARN][com.freerdp.core.gcc] - Server uses non-advertised encryption method 0x00000000
[17:25:17:073] [27457:27458] [ERROR][com.winpr.timezone] - Unable to find a match for unix timezone: CET
[17:25:17:002] [27457:27482] [ERROR][com.winpr.crt] - _aligned_free: memory block was not allocated by _aligned_malloc!
[17:25:17:003] [27457:27482] [ERROR][com.winpr.crt] - _aligned_free: memory block was not allocated by _aligned_malloc!
*** Error in `xfreerdp': double free or corruption (!prev): 0x00007fc41c03b4d0 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x7939c)[0x7fc44a89839c]
/lib64/libc.so.6(+0x81281)[0x7fc44a8a0281]
/lib64/libc.so.6(+0x82851)[0x7fc44a8a1851]
/usr/bin/../lib64/libwinpr2.so.2(_aligned_offset_realloc+0x5a)[0x7fc44ac5366a]
/usr/bin/../lib64/libfreerdp2.so.2(interleaved_decompress+0x4c5)[0x7fc44b4a02b5]
/usr/bin/../lib64/libfreerdp2.so.2(+0x33068)[0x7fc44b414068]
/usr/bin/../lib64/libfreerdp2.so.2(+0x3c6ee)[0x7fc44b41d6ee]
/usr/bin/../lib64/libfreerdp2.so.2(+0x9b318)[0x7fc44b47c318]
/usr/bin/../lib64/libfreerdp2.so.2(+0x9b6b3)[0x7fc44b47c6b3]
/usr/bin/../lib64/libwinpr2.so.2(+0x6ca61)[0x7fc44ac40a61]
/lib64/libpthread.so.0(+0x7977)[0x7fc4480c9977]
/lib64/libc.so.6(clone+0x3f)[0x7fc44a91c3af]
======= Memory map: ========
564d466fc000-564d46720000 r-xp 00000000 08:04 1462131                    /usr/bin/xfreerdp
.....
Comment 1 Mike Gilbert gentoo-dev 2018-05-29 15:50:47 UTC
Please provide emerge --info net-misc/freerdp.

> The removing the option "+async-update" also fixes the issue.

What do you mean by this? There is no USE flag called "async-update".
Comment 2 Theo van Rijn 2018-06-01 23:46:24 UTC
async-update is a command line parameter to xfreerd. Without that parameter set, the crash does not happen.
Comment 3 Mike Gilbert gentoo-dev 2018-06-02 02:43:06 UTC
In that case, please report the issue upstream.