Bug 199700 - Output catalog has pixel positions for all sources set to 0,0
Summary: Output catalog has pixel positions for all sources set to 0,0
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: sextractor
Version: 5
Hardware: i686
OS: Linux
medium
urgent
Target Milestone: ---
Assignee: Sergio Pascual
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-07-21 13:56 UTC by Pablo Pérez González
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-07-26 16:15:51 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Patch to fix the pointer aliasing problems (50.53 KB, patch)
2006-07-26 16:14 UTC, Sergio Pascual
no flags Details | Diff

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


Note You need to log in before you can comment on or make changes to this bug.