Bug 1326016 - spice-server timeout after 1 million seconds
Summary: spice-server timeout after 1 million seconds
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: xorg-x11-drv-qxl
Version: 7.2
Hardware: x86_64
OS: All
low
low
Target Milestone: rc
: ---
Assignee: Default Assignee for SPICE Bugs
QA Contact: SPICE QE bug list
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-11 15:19 UTC by Joe Wright
Modified: 2019-10-10 11:50 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-12 12:54:00 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Joe Wright 2016-04-11 15:19:01 UTC
Description of problem:
- Spice remote display connection times out after exactly 1 million seconds.


Version-Release number of selected component (if applicable):
- current release

How reproducible:
- after display session open for 1 million seconds (approximately 11 1/2 days)

Steps to Reproduce:
1. Configure spice remote display using spice-server
2. connect remote display to the server
3. wait (the timer does not seem to be attached to the system clock, so forwarding the clock to the timeframe doesnt force the issue)

Actual results:
- Session timeout

Expected results:
- no session timeout

Additional info:

It appears to be in reds.c which is part of the spice-server package, according to the customer, however:

<teuf> jwright: I think here are your 1000000 seconds https://cgit.freedesktop.org/xorg/driver/xf86-video-qxl/tree/src/spiceqxl_main_loop.c#n169
<teuf> TimerSet is /usr/include/xorg/os.h extern _X_EXPORT OsTimerPtr TimerSet(OsTimerPtr timer, int flags, CARD32 millis, OsTimerCallback func, void *arg);
<teuf> wondering if something like http://paste.fedoraproject.org/349386/78709914/ would work
<teuf> jwright: I need to go now though, I'll probably fix this upstream sometimes this week if it's something close to what I fpasted

Comment 2 Christophe Fergeau 2016-04-11 16:12:29 UTC
(In reply to Joe Wright from comment #0)
> Additional info:
> 
> It appears to be in reds.c which is part of the spice-server package,
> according to the customer

Until proven otherwise, it's a bug in an Xspice-specific part of the xorg QXL driver which is fixed by https://lists.freedesktop.org/archives/spice-devel/2016-April/028069.html

Comment 3 Tim Briggs 2016-04-11 18:01:26 UTC
(In reply to Christophe Fergeau from comment #2)
> (In reply to Joe Wright from comment #0)
> > Additional info:
> > 
> > It appears to be in reds.c which is part of the spice-server package,
> > according to the customer
> 
> Until proven otherwise, it's a bug in an Xspice-specific part of the xorg
> QXL driver which is fixed by
> https://lists.freedesktop.org/archives/spice-devel/2016-April/028069.html

The fix does appear to address the error message:
Spice-ERROR **:reds.c:3516:migrate_timeout: assertion ‘reds->mig_wait_connect || reds->mig_wait_disconnect’ failed

If someone could build test packages against RHEL 7.1, I'd be happy to verify.

Comment 4 David Blechter 2016-04-12 12:54:00 UTC
(In reply to Tim Briggs from comment #3)
> (In reply to Christophe Fergeau from comment #2)
> > (In reply to Joe Wright from comment #0)
> > > Additional info:
> > > 
> > > It appears to be in reds.c which is part of the spice-server package,
> > > according to the customer
> > 
> > Until proven otherwise, it's a bug in an Xspice-specific part of the xorg
> > QXL driver which is fixed by
> > https://lists.freedesktop.org/archives/spice-devel/2016-April/028069.html
> 
> The fix does appear to address the error message:
> Spice-ERROR **:reds.c:3516:migrate_timeout: assertion
> ‘reds->mig_wait_connect || reds->mig_wait_disconnect’ failed
> 
> If someone could build test packages against RHEL 7.1, I'd be happy to
> verify.

xspice is not supported. Please, file the bug upstream.


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