Skip to content
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

Crash or corrupted image by opening a jpg file #50

Open
GoogleCodeExporter opened this issue Oct 16, 2015 · 4 comments
Open

Crash or corrupted image by opening a jpg file #50

GoogleCodeExporter opened this issue Oct 16, 2015 · 4 comments

Comments

@GoogleCodeExporter
Copy link

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
Copy link
Author

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

  • Changed state: Started

@GoogleCodeExporter
Copy link
Author

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

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

@GoogleCodeExporter
Copy link
Author

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

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

@GoogleCodeExporter
Copy link
Author

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:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant