-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
段错误 #2
Comments
发行版是OpenSUSE13.2 |
方便的话能说一下您编译所使用的Qt版本么? |
刚刚更新了Qt SDK编译成功 |
因为需要解决Retina屏幕下Mac OS X Yosemite的显示问题我们将其更新到了Qt 5.4。也是迫不得已的选择。您那里现在可以正常运行了吧? |
学校断网了很抱歉这么晚才回复您。 |
没有bass启动会报错的... 我这儿版本是2.4 |
是的,因为bass是Mu的一个依赖,还依赖于FFMpeg(libav)。所以必须有才可以。 |
这个我只是在Readme.md中的Dependence和官网的开发者中写了。但是并没有在工程文件中体现出来。 |
所以说是有bass的bug.. |
额,不好意思。我没太理解您的意思。 |
既然是依赖是一定要有的才可以运行,如果没有依赖运行肯定是不正常的。这个不是bug啊。 |
我有bass, 版本是2.4 |
因为mu依赖于bass。所以没有bass当然是无法启动的。 |
那就对啦, 这是mu的bug了 |
……这个不是bug……依赖不是bug…… |
没有依赖的问题 |
您所指的没有依赖的问题是指? |
界面都出来了某些音乐都能播放了 |
某些音乐可以播放是因为bass库本身支持一定的格式。例如MP3、WAV和他独有支持的格式。而其它的格式是通过插件的形式支持的。没有这些插件bass是肯定不能播放的。 |
您方便把那个链接里的内容发送过来吗?因为众所周知的原因我这里访问不了,而且我现在用的校园网有一些限制,还请您谅解。 |
那要怎么安装呢 |
我们使用的是Qt 5.4,在Qt 5.0以后的版本中已经不携带phonon了。而是使用QtMultimedia作为播放后端。 |
所以... libbass.so libbass_aac.so libbass_ac3.so libbass_alac.so libbass_fx.so libbass_mpc.so libbass_spx.so libbassenc.so libbassflac.so libbassmidi.so libbassmix.so libbasswv.so 该放哪呢, 如果需要的话 |
首先您需要把libbass.so放到/usr/lib目录下,这个是需要管理员权限的。 |
我们没有做Linux二进制发行版就是因为我们还不会使用脚本自动完成这些任务。所以目前Linux下编译并且运行mu还是很复杂的事情。我们将尽快解决这个问题。 |
您那里现在应该都可以正常播放了吧? |
把libbass*.so放到./Plugins下了
来看BASS_PluginLoad没有问题, 置于播放部分就不清楚了.... |
这个就不是很清楚了,可能和您的系统设置有关系吧? |
strace末50行
munmap(0x7f5ba55d4000, 43872) = 0
lstat("/usr", {st_mode=S_IFDIR|0755, st_size=182, ...}) = 0
lstat("/usr/lib64", {st_mode=S_IFDIR|0755, st_size=180796, ...}) = 0
lstat("/usr/lib64/qt5", {st_mode=S_IFDIR|0755, st_size=106, ...}) = 0
lstat("/usr/lib64/qt5/plugins", {st_mode=S_IFDIR|0755, st_size=1504, ...}) = 0
lstat("/usr/lib64/qt5/plugins/generic", {st_mode=S_IFDIR|0755, st_size=192, ...}) = 0
lstat("/usr/lib64/qt5/plugins/generic/libqevdevtabletplugin.so", {st_mode=S_IFREG|0755, st_size=35648, ...}) = 0
open("/usr/lib64/qt5/plugins/generic/libqevdevtabletplugin.so", O_RDONLY|O_CLOEXEC) = 11
fcntl(11, F_SETFD, FD_CLOEXEC) = 0
fstat(11, {st_mode=S_IFREG|0755, st_size=35648, ...}) = 0
fstat(11, {st_mode=S_IFREG|0755, st_size=35648, ...}) = 0
mmap(NULL, 35648, PROT_READ, MAP_SHARED, 11, 0) = 0x7f5ba55d6000
close(11) = 0
munmap(0x7f5ba55d6000, 35648) = 0
lstat("/usr", {st_mode=S_IFDIR|0755, st_size=182, ...}) = 0
lstat("/usr/lib64", {st_mode=S_IFDIR|0755, st_size=180796, ...}) = 0
lstat("/usr/lib64/qt5", {st_mode=S_IFDIR|0755, st_size=106, ...}) = 0
lstat("/usr/lib64/qt5/plugins", {st_mode=S_IFDIR|0755, st_size=1504, ...}) = 0
lstat("/usr/lib64/qt5/plugins/generic", {st_mode=S_IFDIR|0755, st_size=192, ...}) = 0
lstat("/usr/lib64/qt5/plugins/generic/libqevdevtouchplugin.so", {st_mode=S_IFREG|0755, st_size=52288, ...}) = 0
open("/usr/lib64/qt5/plugins/generic/libqevdevtouchplugin.so", O_RDONLY|O_CLOEXEC) = 11
fcntl(11, F_SETFD, FD_CLOEXEC) = 0
fstat(11, {st_mode=S_IFREG|0755, st_size=52288, ...}) = 0
fstat(11, {st_mode=S_IFREG|0755, st_size=52288, ...}) = 0
mmap(NULL, 52288, PROT_READ, MAP_SHARED, 11, 0) = 0x7f5ba55d2000
close(11) = 0
munmap(0x7f5ba55d2000, 52288) = 0
stat("/home/build/Mu/src/build/generic/.", 0x7fffcaaf06d0) = -1 ENOENT (No such file or directory)
stat("/usr/lib64/kde4/plugins/generic/.", 0x7fffcaaf06d0) = -1 ENOENT (No such file or directory)
socket(PF_LOCAL, SOCK_STREAM, 0) = 11
getsockopt(11, SOL_SOCKET, SO_SNDBUF, [212992], [4]) = 0
uname({sys="Linux", node="Macrobull-x230", ...}) = 0
connect(11, {sa_family=AF_LOCAL, sun_path=@"/tmp/.ICE-unix/1779"}, 22) = 0
fcntl(11, F_SETFD, FD_CLOEXEC) = 0
write(11, "\0\1\0\0\0\0\0\0", 8) = 8
read(11, "\0\1\0\254\0\0\0\0", 8) = 8
access("/home/macrobull/.ICEauthority", R_OK) = -1 ENOENT (No such file or directory)
write(11, "\0\2\1\0\4\0\0\0\0\0\0\0\0\0\0\0\3\0MIT\0\0\0\3\0001.0\0\0\0"..., 40) = 40
read(11, "\0\6\0\254\2\0\0\0", 8) = 8
read(11, "\3\0MIT\177\0\0\3\0001.0\0\0\0", 16) = 16
access("/home/macrobull/.ICEauthority", R_OK) = -1 ENOENT (No such file or directory)
write(11, "\0\7\1\0\5\0\0\0\1\0\0\0\0\0\0\0\4\0XSMP\0\0\3\0MIT\0\0\0"..., 48) = 48
read(11, "\0\10\0\1\2\0\0\0", 8) = 8
read(11, "\3\0KDE\177\0\0\3\0001.0\0\0\0", 16) = 16
write(11, "\1\1\1\0\1\0\0\0\0\0\0\0\0\0\0\0", 16) = 16
read(11, "\1\2\0\1\6\0\0\0", 8) = 8
read(11, ")\0\0\0001015b12015011000014186205950"..., 48) = 48
write(5, "\1\0\0\0\0\0\0\0", 8) = 8
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x11} ---
+++ killed by SIGSEGV +++
The text was updated successfully, but these errors were encountered: