Drag 'n' Drop, "Open", or terminal-invoke causes crash ("Segmentation fault (core dumped)")

Bug #1420066 reported by Scott Cowles Jacobs
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
yagf (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I have used this program successfully (more or less) before, but I have lately been using GIMP,
and now feel rather confident that I can use it to improve an image to where it is more likely
to successfully undergo OCR, and went to test YAGF again.

I have not been able to get YAGF to successfully open any file I have tried to open.
Neither type .png nor .jpg worked.
Although one .png reported:
"scott@scott-ASUS-M2N68-AM-PLUS:~$ yagf /data/scott/Photos/GIMP_Projects/ThingsToOCR/SC_OCR1.png
terminate called after throwing an instance of 'std::bad_alloc'
  what(): std::bad_alloc
Aborted (core dumped)"

The other terminal-invoked trials resulted merely in:
"Segmentation fault (core dumped)"

Drag 'n' Drop, and File-->Open Image just result in the YAGF window suddenly disappear.

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: yagf 0.9.3.2-1ubuntu1
ProcVersionSignature: Ubuntu 3.16.0-30.40-generic 3.16.7-ckt3
Uname: Linux 3.16.0-30-generic i686
NonfreeKernelModules: nvidia
ApportVersion: 2.14.7-0ubuntu8.1
Architecture: i386
CurrentDesktop: LXDE
Date: Mon Feb 9 20:40:37 2015
InstallationDate: Installed on 2014-11-01 (100 days ago)
InstallationMedia: Lubuntu 14.10 "Utopic Unicorn" - Release i386 (20141022.1)
SourcePackage: yagf
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Scott Cowles Jacobs (scott092707) wrote :
Revision history for this message
Tehnick (tehnick) wrote :

Try to disable option "Crop Image When Loaded" in Settings --> Image processing.

Revision history for this message
Scott Cowles Jacobs (scott092707) wrote :

Yes. That did the trick. Thank you.

-Scott

Revision history for this message
L'Africain (lafricain79) wrote :

I have the same problem but not just with drag an drop. All way to open file crashes yagf with :
Erreur de segmentation (core dumped)
I didn't found the crop Image when loaded in my settings, I use Ubuntu 16.04.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in yagf (Ubuntu):
status: New → Confirmed
Revision history for this message
L'Africain (lafricain79) wrote :

Ok I found the option "Crop Image..." now it runs perfectly.

Revision history for this message
AdlerHorst (adlerhorst) wrote :

Problem persist. Please correct this or change the default settings. not every one is able to find this workaround as described above.

Its a shame that a Bug like this persist since 2015.

Repair it, or remove it from Store!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.