Skip to content
This repository has been archived by the owner on Jan 21, 2021. It is now read-only.

Issues building and running in Fedora #20

Closed
breed808 opened this issue Nov 27, 2013 · 13 comments
Closed

Issues building and running in Fedora #20

breed808 opened this issue Nov 27, 2013 · 13 comments

Comments

@breed808
Copy link
Contributor

Hi xylosper,

I've recently moved over to Fedora, and am trying to build cmplayer.

I'm able to build it successfully, but I'm running into a segmentation fault whenever I try to launch it. I'm not sure if I've screwed up the build process, or if something else is going wrong.

I'm getting the following error when attempting to launch cmplayer: http://pastebin.com/zNwthWZA

I should add that the segmentation fault still occurs if libchardet is built statically.

modified cmplayer.spec: http://pastebin.com/6PR8kwKt
libchardet.spec: http://pastebin.com/3hx4tcn8
GDB debugging output: http://pastebin.com/WCTBYchM

@bylee20
Copy link
Owner

bylee20 commented Nov 27, 2013

I don't think it's related with libchardet. You can get it with download-libchardet and build it build-libchardet, by the way, if you want a in-tree build.

Anyway, what source did you use to build CMPlayer? Released one or downloaded one from git?
And, what is your window manager? CMPlayer contains some special routines for gnome/gtk.
Can you try it in KDE?

@breed808
Copy link
Contributor Author

Source was the current git master. I also tried the 0.8.4 release, which also resulted in the same segfault.

The window manager is kwin running in KDE. I was using KDE in arch too, so I'm not sure what's causing this.

@bylee20
Copy link
Owner

bylee20 commented Nov 28, 2013

Would you try again with git master? I added some debugging messages. Please paste the result.

@breed808
Copy link
Contributor Author

Sure. Updated source to 0e58c46 and rebuilt. Error output is here, hope it helps: http://pastebin.com/nPTJ56Ba

@bylee20
Copy link
Owner

bylee20 commented Nov 28, 2013

Does original mpv run well?
I'd like to make a test for fedora but my spare laptop is not available for a while.

@breed808
Copy link
Contributor Author

MPV (from the rpmfusion repository) is running fine.

I've just checked the output of dmesg and saw the following:

cmplayer[19656]: segfault at 8 ip 00000033160e7bd9 sp 00007fffd1949250 error 4 in libQt5Gui.so.5.2.0[3316000000+449000]

Would this suggest that there has been a build error involving the Qt libraries?

@bylee20
Copy link
Owner

bylee20 commented Nov 28, 2013

I think so. The message tells that Qt 5.2.0 is linked but 5.2.0 has never been released yet except beta. How did you install Qt?

@breed808
Copy link
Contributor Author

Ah, it looks like Fedora 20 is shipping the Qt 5.2.0 beta

yum info qt5-qtbase-devel.x86_64 
Loaded plugins: langpacks, refresh-packagekit
Installed Packages
Name        : qt5-qtbase-devel
Arch        : x86_64
Version     : 5.2.0
Release     : 0.7.beta1.20131108_141.fc20
Size        : 21 M
Repo        : installed
From repo   : updates-testing
Summary     : Development files for qt5-qtbase
URL         : http://qt-project.org/
License     : LGPLv2 with exceptions or GPLv3 with exceptions
Description : Development files for qt5-qtbase.

Edit: Well, considering that this a library issue on my end, I'd say this issue is solved. Would it be reasonable to add Qt 5.2.0 compatibility as a feature request, despite it being in beta? I'm content to wait if this is not a high priority.

@bylee20
Copy link
Owner

bylee20 commented Nov 29, 2013

I've found some change of Qt's behaviour. Since I'm not sure it is a bug or intended thing and it is not hard to avoid this issue, I've decided to make a fix for this. I'll let you know when it's done.

@bylee20
Copy link
Owner

bylee20 commented Nov 29, 2013

Also, I've just found that a comment is appended in new document for Qt 5.2.0 about the function which is the problem here:
"This function is under development and is subject to change."
So, maybe it's intended change.

@bylee20
Copy link
Owner

bylee20 commented Nov 29, 2013

I think this is fixed now. Please try latest git master.

@breed808
Copy link
Contributor Author

Success! cmplayer is running great now as of a4b1cff. Thank you very much for fixing this.

@bylee20
Copy link
Owner

bylee20 commented Nov 29, 2013

Thank you.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants