[Bug 493220] Re: Rovclock crashes with floating-point exception
As a naive workaround, the following simple patch would prevent division by zero and SIGFPE: int round_div(int num, int den) { -return (num + (den / 2)) / den; +return den ? (num + (den / 2)) / den : 0; } Reported values now would be zeros, which is certainly wrong, but at least the program no longer crashes: ... XTAL: 27.0 MHz, RefDiv: 0 Core: 0.0 MHz, Mem: 0.0 MHz -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/493220 Title: Rovclock crashes with floating-point exception To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/rovclock/+bug/493220/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 493220] Re: Rovclock crashes with floating-point exception
It happens because of division by zero in round_div() function, here's a backtrace from gdb: Program received signal SIGFPE, Arithmetic exception. 0x08048cc4 in round_div (num=0, den=0) at rovclock.c:180 180 return (num + (den / 2)) / den; Current language: auto; currently minimal (gdb) bt #0 0x08048cc4 in round_div (num=0, den=0) at rovclock.c:180 #1 0x08049166 in pll_info (rovclock=0xbfbfe798) at rovclock.c:258 #2 0x08049c79 in main (argc=2, argv=0xbfbfe858) at rovclock.c:467 This software is from 2005~2006, perhaps it does not support newer video cards properly. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/493220 Title: Rovclock crashes with floating-point exception To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/rovclock/+bug/493220/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1392699] Re: Can't change locale settings (e.g. language, 12/24-hour time, date format) independently
By reading ubuntu-system-settings/trunk/plugins/language/language- plugin.cpp source code, it appears that this rather common problem (preferred en_US locale and 24-hour military clock) happens because selected language (translated to locale) is assigned *both* to the Language and FormatsLocale of the org.freedesktop.Accounts.User properties. It can be fixed (until you change it with ubuntu-system-settings again) by changing FormatsLocale after you've set your desired language, and restarting device: $ dbus-send --print-reply --system --dest=org.freedesktop.Accounts /org/freedesktop/Accounts/User$UID org.freedesktop.Accounts.User.SetFormatsLocale string:'ru_RU.UTF-8' -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1392699 Title: Can't change locale settings (e.g. language, 12/24-hour time, date format) independently To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libc/+bug/1392699/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1434156] Re: [system-settings] developer mode should not require a password
Totally agree with @jezra on this; it's indeed very annoying and actually prevents me from doing into development mode on my Ubuntu Touch phone. Since currently adb push/pull is the easiest file transfer method (with non-working file sharing via Bluetooth and ssh/scp requiring WiFi connection which might not be necessarily available), this essentially forces user to set password to be able to transfer files with adb (among other things). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1434156 Title: [system-settings] developer mode should not require a password To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-ux/+bug/1434156/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs