Bug 199700

Summary: Output catalog has pixel positions for all sources set to 0,0
Product: [Fedora] Fedora Reporter: Pablo Pérez González <pgperez>
Component: sextractorAssignee: Sergio Pascual <sergio.pasra>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: medium    
Version: 5CC: extras-qa
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-07-26 16:15:51 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Patch to fix the pointer aliasing problems none

Description Pablo Pérez González 2006-07-21 13:56:42 UTC
Description of problem:

The program runs perfectly but the output catalog has the pixel position of all
detected sources fixed to 0,0 and the RA-DEC coordinates are all the same
(corresponding to pixel 0,0).

Version-Release number of selected component (if applicable): 2.5.0-1.fc5


How reproducible: Perfectly


Steps to Reproduce:
1.Download image and sextractor input file from
http://www1.cadc-ccda.hia-iha.nrc-cnrc.gc.ca/community/CFHTLS-SG/docs/cfhtlsD3.html
2.Run sextractor outputting the following parameters:

X_IMAGE
Y_IMAGE
ALPHA_J2000
DELTA_J2000

3.Check output catalog.
  
Actual results: All pixel positions set to 0,0


Expected results: Different pixel positions and RA-DEC's for each source.


Additional info: Version directly downloaded from
ftp://ftp.iap.fr/pub/from_users/bertin/sextractor/sextractor-2.5.0-1.i686.rpm

works perfectly.

Comment 1 Sergio Pascual 2006-07-21 17:11:41 UTC
Thanks Pablo.

The problem seems to come from the different compilation options of the home
made  sextractor rpm and the fedora rpm.

The fedora rpm is compiled with, between other options, -O2 
The rpm made by the sextractor people is compiled with -O1

As I have tested, the inclusion of -O2 of the fedora rpm produces the errors. I
will tell upstream and I will produce a new rpm optimized with -O1 insted of -O2

Comment 2 Sergio Pascual 2006-07-24 11:25:31 UTC
It seems that changing the flags breaks the debugging info of the package. I
have reverted the flag from -O1 to -O2 again. 

Comment 3 Sergio Pascual 2006-07-24 13:14:53 UTC
Additionally, the rpm seems to work in FC4. There exists a problem with the
source and gcc 4.1

Comment 4 Sergio Pascual 2006-07-26 16:14:21 UTC
Created attachment 133079 [details]
Patch to fix the pointer aliasing problems