FS#6899 - rdesktop 1.50 segfaults on libX > 1.0.3
Attached to Project:
Arch Linux
Opened by Quido Meijer (Aapzak) - Friday, 13 April 2007, 12:36 GMT
Last edited by Dan McGee (toofishes) - Tuesday, 17 April 2007, 00:46 GMT
Opened by Quido Meijer (Aapzak) - Friday, 13 April 2007, 12:36 GMT
Last edited by Dan McGee (toofishes) - Tuesday, 17 April 2007, 00:46 GMT
|
Details
rdesktop (and probably more x apps) segfaults if libx 1.0.3
or higher is used on the system.
The session gets started but crashes when handling windows. I get it to crash every time on opening and closing the windows xp start menu. (just click on start twice). On Debian the problems start with version 1.0.3-7 and higher. The problem has been solved with a patch. The patch comes from the rdesktop site. http://sourceforge.net/tracker/index.php?func=detail&aid=1699388&group_id=24366&atid=381349 I'm at work and don't have the time to try and get this working. I might give it a try tonight. I hope this get fixed soon. |
This task depends upon
Closed by Dan McGee (toofishes)
Tuesday, 17 April 2007, 00:46 GMT
Reason for closing: Fixed
Additional comments about closing: patched and uploaded to extra repo
Tuesday, 17 April 2007, 00:46 GMT
Reason for closing: Fixed
Additional comments about closing: patched and uploaded to extra repo
Can you give me the versions you have of both using pacman? I've been using rdesktop without problems. I don't have a Windows XP box I can connect to however.
I just want to make sure you have the most recent version of both rdesktop and libx11 before I patch it.
I updated my system on friday (never upgrade on friday 13th) and right after that my rdesktop started failing on me. That update involved libX11 and not rdesktop. It is a rdesktop bug however.
pacman -Qi rdesktop
Name : rdesktop
Version : 1.5.0-1
Build Date : Sun Mar 18 20:27:36 2007 UTC
Install Date : Wed Mar 28 15:04:08 2007 UTC
pacman -Qi libx11
Name : libx11
Version : 1.1.1-4
Build Date : Wed Apr 4 17:00:33 2007 UTC
Install Date : Fri Apr 13 08:20:42 2007 UTC
My problems with the segfaulting rdesktop are now gone.
I raised my pkgrel to 2 and modified the pkgbuild so now the build part looks like this:
build() {
cd $startdir/src/$pkgname-$pkgver
patch -R -p0 < $startdir/rdesktop-1.5.0-xwin.c-patch || return 1
./configure --prefix=/usr
make || return 1
make DESTDIR=$startdir/pkg install
}
I copied the patch into the dir myself, I don't know how to auto download and MD5 the patch itself.