You are not logged in.

#1 2018-06-11 12:43:48

ligy
Member
Registered: 2018-05-28
Posts: 7

mendeleydestop crashs everytime i open pdf files.

Hi everyone, newbie here, need help.
I recently installed arch on my new XPS 15 9560 laptop. I followed page https://wiki.archlinux.org/index.php/Dell_XPS_15_9560, disabled gpu, and someother configs.
Everything seems fine, except mendeleydestop. Everytime i try to open pdf files in my mendeley, it crashes without any popup notifications.
I installed mendeley from pacman, version 1.19. I tried version 1.18 but still the same.
Can anybody help me with this? Thank you.
I found log files in

/home/ligy/.local/share/data/Mendeley Ltd./Mendeley Desktop/log-2018-06-11.txt

The output of command "mendeleydesktop" in console gives following:

$ mendeleydesktop
Failed to run mendeley:// link handler installer "/opt/mendeleydesktop/lib/mendeleydesktop/libexec/install-mendeley-link-handler.sh"
[0611/203422.427743:WARNING:stack_trace_posix.cc(699)] Failed to open file: /home/ligy/#273132 (deleted)
  Error: No such file or directory
  [1265:1265:0611/203422.465285:ERROR:gpu_process_transport_factory.cc(1019)] Lost UI shared context.

then i open pdf file, i get this

  Received signal 11 SEGV_MAPERR 000000000020
  #0 0x7ff926dafabe <unknown>
  #1 0x7ff926dafbd0 <unknown>
  #2 0x7ff926db0207 <unknown>
  #3 0x7ff92c26ea80 <unknown>
  #4 0x7ff924474d85 <unknown>
  #5 0x7ff924474ea4 <unknown>
  #6 0x7ff9243fe489 QWidgetPrivate::inheritStyle()
  #7 0x7ff9243fe1ad QWidgetPrivate::setStyle_helper()
  #8 0x7ff9243fe423 QWidgetPrivate::inheritStyle()
  #9 0x7ff9243fe1ad QWidgetPrivate::setStyle_helper()
  #10 0x7ff9243fe423 QWidgetPrivate::inheritStyle()
  #11 0x7ff9243fe1ad QWidgetPrivate::setStyle_helper()
  #12 0x7ff9243fe423 QWidgetPrivate::inheritStyle()
  #13 0x7ff9243fe1ad QWidgetPrivate::setStyle_helper()
  #14 0x7ff9243fe423 QWidgetPrivate::inheritStyle()
  #15 0x7ff9243fe1ad QWidgetPrivate::setStyle_helper()
  #16 0x7ff9243fe423 QWidgetPrivate::inheritStyle()
  #17 0x7ff92440f45e QWidget::setParent()
  #18 0x7ff9245803f1 <unknown>
  #19 0x00000086b2c7 PdfViewerTab::stealDetailsPane()
  #20 0x000000848c5c MainWindowTabViewController::handleTabChange()
  #21 0x00000075e78b <unknown>
  #22 0x7ff923688a0c QMetaObject::activate()
  #23 0x7ff92458358f QTabBar::currentChanged()
  #24 0x7ff924587c92 QTabBar::setCurrentIndex()
  #25 0x00000082a5c9 MainWindow::openViewerTab()
  #26 0x00000075fa5c <unknown>
  #27 0x7ff923688a0c QMetaObject::activate()
  #28 0x000000b4c8ba DocumentFileFetcher::fileForInternalViewer()
  #29 0x000000a84814 DocumentFileFetcher::openLocalFile()
  #30 0x000000a8529c DocumentFileFetcher::open()
  #31 0x00000081e00b MainWindow::openDocumentFile()
  #32 0x00000081e0b8 MainWindow::openDocumentFile()
  #33 0x00000075f0a1 <unknown>
  #34 0x7ff9236892e2 QObject::event()
  #35 0x7ff92440e50c QWidget::event()
  #36 0x7ff9245268b5 QMainWindow::event()
  #37 0x7ff9243ce984 QApplicationPrivate::notify_helper()
  #38 0x7ff9243d625b QApplication::notify()
  #39 0x7ff92365ebc9 QCoreApplication::notifyInternal2()
  #40 0x7ff923661c5c QCoreApplicationPrivate::sendPostedEvents()
  #41 0x7ff9236b2864 <unknown>
  #42 0x7ff920ede368 g_main_context_dispatch
  #43 0x7ff920ede5b1 <unknown>
  #44 0x7ff920ede63e g_main_context_iteration
  #45 0x7ff9236b1e49 QEventDispatcherGlib::processEvents()
  #46 0x7ff90e465b32 <unknown>
  #47 0x7ff92365d85c QEventLoop::exec()
  #48 0x7ff923665b56 QCoreApplication::exec()
  #49 0x00000073d973 main
  #50 0x7ff92271e06b __libc_start_main
  #51 0x0000007403d9 _start
   r8 : 0000000000000000  r9: ffffffffffffffff r10: 0000000000000000 r11: 0000000000000000
  r12 : 00007ffda47a3050 r13: 0000000003d6f678 r14: 0000000000000208 r15: 0000000003aa1c00
   di : 0000000000000000  si: 0000000000000000  bp: 0000000003d6f638  bx: 0000000004dd6a10
   dx : 0000000000000001  ax: 0000000000000000  cx: 0000000000000000  sp: 00007ffda47a3050
   ip : 00007ff924474d85 efl: 0000000000010202 cgf: 002b000000000033 erf: 0000000000000004
  trp : 000000000000000e msk: 0000000000000000 cr2: 0000000000000020
[end  of stack trace]
Calling  _exit(1). Core file will not be generated.

Last edited by ligy (2018-06-11 12:47:58)

Offline

#2 2018-06-11 14:23:07

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,739

Re: mendeleydestop crashs everytime i open pdf files.

How did you install mendeleydestop ? On Arch, it is in the AUR; there appear to be both a mainstream and a dev version.
Is your system up to date?  Did you rebuild mendeleydestop after the most resent full update?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2018-06-11 15:10:54

ligy
Member
Registered: 2018-05-28
Posts: 7

Re: mendeleydestop crashs everytime i open pdf files.

ewaller wrote:

How did you install mendeleydestop ? On Arch, it is in the AUR; there appear to be both a mainstream and a dev version.
Is your system up to date?  Did you rebuild mendeleydestop after the most resent full update?

I installed mendeley using

sudo pacman -S mendeleydesktop

and frequently update my system using

sudo pacman -Syu

I don't know if this is right, i didn't rebuild my mendeleydesktop. Is rebuild needed if i installed it with pacman?

Last edited by ligy (2018-06-11 15:17:54)

Offline

#4 2018-06-11 15:25:36

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: mendeleydestop crashs everytime i open pdf files.

Post the contents of your pacman.conf then as you must  have added a custom repo in able to have installed mendeleydesktop using pacman -  it's definitely in the AUR not in the standard repositories.  Or do you have pacman aliased to some other helper?


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#5 2018-06-11 15:27:18

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,739

Re: mendeleydestop crashs everytime i open pdf files.

ligy wrote:

I installed mendeley using

sudo pacman -S mendeleydesktop

That did not come from our repos.  Please post your /etc/pacman.conf

Edit:  Too Slow

Last edited by ewaller (2018-06-11 15:27:38)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#6 2018-06-11 15:30:45

ligy
Member
Registered: 2018-05-28
Posts: 7

Re: mendeleydestop crashs everytime i open pdf files.

#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives

#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir     = /
#DBPath      = /var/lib/pacman/
#CacheDir    = /var/cache/pacman/pkg/
#LogFile     = /var/log/pacman.log
#GPGDir      = /etc/pacman.d/gnupg/
#HookDir     = /etc/pacman.d/hooks/
HoldPkg     = pacman glibc
#XferCommand = /usr/bin/curl -C - -f %u > %o
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
#UseDelta    = 0.7
Architecture = auto

# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg   =
#IgnoreGroup =

#NoUpgrade   =
#NoExtract   =

# Misc options
#UseSyslog
#Color
#TotalDownload
CheckSpace
#VerbosePkgLists

# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
SigLevel    = Required DatabaseOptional
LocalFileSigLevel = Optional
#RemoteFileSigLevel = Required

# NOTE: You must run `pacman-key --init` before first using pacman; the local
# keyring can then be populated with the keys of all official Arch Linux
# packagers with `pacman-key --populate archlinux`.

#
# REPOSITORIES
#   - can be defined here or included from another file
#   - pacman will search repositories in the order defined here
#   - local/custom mirrors can be added here or in separate files
#   - repositories listed first will take precedence when packages
#     have identical names, regardless of version number
#   - URLs will have $repo replaced by the name of the current repo
#   - URLs will have $arch replaced by the name of the architecture
#
# Repository entries are of the format:
#       [repo-name]
#       Server = ServerName
#       Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#

# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.

#[testing]
#Include = /etc/pacman.d/mirrorlist

[core]
Include = /etc/pacman.d/mirrorlist

[extra]
Include = /etc/pacman.d/mirrorlist

#[community-testing]
#Include = /etc/pacman.d/mirrorlist

[community]
Include = /etc/pacman.d/mirrorlist

# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.

#[multilib-testing]
#Include = /etc/pacman.d/mirrorlist

#[multilib]
#Include = /etc/pacman.d/mirrorlist

# An example of a custom package repository.  See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs

[archlinuxcn]
#The Chinese Arch Linux communities packages.
SigLevel = Optional TrustedOnly
Server   = http://repo.archlinuxcn.org/$arch

Offline

#7 2018-06-11 15:40:57

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,739

Re: mendeleydestop crashs everytime i open pdf files.

[archlinuxcn]
#The Chinese Arch Linux communities packages.
SigLevel = Optional TrustedOnly
Server   = http://repo.archlinuxcn.org/$arch

So, that package must be in this repository.  Do you know why this is enabled and where it came from?

The mendelydesktop package in that repo is probably out of date and uses different library versions than does Arch Linux.  I suggest you (a) contact the maintainer of that repo and ask that they fix it, or (b) uninstall  mendelydesktop and install it from the AUR


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#8 2018-06-11 15:47:31

ligy
Member
Registered: 2018-05-28
Posts: 7

Re: mendeleydestop crashs everytime i open pdf files.

I added that myself. I'll try unistall my mendeleydesktop, and install using AUR, hope that will fix this.

Offline

#9 2018-06-11 15:53:58

ligy
Member
Registered: 2018-05-28
Posts: 7

Re: mendeleydestop crashs everytime i open pdf files.

I installed mendeleydesktop from AUR, but the problem remains.

$ yaourt -S mendeleydesktop
resolving dependencies...
looking for conflicting packages...

Packages (4) minizip-1:1.2.11-2  qt5-webengine-5.11.0-2  re2-20180401-1  mendeleydesktop-1.19-1

Total Installed Size:  202.06 MiB

:: Proceed with installation? [Y/n] Y
(4/4) checking keys in keyring                                                                  [########################################################] 100%
(4/4) checking package integrity                                                                [########################################################] 100%
(4/4) loading package files                                                                     [########################################################] 100%
(4/4) checking for file conflicts                                                               [########################################################] 100%
(4/4) checking available disk space                                                             [########################################################] 100%
:: Processing package changes...
(1/4) installing minizip                                                                        [########################################################] 100%
(2/4) installing re2                                                                            [########################################################] 100%
(3/4) installing qt5-webengine                                                                  [########################################################] 100%
(4/4) installing mendeleydesktop                                                                [########################################################] 100%
:: Running post-transaction hooks...
(1/3) Updating icon theme caches...
(2/3) Arming ConditionNeedsUpdate...
(3/3) Updating the desktop file MIME type cache...
No database errors have been found!

Offline

#10 2018-06-13 10:09:00

Sunday87
Member
Registered: 2013-01-17
Posts: 31

Re: mendeleydestop crashs everytime i open pdf files.

I have the same problem on multiple machines. Started a few weeks ago, unfortunately I do not update every day nor do I use mendeley every day so i can not pin down the exact update which started this...

Offline

#11 2018-06-13 10:58:51

martinc2
Member
Registered: 2011-09-23
Posts: 60

Re: mendeleydestop crashs everytime i open pdf files.

If you look at the AUR package you'll see that this issue is known (and there is a workaround, and some caveats).

Offline

#12 2018-06-13 11:03:05

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,424

Re: mendeleydestop crashs everytime i open pdf files.

Most likely candidate is the Qt 5.11 update. A stop gap solution would be to change the PKGBUILD so that it doesn't remove the bundled static libs, that will increase the space requirements but should at least have a working solution until mendeleydesktop provide a build using qt 5.11.

Online

#13 2018-06-14 03:18:39

ligy
Member
Registered: 2018-05-28
Posts: 7

Re: mendeleydestop crashs everytime i open pdf files.

martinc2 wrote:

If you look at the AUR package you'll see that this issue is known (and there is a workaround, and some caveats).

V1del wrote:

Most likely candidate is the Qt 5.11 update. A stop gap solution would be to change the PKGBUILD so that it doesn't remove the bundled static libs, that will increase the space requirements but should at least have a working solution until mendeleydesktop provide a build using qt 5.11.

Thank you, I didn't notice that, at least i can open pdf in my mendeley now.
For newbies like me,
i downloaded the generic version of mendeleydesktop in its official site,
extracted the downloaded files,
and directly executed file "mendeleydesktop" in extracted dir bin/.

Offline

#14 2018-10-08 09:33:00

tanasis
Member
From: Delft
Registered: 2015-03-20
Posts: 6

Re: mendeleydestop crashs everytime i open pdf files.

Very annoying issue. Also this one. I ended up using Mendeley inside a docker container and solve this for good!

Offline

#15 2018-11-07 13:51:52

amir.varasteh
Member
Registered: 2010-04-25
Posts: 12

Re: mendeleydestop crashs everytime i open pdf files.

Hi.
Download the Linux package from the Mendeley website. It solves the problem.

Offline

#16 2018-11-07 14:06:30

akstrfn
Member
Registered: 2018-04-10
Posts: 11

Re: mendeleydestop crashs everytime i open pdf files.

Package mendeley-bundled uses Qt provided by the upstream so opening pdf's inside mendeley works fine.

Last edited by akstrfn (2018-11-07 14:07:54)

Offline

Board footer

Powered by FluxBB