Welcome to the forum, Guest

  • Page:
  • 1
  • 2

TOPIC: YACReader Library crashes

YACReader Library crashes 4 years 11 months ago #2701

nicolasservajean

Offline

Fresh Boarder

Posts: 8

Thank you received: 1

Karma: 0

Hello
I try to use YACReader on Xubuntu 16.04 but when I update the library, YACReader crashes.
I try to launch the application from a terminal. At the moment of the crash, an error "segmentation fault" is returned...
What can I do ?
Thanks for the help.
Nicolas
The administrator has disabled public write access.

YACReader Library crashes 4 years 11 months ago #2702

selmf

Offline

Developer

Posts: 608

Thank you received: 130

Karma: 17

Hello Nicolas and welcome to the forum.

Please provide a little more information. Where is your library located? Local storage or NAS? Xubuntu 32 bit or 64 bit? Are there any informations displayed on the console before the segfault happens?

Properly investigating this bug might need recompiling YACReader with debug information enabled and running it in a debugger. Don't worry, I'll look into making a debug-package and the debugger stuff is easy in the case of segfaults.
My answers are not necessarily official YACReader statements but mostly represent my own opinion in technical matters.
The administrator has disabled public write access.

YACReader Library crashes 4 years 11 months ago #2704

nicolasservajean

Offline

Fresh Boarder

Posts: 8

Thank you received: 1

Karma: 0

Thanks for the answer.
My library is local. My Xubuntu is the Voyager Distribution in 64 bits.

Here is the display of the terminal when I start YACReader Library :

$ ▶ YACReaderLibrary
/usr/share/themes/Voyager-Blue-Grey/gtk-2.0/gtkrc:489: Incapable de localiser le fichier image dans le chemin des pixmaps : « assets/background-noise-toolbar.png »
/usr/share/themes/Voyager-Blue-Grey/gtk-2.0/gtkrc:491: Background image options specified without filename
/usr/share/themes/Voyager-Blue-Grey/gtk-2.0/gtkrc:561: Incapable de localiser le fichier image dans le chemin des pixmaps : « assets/background-noise-toolbar.png »
/usr/share/themes/Voyager-Blue-Grey/gtk-2.0/gtkrc:563: Background image options specified without filename
Logging to /home/**************/.local/share/YACReader/YACReaderLibrary/server_log.log
INFO 2016-12-06T19:56:04.312 YACReaderLibrary attempting to start
INFO 2016-12-06T19:56:04.332
System & configuration
INFO 2016-12-06T19:56:04.332 SO : Linux (unknown version)
INFO 2016-12-06T19:56:04.332 using unarr decompression backend
INFO 2016-12-06T19:56:04.332 qrencode : not found
INFO 2016-12-06T19:56:04.332 server : enabled
INFO 2016-12-06T19:56:04.332 OpenGL : enabled - VSync off
INFO 2016-12-06T19:56:04.339 OpenGL version : "3.0 desktop"
INFO 2016-12-06T19:56:04.339 Libraries: QMap(("bd", QPair(1,"/mnt/840da7a6-9178-4a09-b9cc-800eb542b8f6/bandes_dessinees")))
INFO 2016-12-06T19:56:04.339
INFO 2016-12-06T19:56:04.339 YACReaderLibrary starting
INFO 2016-12-06T19:56:09.947 Starting to update folder "" in library ( "/mnt/840da7a6-9178-4a09-b9cc-800eb542b8f6/bandes_dessinees" , "/mnt/840da7a6-9178-4a09-b9cc-800eb542b8f6/bandes_dessinees/.yacreaderlibrary" )
Erreur de segmentation


Thanks again for the help !
The administrator has disabled public write access.

YACReader Library crashes 4 years 11 months ago #2705

selmf

Offline

Developer

Posts: 608

Thank you received: 130

Karma: 17

I think I have an idea what might be causing this. Please run this command in the console and post the output here:

ls -l /mnt/840da7a6-9178-4a09-b9cc-800eb542b8f6
My answers are not necessarily official YACReader statements but mostly represent my own opinion in technical matters.
The administrator has disabled public write access.

YACReader Library crashes 4 years 11 months ago #2706

nicolasservajean

Offline

Fresh Boarder

Posts: 8

Thank you received: 1

Karma: 0

Here it is :
ls -l /mnt/840da7a6-9178-4a09-b9cc-800eb542b8f6
total 95172
drwxrwxr-x 4 £££££££££ £££££££££ 4096 janv. 6 2016 android
drwxr-xr-x 5 £££££££££ £££££££££ 4096 avril 9 2014 audiolivres
drwxrwxrwx 1751 £££££££££ £££££££££ 65536 déc. 5 18:23 bandes_dessinees
drwxr-xr-x 4427 £££££££££ £££££££££ 151552 nov. 25 17:00 Bibliothèque calibre
drwxr-xr-x 113 £££££££££ £££££££££ 4096 nov. 20 17:21 Calibre-grands_detectives
drwxr-xr-x 1240 £££££££££ £££££££££ 36864 oct. 21 12:29 Calibre
drwxrwxr-x 3 £££££££££ £££££££££ 4096 juil. 21 14:39 Captvty
drwxrwxrwx 2 £££££££££ £££££££££ 4096 nov. 8 2013 Cours photographie
drwxrwxrwx 4 £££££££££ £££££££££ 4096 avril 27 2016 divers
drwxr-xr-x 19 £££££££££ £££££££££ 4096 juin 28 20:19 Documents
drwxrwxrwx 14 £££££££££ £££££££££ 4096 oct. 22 2015 ebooks_hors_calibre
drwxrwxr-x 44 £££££££££ £££££££££ 4096 nov. 13 15:56 feuilletons
drwxr-xr-x 4 £££££££££ £££££££££ 4096 avril 16 2014 gPodder
drwxr-xr-x 17 £££££££££ £££££££££ 4096 déc. 3 21:52 Images
drwxr-xr-x 4 £££££££££ £££££££££ 4096 nov. 13 15:55 Instruments de musique
drwxrwxr-x 6 £££££££££ £££££££££ 4096 oct. 5 2014 Lecture_plus
drwxrwxr-x 34 £££££££££ £££££££££ 4096 sept. 7 21:42 magazines
drwxrwxr-x 2 £££££££££ £££££££££ 4096 oct. 22 2015 mooc_python
drwxrwxr-x 5 £££££££££ £££££££££ 4096 oct. 11 2015 ownCloud
drwxr-xr-x 2 £££££££££ £££££££££ 4096 déc. 2 2014 Téléchargements
drwxrwxr-x 76 £££££££££ £££££££££ 20480 nov. 20 18:10 Vidéos


I changed the name of my Home folder by ££££££££££££...
Last Edit: 4 years 11 months ago by nicolasservajean.
The administrator has disabled public write access.

YACReader Library crashes 4 years 11 months ago #2712

nicolasservajean

Offline

Fresh Boarder

Posts: 8

Thank you received: 1

Karma: 0

An idea ?
The administrator has disabled public write access.

YACReader Library crashes 4 years 11 months ago #2713

selmf

Offline

Developer

Posts: 608

Thank you received: 130

Karma: 17

Yes, actually. Your library is corrupted. Here's the problem:

INFO 2016-12-06T19:56:09.947 Starting to update folder "" in library ( "/mnt/840da7a6-9178-4a09-b9cc-800eb542b8f6/bandes_dessinees" , "/mnt/840da7a6-9178-4a09-b9cc-800eb542b8f6/bandes_dessinees/.yacreaderlibrary" )

See the "" after "folder"? There should be a path to the folder being updated there, or maybe a name, but there isn't. This is what causes the segfault. It might be solvable by deleting and re-creating library. If you want to try this approach please make a backup copy of this file:
~/.local/share/YACReader/YACReaderLibrary/YACReaderLibrary.ini

This is YACReaderLibrary's settings file which also contains some library data. I might need it for fixing the bug that caused this problem. I don't know yet what caused this situation but my current guess is that you might have some directories with french characters in the name. I will try to trigger this bug on my system on the weekend.
My answers are not necessarily official YACReader statements but mostly represent my own opinion in technical matters.
The administrator has disabled public write access.

YACReader Library crashes 4 years 11 months ago #2715

nicolasservajean

Offline

Fresh Boarder

Posts: 8

Thank you received: 1

Karma: 0

Huge thanks for the help. Here is the file :

[General]
LIBRARIES=@ByteArray(\0\0\0\x1\0\0\0\x4\0\x62\0\x64\0\0\0\x1\0\0\0t\0/\0m\0n\0t\0/\0\x38\0\x34\0\x30\0\x64\0\x61\0\x37\0\x61\0\x36\0-\0\x39\0\x31\0\x37\0\x38\0-\0\x34\0\x61\0\x30\0\x39\0-\0\x62\0\x39\0\x63\0\x63\0-\0\x38\0\x30\0\x30\0\x65\0\x62\0\x35\0\x34\0\x32\0\x62\0\x38\0\x66\0\x36\0/\0\x62\0\x61\0n\0\x64\0\x65\0s\0_\0\x64\0\x65\0s\0s\0i\0n\0\x65\0\x65\0s)

[libraryConfig]
BLUR_RADIUS_BACKGROUND_IMAGE_IN_GRID_VIEW=75
CENTRAL_DISTANCE=100
COMICS_VIEW_FLOW_SPLITTER_STATUS=@ByteArray(\0\0\0\xff\0\0\0\x1\0\0\0\x2\0\0\x2u\0\0\x1h\x1\xff\xff\xff\xff\x1\0\0\0\x2\0)
COMICS_VIEW_HEADERS=@ByteArray(\0\0\0\xff\0\0\0\0\0\0\0\x1\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\rp\x12\0\0\0\x5\0\0\0\f\0\0\0\x64\0\0\0\t\0\0\0\x64\0\0\0\x6\0\0\0\x64\0\0\0\x5\0\0\0\x64\0\0\0\x4\0\0\0\x64\0\0\x1\x7f\0\0\0\r\x1\0\x1\x1\0\0\0\0\0\0\0\0\0\0\0\0\x64\xff\xff\xff\xff\0\0\0\x1\0\0\0\0\0\0\0\r\0\0\0\x18\0\0\0\x1\0\0\0\0\0\0\0$\0\0\0\x1\0\0\0\0\0\0\0\x45\0\0\0\x1\0\0\0\0\0\0\0-\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0!\0\0\0\x1\0\0\0\0\0\0\0'\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0X\0\0\0\x1\0\0\0\0\0\0\0\x31\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\x3\xe8\0)
COVER_DISTANCE=18
COVER_ROTATION=40
FADE_OUT_DIST=2
FLOW_TYPE_GL=0
LIGHT_STRENGTH=3
MAIN_WINDOW_GEOMETRY=@ByteArray(\x1\xd9\xd0\xcb\0\x2\0\0\0\0\b\xa7\0\0\0H\0\0\v\xc6\0\0\x3\xf\0\0\b\xa7\0\0\0^\0\0\v\xc6\0\0\x3\r\0\0\0\x1\0\0\0\0\x5\0)
MAX_ANGLE=30
OPACITY_BACKGROUND_IMAGE_IN_GRID_VIEW=0.20000000000000001
PERFORMANCE=1
SIDEBAR_SPLITTER_STATUS=@ByteArray(\0\0\0\xff\0\0\0\x1\0\0\0\x2\0\0\0\xed\0\0\0\xc0\x1\xff\xff\xff\xff\x1\0\0\0\x2\0)
USE_OPEN_GL=2
X_ROTATION=0
Y_COVER_OFFSET=0
Y_POSITION=-20
ZOOM_LEVEL=-7
Z_COVER_OFFSET=10
The administrator has disabled public write access.

YACReader Library crashes 4 years 11 months ago #2719

nicolasservajean

Offline

Fresh Boarder

Posts: 8

Thank you received: 1

Karma: 0

I've found the problem !
A corrupted PDF file in the library...
Thanks for the help anyway !
The administrator has disabled public write access.

YACReader Library crashes 4 years 11 months ago #2720

selmf

Offline

Developer

Posts: 608

Thank you received: 130

Karma: 17

Can you send me that file so I can make sure this can be correctly processed in the future?
My answers are not necessarily official YACReader statements but mostly represent my own opinion in technical matters.
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Powered by Kunena Forum