Welcome to iraf.net Friday, March 29 2024 @ 03:52 PM GMT


 Forum Index > Help Desk > Systems New Topic Post Reply
 Crash on macintel port on MBP
   
Marek42
 11/04/2006 04:33PM (Read 9143 times)  
+----
Newbie

Status: offline


Registered: 01/20/2006
Posts: 9
I've had beta2 installed for a while and was seeing crashes, today I just did a fresh base install of iraf to see if the crashing problems remain and they did.When running the rfits command I get the following crash log:Date/Time: 2006-11-04 11:14:51.760 -0500
OS Version: 10.4.8 (Build 8L2127)
Report Version: 4Command: x_dataio.e
Path: /iraf/iraf/bin.macintel/x_dataio.e
Parent: ecl.e [2773]Thread 0 Crashed:
0 <<00000000>> 0x0017ea22 sp.1594 + 2
1 x_dataio.e 0x0004a8da plbox_ + 322
2 x_dataio.e 0x000337ac rftflt_ + 1618
3 x_dataio.e 0x0000b370 trfits_ + 680
4 x_dataio.e 0x0000221d sysruk_ + 1043
5 x_dataio.e 0x000ef668 irafmn_ + 920
6 x_dataio.e 0x00042ec2 main + 720
7 x_dataio.e 0x00001db2 _start + 228 (crt.c:272)
8 x_dataio.e 0x00001ccd start + 41Thread 0 crashed with X86 Thread State (32-bit):
eax: 0x0017ea5d ebx: 0x0004af2c ecx: 0x0004b1a6 edx: 0xfffffffc
edi: 0x00157848 esi: 0xfffffffe ebp: 0xbffff2d8 esp: 0xbffff250
ss: 0x0000001f efl: 0x00000202 eip: 0x0017ea22 cs: 0x00000017
ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037However, imcopy foo.fits foo.imh works fine!I've also got similar crashes in other packages like:Date/Time: 2006-07-25 05:19:48.437 -0400
OS Version: 10.4.7 (Build 8J2135a)
Report Version: 4Command: x_ccdred.e
Path: /iraf/iraf/noao/bin.macintel/x_ccdred.e
Parent: ecl.e [316]Exception: EXC_BAD_INSTRUCTION (0x0002)
Code[0]: 0x0000000d
Code[1]: 0x0000fffc
Thread 0 Crashed:
0 <<00000000>> 0x0017ceda sp.1594 + 2 (crt.c:305)
1 x_ccdred.e 0x00079bc6 plbox_ + 322 (crt.c:305)
2 x_ccdred.e 0x0007d009 pmbox_ + 75 (crt.c:305)
3 x_ccdred.e 0x000541b8 xtpmtt_ + 663 (crt.c:305)
4 x_ccdred.e 0x00055fba xtpmm1_ + 251 (crt.c:305)
5 x_ccdred.e 0x00056514 xtpmmp_ + 371 (crt.c:305)
6 x_ccdred.e 0x00024e70 setfix_ + 344 (crt.c:305)
7 x_ccdred.e 0x00008c88 tccdpc_ + 732 (crt.c:305)
8 x_ccdred.e 0x00001e63 sysruk_ + 969 (crt.c:305)
9 x_ccdred.e 0x00127351 irafmn_ + 920 (crt.c:305)
10 x_ccdred.e 0x00066e04 main + 720 (crt.c:305)
11 x_ccdred.e 0x00001a42 _start + 228 (crt.c:272)
12 x_ccdred.e 0x0000195d start + 41
Now I haven't seen anyone else on here reporting similar problems so I'm kind of baffled by what's going on. It seems however that the plbox_ function is the common culprit here.Todays fresh re-install was using the as.pcix.gen.gz, ib.macx.x86.gz, nb.macx.x86.gz files as available from here.Any thoughts, questions, ideas to try/check/whatever?

 
Profile Email
 Quote
fitz
 11/04/2006 04:33PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
I remember there being some issue with plbox for the cygwin port but there was no code change as a result so it might have been something else. Please post a URL to a test image and I'll have a look.-Mike

 
Profile Email
 Quote
Marek42
 11/04/2006 04:33PM  
+----
Newbie

Status: offline


Registered: 01/20/2006
Posts: 9
http://www.portents.com/marek/I.00000000.fits.gzwas the image I most recently tested with. It was made by CCDSoft v5 from Software Bisque. These files were never a problem on the PPC version of 2.12.

 
Profile Email
 Quote
fitz
 11/04/2006 04:33PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
Well, using the default RFITS params it works for me on the latest DEV system. I'll give it a try using the Beta-2 binaries and get back to you (later today) if I can reproduce it.-Mike

 
Profile Email
 Quote
Marek42
 11/04/2006 04:33PM  
+----
Newbie

Status: offline


Registered: 01/20/2006
Posts: 9
Well if its magically fixed in the latest version that'd be great.I just did:
unlearn rfits
rfits I.00000000.fits "" foo.imhjust to be sure, and I got the crash again.I managed to get gdb to attach to x_dataio.e, I got a SIGTRAP with the following back trace:(gdb) bt
#0 0x0017ea22 in d1.1604 ()
#1 0x0017ea1c in d2.1605 ()
#2 0x0004a8da in imdges_ ()
#3 0x000337ac in eparam (cx=0x297228, update=0x169390, nextcmd=0x1693a8, nextpset=0x169398 "") at eparam.c:227
#4 0x0000b370 in mk_startupmsg (tp=0x18c400, cmd=0x1441f8 "r", maxch=-1073744568) at exec.c:640
#5 0x0000221d in o_absargset (argp=0x18c400) at opcodes.c:70
#6 0x000ef668 in qpexcr_ ()
#7 0x00042ec2 in grcsts_ ()
#8 0x00001db2 in sysruk_ (task=0x2, cmd=0xbffff824, rukarf=0xbffff830, rukint=0x0) at ecl.x:235
#9 0x00001ccd in _start (argc=-1073743644, argv=0xbffff907, envp=0x0) at /SourceCache/Csu/Csu-58/crt.c:247
(gdb) c
Continuing.Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x002fd4ba
0x0017ea31 in j.1602 ()
(gdb) bt
#0 0x0017ea31 in j.1602 ()
#1 0x0017ea1c in d2.1605 ()
#2 0x0004a8da in imdges_ ()
#3 0x000337ac in eparam (cx=0x297228, update=0x169390, nextcmd=0x1693a8, nextpset=0x169398 "") at eparam.c:227
#4 0x0000b370 in mk_startupmsg (tp=0x18c400, cmd=0x1441f8 "r", maxch=-1073744568) at exec.c:640
#5 0x0000221d in o_absargset (argp=0x18c400) at opcodes.c:70
#6 0x000ef668 in qpexcr_ ()
#7 0x00042ec2 in grcsts_ ()
#8 0x00001db2 in sysruk_ (task=0x2, cmd=0xbffff824, rukarf=0xbffff830, rukint=0x0) at ecl.x:235
#9 0x00001ccd in _start (argc=-1073743644, argv=0xbffff907, envp=0x0) at /SourceCache/Csu/Csu-58/crt.c:247

 
Profile Email
 Quote
Marek42
 11/04/2006 04:33PM  
+----
Newbie

Status: offline


Registered: 01/20/2006
Posts: 9
An additional, I just installed the Mac OS X PPC binaries onto my install and rfits works just dandy.I'm happy to do more real debugging on my machine to track down the problem if you can't repro it on your system. I guess I'll use the macosx port for the time being.

 
Profile Email
 Quote
fitz
 11/04/2006 04:33PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
I've confirmed the crash in the beta-2 macintel binary and that it is fixed in the latest dev version. I also found an earlier report of this saying the same thing. You can continue to use the PPC x_dataio.e to fix just RFITS, or I've put the latest macintel version at https://iraf.net/ftp/pub/fitz/x_dataio.e.MACINTEL . I'm still not sure what the problem may be, but a final V2.13 is in the works so hopefully this won't be needed for long.Cheers,
-Mike

 
Profile Email
 Quote
Marek42
 11/04/2006 04:33PM  
+----
Newbie

Status: offline


Registered: 01/20/2006
Posts: 9
Cool, I think I'll just wait for the next beta to come out since it sounds soon and I'll wait to install all the additional packages until that comes out just to minimize any grief later on. WinkThanks!

 
Profile Email
 Quote
Marek42
 11/04/2006 04:33PM  
+----
Newbie

Status: offline


Registered: 01/20/2006
Posts: 9
Just for completeness sakes I just tried out the dataio you posted and it does not crash! Look forward to seeing the final 2.13 release!

 
Profile Email
 Quote
   
Content generated in: 0.24 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies


Privacy Policy
Terms of Use

User Functions

Login