[Bug 993187] Re: ubuntu 12.04 completely freezes frequently.
Ahh, that's embarrasing. My fault. I was compiling LLVM 3.1 on a 4G machine, while browsing with many many tabs. When the link stage starts, it consumes lots of RAM and forces the system to swap. I confirmed the RAM thrashing from a remote top. I didn't expect compiling LLVM to use that much RAM. That's where my mouse movement becomes sluggish and finally freezes. Flash player either crashes or freezes and cosumes 100% CPU during swapping. Killing flash is really not the action which restores the system. Only after ld fails, my system becomes responsive again. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/993187 Title: ubuntu 12.04 completely freezes frequently. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/993187/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 993187] Re: ubuntu 12.04 completely freezes frequently.
Hi Christian, Looks like maintaining an active ssh session remotely is the only way to troubleshoot this issue. My desktop just froze again, and firefox /plugin-container (flash) was consuming 100% CPU. Killing flash unfreezes the desktop. For the websites I visit, flash usually consumes 10%-20% CPU. I didn't see your comment before last crash. I will report RAM and .xsession-errors next time I experience the issue. I also plan to Ctrl+Alt+F1 to check if I can open a new tty session. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/993187 Title: ubuntu 12.04 completely freezes frequently. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/993187/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 993187] Re: ubuntu 12.04 completely freezes frequently.
I have the same problem. It only randomly freezes when I have webpages actively playing flash videos (firefox and chrome). When the system freezes, I can't move my mouse or keyboard, existing terminal output also freezes and I can't even ssh into my machine. In addition, my HDD LED keeps flashing, which means my disk should be spinning really hard. I've scanned my disk, but found no bad sector. I also mounted /tmp as tmpfs, and redirect firefox temp folder to /tmp. I believe flash buffer videos in /tmp as well (correct me if I am wrong). So I don't understand why my disk keeps spinning during the freeze... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/993187 Title: ubuntu 12.04 completely freezes frequently. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/993187/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 990727] Re: Can't assign keybinding Ctrl-Alt-w
Please revisit this bug. I use Ctrl-Alt-W/S/A/D to switch between workspaces, and this bugs prevent me from setting up fast workspace switching. Even a dirty workaround is appreciated. Thanks. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/990727 Title: Can't assign keybinding Ctrl-Alt-w To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-control-center/+bug/990727/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 900994] Re: incorrect output of mktime or sth else
wrong code indeed. Sorry ** Changed in: gcc-4.5 (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/900994 Title: incorrect output of mktime or sth else To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gcc-4.5/+bug/900994/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 900994] Re: incorrect output of mktime or sth else
After more debugging, I can confirm it's a runtime problem. If I change the command to: for i in {1..10}; do ./date; done Same thing still happens. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/900994 Title: incorrect output of mktime or sth else To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gcc-4.5/+bug/900994/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 900994] Re: incorrect output of mktime or sth else
** Attachment added: "date2.cc" https://bugs.launchpad.net/bugs/900994/+attachment/2622312/+files/date2.cc -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/900994 Title: incorrect output of mktime or sth else To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gcc-4.5/+bug/900994/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 900994] [NEW] incorrect output of mktime or sth else
Public bug reported: I have some weird output for the attached simple code. I tested on different machines and the following line is what I used to compile/run the code. for i in {1..10}; do rm -f date && g++ -o date -Wall -Wextra date2.cc && ./date; done I am in EST timezone (GMT-5), and expected output is: 2011 1 1 0 0 5 18000 All gcc/g++ are installed using the package system without any customization. == First set of machines, Ubuntu 11.04 64bit Linux *** 2.6.38-13-generic #52-Ubuntu SMP Tue Nov 8 16:53:51 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux Linux *** 2.6.38-12-server #51-Ubuntu SMP Wed Sep 28 16:07:08 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux == Gcc works 100% fine, but g++-4.5.2 and 4.4.5 both gave wrong results SOMETIMES. I reproduced this behavior on my own desktop, and two servers. 2011 1 1 0 0 5 14400 2011 1 1 0 0 5 18000 2011 1 1 0 0 5 18000 2011 1 1 0 0 5 14400 2011 1 1 0 0 5 14400 2011 1 1 0 0 5 18000 2011 1 1 0 0 5 18000 2011 1 1 0 0 5 14400 2011 1 1 0 0 5 18000 2011 1 1 0 0 5 18000 === Second set of machines, Ubuntu 11.10 64bit Linux ubuntu-VB 3.0.0-12-generic #20-Ubuntu SMP Fri Oct 7 14:56:25 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux Linux *** 3.0.0-12-server #20-Ubuntu SMP Fri Oct 7 16:36:30 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux === gcc/g++4.6.1, 4.5.4, 4.4.6 all gave wrong results, consistently. I reproduced same behavior on my VIrtualbox machine and a real server. 2011 1 1 0 0 5 14400 === Third machine (no bug) RedHat EL5 (in university) Linux *** 2.6.18-274.7.1.el5 #1 SMP Mon Oct 17 11:57:14 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux === ***% g++ -v Using built-in specs. Target: x86_64-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --disable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=x86_64-redhat-linux Thread model: posix gcc version 4.1.2 20080704 (Red Hat 4.1.2-51) Btw, I am aware of the fact that the behavior seems to be independent of the version of gcc/g++, but Ubuntu version. I only tested all gcc/g++ versions available in the package system. On 11.04, gcc always output correctly and g++ produce inconsistent results. On 11.10, gcc/g++ all produce wrong results consistently (off by -3600). This could be some bug outside gcc/g++, but should at least be a problem of Ubuntu configuration. The machines used here are all independently installed/configured by different people. Another side note: If I remove line 8 and 9, the behavior will be different. On 11.04, it's the same. On 11.10, gcc will consistently output 14400, while g++ output inconsistently (18000 or 14400). ** Affects: gcc-4.5 (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/900994 Title: incorrect output of mktime or sth else To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gcc-4.5/+bug/900994/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 797006] Re: software-center package update failure due to the use of update-alternatives
"My suggestion is to change the check in /usr/share/pycentral- data/pyversions.py to directly check the python version, instead of joining /usr/bin/python and version number." Sorry I got the detail wrong. After carefully examining /usr/share /pycentral-data/pyversions.py, I think it's line 151 causing the problem: try: _default_version = link = os.readlink('/usr/bin/python') # line 151 except OSError: _default_version = None try: cmd = ['/usr/bin/python', '-c', 'import sys; print sys.version[:3]'] import subprocess p = subprocess.Popen(cmd, bufsize=1, shell=False, stdout=subprocess.PIPE) fd = p.stdout except ImportError: fd = os.popen("/usr/bin/python -c 'import sys; print sys.version[:3]'") line = fd.readline().strip() fd.close() if re.match(r'\d\.\d$', line): _default_version = 'python' + line Since the link exists, line 151 returns '/etc/alternatives/python', which fails the consistency check. A quick fix is to remove line 150 to 153, as '/usr/bin/python', '-c', 'import sys; print sys.version[:3]' returned the correct 2.7. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/797006 Title: software-center package update failure due to the use of update- alternatives To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/797006/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 797006] [NEW] software-center package update failure due to the use of update-alternatives
Public bug reported: Binary package hint: software-center After using update-alternatives to switch between python versions recently, the update of software-center failed. I do realize that it needs python 2.7 and switched python back to 2.7 using update- alternatives. It turns out that it's the link itself, which might be fixed in /usr/bin/pycentral. Result of running apt-get install -f, when it failed: Reading package lists... Done Building dependency tree Reading state information... Done The following package was automatically installed and is no longer required: chromium-browser-inspector Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Setting up software-center (4.0.3) ... Traceback (most recent call last): File "/usr/bin/pycentral", line 2327, in main() File "/usr/bin/pycentral", line 2321, in main rv = action.run(global_options) File "/usr/bin/pycentral", line 1493, in run runtimes = get_installed_runtimes() File "/usr/bin/pycentral", line 278, in get_installed_runtimes default_version = pyversions.default_version(version_only=True) File "/usr/share/pycentral-data/pyversions.py", line 172, in default_version raise ValueError, "/usr/bin/python does not match the python default version. It must be reset to point to %s" % debian_default ValueError: /usr/bin/python does not match the python default version. It must be reset to point to python2.7 dpkg: error processing software-center (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: software-center E: Sub-process /usr/bin/dpkg returned an error code (1) While at the same time, python -V gives the correct python 2.7.1+. ls /usr/bin/python* yields: /usr/bin/python /usr/bin/python2.6 /usr/bin/python2.7 /usr/bin/python3 /usr/bin/python3.2 /usr/bin/python3.2mu and track the link down: /usr/bin/python -> /etc/alternatives/python* /etc/alternatives/python -> /usr/bin/python2.7* To confirm that it's the link caused software-center's update failure, I used update-alternatives --remove-all to remove the python link, recreated it to point directly to /usr/bin/python2.7, and the apt-get install proceeded fine. Reading package lists... Done Building dependency tree Reading state information... Done The following package was automatically installed and is no longer required: chromium-browser-inspector Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Setting up software-center (4.0.3) ... Updating software catalog...this may take a moment. Software catalog update was successful. Processing triggers for python-central ... My suggestion is to change the check in /usr/share/pycentral- data/pyversions.py to directly check the python version, instead of joining /usr/bin/python and version number. I am using the desktop Ubuntu 11.04 x64 Linux *** 2.6.38-10-generic #44-Ubuntu SMP Thu Jun 2 21:32:22 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux ** Affects: software-center (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/797006 Title: software-center package update failure due to the use of update- alternatives To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/797006/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs