[Bug 755608] Re: Ntrack dead loop in function get_nl_link_by_index

2011-11-12 Thread Alexander Sack
ntrack 015 is available including the fix for this bug: https://launchpad.net/ntrack/main/015 ** Changed in: ntrack Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 755608] Re: Ntrack dead loop in function get_nl_link_by_index

2011-06-11 Thread Alexander Sack
thanks scott ... in your PPA was my big patch, right? and in -propose/-update we just have the one liner? Sounds good. I think my problem with PPTP VPN is really in libnlX somehow. route -n and ifconfig -a show the proper values at least for default route and the out IF, but libnl cache doesn't

Re: [Bug 755608] Re: Ntrack dead loop in function get_nl_link_by_index

2011-06-11 Thread Scott Kitterman
Alexander Sack a...@ubuntu.com wrote: thanks scott ... in your PPA was my big patch, right? and in -propose/-update we just have the one liner? Yes. Exactly. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 755608] Re: Ntrack dead loop in function get_nl_link_by_index

2011-06-07 Thread Sanjaya Karunasena
Excellent! Thanks -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755608 Title: Ntrack dead loop in function get_nl_link_by_index -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com

[Bug 755608] Re: Ntrack dead loop in function get_nl_link_by_index

2011-06-06 Thread Scott Kitterman
** Tags added: verification-done ** Tags removed: verification-needed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755608 Title: Ntrack dead loop in function get_nl_link_by_index -- ubuntu-bugs

[Bug 755608] Re: Ntrack dead loop in function get_nl_link_by_index

2011-06-06 Thread Launchpad Bug Tracker
This bug was fixed in the package ntrack - 011-1ubuntu1.1 --- ntrack (011-1ubuntu1.1) natty-proposed; urgency=low * Add debian/patches/dead-loop-fix.patch to fix infinite loop if route oif/nhopif is NULL (LP: #755608) - One source of high/100% CPU usage in KDE -- Scott

[Bug 755608] Re: Ntrack dead loop in function get_nl_link_by_index

2011-06-03 Thread Michael Wiesner
I've updated my system with Scott Kitterman's ppa. After disconnecting my VPNC-connection the 100% cpu issue is gone. But my IMAP-account in kmail doesn't work correct after disconnect. Furthermore shutdown, logoff etc. produce KDE-error messages (kmail-errors). I think, I shoult change to

Re: [Bug 755608] Re: Ntrack dead loop in function get_nl_link_by_index

2011-06-03 Thread Scott Kitterman
I've had mixed results with the version in my PPA. In some cases it's better than what's in natty-proposed and in some cases it's worse. I have not run into a case where the natty-proposed change regresses from what we released with. I think the -proposed upload ought to get into -updates

[Bug 755608] Re: Ntrack dead loop in function get_nl_link_by_index

2011-05-23 Thread Alexander Sack
If people dont see a regression the simple one liner is probably fine. Scott, getting a backtrace of the crashes you see would be helpful. I definitly see problems with VPN here that I need to fix, so a patch like mine will be coming sooner or later. -- You received this bug notification

[Bug 755608] Re: Ntrack dead loop in function get_nl_link_by_index

2011-05-23 Thread Alexander Sack
btw, my case is when disconnecting from PPTP with NM in natty. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755608 Title: Ntrack dead loop in function get_nl_link_by_index -- ubuntu-bugs mailing

[Bug 755608] Re: Ntrack dead loop in function get_nl_link_by_index

2011-05-23 Thread Scott Kitterman
On Monday, May 23, 2011 07:52:01 PM you wrote: Scott, getting a backtrace of the crashes you see would be helpful. See https://bugs.kde.org/show_bug.cgi?id=273736 ** Bug watch added: KDE Bug Tracking System #273736 http://bugs.kde.org/show_bug.cgi?id=273736 -- You received this bug

[Bug 755608] Re: Ntrack dead loop in function get_nl_link_by_index

2011-05-20 Thread Alexander Sack
Sanjaya, please keep your eyes open if you are stuck in offline after disconnecting from VPN. Thanks! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755608 Title: Ntrack dead loop in function

[Bug 755608] Re: Ntrack dead loop in function get_nl_link_by_index

2011-05-20 Thread Sanjaya Karunasena
@pitti: Thanks got it. @asac: Just tested for Wired Ethernet, Mobile Broadband, and a VPN from USAIP. No more 100% cpu issues on disconnect. I didn't get stuck in offline after disconnecting from VPN. USAIP is PPTP. Will OpenVPN make a difference? -- You received this bug notification because

Re: [Bug 755608] Re: Ntrack dead loop in function get_nl_link_by_index

2011-05-20 Thread Scott Kitterman
I did put an updated package with asac's new patch in my ppa. Would people who've tried the first fix please try this one. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755608 Title: Ntrack dead

[Bug 755608] Re: Ntrack dead loop in function get_nl_link_by_index

2011-05-20 Thread Salva
I tried proposed packages and they worked perfectly here with a vpnc connection, no loop after disconnecting either -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755608 Title: Ntrack dead loop in

[Bug 755608] Re: Ntrack dead loop in function get_nl_link_by_index

2011-05-20 Thread Ladislav Nesnera
Re #31: Great work! Your package solves my annoying problem which I described in Bug #777526. Thanks a lot (y) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755608 Title: Ntrack dead loop in

[Bug 755608] Re: Ntrack dead loop in function get_nl_link_by_index

2011-05-20 Thread Jens Taprogge
Re #25: The package in natty-proposed (011-1ubuntu1.1) fixes the issue for me. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755608 Title: Ntrack dead loop in function get_nl_link_by_index --

[Bug 755608] Re: Ntrack dead loop in function get_nl_link_by_index

2011-05-20 Thread Greg White
I can confirm this has fixed my issue. Very nice! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755608 Title: Ntrack dead loop in function get_nl_link_by_index -- ubuntu-bugs mailing list

[Bug 755608] Re: Ntrack dead loop in function get_nl_link_by_index

2011-05-20 Thread Nicola Menegazzi
latest updates fixed the issue for me - using huawei 1550 broadband modem. thanks!!! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755608 Title: Ntrack dead loop in function get_nl_link_by_index

[Bug 755608] Re: Ntrack dead loop in function get_nl_link_by_index

2011-05-20 Thread Jose Bernardo
I've tested connecting and disconnecting vpn and 3G (Huawei E352), and no problems at all. Looks like the package in natty-proposed has the right patch. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

Re: [Bug 755608] Re: Ntrack dead loop in function get_nl_link_by_index

2011-05-20 Thread Scott Kitterman
I did try asac's new patch and kmail seems to hang and crash now and then. It didn't to this before. I'm tempted to say the one in proposed now is what we should stick with. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 755608] Re: Ntrack dead loop in function get_nl_link_by_index

2011-05-20 Thread Ladislav Nesnera
Re #38: My experience is different. I use Kmail too and it works without troubles although I applied Scott Kitterman's package. Qt: 4.7.2 KDE Development Platform: 4.6.2 (4.6.2) KMail: 1.13.6 Linux pc 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:24 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

[Bug 755608] Re: Ntrack dead loop in function get_nl_link_by_index

2011-05-20 Thread Sanjaya Karunasena
Re #31: Tested the ppa and it works fine too. However, I don't get any VPN connection related issues in natty-proposed as well. Re #38 #39: I also don't get any KMail (I mean Kontact) issues with Scott Kitterman's package. However, I reported another issue which was troubling me for some time

[Bug 755608] Re: Ntrack dead loop in function get_nl_link_by_index

2011-05-19 Thread Scott Kitterman
It'd probably work best for anyone still having problems after getting a package with this fix to file a new bug. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755608 Title: Ntrack dead loop in

[Bug 755608] Re: Ntrack dead loop in function get_nl_link_by_index

2011-05-19 Thread Alexander Sack
iirc, this patch on top of last release should fix this bug and also keep online/offline state up-to-date properly for VPNs i tried ... anyone wants to give this a go? (has some debugging in it still which needs sanitizing) ** Patch added: work in progress patch

[Bug 755608] Re: Ntrack dead loop in function get_nl_link_by_index

2011-05-19 Thread Alexander Sack
the patch initially posted to the bug has the problem that you might get stuck in offline state after you disconnect from VPN ... which isnt that great. my patch (IIRC) ensures that all the netlink caches are properly refilled etc. everytime something changes. Let me know if a) the loop is gone

[Bug 755608] Re: Ntrack dead loop in function get_nl_link_by_index

2011-05-19 Thread Martin Pitt
Accepted ntrack into natty-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance! ** Changed in: ntrack (Ubuntu Natty)

[Bug 755608] Re: Ntrack dead loop in function get_nl_link_by_index

2011-05-19 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/natty-proposed/ntrack -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755608 Title: Ntrack dead loop in function get_nl_link_by_index -- ubuntu-bugs mailing list

[Bug 755608] Re: Ntrack dead loop in function get_nl_link_by_index

2011-05-19 Thread Scott Kitterman
@asac: Does that mean we should not be putting your rev 312 into an SRU? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755608 Title: Ntrack dead loop in function get_nl_link_by_index --

[Bug 755608] Re: Ntrack dead loop in function get_nl_link_by_index

2011-05-19 Thread Alexander Sack
Scott, rev 312 - similar to the patch attached here - only fixes the loop, but might cause you being stuck in offline after VPN disconnect until you reconnect wireless/wired ... the patch I attached above is a brute-force approach I did initially to fix all issues, but I didn't commit it to trunk

[Bug 755608] Re: Ntrack dead loop in function get_nl_link_by_index

2011-05-19 Thread Alexander Sack
** Patch added: working brute force patch against 015 release https://bugs.edge.launchpad.net/ntrack/+bug/755608/+attachment/2135755/+files/lp.755608.force.diff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 755608] Re: Ntrack dead loop in function get_nl_link_by_index

2011-05-19 Thread Alexander Sack
011 backport of backend from 015 + patch in https://bugs.launchpad.net/ntrack/+bug/755608/comments/24 Please test if that helps! ** Patch added: backport for 011 https://bugs.launchpad.net/ntrack/+bug/755608/+attachment/2135779/+files/lp.755608.force.backport011.diff -- You received this

[Bug 755608] Re: Ntrack dead loop in function get_nl_link_by_index

2011-05-19 Thread Alexander Sack
note that common/ntrackarchapi.h is internal API. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755608 Title: Ntrack dead loop in function get_nl_link_by_index -- ubuntu-bugs mailing list

[Bug 755608] Re: Ntrack dead loop in function get_nl_link_by_index

2011-05-19 Thread Sanjaya Karunasena
@pitti: I don't see ntrack in natty-proposed. Should I have to wait few more hours? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755608 Title: Ntrack dead loop in function get_nl_link_by_index --

Re: [Bug 755608] Re: Ntrack dead loop in function get_nl_link_by_index

2011-05-19 Thread Martin Pitt
Sanjaya Karunasena [2011-05-20 0:09 -]: @pitti: I don't see ntrack in natty-proposed. Should I have to wait few more hours? It is now. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755608

[Bug 755608] Re: Ntrack dead loop in function get_nl_link_by_index

2011-05-18 Thread Afiefh
Using Kubuntu 11.04 when my 3G disconnects I still get kded4 eating up 100% cpu. A side effect is that it also hangs the plasma-netbook workspace. Is this the same issue or something else? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to

[Bug 755608] Re: Ntrack dead loop in function get_nl_link_by_index

2011-05-17 Thread Harald Sitter
Perfectly reproducible on Kubuntu 11.04. * Setup vpn (at least openvpn and vpnc I know cause the issue). * Connect using Plasma networkmanagement widget * Disconnect once connection is established * Watch kded4 CPU load rise ** Also affects: ntrack (Ubuntu) Importance: Undecided

[Bug 755608] Re: Ntrack dead loop in function get_nl_link_by_index

2011-05-17 Thread Harald Sitter
** Attachment added: related callgrind log of kded4 https://bugs.launchpad.net/ubuntu/natty/+source/ntrack/+bug/755608/+attachment/2132517/+files/kded4.callgrind.xz -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 755608] Re: Ntrack dead loop in function get_nl_link_by_index

2011-05-17 Thread Scott Kitterman
** Changed in: ntrack (Ubuntu) Assignee: Alexander Sack (asac) = Scott Kitterman (kitterman) ** Changed in: ntrack (Ubuntu) Status: Triaged = In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 755608] Re: Ntrack dead loop in function get_nl_link_by_index

2011-05-17 Thread Scott Kitterman
** Changed in: ntrack (Ubuntu Natty) Assignee: Alexander Sack (asac) = Scott Kitterman (kitterman) ** Changed in: ntrack (Ubuntu Natty) Status: Triaged = In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 755608] Re: Ntrack dead loop in function get_nl_link_by_index

2011-05-17 Thread Paul J. Adams
Deployed the updated packages from Scott's PPA on Kubuntu Natty. Disconnecting from VPN no-longer triggers this bug and kded4 no-longer eats 100% CPU as a result. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 755608] Re: Ntrack dead loop in function get_nl_link_by_index

2011-05-17 Thread Launchpad Bug Tracker
This bug was fixed in the package ntrack - 011-1ubuntu2 --- ntrack (011-1ubuntu2) oneiric; urgency=low * Add debian/patches/dead-loop-fix.patch to fix infinite loop if route oif/nhopif is NULL (LP: #755608) - One source of high/100% CPU usage in KDE -- Scott Kitterman

[Bug 755608] Re: Ntrack dead loop in function get_nl_link_by_index

2011-05-17 Thread Scott Kitterman
Proposed SRU uploaded for Natty. Waiting for Ubuntu SRU team review. ** Description changed: Using Archlinux and KDE 4.6.2, ntrack 013. pptp vpn on and off will cause kded4 using 100% cpu, and backtrace shows that it get deadloop in get_nl_link_by_index. Seems the scan on cycle linked list

[Bug 755608] Re: Ntrack dead loop in function get_nl_link_by_index

2011-05-17 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/ntrack -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755608 Title: Ntrack dead loop in function get_nl_link_by_index -- ubuntu-bugs mailing list