freerdp segfaults if $HOME is unset

Bug #1011790 reported by David Burgess
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
freerdp (Ubuntu)
Medium
Stéphane Graber
Precise
Medium
Stéphane Graber

Bug Description

Rationale:
freerdp crashes when HOME isn't set

Testcase:
 - unset HOME
 - xfreerdp <some destination>

Regression potential:
The fix has been in quantal for a while without any known regression.

Ubuntu 12.04 i386
FreeRDP 1.0.1

LTSP calls xfreerdp from xinit, but the process dies unless we first do

export HOME=${HOME:-/root}

in /usr/share/ltsp/xinitrc on the thin client. Other users have reported that this can be replicated by doing

unset HOME
xfreerdp host

on any non-thin host.

ref: http://sourceforge.net/mailarchive/forum.php?thread_name=4FD2EE88.8000506%40gmail.com&forum_name=ltsp-discuss

Revision history for this message
Stéphane Graber (stgraber) wrote :

The fix exists upstream, I uploaded a test package to ppa:stgraber/experimental

If the fix works as expected, I'll upload to quantal and SRU back to precise.

Changed in freerdp (Ubuntu):
assignee: nobody → Stéphane Graber (stgraber)
status: New → In Progress
Changed in freerdp (Ubuntu Precise):
importance: Undecided → Medium
status: New → In Progress
Changed in freerdp (Ubuntu):
importance: Undecided → Medium
Changed in freerdp (Ubuntu Precise):
assignee: nobody → Stéphane Graber (stgraber)
Revision history for this message
Stéphane Graber (stgraber) wrote :

Making this medium priority as it affects LTSP.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package freerdp - 1.0.1-1ubuntu4

---------------
freerdp (1.0.1-1ubuntu4) quantal; urgency=low

  * Cherry pick upstream bugfix for crash when $HOME is unset.
    (LP: #1011790)
 -- Stephane Graber <email address hidden> Wed, 13 Jun 2012 19:08:57 -0400

Changed in freerdp (Ubuntu):
status: In Progress → Fix Released
description: updated
Revision history for this message
Colin Watson (cjwatson) wrote : Please test proposed package

Hello David, or anyone else affected,

Accepted freerdp into precise-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/freerdp/1.0.1-1ubuntu2.2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please change the bug tag from verification-needed to verification-done. If it does not, change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in freerdp (Ubuntu Precise):
status: In Progress → Fix Committed
tags: added: verification-needed
Revision history for this message
Marc Gariépy (mgariepy) wrote :

I just tested the proposed package and it works correctly, thanks for the fix.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Scott Kitterman (kitterman) wrote : Update Released

The verification of this Stable Release Update has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regresssions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package freerdp - 1.0.1-1ubuntu2.2

---------------
freerdp (1.0.1-1ubuntu2.2) precise-proposed; urgency=low

  * Cherry pick upstream bugfix for crash when $HOME is unset.
    (LP: #1011790)
 -- Stephane Graber <email address hidden> Sun, 11 Nov 2012 18:39:50 -0500

Changed in freerdp (Ubuntu Precise):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers