Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002699gmpcUsabilitypublic2009-11-25 04:412010-08-19 04:42
Reporterbigpresh 
Assigned Toqball 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionnot fixable 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0002699: Fails to resolve server after laptop resumed from suspend
DescriptionWhenever I suspend my laptop, when I wake it back up, if I tell GMPC to connect, it will claim to be unable to resolve the hostname, showing the message:

 error code 12: hsst "supernova" not found: Temporary failure in name resolution

Everything else can successfully resolve the name still, though, and if I exit GMPC then start it back up, it works fine.

Attaching to the process with strace reveals that it is continually trying to read from a socket, presumably the old (now-dead) connection:

read(3, 0x9178d4, 4096) = -1 EAGAIN (Resource temporarily unavailable)

(repeated over and over)

[davidp@masterplan:~]$ ls -lh /proc/30050/fd/3
lrwx------ 1 davidp users 64 2009-11-25 09:38 /proc/30050/fd/3 -> socket:[1187638]

It looks like GMPC needs to handle connections that go away more cleanly.

If I can be of any assistance providing further info (perhaps running GMPC via strace from the start, and providing a full log of all the syscalls it was making both before and after the laptop was suspended, please do let me know!

TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0005016)
bigpresh (reporter)
2009-11-25 04:44

I should add that this is using verson 0.19.1 (unable to select that version from the product version drop-down; raised a separate issue for that).
(0005018)
qball (administrator)
2009-11-25 07:20

Can you give me more information about your system? it works here like this:

gmpc running
<suspend>
<un suspend>
gmpc disconnects, tries to reconnect.
First time fails because it was before network got back up.
2nd time success.

I can reproduce this on 3 machines. Desktop PC, netbook and laptop.

It also works on my mac mini, but that is osX and does not count.
(0005040)
bigpresh (reporter)
2009-11-27 06:56

I will attempt to get more useful info over the weekend, but this is on a Dell Inspiron 1501, running Arch Linux.

I'll start strace'ing GMPC, then suspend & unsuspend, and see if there's any useful clues in the logs.

- Issue History
Date Modified Username Field Change
2009-11-25 04:41 bigpresh New Issue
2009-11-25 04:41 bigpresh Status new => assigned
2009-11-25 04:41 bigpresh Assigned To => qball
2009-11-25 04:44 bigpresh Note Added: 0005016
2009-11-25 07:20 qball Note Added: 0005018
2009-11-27 06:56 bigpresh Note Added: 0005040
2010-08-19 04:42 qball Status assigned => closed
2010-08-19 04:42 qball Resolution open => not fixable


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker