大家好!
我在装上arch后按ArchWiki上的页面关掉了独立显卡,并改了一些设置。
在装上Mendeleydesktop后发现,每次只要一双击同步的pdf文件就会直接闪退,其他功能是正常的。
Mendeley是在pacman里装的1.19版本。
我其他电脑上的Mendeley版本1.17是正常的,但我找不到旧版本,有人帮我解决闪退问题,或者告诉我哪有旧版本吗?谢谢
下面是我找到的Mendeley log
/home/ligy/.local/share/data/Mendeley Ltd./Mendeley Desktop/log-2018-06-06.txt
-- 2018-06-06 03:20:44.762 CrashHandler::notifyStartup: starting up version 1.19
-- 2018-06-06 03:20:44.762 CrashHandler::notifyStartup: last run did not exit cleanly
-- 2018-06-06 03:20:44.762 CrashHandler::notifyStartup: run count 8 crash count 6
-- 2018-06-06 03:20:44.819 main: startup took 254 ms
-- 2018-06-06 03:20:45.295 DataCleaner::upgradeAndRepair: hasRepairFailed: 0
-- 2018-06-06 03:20:45.295 DataCleaner::upgradeAndRepair: Starting repair/update database. needSchemaUpdate: 0 requiresRepair: 1
-- 2018-06-06 03:20:45.315 ExceptionSqlQueryToLog::exec: query UPDATE Documents SET note = REPLACE(note, ' ', ' ') modified 1104 rows
-- 2018-06-06 03:20:45.316 ExceptionSqlQueryToLog::exec: query DELETE FROM RunsSinceLastCleanup modified 1 rows
-- 2018-06-06 03:20:45.316 ExceptionSqlQueryToLog::exec: query INSERT OR REPLACE INTO SchemaVersion VALUES (:key, :value) modified 1 rows
-- 2018-06-06 03:20:45.316 DataCleaner::upgradeAndRepair: Started cleaning at Wed Jun 6 03:20:45 2018 GMT and finished at Wed Jun 6 03:20:45 2018 GMT
-- 2018-06-06 03:20:49.532 ExceptionSqlQueryToLog::exec: query INSERT OR REPLACE INTO SchemaVersion VALUES (:key, :value) modified 1 rows
-- 2018-06-06 03:20:49.532 SyncQueue::startSync: starting sync
-- 2018-06-06 03:20:50.269 PdfViewer::PdfViewer: creating viewer for /home/ligy/Documents/Mendeley Desktop/He, Que - 2016 - Molybdenum disulfide nanomaterials Structures, properties, synthesis and recent progress on hydrogen evolution reaction.pdf hash b45a4537b909d25244b158ca83cebb2a20ad1539
最近编辑记录 ligy (2018-06-06 11:31:13)
离线
我记得我好像是把 java8 卸载了就好了。mendeley 一直很垃圾,我都不知道它和 java8 有毛线关系。在 macOS 上也是各种 crash。
这里有 1.18 版:http://repo.archlinuxcn.org/x86_64/mendeleydesktop-1.18-3-x86_64.pkg.tar.xz
如果你没清理过 pacman cache 的话 /var/cache/pacman/pkg 目录下应该能找到 1.17 版。
我还是推荐使用 Zotero。
离线
多谢,我是刚装的系统,不是升级到19的,所以pacman缓存里应该没有1.17版本。
我安装了1.18,但是问题还在,所以问题可能不在Mendeley上。
我的java版本是1.8.0_172, 我不知道有没有问题。
终端运行mendeleydesktop有错误提示,但不知道有没有关系?
$ mendeleydesktop
Failed to run mendeley:// link handler installer "/opt/mendeleydesktop/lib/mendeleydesktop/libexec/install-mendeley-link-handler.sh"
[0606/153829.909379:WARNING:stack_trace_posix.cc(699)] Failed to open file: /home/ligy/#266484 (deleted)
Error: No such file or directory
[7527:7527:0606/153829.949314:ERROR:gpu_process_transport_factory.cc(1019)] Lost UI shared context.
QObject::connect: signal not found in Mendeley::StretchHeaderView
QObject::connect: signal not found in Mendeley::StretchHeaderView
QLayout: Attempting to add QLayout "" to ToolBarActionWidget "", which already has a layout
QLayout: Attempting to add QLayout "" to ToolBarActionWidget "", which already has a layout
json_parser - syntax error found, forcing abort, Line 1 Column 1
Using old PDFNet version - Recommend 5.2.0 or later
Received signal 11 SEGV_ACCERR 7f407578ee24
#0 0x7f408dfb5abe <unknown>
#1 0x7f408dfb5bd0 <unknown>
#2 0x7f408dfb6207 <unknown>
#3 0x7f4093495a80 <unknown>
#4 0x7f408b67ad85 <unknown>
#5 0x7f408b67aea4 <unknown>
#6 0x7f408b604489 QWidgetPrivate::inheritStyle()
#7 0x7f408b6041ad QWidgetPrivate::setStyle_helper()
#8 0x7f408b604423 QWidgetPrivate::inheritStyle()
#9 0x7f408b6041ad QWidgetPrivate::setStyle_helper()
#10 0x7f408b604423 QWidgetPrivate::inheritStyle()
#11 0x7f408b6041ad QWidgetPrivate::setStyle_helper()
#12 0x7f408b604423 QWidgetPrivate::inheritStyle()
#13 0x7f408b6041ad QWidgetPrivate::setStyle_helper()
#14 0x7f408b604423 QWidgetPrivate::inheritStyle()
#15 0x7f408b6041ad QWidgetPrivate::setStyle_helper()
#16 0x7f408b604423 QWidgetPrivate::inheritStyle()
#17 0x7f408b61545e QWidget::setParent()
#18 0x7f408b7863f1 <unknown>
#19 0x0000008540f7 PdfViewerTab::stealDetailsPane()
#20 0x00000083466c MainWindowTabViewController::handleTabChange()
#21 0x00000075318b <unknown>
#22 0x7f408a88ea0c QMetaObject::activate()
#23 0x7f408b78958f QTabBar::currentChanged()
#24 0x7f408b78dc92 QTabBar::setCurrentIndex()
#25 0x000000815a49 MainWindow::openViewerTab()
#26 0x00000075481c <unknown>
#27 0x7f408a88ea0c QMetaObject::activate()
#28 0x000000b4714a DocumentFileFetcher::fileForInternalViewer()
#29 0x000000a7fba4 DocumentFileFetcher::openLocalFile()
#30 0x000000a8062c DocumentFileFetcher::open()
#31 0x00000080a34b MainWindow::openDocumentFile()
#32 0x00000080a3f8 MainWindow::openDocumentFile()
#33 0x000000753aa1 <unknown>
#34 0x7f408a88f2e2 QObject::event()
#35 0x7f408b61450c QWidget::event()
#36 0x7f408b72c8b5 QMainWindow::event()
#37 0x7f408b5d4984 QApplicationPrivate::notify_helper()
#38 0x7f408b5dc25b QApplication::notify()
#39 0x7f408a864bc9 QCoreApplication::notifyInternal2()
#40 0x7f408a867c5c QCoreApplicationPrivate::sendPostedEvents()
#41 0x7f408a8b8864 <unknown>
#42 0x7f40880e4368 g_main_context_dispatch
#43 0x7f40880e45b1 <unknown>
#44 0x7f40880e463e g_main_context_iteration
#45 0x7f408a8b7e49 QEventDispatcherGlib::processEvents()
#46 0x7f4075661b32 <unknown>
#47 0x7f408a86385c QEventLoop::exec()
#48 0x7f408a86bb56 QCoreApplication::exec()
#49 0x0000007324f3 main
#50 0x7f408992406b __libc_start_main
#51 0x000000734c89 _start
r8: 0000000000000000 r9: ffffffffffffffff r10: 0000000000000000 r11: 0000000000000000
r12: 00007ffc20ecfb70 r13: 00000000036cd168 r14: 0000000000000208 r15: 000000000350b1c0
di: 0000000000000000 si: 0000000000000000 bp: 00000000036cd0e8 bx: 00000000054ec150
dx: 0000000000000001 ax: 00007f407578ee04 cx: 0000000000000000 sp: 00007ffc20ecfb70
ip: 00007f408b67ad85 efl: 0000000000010206 cgf: 002b000000000033 erf: 0000000000000004
trp: 000000000000000e msk: 0000000000000000 cr2: 00007f407578ee24
[end of stack trace]
Calling _exit(1). Core file will not be generated.
离线
呃,如果要 1.17 版可能只能从 AUR 自己改 PKGBUILD 了。
反正我用 1.17 的时候也是随时 crash……
最近编辑记录 zsrkmyn (2018-06-06 16:13:27)
离线
好吧,好奇怪的bug,谢谢
离线
如果谁还有这个问题的话,按照aur源中的 `mendeleydesktop-bundled`包代替mendeleydesktop包就好,参考这里的评论
离线