[Bug 1945072] Re: getaddrinfo crashes on negative answers after Truncated retry
In trying to do the work requested for the report, it took a different turn. General sequence is still correct, with the following caveat: - our DNS server added a CNAME record to the truncated UDP reply, bringing the size to over 512 bytes The response is well formed, just too big. Since getaddrinfo never asks with EDNS, this is not correct and we must fix it - but getaddrifo shouldn't core on it. The crash happens downstream of this when the TCP replies come in, but only sometimes. I suspect a buffer overrun of some sort. If you don't see it through inspection, I will add a pcap. Might be possible to replay it or something. The query which gives such a large truncated reply is dig www.iiflstatements.com +ignore +notcp +noedns +qr which comes in at 502 bytes. We add a CNAME as the first record in the answer section, which brings it to 636 bytes. We will try to do a little more work to see if we can make it repeatable. Recap: - getaddrinfo makes two requests, A and , using UDP and no EDNS - At least one of the replies to the two requests is truncated - The truncated reply has a size greater than 512 bytes, otherwise error-free - getaddrinfo makes two additional requests, A and , using TCP - At least one of the the replies to the two TCP requests has an empty answer section - For example, the response comes back with a REFUSED or SERVFAIL -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1945072 Title: getaddrinfo crashes on negative answers after Truncated retry To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1945072/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1945072] [NEW] getaddrinfo crashes on negative answers after Truncated retry
Public bug reported: Programs using getaddrinfo will segfault downstack of the call in limited circumstances. We have limited this crash to a specific situation, some of these details may not be relevant to the problem but are included in case they are: - getaddrinfo makes two requests, A and , using UDP - At least one of the replies to the two requests is truncated - getaddrinfo makes two additional requests, A and , using TCP - At least one of the the replies to the two TCP requests has an empty answer section - For example, the response comes back with a REFUSED or SERVFAIL - Even a NOERROR with an empty answer section will cause this crash Sample gai call: struct addrinfo* results; int ec = getaddrinfo(host.c_str(), "", nullptr, &results); This is difficult to reproduce without being able to control the replies yourself since downstream must give a negative answer on the TCP after answering the UDP. (This can happen, the downstream server can decide not to answer for any number of policy reasons.) Using 18.04.5. glibc version is 2.27. ** Affects: glibc (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1945072 Title: getaddrinfo crashes on negative answers after Truncated retry To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1945072/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1724977] Re: two mouse cursors visible at the same time on rotated screen
I had the same issue after uprading from Ubuntu Gnome 17.04 to Ubuntu 17.10. I "fixed it" by using Xorg instead of Wayland. A colleague of me had the same issue in Arch Linux half a year ago. Always good to know someone who is living on the bleeding edge :D -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1724977 Title: two mouse cursors visible at the same time on rotated screen To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-shell/+bug/1724977/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1643959] [NEW] Unused parameter 'deterministic'
Public bug reported: The current version of protbuf in the Ubuntu 16.10 Repository (3.0.0-7ubuntu3) includes this bug: https://github.com/google/protobuf/issues/2032 "Every message generates an unused parameter warning for bool deterministic in ::google::protobuf::uint8* ::InternalSerializeWithCachedSizesToArray( bool deterministic, ::google::protobuf::uint8* target) const. " My project uses -Werror, and thus does not compile in current Ubuntu because of messages like this: NSMessage.pb.cc: In member function ‘virtual google::protobuf::uint8* NS_Message::InternalSerializeWithCachedSizesToArray(bool, google::protobuf::uint8*) const’: wifi/NSMessage.pb.cc:338:10: error: unused parameter ‘deterministic’ [-Werror=unused-parameter] bool deterministic, ::google::protobuf::uint8* target) const { ^ cc1plus: all warnings being treated as errors I would expect code being created by protobuf does not cause any warnings or errors. This issue is fixed in protobuf's git repository with the following commit: https://github.com/google/protobuf/commit/08b1c718e437041bfe0e6a28611621896e4fe904 ** Affects: protobuf (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1643959 Title: Unused parameter 'deterministic' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/protobuf/+bug/1643959/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1393169] Re: Double mouse cursor
I had a similar issue with Ubuntu Gnome after upgrading to 14.10. Had a double mouse pointer, but only on the main screen, not on the two other screens. Disabled screens one by one and renabled them and the problem was solved. Don't know if this is related to your problem, seems more like a gnome problem and as you are using xfce, it might be something else. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1393169 Title: Double mouse cursor To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1393169/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 67811] Re: Takes all CPU time
I now also added ionice to avoid a lot if io-load on the server being backed up. My RsyncClientCmd now looks like this: $sshPath -q -x -l backuppc $host /usr/bin/nice -n 19 /usr/bin/ionice -c2 -n7 /usr/bin/sudo $rsyncPath $argList+ -c2 is the "best effort" class and -n7 is the lowest priority in this class. If you want even less io-load, use the "idle"-class (-c3, without -n). Note that this might make cause the backup to take much longer (or even never complete). Note that you need at least a linux kernel 2.6.13 for ionice as far as I know. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/67811 Title: Takes all CPU time To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/backuppc/+bug/67811/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 67811] Re: Takes all CPU time
"This symptom is not reproducible on fairly recent hardware." Hmm. That's an interesting statement. First of all, BackupPC does not state that we need "fairly recent hardware" in it's requirements: http://backuppc.sourceforge.net/faq/BackupPC.html#requirements And I heard PCs from 2006 (when the bug was posted) are still used here or there ;-) And I guess some of them need to be backed up. And even if we have "fairly recent hardware", some users might want to work with the computer that is currently backed up while the backup is running. When you backup a laptop, you might be able to avoid this. Simply run the backup at night. But if you run a server 24/7, then you can't tell your visitors from the other side of the earth not to visit your website at night. So the backup should not affect the load significantly. So of course the backup should run with low priority. And (as Neal wrote), it is easy to achieve this. I added "nice" RsyncClientCmd like this: $sshPath -q -x -l backuppc $host nice -n 19 /usr/bin/sudo $rsyncPath $argList+ Note: Here more things are changed from the default. The username is "backuppc" (not root) and sudo is used to run rsync (with user backuppc being allowed to run rsync in suoders). The adjusted default would look like this: $sshPath -q -x -l root $host nice -n 19 $rsyncPath $argList+ As imho "nice" is pretty standard in unix, I guess it might be a good idea to add this in the default settings. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/67811 Title: Takes all CPU time To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/backuppc/+bug/67811/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1030591] Re: package initramfs-tools 0.99ubuntu13 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1030591 Title: package initramfs-tools 0.99ubuntu13 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1030591/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1030591] [NEW] package initramfs-tools 0.99ubuntu13 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Public bug reported: Setting up initramfs-tools (0.99ubuntu13) ... update-initramfs: deferring update (trigger activated) lzma: (stdin): Cannot allocate memory dpkg: error processing initramfs-tools (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: initramfs-tools E: Sub-process /usr/bin/dpkg returned an error code (1) ProblemType: Package DistroRelease: Ubuntu 12.04 Package: initramfs-tools 0.99ubuntu13 ProcVersionSignature: Ubuntu 3.2.0-23.36-generic-pae 3.2.14 Uname: Linux 3.2.0-23-generic-pae i686 ApportVersion: 2.0.1-0ubuntu11 Architecture: i386 CasperVersion: 1.315 Date: Sun Jul 29 15:59:00 2012 ErrorMessage: subprocess installed post-installation script returned error exit status 1 LiveMediaBuild: Ubuntu 12.04 LTS "Precise Pangolin" - Release i386 (20120423) PackageArchitecture: all SourcePackage: initramfs-tools Title: package initramfs-tools 0.99ubuntu13 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: initramfs-tools (Ubuntu) Importance: Undecided Status: New ** Tags: apport-package i386 precise -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1030591 Title: package initramfs-tools 0.99ubuntu13 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1030591/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 798023] Re: apt-get update fails with error 416 Requested Range Not Satisfiable
Same problem here and Ilja's workaround fixed it. I think apt might delete these files and try again when this error happens. As this seems to be easy to fix automatically, I think apt should be able to fix it without any user interaction. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/798023 Title: apt-get update fails with error 416 Requested Range Not Satisfiable To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/798023/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 760632] Re: Resizing Konsole crashes the whole system
First: Please do not quote full entries. This bug report is already full of hundreds of posts so we do not need to have all those fully quoted. I did not want to distinguish between blaming and criticising. I simply meant that canonical is not responsible for kubuntu. Because kde is _not_ officially supported by canonical. It's in the universe repositories. This means it's maintained by the community and not by canonical. There is so much software in the universe repository and one company can never be responsible for all these packages. The buggy driver might be in the restricted repositories with software supported by canonical but if this bug does not affect ubuntu, it is not a critical ubuntu bug. If you want to rely on what canonical does, just install ubuntu. I will not respond to any response regarding this discussion because I think further discussion is meaningless. We all agree that the fix for this bug should be released in the repositories as fast as possible. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/760632 Title: Resizing Konsole crashes the whole system To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers/+bug/760632/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 760632] Re: Resizing Konsole crashes the whole system
@ Julio A. Garcia Lopez Well, you blame Canonical for not updating Kubuntu, which I think is kind of unfair. Canonical is responsible for Ubuntu. Kubuntu is more a community project supported by Canonical. Of course you can have a try with Debian, at least then there is no company at all to blame ;) But I also cannot understand why the bugfix which is long available is not in the repositories yet. And "wait for the next release or install the ppa" is not a good excuse, I agree. Because in the next release there will always be another bug like this and then you tell the users to wait for the release afterwards to get the fix. The user does never get a bug-free version if you continue like this. Therefore, bugfixes that affect stability and security should be distributed fast. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/760632 Title: Resizing Konsole crashes the whole system To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers/+bug/760632/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 739780] Re: Session starting with a zeitgeist-datahub zombie process
If I understand it correctly, having one zombie process running is not much to worry about. It does not consume memory anymore. It only uses one entry in the process table. So if you have 1 zombie, you only have one process ID less available to start new processes. Unless you're running thousands of processes and can't start new ones because no PID is left, having one zombie is no problem at all. Of course these things should be fixed, because if all programs leave zombies behind this might become a problem. Have a heart for that poor zombie process and just wait for oneiric to hunt it to death ;-) (Please correct me if I am wrong.) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/739780 Title: Session starting with a zeitgeist-datahub zombie process To manage notifications about this bug go to: https://bugs.launchpad.net/zeitgeist/+bug/739780/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 760632] Re: Resizing Konsole crashes the whole system
@Yusuf: have you tried disabling desktop effects? I think if you disable desktop effects and the system still keeps freezing, e.g. while Flash player is running, you have another problem. You might be also affected by this bug, but I think you might have more problems such as a hardware problem or other bugs. Did your problem occur when you updated to natty or did you experience similar problems before natty? Are you using another operating system maybe? Does this also freeze? have you tried a memory test (just in case ;) )? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/760632 Title: Resizing Konsole crashes the whole system To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers/+bug/760632/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 760632] Re: Resizing Konsole crashes the whole system
Well, aren't there enough posts above that state which version works? I recommend reading at least the top and bottom of a bug report to see what it is about and if there is already a solution for a bug before posting. If one did this, I doubt it would be possible to miss the version which works. This does not only help to keep the bug report clean, but also helps you finding the solution faster. And nobody reported any problems yet with the experimental version so chances are rather good that you do not trade one bug for another. Although I have not tested this myself, I think Julio's tip about nouveau (#88) does not help all people as there were people that reported problems with nouveau as well (see #28). Interesting though that the old 170.x driver seem to work - I think nobody has tried (at least reported) anything about this version yet. I think any post below this should either be problem reports about the experimental version (if any problems occur) or somebody saying "it's now in the repositories". This means I'd also prefer not getting 100 more messaged saying "275.09.04 fixes it" from everybody this bug affects. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/760632 Title: Resizing Konsole crashes the whole system To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers/+bug/760632/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580512] Re: proftpd 1.3.2c with SSL is useless in Ubuntu 10.04
I just had to try it: I installed maverick in VirtualBox. I used Ubuntu 10.10 Alpha 3 (the beta-download-link wouldn't work), Desktop edition (maverick-desktop-i386). After Installation I updated everything using apt (Synaptic crashed but worked after it had been updated using apt), which nearly replaced the whole system and took as long as installation. I then installed the proftpd-basic package (version 1.3.2e-4) and configured it as a standalone server with SSL encryption configured (everything using pretty default settings, no TLSOptions set at all). I then connected using FileZilla 3.3.4.1 from the Windows 7 Host machine into the Maverick Virtual machine using "FTPES" (explicit SSL). It worked perfectly, just out of the box! No special configuration. So I can definitely say: This bug is fixed in Maverick. Now I'm looking for to its final release. -- proftpd 1.3.2c with SSL is useless in Ubuntu 10.04 https://bugs.launchpad.net/bugs/580512 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580512] Re: proftpd 1.3.2c with SSL is useless in Ubuntu 10.04
Thanks chrstophe for the reply. As hardy is LTS and should be supported until April 2011, I thought security patches should be included in the recent packages. And I can't dist-upgrade this server as it's a vServer. My home server is running lucid, though (and therefore affected with this bug). Today I saw that maverick (upcoming Ubuntu 10.10) has an updated proftpd-version in its repository: http://packages.ubuntu.com/maverick/proftpd-basic It's 1.3.2e-4 which was released 24/Feb/2010 by proftpd-project, but seems to be a stable version which does not have the bug we encounter (from the version number and changelog - I did not try it myself yet). I think 1.3.2e is more something for 10.04 and 10.10 should include 1.3.3a (which was released 01/Jul/2010 by the proftpd-project and seems to be a stable and reliable version as well). But I think they just synced with Debian unstable and got 1.3.2e from there, so we should be happy with that. I just had a look into the Debian repository: They now have 1.3.3a in unstable but it was marked experimental until 05 Jul 2010, so probably the sync for maverick ended before that date so 1.3.2e is what we'll get for maverick. As lucid is LTS I think 1.3.2-e will come to the lucid repository some day, but I think I'll update my lucid machine to maverick as soon as it seems reliable (December maybe). Probably the maverick-package installs in lucid as well, but I think this would be a messy solution as well. Can somebody please confirm (try by himself) if this bug is really fixed in maverick? -- proftpd 1.3.2c with SSL is useless in Ubuntu 10.04 https://bugs.launchpad.net/bugs/580512 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580512] Re: proftpd 1.3.2c with SSL is useless in Ubuntu 10.04
Thanks Cristophe for your feedback. This proves that the new version fixes this bug. I just can't understand why such an important feature like SSL is kept unusable in the stable ubuntu package of proftpd. I really get the impression, that support of the proftpd-package in Ubuntu is not very good as I am struggling with another (even older) bug in the latest proftpd-package for Hardy which has also not been solved for ages now ans even is considered a security risk. Maybe vsftpd is an alternative as its in the main repository and not in universe like proftpd, so updates might come more frequently. I think I might have a try with vsftpd. -- proftpd 1.3.2c with SSL is useless in Ubuntu 10.04 https://bugs.launchpad.net/bugs/580512 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580512] Re: proftpd 1.3.2c with SSL is useless in Ubuntu 10.04
I had the same issue and "fixed" it like Claes Löfqvist explained. Worked perfectly, thanks. Additional hint: You can tell apt-get not to update this package ("pin" it) by creating a file in /etc/apt/preferences.d (e.g. /etc/apt/preferences.d/proftpd) with the following content: Package: proftpd-basic Pin: version 1.3.2-3 Pin-Priority: 999 Note that you might need to adjust the Pin-Version to the one you downgraded to. Synaptic (if you use it) offers similar options via GUI (which only affect synaptic, not apt-get). I'd also like to add the Release Notes of Proftpd 1.3.2d which clearly relate to this issue: 1.3.2d (maintenance) - + Fixed mod_tls compilation when using OpenSSL versions older than 0.9.7. + Fixed SSL/TLS (broken due to bad backport) + Fixed RADIUS authentication on 64-bit platforms. I used OpenSSL newer than the version mentioned so I think the second issue is what our problem really is. I think that the current version of proftpd (1.3.2e) should appear in the repository fast to fix this issue. -- proftpd 1.3.2c with SSL is useless in Ubuntu 10.04 https://bugs.launchpad.net/bugs/580512 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs