enamigi / yagf

Automatically exported from code.google.com/p/yagf
0 stars 0 forks source link

Crash or corrupted image by opening a jpg file #50

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. install 0.9.4.3 from 
http://ppa.launchpad.net/alex-p/notesalexp-trusty/ubuntu trusty main
2. open yagf. 
3. Try to open a simple jpg file

What is the expected output? What do you see instead?

yagf EITHER crashes:

grigory@new-xubuntu:~$ yagf 
Object::connect: No such slot MainForm::recognizeAll() in 
/build/buildd/yagf-0.9.4.3+git20140818/src/mainform.cpp:164
Object::connect:  (sender name:   'actionRecognize_All_Pages')
Object::connect:  (receiver name: 'MainWindow')
QImage::scaled: Image is a null image
QImage::scaled: Image is a null image
Ошибка сегментирования (сделан дамп памяти)

OR opens the file as if was corrupted, see attached Screenshot.png

What version of the product are you using? On what operating system?

Description:    Ubuntu 14.04.1 LTS
Release:    14.04
Codename:   trusty
Please provide any additional information below.

Original issue reported on code.google.com by gtubol...@gmail.com on 31 Aug 2014 at 12:30

Attachments:

GoogleCodeExporter commented 9 years ago
I used YAGF 0.9.4.4, which is available in source code form from here. It 
opened the file quite fine and recognized it. I will try more under different 
settings but generally it works.

Original comment by andrei.b...@gmail.com on 7 Sep 2014 at 7:06

GoogleCodeExporter commented 9 years ago
День добрый! Может быть, дело в остальных 
компонентах, к-рые установлены у меня в Ubuntu 
14.04 ? Или пакет в репозитории notealexp как-то 
криво собрался ? Какую ещё информацию 
прислать ?

Original comment by gtubol...@gmail.com on 7 Sep 2014 at 1:31

GoogleCodeExporter commented 9 years ago
Автор сборки пакета посоветовал отключить 
в настройках "обрезать изображение при 
загрузке". Помогло - ошибка исчезла.
Оказывается, в Дебиан такая же ошибка 
проявляется.

Original comment by gtubol...@gmail.com on 7 Sep 2014 at 3:02

GoogleCodeExporter commented 9 years ago
Segfault is not only for jpg, but for png also. There is patch with workaround 
in attachment.

Original comment by loginov.alex.valer@gmail.com on 20 Dec 2014 at 11:12

Attachments: