Bug 24892 - minitube 3.0-2.mga7 segfaults (nouveau, nvidia)
Summary: minitube 3.0-2.mga7 segfaults (nouveau, nvidia)
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 7
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Kernel and Drivers maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-02 13:56 CEST by Doug Laidlaw
Modified: 2019-09-13 12:20 CEST (History)
3 users (show)

See Also:
Source RPM: minitube-3.0-2.mga7.x86_64
CVE:
Status comment:


Attachments
strace of command "minitube" (85.46 KB, application/x-bzip)
2019-06-03 00:59 CEST, Doug Laidlaw
Details

Description Doug Laidlaw 2019-06-02 13:56:15 CEST
Running the Mga 7 RC.  I ran Minitube 2.9-2 earlier, and it was fine.  At that time, I downloaded 3.0-2 source, and it refused to install or run (I have forgotten which.)

Running the above RPM, firstly, the program clicked itself through the found titles and wouldn't accept a mouse click.  After I cleared its cache in ~/.cache, it segfaulted every time.  A typical trace:

"[doug@dougshost ~]$ minitube
[unknown] Using locale dir "/usr/share/minitube/locale" QLocale(English, Latin, Australia)
[unknown] built-in API key ("AIzaSyDhhIHB_kQZodiWr8yDAm8E3GwEyiXmuDU")
ATTENTION: default value of option vblank_mode overridden by environment.
[unknown] initializeGL MainWindow(0x1ec9620)
[unknown] "xcb" 0x1d9f490
Segmentation fault (core dumped)"

I found an RPM of 2.9-2 for PCLinux, and it installed - and works!



Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
Jani Välimaa 2019-06-02 14:39:37 CEST

Summary: release 3.0-2 segfaults; release 2.9-2 is O.K => minitube 3.0-2.mga7 segfaults

Comment 1 Doug Laidlaw 2019-06-02 15:18:14 CEST
There are missing dependancies as well.  Initially, I had to install vdpau-nvidia.so.  That is history in the trace.
The package from pclos called phonon-gstreamer-common and phonon4qt5-gstreamer.
Comment 2 David GEIGER 2019-06-02 15:58:41 CEST
I can't reproduce here, minitube 3.0 works well on my mga7 system!

CC: (none) => geiger.david68210

Comment 3 Doug Laidlaw 2019-06-02 16:05:53 CEST
In that case, something is very different.  What dependencies does it use?  My desktop is XFce, and I don't have KDE installed.  There may be a Qt package missing.
Comment 4 Doug Laidlaw 2019-06-02 16:45:08 CEST
I still have a separate Cauldron package.  I had no better luck there.  Worse, the libvdpau_nouveau.so was not available on the repos.  (sorry, it was nouveau, not nvidia.)  Running strace in Cauldron, that was the error.  In my RC system, libvdpau is in /usr/lib64.

All other dependencies seem to be installed.

You had better leave it with me to research further.
Comment 5 David GEIGER 2019-06-02 18:30:29 CEST
Is qtdeclarative5 installed? if no does it fix your issue?
Comment 6 Doug Laidlaw 2019-06-03 00:25:09 CEST
YYes, it is already installed.
Comment 7 Doug Laidlaw 2019-06-03 00:59:38 CEST
Created attachment 11051 [details]
strace of command "minitube"

Trace is the only diagnostic tool I can think of, so I am attaching the output of a CLI command.
Comment 8 David GEIGER 2019-06-03 07:14:36 CEST
Seems this come from the "nouveau" driver!
Comment 9 Doug Laidlaw 2019-06-03 07:37:15 CEST
Thanks.  Switching to the Mageia nvidia driver fixed the problem.  There was no "nvidia" alternative for the vdpau library, so I left that as it was.
Comment 10 Doug Laidlaw 2019-06-04 03:15:04 CEST
Sorry, the problem is only partially fixed. The app has gone back to clocking through items at about 1 per second.  I can't select any.  Logging out and in, rebooting or clearing the cache makes no difference.

I notice that the app says it can't connect to the Sqlite database.  Yesterday, it showed that error but still worked.  I have a standard installation of Sqlite.  Do I need a driver?

I think that this is an upstream bug.
Comment 11 David GEIGER 2019-06-04 07:03:48 CEST
Is the package 'qt5-database-plugin-sqlite' installed?
Comment 12 Doug Laidlaw 2019-06-04 08:49:24 CEST
Yes, but only the 32-bit version.  I have just added the 64-bit one.

It was fine yesterday, but this morning it ran as I described.  Later in the day, it was O.K. It is running O.K. at the moment.
Comment 13 Doug Laidlaw 2019-06-04 08:55:37 CEST
I just did another check with the 64-bit plugin installed.  All the messages about the database have disappeared. The ones remaining are quite normal, except for
"xcb" 0x1c2ffb0

which was there before.
Comment 14 Doug Laidlaw 2019-06-05 05:16:20 CEST
I was still having problems, so I put back Version 2.  On the first attempt, it wouldn't run either.  That suggests to me that Version 3 doesn't clean up properly after itself.
Comment 15 Doug Laidlaw 2019-06-05 12:38:42 CEST
I posted my problem on alt.support.mageia.  Aragorn replied:

"Yep, that's NVIDIA for you.  We've been seeing lots of problems with
NVIDIA on the Manjaro forum too, and on the PCLinuxOS forum earlier as
well.  And the Optimus chipset — i.e. a combination of an NVIDIA GPU
and an Intel GPU — is the worst of them all."

I have seen a lot of mentions of these problems, and so far, none have affected me.  I thought that I must have been immune, but had to catch one bug eventually.
Comment 16 Marja Van Waes 2019-06-05 17:55:07 CEST
(In reply to Doug Laidlaw from comment #15)
> I posted my problem on alt.support.mageia.  Aragorn replied:
> 
> "Yep, that's NVIDIA for you.  We've been seeing lots of problems with
> NVIDIA on the Manjaro forum too, and on the PCLinuxOS forum earlier as
> well.  And the Optimus chipset — i.e. a combination of an NVIDIA GPU
> and an Intel GPU — is the worst of them all."
> 
> I have seen a lot of mentions of these problems, and so far, none have
> affected me.  I thought that I must have been immune, but had to catch one
> bug eventually.

Assigning to the kernel and drivers maintainers, then. If there is nothing they can do, then we need to check whether this is already mentioned in the Errata.

Summary: minitube 3.0-2.mga7 segfaults => minitube 3.0-2.mga7 segfaults (nouveau, nvidia)
Assignee: bugsquad => kernel
CC: (none) => marja11

Comment 17 Doug Laidlaw 2019-06-05 18:06:41 CEST
OK.  Whatever.  One app is not enough to make me buy a Radeon.
Comment 18 Doug Laidlaw 2019-06-09 11:01:54 CEST
When the "play" arrow just moves down the list of found matches, the program is unable to connect to the current stream, and moves on to the next item.
Comment 19 JanKusanagi 2019-06-14 14:06:59 CEST
(In reply to Doug Laidlaw from comment #18)
> When the "play" arrow just moves down the list of found matches, the program
> is unable to connect to the current stream, and moves on to the next item.

That's really a different bug, but OK.
Current Minitube fails due to a problem with the "signature" parameter in the URLs. There's a 3.1 version already out that seems to solve it. We probably just need a package update =)

CC: (none) => jan-bugs

Comment 20 Doug Laidlaw 2019-06-15 01:05:57 CEST
O.K. I got the latest from git, but compiling it is beyond me.  I will wait for the new version.  By then, there may be a new version of the nVidia driver.
Comment 21 Doug Laidlaw 2019-06-15 13:51:48 CEST
I have just converted the .deb file for mintube-3.1 with alien.  It installed well, with 3 additional installation dependencies:

lib64rubberband2
lib64vamp-plugin-sdk
lib64mpv1

On first starting it, it played beautifully, with no obvious problems.  Now for the "soak test."
Comment 22 Doug Laidlaw 2019-07-07 05:59:46 CEST
No problems so far.

On trying to run mintube-3.1 in Cauldron with xfce desktop, and no previous installation of the nouveau driver, I got a segfault because libpdau-nouveau was not installed.  Then it kept crashing because of issues arising from Qt.

These dependencies are probably covered already in Mageia.  I will leave it all to the team.
Comment 23 Doug Laidlaw 2019-07-08 14:23:36 CEST
In case it helps, PCLOS have just updated their package to version 3.1.
Comment 24 Doug Laidlaw 2019-09-05 08:10:12 CEST
No problem since I installed 3.1.  No sound sometimes, unless I reboot, but that may be a separate bug, if at all.

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 25 Doug Laidlaw 2019-09-13 12:20:57 CEST
The site tells me that Release 3.2 is available, but it doesn't download.

Note You need to log in before you can comment on or make changes to this bug.