[Bug 1909949] [NEW] SIGSEGV in x265_10bit::RateControl::rateEstimateQscale()

2021-01-03 Thread Keith Helms
Public bug reported:

Description:Ubuntu 20.04.1 LTS
Release:20.04

Package libx265-179 version 3.2.1-1build1

Happens randomly under both FFMpeg and HandBrakeCLI.  An encode of the
same file will crash one time, but work the next time.

Excerpt from the crash file:

SegvAnalysis:
 Segfault happened at: 0x7f0613a1f3a0 
<_ZN10x265_10bit11RateControl18rateEstimateQscaleEPNS_5FrameEPNS_16RateControlEntryE+112>:
mov(%r8),%rcx
 PC (0x7f0613a1f3a0) ok
 source "(%r8)" (0x) not located in a known VMA region (needed readable 
region)!
 destination "%rcx" ok
 Stack memory exhausted (SP below stack segment)
SegvReason: reading NULL VMA
SourcePackage: ffmpeg
Stacktrace:
 #0  0x7f0613a1f3a0 in 
x265_10bit::RateControl::rateEstimateQscale(x265_10bit::Frame*, 
x265_10bit::RateControlEntry*) () at /lib/x86_64-linux-gnu/libx265.so.179
 #1  0x7f0613a21678 in 
x265_10bit::RateControl::rateControlStart(x265_10bit::Frame*, 
x265_10bit::RateControlEntry*, x265_10bit::Encoder*) () at 
/lib/x86_64-linux-gnu/libx265.so.179
 #2  0x7f0613a12fc1 in x265_10bit::FrameEncoder::compressFrame() () at 
/lib/x86_64-linux-gnu/libx265.so.179
 #3  0x7f0613a1592a in x265_10bit::FrameEncoder::threadMain() () at 
/lib/x86_64-linux-gnu/libx265.so.179
 #4  0x7f06139ec52e in  () at /lib/x86_64-linux-gnu/libx265.so.179
 #5  0x7f061a321609 in start_thread (arg=) at 
pthread_create.c:477
 ret = 
 pd = 
 unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139663137658624, 
8136522380067276986, 140736498594622, 140736498594623, 140736498594624, 
139663137653696, -8151220019210155846, -8149668580039915334}, mask_was_saved = 
0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, 
canceltype = 0}}}
 not_first_call = 0
 #6  0x7f061a248293 in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:95
StacktraceAddressSignature: 
/usr/bin/ffmpeg:11:/usr/lib/x86_64-linux-gnu/libx265.so.179+4f63a0:/usr/lib/x86_64-linux-gnu/libx265.so.179+4f8678:/usr/lib/x86_64-linux-gnu/libx265.so.179+4e9fc1:/usr/lib/x86_64-linux-gnu/libx265.so.179+4ec92a:/usr/lib/x86_64-linux-gnu/libx265.so.179+4c352e:/usr/lib/x86_64-linux-gnu/libpthread-2.31.so+2609:/usr/lib/x86_64-linux-gnu/libc-2.31.so+fd293
StacktraceTop:
 x265_10bit::RateControl::rateEstimateQscale(x265_10bit::Frame*, 
x265_10bit::RateControlEntry*) () at /lib/x86_64-linux-gnu/libx265.so.179
 x265_10bit::RateControl::rateControlStart(x265_10bit::Frame*, 
x265_10bit::RateControlEntry*, x265_10bit::Encoder*) () at 
/lib/x86_64-linux-gnu/libx265.so.179
 x265_10bit::FrameEncoder::compressFrame() () at 
/lib/x86_64-linux-gnu/libx265.so.179
 x265_10bit::FrameEncoder::threadMain() () at 
/lib/x86_64-linux-gnu/libx265.so.179
 () at /lib/x86_64-linux-gnu/libx265.so.179

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: x265 3.2.1-1build1
ProcVersionSignature: Ubuntu 5.4.0-58.64-generic 5.4.73
Uname: Linux 5.4.0-58-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.20.11-0ubuntu27.14
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: XFCE
Date: Sun Jan  3 18:49:17 2021
InstallationDate: Installed on 2020-12-26 (8 days ago)
InstallationMedia: Xubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
ProcEnviron:
 LANGUAGE=en_US
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: x265
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: x265 (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-bug focal

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1909949

Title:
  SIGSEGV in x265_10bit::RateControl::rateEstimateQscale()

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/x265/+bug/1909949/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1605346] Re: package mysql-server-5.7 5.7.13-0ubuntu0.16.04.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

2016-07-25 Thread Keith Helms
I have the same problem.  It appears whenever a software update to mysql
is applied, the changes to /usr/share/mysql/mysql-systemd-start get
overlaid.  Rather than modifying that after every update, the workaround
is to set up a symlink from where that script checks for the database
directory to where the user has moved it to:

sudo ln -s "new_database_directory_location" /var/lib/mysql/mysql

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1605346

Title:
  package mysql-server-5.7 5.7.13-0ubuntu0.16.04.2 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/mysql-5.7/+bug/1605346/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2015-03-10 Thread Keith Helms
Thanks Alberto.

FYI, the log excerpts I included are not in the exact same order as the
4 cases I listed.   I did put text above each log section indicating
what I was trying at the time.  Test case 2 in my posting corresponds to
the 3rd block of log messages in the attachment.

So far, I've never seen a case where gpu-manager renamed the xorg.conf
file without logging a message that it was doing so.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1310489

Title:
  xorg.conf overwritten by booting system

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-drivers-common/+bug/1310489/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1220426] Re: [nvidia-prime]Freeze while using touchpad

2015-03-09 Thread Keith Helms
Try building with dpkg-buildpackage -b.

That command appears to complete with no errors.   Afterwards I have the
following .deb files in the parent directory:

xorg-server-source-lts-utopic_1.16.0-1ubuntu1.2~trusty2_all.deb
xserver-xephyr-lts-utopic_1.16.0-1ubuntu1.2~trusty2_amd64.deb
xserver-xorg-core-lts-utopic_1.16.0-1ubuntu1.2~trusty2_amd64.deb
xserver-xorg-core-lts-utopic-dbg_1.16.0-1ubuntu1.2~trusty2_amd64.deb
xserver-xorg-dev-lts-utopic_1.16.0-1ubuntu1.2~trusty2_amd64.deb
xwayland-lts-utopic_1.16.0-1ubuntu1.2~trusty2_amd64.deb

The instructions from Patrick Mertens in posting #212 said

There should now be 11 *.deb files in that folder (run ll *.deb to check).
As nielsmayer pointed out we need to install only two: xserver-common_1.15.1 
and xserver-xorg-core_1.15.1 (The exakt file names vary depending on your 
distro! Just type the first few letters and hit the TAB key to get them typing 
this command):
~/Downloads$ sudo dpkg -i ./xserver-common_1.15.1-0ubuntu2.3_all.deb 
./xserver-xorg-core_1.15.1-0ubuntu2.3_amd64.deb

There is an xorg-core deb, but no xserver-common deb.  Should I install
the xephyr deb instead?   The xwayland one?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1220426

Title:
  [nvidia-prime]Freeze while using touchpad

To manage notifications about this bug go to:
https://bugs.launchpad.net/xorg-server/+bug/1220426/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1310489] Re: xorg.conf overwritten by booting system

2015-03-09 Thread Keith Helms
This problem is not fixed, or at least not fully.  I am running Xubuntu
14.04 on the 3.13.0-47-generic kernel.  I have Nvidia optimus graphics
on my laptop with dual Intel GMA HD and Nvidia GeForce GTX 860M
graphics cards.  I have the ubuntu-drivers-common version 1:0.2.91.8,
nvidia drivers version 331.113, and nvidia-prime version 0.6.2.

I've noticed the following:

1. When I have the Nvidia prime profile selected and reboot, the system
leaves my xorg.conf alone.  The gpu-manager.log says that I previously
had 2 cards, I have 2 cards now, and nothing changed.

2. When I switch to the Intel prime profile from the Nvidia prime
profile and reboot, the gpu-manager.log says I previously had 2 cards
and I have 2 cards now and the system did not change, but IT DELETES
xorg.conf anyway!

3. Whenever I reboot with the Intel prime profile in effect, the gpu-
manager.log always says I previously had 1 card, I have 2 cards now, and
the system has changed.   Then it renames xorg.conf to
xorg.conf.currentdate.

4. When I switch from the Intel prime profile to the Nvidia prime
profile, the gpu-manager.log says I previously had 1 card, I now have 2
cards, and the system has changed.  It then tries to remove xorg.conf,
which isn't there anyway, and then regenerates xorg.conf.  One weird
thing is it usually says Found /dev/dri/card0, driven by i915, but
in this case only it says Found /dev/dri/card1, driven by i915.  Why
would the card number change?

Without knowing anything about the internals here, it sure looks like
there is a bug in how gpu-manager counts cards, or if it gets that info
from something else, then that something has a bug.

** Attachment added: GPU Manager logs
   
https://bugs.launchpad.net/ubuntu/+source/ubuntu-drivers-common/+bug/1310489/+attachment/4339543/+files/gpu%20manager%20logs

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1310489

Title:
  xorg.conf overwritten by booting system

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-drivers-common/+bug/1310489/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1220426] Re: [nvidia-prime]Freeze while using touchpad

2015-03-05 Thread Keith Helms
Okay, I got a lot further this time.   Instead of

sudo apt-get build-dep xorg-server

I used

sudo apt-get build-dep xorg-server-lts-utopic

That installed a bunch of additional packages.   When I executed the
sudo fakeroot debian/rules binary command it ran for a few minutes,
spit out thousands of lines of output, and appeared to compile dozens or
hundreds of modules.   However it got to a point where it failed with
the following messages:

dh_shlibdeps
sed -i 's/libgl1-mesa-glx /libgl1-mesa-glx-lts-utopic /' -i 
debian/xserver-xorg-core-lts-utopic.substvars
sed: can't read debian/xserver-xorg-core-lts-utopic.substvars: No such file or 
directory
make[1]: *** [binary-deb] Error 2

Any suggestions of how to get past this?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1220426

Title:
  [nvidia-prime]Freeze while using touchpad

To manage notifications about this bug go to:
https://bugs.launchpad.net/xorg-server/+bug/1220426/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1220426] Re: [nvidia-prime]Freeze while using touchpad

2015-03-05 Thread Keith Helms
I recently installed Ubuntu 14.04.2 and the release notes include In an
effort to support a wider variety of hardware on an existing LTS
release, the 14.04.2 point release will ship with an updated kernel and
X stack by default. This newer hardware enablement stack will be
comprised of the kernel and X stack from the Utopic 14.10 release. 

I was able to build and use the patch on my Xubuntu 14.04 system, but I
get errors following the instructions on Ubuntu 14.04.2.

sudo apt-get build-dep xorg-server gives me:
The following packages have unmet dependencies:
 libegl1-mesa : Depends: libgbm1 (= 7.11~1) but it is not going to be installed
 libqt5gui5 : Depends: libgbm1 (= 8.1~0) but it is not going to be installed

If I download xorg-server-source, that's the 1.15.1 version and it
doesn't match what I'm running (1.16.0), right?  I tried downloading the
xorg-server-source-lts-utopic package, but it won't build.

sudo fakeroot debian/rules binary  gives me:
debian/rules:17: /usr/share/quilt/quilt.make: No such file or directory
make: *** No rule to make target `/usr/share/quilt/quilt.make'.  Stop.

I tried adding the PPA using utopic main and when I selected the xorg-
common package from it, it appeared it was going to uninstall dozens of
packages, so I didn't proceed with that.

How do I get this working on 14.04.2?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1220426

Title:
  [nvidia-prime]Freeze while using touchpad

To manage notifications about this bug go to:
https://bugs.launchpad.net/xorg-server/+bug/1220426/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs