Re: Python on Mac OSX

From: Nathaniel Tagg <tagg_at_minos.phy.tufts.edu>
Date: Tue, 17 Jul 2007 14:22:13 -0400

>> Cintex::Enable() fails in the same way, no matter if the library  
>> is loaded or
>> not. (The library loads fine.)
>
> Just to be sure, so it fails when already when loading into  
> root.exe? If
> so, I'd prefer debugging it from there, although it would surprise  
> me a
> little if it fails in the exact same way. Do you have a full  
> traceback?

Yup. Attached below. Looks to me like the Cintex library builds pretty badly. Even doing

        Cintex::En<tab>
causes an illegal instruction fault.

> AFAIK, Cintex is only used interactively within the context of  
> Gaudi, which is
> not tested/supported on MacOSX. Even if you get beyond PyCintex,  
> you're still
> going to be in for quite a ride.

Oh. Damn.

> Now I see what might go wrong...

OK, at least I don't feel like an idiot for simply installing something incorrectly.

> For unrelated reasons, I'll spent the rest of the week, starting  
> tomorrow,
> behind a PPC Mac. On that, I'll be able to check whether the above  
> is really
> the culprit. If so, I'd recommend submitting a savannah bug report  
> and see
> whether support can be found to have it fixed.

Sure... Which support site? ROOT? Gaudi?

Thanks for your help,
Nathaniel

Dump follows:

root [0] gSystem->Load("libCintex")
(int)0
root [1] Cintex::Enable()

Thread 1 (process 14851 thread 0xd03):
#0 0x90032884 in wait4 ()
#1 0x90053550 in system ()
#2 0x011a6e7c in TUnixSystem::Exec (this=0x605a10,
shellcmd=0x9636810 "/usr/bin/gdb -batch -n -x /Users/tagg/dayabay/ external/root/5.14.00f/osx104_ppc_gcc401/root/etc/gdb-backtrace- script -p 14851 > /tmp/rootstack.14851 2>&1") at unix/src/ TUnixSystem.cxx:1768
#3 0x011a73b8 in TUnixSystem::StackTrace (this=0x605a10) at unix/src/
TUnixSystem.cxx:1856
#4 0x011ab234 in TUnixSystem::DispatchSignals (this=0x605a10,
sig=kSigIllegalInstruction) at unix/src/TUnixSystem.cxx:936
#5 0x011ab4a8 in SigHandler (sig=kSigIllegalInstruction) at unix/src/
TUnixSystem.cxx:338
#6 0x011a9c88 in sighandler (sig=4) at unix/src/TUnixSystem.cxx:3142
#7 <signal handler called>
#8 0x08ce3984 in ?? ()
#9 0x03ecaa24 in G__incsetup_memfunc (tagnum=1793) at cint/src/
v6_newlink.cxx:8373
#10 0x03e7cc2c in G__getfunction (item=0xbffec3c0 "Cintex::Enable()",
known3=0xbffea2c0, memfunc_flag=6) at cint/src/v6_func.cxx:2599
#11 0x03e46f78 in G__getitem (item=0xbffec3c0 "Cintex::Enable()") at
cint/src/v6_expr.cxx:1859
#12 0x03e58054 in G__getexpr (expression=0xbffee600 "Cintex::Enable
()") at cint/src/v6_expr.cxx:1315
#13 0x03edbc54 in G__exec_function (statement=0xbffee600
"Cintex::Enable()", pc=0xbffee4a0, piout=0xbffee4a8, plargestep=0xbffee4b0, presult=0xbffee4d0) at cint/src/v6_parse.cxx:457
#14 0x03ee3c9c in G__exec_statement () at cint/src/v6_parse.cxx:4211
#15 0x03e290cc in G__exec_tempfile_core (file=0x0, fp=0xba0b064) at
cint/src/v6_debug.cxx:358
#16 0x03e293d4 in G__exec_tempfile_fp (fp=0xba0b064) at cint/src/
v6_debug.cxx:425
#17 0x03ef5f8c in G__process_cmd (line=0x8ce13a0 "Cintex::Enable()",
prompt=0x60f374 "", more=0x60f36c, err=0xbfffbce8, rslt=0xbfffbcf0) at cint/src/v6_pause.cxx:3369
#18 0x01135c94 in TCint::ProcessLine (this=0x60f350, line=0x8ce13a0
"Cintex::Enable()", error=0x0) at meta/src/TCint.cxx:318
#19 0x01013204 in TApplication::ProcessLine (this=0x6e6940,
line=0x8ce13a0 "Cintex::Enable()", sync=false, err=0x0) at base/src/ TApplication.cxx:695
#20 0x000307b4 in TRint::HandleTermInput (this=0x6e6940) at rint/src/
TRint.cxx:500
#21 0x0002e270 in TTermInputHandler::Notify (this=0x8cdc7d0) at rint/
src/TRint.cxx:121
#22 0x0004bbfc in TTermInputHandler::ReadNotify (this=0x8cdc7d0) at
rint/src/TRint.cxx:113
#23 0x011a4b7c in TUnixSystem::CheckDescriptors (this=0x605a10) at
unix/src/TUnixSystem.cxx:1046
#24 0x011ab680 in TUnixSystem::DispatchOneEvent (this=0x605a10,
pendingOnly=false) at unix/src/TUnixSystem.cxx:754
#25 0x010cadec in TSystem::InnerLoop (this=0x605a10) at base/src/
TSystem.cxx:347
#26 0x010cacfc in TSystem::Run (this=0x605a10) at base/src/
TSystem.cxx:315
#27 0x01013c7c in TApplication::Run (this=0x6e6940, retrn=false) at
base/src/TApplication.cxx:824
#28 0x0002eef0 in TRint::Run (this=0x6e6940, retrn=false) at rint/src/
TRint.cxx:359
#29 0x00003644 in main (argc=1, argv=0xbfffcd84) at main/src/
rmain.cxx:29 Received on Tue Jul 17 2007 - 20:22:26 CEST

This archive was generated by hypermail 2.2.0 : Tue Jul 17 2007 - 23:50:02 CEST