You are not logged in.

#1 2012-01-29 22:19:58

Asaf K.
Member
Registered: 2011-05-04
Posts: 67

curl-7.24 breaks awesome?

I ran an unsuspecting system upgrade the other day, after a while without upgrading I had quite the list of major packages to upgrade. There was a kernel, some gcc packages, etc.

Suddenly everything froze, I had to reboot and slowly I realized that something broke awesome or slim. Eventually I started downgrading. I managed to identify the culprit as curl-7.24.0-1, which when installed instantly breaks up awesome forcing me to shut it down and downgrade to 7.23.1-2 which causes no problem.

When I checked I saw that the only awesome related package I have installed that requires curl is vicious-git which I cannot really remove since quite some part of the functionality depends on this package.

Did anyone else experience this? Is there a reasonable way to get over this?

Offline

#2 2012-01-29 22:38:07

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: curl-7.24 breaks awesome?

There appear to be a whopping 4 widgets that use curl in vicious. It shouldn't be too difficult to figure out which one isn't working.

Offline

#3 2012-01-29 22:41:08

Asaf K.
Member
Registered: 2011-05-04
Posts: 67

Re: curl-7.24 breaks awesome?

Both the hddtemp widget as well the MPD widget use this. I am using both of them.

Offline

#4 2012-01-29 22:55:38

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: curl-7.24 breaks awesome?

...and which one isn't working?

Offline

#5 2012-01-29 23:08:13

Asaf K.
Member
Registered: 2011-05-04
Posts: 67

Re: curl-7.24 breaks awesome?

No, you don't seem to get it. Once pacman installs curl awesome just freezes completely and becomes unusable so I cannot see "which one is not working."

(I just tried to upgrade and leave an open terminal window to allow a downgrade back to usability. However I had to restart awesome and I couldn't figure out which one isn't working anyway)

Offline

#6 2012-01-29 23:25:11

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: curl-7.24 breaks awesome?

You don't seem to understand how debugging works.

- Disable both of the widgets that use curl. Test. Is it broken? It's not curl.
- Enable one of the widgets that uses curl. Test. Is it broken? This might be the culprit.
- Disable that widget and enable the other. Is it broken? ....

I looked at the source code for these widgets. They're doing nothing but telnet calls to the loopback interface. Perhaps you could try these separately from vicious (with more verbosity) to figure out where it's broken.

Last edited by falconindy (2012-01-29 23:26:23)

Offline

#7 2012-01-30 00:02:29

Asaf K.
Member
Registered: 2011-05-04
Posts: 67

Re: curl-7.24 breaks awesome?

It turns out that hddtemp is the broken widget. Once disabled there are no troubles with the new curl.

Furthermore, there's nothing in the curl code that won't work manually. I suspect that somehow the loop which manages reading from curl is broken. I have no idea what to do about that, either.

Offline

Board footer

Powered by FluxBB