#2 Link on ubuntu x86_64-linux-gnu with gcc 4.0.3

closed-fixed
nobody
None
5
2007-02-16
2006-09-06
Anonymous
No

Provide appropriate casts for ptr assignment where a
pointer variable is used to hold an integer.

tesseract 1.0 will then link on x86_64-linux-gnu, but
seg fault when running
./tesseract phototest.tif tmp batch

when add_variable(.... certainty_threshold) assumes it
can assign to the float (sizeof(float) == 4) with a
pointer value (sizeof(void *) == 8) which clobbers
the allocate function pointer which then causes the
next strsave to fail.

Discussion

  • Nobody/Anonymous

    diff -pu output for patch

     
  • Ray Smith

    Ray Smith - 2007-02-01
    • status: open --> pending-fixed
     
  • Ray Smith

    Ray Smith - 2007-02-01

    Logged In: YES
    user_id=1515161
    Originator: NO

    The 64 bit branch is included in the mainline 1.03. These changes should then be unnecessary.

     
  • SourceForge Robot

    Logged In: YES
    user_id=1312539
    Originator: NO

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     
  • SourceForge Robot

    • status: pending-fixed --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks