[Users] [Bug 2583] New: if NetworkManager is not running claws hangs for 30 seconds at startup and shutdown

noreply at thewildbeast.co.uk noreply at thewildbeast.co.uk
Sat Jan 21 03:54:36 CET 2012


http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=2583

           Summary: if NetworkManager is not running claws hangs for 30
                    seconds at startup and shutdown
           Product: Claws Mail
           Version: 3.8.0
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Other
        AssignedTo: users at lists.claws-mail.org
        ReportedBy: horsley1953 at gmail.com


I wanted to take a look at building claws-mail from the source rpm on my fedora
16 system, so I installed the source rpm and all the development packages that
needs to suck in. One of those packages dragged in NetworkManager. (I had
previously erase it because it caused so many problems just like this :-). That
left my machine in the state of NetworkManager installed, but not running. When
I started claws-mail, nothing showed up for 30 seconds. I ran an strace and
found this nonsense:

21:25:23.974684 socket(PF_FILE, SOCK_STREAM|SOCK_CLOEXEC, 0) = 7
21:25:23.974732 connect(7, {sa_family=AF_FILE,
path="/var/run/dbus/system_bus_socket"}, 33) = 0
...
21:25:24.124108 sendmsg(7, {msg_name(0)=NULL,
msg_iov(2)=[{"l\1\0\1#\0\0\0\5\0\0\0\177\0\0\0\1\1o\0\25\0\0\0/org/fre"...,
144}, {"\36\0\0\0org.freedesktop.NetworkManag"..., 35}], msg_controllen=0,
msg_flags=0}, MSG_NOSIGNAL) = 179
...
21:25:24.124718 poll([{fd=7, events=POLLIN}], 1, 25000) = 1 ([{fd=7,
revents=POLLIN}])
21:25:49.126227 recvmsg(7, {msg_name(0)=NULL,
msg_iov(1)=[{"l\3\1\1;\0\0\0\5\0\0\0m\0\0\0\6\1s\0\7\0\0\0:1.1817\0"...,
2048}], msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC}, MSG_CMSG_CLOEXEC) = 187

That opens a dbus connection, then eventually tries to talk about network
manager to dbus, then finally hits the last poll shown which takes from 25:24
to 25:49 to return.

It would be nice if all the HAVE_NETWORKMANAGER_SUPPORT code was not only
ifdefed, but also checked a runtime flag so I could set a preference or option
to tell claws to forget the furshlugginer NetworkManager.

-- 
Configure bugmail: http://www.thewildbeast.co.uk/claws-mail/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Users mailing list