f



Segmentation fault returning value in Thread for Tcl 8.3.5/Thread 2.5 (2.1.5)

I wrote a simple "exec" function that runs the specified program in 
another thread, splits out the stdout and
stderr output and returns asynchronously.
(I attached the script and traceback from the core dump at the end of 
this message.)

I started off using Tcl 8.3.5/Thread 2.5 (2.1.5). It seems that if the  
script running in the
other thread returns a value using "return $result", I get a core dump. 
But, if I return the
value using "set result", it doesn't core dump.

If I use Tcl 8.4.5/Thread 2.5.2, the script throws an error condition if 
I use
"return $result", but not if I use "set result". It should not be throwing
an error condition. (It doesn't matter whether the print.tcl prints to
stderr, it happens when only stdout  is printed as well.)

Since Tcl and the Thread package is mature, I have a feeling I am doing 
something
fundamentally wrong, but it is not rearing it's ugly head yet.
Does anybody see the error or know if there is a Tcl or Thread
bug related to this problem?

Thanks,

Rob



test.tcl
#!/bin/csh -f

# comment out next line \
exec tclsh8.3 $0 $argv:q
#exec tclsh8.4 $0 $argv:q

package require Thread

namespace eval DE {

        proc threadError { threadid errorInfo } {
                global DE::threadError
                set threadError 1
                return $threadError
        }

        proc texec { args } {
                global DE::thread DE::threadError errorInfo errorCode
                global result

                set DE::threadError 0

                set thread [thread::create]
                thread::errorproc DE::threadError

                set script {
                        set result ""
                        set filename tmp_[pid]

                        set errorCheck 0
                        set errorCheck [ catch { eval exec $program 2> 
$filename } result ]

                        set lines ""
                        if { $errorCheck > 0 } {
                                set FILE [open $filename r]
                                set lines [read $FILE  [file size 
$filename]]
                                close $FILE
                                file delete $filename
                                error "$lines"
                        } else {
                                file delete $filename
                                #set output
                        }
                        set result [list $result $lines $errorCheck]

                        #set result; # this works
                        return $result ; # this doesn't
                }

                thread::send -async $thread "set program \"$args\"; 
$script" result

                vwait result

                if { $DE::threadError != 0 } {
                        error "Error executing command 
$args:\n$result\n$errorInfo"
                }

                if { [string length [lindex $result 1]] != 0 } {
                        puts stderr [lindex $result 1]
                }

                return [lindex $result 0]
        }

}

if { 1 } {
        catch {
                 puts [DE::texec ./print.tcl]
        } output
        puts "$output"
}

--------------------  file print.tcl 
-----------------------------------------------------

#!/bin/csh

# comment \
exec tclsh $0 $*

puts stdout "message from stdout"
puts stderr "message from stderr"
#error "throw an error"

-------------------------------------- Traceback 
-----------------------------------

Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux"...
Core was generated by `tclsh8.3 test.tcl'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from 
/fltapps/opt/mdopt/3dopt/Linux-2/lib/libtcl8.3g.so...done.
Loaded symbols for /fltapps/opt/mdopt/3dopt/Linux-2/lib/libtcl8.3g.so
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libpthread.so.0...done.
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /lib/libm.so.6...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from 
/fltapps/opt/mdopt/3dopt/Linux-2/lib/thread2.5/libthread2.5g.so...done.
Loaded symbols for 
/fltapps/opt/mdopt/3dopt/Linux-2/lib/thread2.5/libthread2.5g.so
#0  0x40184e27 in strlen () from /lib/libc.so.6
(gdb) where
#0  0x40184e27 in strlen () from /lib/libc.so.6
#1  0x4008ed9d in Tcl_NewStringObj (bytes=0x726f7272 <Address 0x726f7272 
out of bounds>, length=-1)
    at ../generic/tclStringObj.c:167
#2  0x4009638d in Tcl_SetVar2 (interp=0x804cd50, part1=0x400cea27 
"errorCode", part2=0x0,
    newValue=0x726f7272 <Address 0x726f7272 out of bounds>, flags=1) at 
.../generic/tclVar.c:1079
#3  0x40096362 in Tcl_SetVar (interp=0x804cd50, varName=0x400cea27 
"errorCode",
    newValue=0x726f7272 <Address 0x726f7272 out of bounds>, flags=1) at 
.../generic/tclVar.c:1026
#4  0x400c39d2 in ThreadClbkSetVar (interp=0x804cd50, 
clientData=0x807d4b8) at generic/threadCmd.c:1379
#5  0x400c5889 in ThreadEventProc (evPtr=0x80831a8, mask=-3) at 
generic/threadCmd.c:2626
#6  0x4007eb62 in Tcl_ServiceEvent (flags=-3) at ../generic/tclNotify.c:607
#7  0x4007ee52 in Tcl_DoOneEvent (flags=-3) at ../generic/tclNotify.c:846
#8  0x400590db in Tcl_VwaitObjCmd (clientData=0x0, interp=0x804cd50, 
objc=2, objv=0x804f268)
    at ../generic/tclEvent.c:990
#9  0x40059e7f in TclExecuteByteCode (interp=0x804cd50, 
codePtr=0x8073b68) at ../generic/tclExecute.c:877
#10 0x40036cb7 in Tcl_EvalObjEx (interp=0x804cd50, objPtr=0x8071ce8, 
flags=0) at ../generic/tclBasic.c:2733
#11 0x4008ab2e in TclObjInterpProc (clientData=0x8073e40, 
interp=0x804cd50, objc=2, objv=0x804f260)
    at ../generic/tclProc.c:1001
#12 0x40059e7f in TclExecuteByteCode (interp=0x804cd50, 
codePtr=0x8073538) at ../generic/tclExecute.c:877
#13 0x40036cb7 in Tcl_EvalObjEx (interp=0x804cd50, objPtr=0x80696e0, 
flags=0) at ../generic/tclBasic.c:2733
#14 0x4003b74b in Tcl_CatchObjCmd (dummy=0x0, interp=0x804cd50, objc=3, 
objv=0x804f250)
    at ../generic/tclCmdAH.c:264
#15 0x40059e7f in TclExecuteByteCode (interp=0x804cd50, 
codePtr=0x8073438) at ../generic/tclExecute.c:877
#16 0x40036cb7 in Tcl_EvalObjEx (interp=0x804cd50, objPtr=0x8071e38, 
flags=0) at ../generic/tclBasic.c:2733
#17 0x4003f20a in Tcl_IfObjCmd (dummy=0x0, interp=0x804cd50, objc=3, 
objv=0xbfffe770)
    at ../generic/tclCmdIL.c:240
#18 0x4008189b in EvalObjv (interp=0x804cd50, objc=3, objv=0xbfffe770,
    command=0x805e030 "\nif { 1 } {\n\tcatch {\n\t\t puts [DE::texec 
../print.tcl]\n\t} output\n\tputs \"$output\"\n}\n", length=81, flags=0) 
at ../generic/tclParse.c:932
#19 0x40082162 in Tcl_EvalEx (interp=0x804cd50,
    script=0x805db38 "#!/bin/tcsh -f\n\n# comment out next line \\\nexec 
tclsh8.3 $0 $argv:q\n#exec tclsh8.4 $0 $argv:q\n\npackage require 
Thread\n\nnamespace eval DE {\n\n\tproc threadError { threadid errorInfo 
} {\n\t\tglobal DE::threa"..., numBytes=1353, flags=0) at 
.../generic/tclParse.c:1393
#20 0x40076206 in Tcl_EvalFile (interp=0x804cd50, fileName=0xbfffec1c 
"test.tcl")
    at ../generic/tclIOUtil.c:323
#21 0x40079d81 in Tcl_Main (argc=1, argv=0xbfffede8, 
appInitProc=0x80486b6 <Tcl_AppInit>)
    at ../generic/tclMain.c:227
#22 0x080486ac in main (argc=2, argv=0xbfffede4) at ../unix/tclAppInit.c:99
#23 0x401221c4 in __libc_start_main () from /lib/libc.so.6
(gdb)

0
rrr6399 (33)
1/26/2004 4:41:45 AM
comp.lang.tcl 23428 articles. 2 followers. Post Follow

4 Replies
1470 Views

Similar Articles

[PageSpeed] 17

Rob Ratcliff <rrr6399@futuretek.com> wrote in message news:<dU0Rb.13249$7D.8381@fe2.texas.rr.com>...

> Since Tcl and the Thread package is mature, I have a feeling I am doing 
> something
> fundamentally wrong, but it is not rearing it's ugly head yet.
> Does anybody see the error or know if there is a Tcl or Thread

Thank you for the detailed report. I will go and give this a 
try with the 2.6 release candidate. It might be that I already
fixed this one. If not, I'll do it then.

Cheers
Zoran
0
zv1 (32)
1/29/2004 6:28:15 PM
Zoran,

Thanks for the quick reply. I checked out the latest Thread package
from CVS and tried it with Tcl 8.3.5
and Tcl 8.4.5. The segmentation fault went away, but the thread's
error handler still gets called with
errorInfo = ""  when the value is returned using "return $result"
rather than "set result"

Thanks,

Rob

Zoran Vasiljevic wrote:

>
>Thank you for the detailed report. I will go and give this a 
>try with the 2.6 release candidate. It might be that I already
>fixed this one. If not, I'll do it then.
>
>Cheers
>Zoran
>
0
rrr6399 (33)
1/30/2004 11:51:28 AM
Zoran,

I was too quick on the draw; 8.3.5 and the CVS version of the Thread
package still seg faults, when my sample exec'd program looks like:

test>cat print.tcl
#!/bin/tcsh

# comment \
exec tclsh $0 $*

puts stdout "message from stdout"
puts stderr "message from stderr"
error "throw an error"

Here's the traceback:

(gdb) where
#0  0x400877dc in ResetObjResult (iPtr=0x30203e20) at
.../generic/tclResult.c:830
#1  0x4008774c in Tcl_ResetResult (interp=0x30203e20) at
.../generic/tclResult.c:792
#2  0x4025d10f in ThreadEventProc (evPtr=0x40304b60, mask=-3) at
/tmp/t/thread/generic/threadCmd.c:2767
#3  0x400796bf in Tcl_ServiceEvent (flags=-3) at
.../generic/tclNotify.c:607
#4  0x40079ae4 in Tcl_DoOneEvent (flags=-3) at
.../generic/tclNotify.c:910
#5  0x4005529c in Tcl_VwaitObjCmd (clientData=0x0, interp=0x804ccc0,
objc=2, objv=0x804f0b8) at ../generic/tclEvent.c:990
#6  0x40056003 in TclExecuteByteCode (interp=0x804ccc0,
codePtr=0x8070588) at ../generic/tclExecute.c:877
#7  0x40034cbe in Tcl_EvalObjEx (interp=0x804ccc0, objPtr=0x8068ff0,
flags=0) at ../generic/tclBasic.c:2733
#8  0x40085151 in TclObjInterpProc (clientData=0x80708f8,
interp=0x804ccc0, objc=2, objv=0x804f0b0)
    at ../generic/tclProc.c:1001
#9  0x40056003 in TclExecuteByteCode (interp=0x804ccc0,
codePtr=0x806fee0) at ../generic/tclExecute.c:877
#10 0x40034cbe in Tcl_EvalObjEx (interp=0x804ccc0, objPtr=0x8069068,
flags=0) at ../generic/tclBasic.c:2733
#11 0x40039491 in Tcl_CatchObjCmd (dummy=0x0, interp=0x804ccc0,
objc=3, objv=0x804f0a0) at ../generic/tclCmdAH.c:264
#12 0x40056003 in TclExecuteByteCode (interp=0x804ccc0,
codePtr=0x806fde0) at ../generic/tclExecute.c:877
#13 0x40034cbe in Tcl_EvalObjEx (interp=0x804ccc0, objPtr=0x8069188,
flags=0) at ../generic/tclBasic.c:2733
#14 0x4003cb2c in Tcl_IfObjCmd (dummy=0x0, interp=0x804ccc0, objc=3,
objv=0xbffff180) at ../generic/tclCmdIL.c:240
#15 0x4007c407 in EvalObjv (interp=0x804ccc0, objc=3, objv=0xbffff180,
    command=0x805c235 "\nif { 1 } {\n\tcatch {\n\t\t puts [DE::texec
../print.tcl]\n\t} output\n\tputs \"$output\"\n}\n",
    length=81, flags=0) at ../generic/tclParse.c:932
#16 0x4007cc7d in Tcl_EvalEx (interp=0x804ccc0, 
    script=0x805bc80 "#!/bin/tcsh -f\n\n# comment out next line
\\\nexec /usr/local/opt/tcltk/8.3.5-debug/bin/tclsh8.3 $0 $argv:q\n\n#
comment out next line \\\n#exec
/usr/local/opt/tcltk/8.4.5-debug/bin/tclsh8.4 $0
$argv:q\n\n\npack"...,
    numBytes=1542, flags=0) at ../generic/tclParse.c:1393
#17 0x40071291 in Tcl_EvalFile (interp=0x804ccc0, fileName=0xbffff61c
"test.tcl") at ../generic/tclIOUtil.c:323
#18 0x40074d86 in Tcl_Main (argc=1, argv=0xbffff7e8,
appInitProc=0x804869c <Tcl_AppInit>) at ../generic/tclMain.c:227
#19 0x0804868e in main (argc=2, argv=0xbffff7e4) at
.../unix/tclAppInit.c:99
#20 0x4011d1c4 in __libc_start_main () from /lib/libc.so.6
0
rrr6399 (33)
1/30/2004 12:13:45 PM
rrr6399@futuretek.com (Rob) wrote in message news:<ea0043d9.0401300413.58d3f8b2@posting.google.com>...
> Zoran,
> 
> I was too quick on the draw; 8.3.5 and the CVS version of the Thread
> package still seg faults, when my sample exec'd program looks like:
> 
> test>cat print.tcl
> #!/bin/tcsh
> 
> # comment \
> exec tclsh $0 $*
> 
> puts stdout "message from stdout"
> puts stderr "message from stderr"
> error "throw an error"
> 
> Here's the traceback:

I', using the latest CVS state of threading extension
(the 2.6 candidate) and Tcl 8.4.5 core.
Please have a look here:


zoran@linux:~/sf/thread/unix> pwd
/usr/local/homes/zv/sf/thread/unix

zoran@linux:~/sf/thread/unix> cat t.tcl
#!/usr/local/bin/tclsh8.4
puts stdout "message from stdout"
puts stderr "message from stderr"
error "throw an error"

zoran@linux:~/sf/thread/unix> tclsh8.4
% set tcl_patchLevel
8.4.5.1
% glob libthread*
libthread2.6g.so
% load ./libthread2.6g.so
% thread::create
32771
% thread::send 32771 "exec /usr/local/homes/zv/sf/thread/unix/t.tcl"
message from stdout
message from stderr
throw an error
    while executing
"error "throw an error""
    (file "/usr/local/homes/zv/sf/thread/unix/t.tcl" line 4)

% exit
zoran@linux:~/sf/thread/unix>

So, it seems to me that it goes fine. Can you repeat your
test with the latest Tcl core? Perhaps the problem is in
the 8.3.5 ?

Cheers
Zoran



> 
> (gdb) where
> #0  0x400877dc in ResetObjResult (iPtr=0x30203e20) at
> ../generic/tclResult.c:830
> #1  0x4008774c in Tcl_ResetResult (interp=0x30203e20) at
> ../generic/tclResult.c:792
> #2  0x4025d10f in ThreadEventProc (evPtr=0x40304b60, mask=-3) at
> /tmp/t/thread/generic/threadCmd.c:2767
> #3  0x400796bf in Tcl_ServiceEvent (flags=-3) at
> ../generic/tclNotify.c:607
> #4  0x40079ae4 in Tcl_DoOneEvent (flags=-3) at
> ../generic/tclNotify.c:910
> #5  0x4005529c in Tcl_VwaitObjCmd (clientData=0x0, interp=0x804ccc0,
> objc=2, objv=0x804f0b8) at ../generic/tclEvent.c:990
> #6  0x40056003 in TclExecuteByteCode (interp=0x804ccc0,
> codePtr=0x8070588) at ../generic/tclExecute.c:877
> #7  0x40034cbe in Tcl_EvalObjEx (interp=0x804ccc0, objPtr=0x8068ff0,
> flags=0) at ../generic/tclBasic.c:2733
> #8  0x40085151 in TclObjInterpProc (clientData=0x80708f8,
> interp=0x804ccc0, objc=2, objv=0x804f0b0)
>     at ../generic/tclProc.c:1001
> #9  0x40056003 in TclExecuteByteCode (interp=0x804ccc0,
> codePtr=0x806fee0) at ../generic/tclExecute.c:877
> #10 0x40034cbe in Tcl_EvalObjEx (interp=0x804ccc0, objPtr=0x8069068,
> flags=0) at ../generic/tclBasic.c:2733
> #11 0x40039491 in Tcl_CatchObjCmd (dummy=0x0, interp=0x804ccc0,
> objc=3, objv=0x804f0a0) at ../generic/tclCmdAH.c:264
> #12 0x40056003 in TclExecuteByteCode (interp=0x804ccc0,
> codePtr=0x806fde0) at ../generic/tclExecute.c:877
> #13 0x40034cbe in Tcl_EvalObjEx (interp=0x804ccc0, objPtr=0x8069188,
> flags=0) at ../generic/tclBasic.c:2733
> #14 0x4003cb2c in Tcl_IfObjCmd (dummy=0x0, interp=0x804ccc0, objc=3,
> objv=0xbffff180) at ../generic/tclCmdIL.c:240
> #15 0x4007c407 in EvalObjv (interp=0x804ccc0, objc=3, objv=0xbffff180,
>     command=0x805c235 "\nif { 1 } {\n\tcatch {\n\t\t puts [DE::texec
> ./print.tcl]\n\t} output\n\tputs \"$output\"\n}\n",
>     length=81, flags=0) at ../generic/tclParse.c:932
> #16 0x4007cc7d in Tcl_EvalEx (interp=0x804ccc0, 
>     script=0x805bc80 "#!/bin/tcsh -f\n\n# comment out next line
> \\\nexec /usr/local/opt/tcltk/8.3.5-debug/bin/tclsh8.3 $0 $argv:q\n\n#
> comment out next line \\\n#exec
> /usr/local/opt/tcltk/8.4.5-debug/bin/tclsh8.4 $0
> $argv:q\n\n\npack"...,
>     numBytes=1542, flags=0) at ../generic/tclParse.c:1393
> #17 0x40071291 in Tcl_EvalFile (interp=0x804ccc0, fileName=0xbffff61c
> "test.tcl") at ../generic/tclIOUtil.c:323
> #18 0x40074d86 in Tcl_Main (argc=1, argv=0xbffff7e8,
> appInitProc=0x804869c <Tcl_AppInit>) at ../generic/tclMain.c:227
> #19 0x0804868e in main (argc=2, argv=0xbffff7e4) at
> ../unix/tclAppInit.c:99
> #20 0x4011d1c4 in __libc_start_main () from /lib/libc.so.6
0
zv1 (32)
1/30/2004 7:32:05 PM
Reply:

Similar Artilces:

ANNOUNCE: Tcl/Tk 8.4.5 rpms with thread 2.5.2 extension
They can be found at: http://jfontain.free.fr/tcl-8.4.5-1.i386.rpm http://jfontain.free.fr/tk-8.4.5-1.i386.rpm http://jfontain.free.fr/tk-8.4.5-1.spec They were generated on an up-to-date Redhat 9 i386 system. They install under /opt/tcltk and therefore does not conflict and peacefully coexists with the stock Redhat Tcl and Tk rpms. To rebuild them, download the Tcl/Tk 8.4.4 and Thread 2.5.2 sources from http://prdownloads.sourceforge.net/tcl/ into the /usr/src/redhat/SOURCES/ directory, place the specification file in the /usr/src/redhat/SPECS/ directory, then from that directory, type: # rpmbuild -bb --clean tcltk-8.4.5-1.spec Note: you may change the installation directory and turn on the thread extension at the beginning of the specification file. -- Jean-Luc Fontaine mailto:jfontain@free.fr http://jfontain.free.fr/ ...

if time = 3 seconds, how do i set the values of the time steps 0,0.1,0.2,0.3,0.5,1.0,1.5,2.0,3.0,5.0 to -9999 from time =3 seconds
Hi &nbsp; I have 18 inputs (arrays) which contain certain statistics and if time&nbsp;&nbsp;= 3 seconds, set the values of time step 5.0 to -9999.0. &nbsp; I was wondering if there is an efficient way to do this without using a lot of case statements? &nbsp; Thank you. Hello AdrianT, it's not really clear to me what you want to do... I suspect: you have an array containing values and you want to output them with a fixed timing of 3 seconds: you should use a for loop autoindexing trough your array and sending the value to your indicator/output/whatever. Put a "wait for next multiple" into your for loop. Or do you want to have a minimum time delay of 3 seconds? Again use a for loop, get the time value and use a InRange&amp;Coerce with minimum set to 3 seconds... Or you should explain more precisely what you need... Hi Thanks for that. Let me explain. &nbsp; The time may vary. Let me give an example. if time&nbsp; = 2.1, I want to set the time step's &nbsp;3.0 and 5.0's values to -9999.0. if the time =0.1 seconds then I want to set 0.2,0.3, 0.5 etc values to -9999.0 etc .................................................................... &nbsp; Can you please help? Thank you. Hello TUDS, do you use different accounts/nicknames ? Well, that's easy, at least for a sorted array: Search for your time-value in the array (Threshold 1D array). Fill all elements from that index till the end with your "error...

Re: [tao-users] ACE 5.3.5 + TAO 1.3.5 + CIAO 0.3.5 beta released #2 #2
Hi Alex, > What are OCI's plan's for a supported TAO 1.4 release and developer > guide? Will this effect the release of the 1.3 guide? This is an excellent question - I'm sure Malcolm Spence will pitch in when he has a chance and I suspect that OCI will be supporting TAO 1.4 in due time. None of the changes in TAO 1.4 should affect the relevance of the info in the TAO 1.3 developer's guide - there's just more new stuff to document as time permits. Take care, Doug ...

ANNOUNCE: Tcl/Tk 8.5a1 rpm specification with thread 2.5.2 extension #2
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 http://jfontain.free.fr/tcltk-8.5a1-2.spec Generated and tested on an up-to-date Red Hat Fedora Core 1 i386 system. The rpms install under /opt/tcltk and therefore do not conflict and peacefully coexist with the stock Redhat Tcl and Tk rpms. To build the rpms, download the Tcl/Tk 8.5a1 and Thread 2.5.2 sources from http://download.sourceforge.net/tcl/ into the /usr/src/redhat/SOURCES/ directory, place the specification file in the /usr/src/redhat/SPECS/ directory, then from that directory, type: ~ # rpmbuild -bb --clean tcltk-8.5a1-2.spec Notes: - - Includes the window manager patch for Tk that restores the maximize button in the KDE environment. - - For Tk, the anti-aliased fonts option is turned on. - - You may change the installation directory and turn on the thread extension at the beginning of the specification file. - -- Jean-Luc Fontaine mailto:jfontain@free.fr http://jfontain.free.fr/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFAcAq9kG/MMvcT1qQRAi07AKDD7zMz5WFdwvz4GFcbh95VuPKGewCeJJ86 XWFfg1JAd4mnicbd+bW9OTA= =0t3Q -----END PGP SIGNATURE----- ...

KRB5 1.5 or 1.6 compiled on AIX 5.2/5.3 #2
I have seen several emails from different people over the last few months on trying to get KRB5 1.5 or later to compile on AIX 5.x. And no responses that fix the problem. I have had the same problem and can only presume that Kerberos is no longer supported on AIX. Is this the case? No Kerberos on AIX? It just won't compile anymore with the changes to shared libraries. ________________________________________________ Kerberos mailing list Kerberos@mit.edu https://mailman.mit.edu/mailman/listinfo/kerberos >>>>> "Grant," == Grant, Martin <Martin.Grant@fmr.com> writes: Grant,> I have seen several emails from different people over the Grant,> last few months on trying to get KRB5 1.5 or later to Grant,> compile on AIX 5.x. And no responses that fix the Grant,> problem. I have had the same problem and can only presume Grant,> that Kerberos is no longer supported on AIX. Is this the Grant,> case? No Kerberos on AIX? It just won't compile anymore Grant,> with the changes to shared libraries. We no longer run AIX tests. Our donated AIX box was very old and slow, and its disk was in the process of dieing. If there's no one out there in the Kerberos development community who cares enough about AIX to get the betas, test them and send bug fixes, then yes, AIX support is going to be fairly bad. Kerberos is an open-source product; if you want it to work better on your pl...

ANNOUNCE: Tcl/Tk 8.4.6 rpm specification with thread 2.5.2 extension #2
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 http://jfontain.free.fr/tcltk-8.4.6-2.spec Generated and tested on an up-to-date Red Hat Fedora Core 1 i386 system. The rpms install under /opt/tcltk and therefore do not conflict and peacefully coexist with the stock Redhat Tcl and Tk rpms. To build the rpms, download the Tcl/Tk 8.4.6 and Thread 2.5.2 sources from http://download.sourceforge.net/tcl/ into the /usr/src/redhat/SOURCES/ directory, place the specification file in the /usr/src/redhat/SPECS/ directory, then from that directory, type: ~ # rpmbuild -bb --clean tcltk-8.4.6-2.spec Note: - - Includes the window manager patch for Tk that restores the maximize button in the KDE environment. - - You may change the installation directory and turn on the thread extension at the beginning of the specification file. - -- Jean-Luc Fontaine mailto:jfontain@free.fr http://jfontain.free.fr/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFAcAqxkG/MMvcT1qQRAp9RAJ9x2MAXDaaJYw4TTBCPAM3aSCm0xwCeILbJ tbgvOaiKiV80H0mtUjxBnJs= =6JBn -----END PGP SIGNATURE----- ...

RE: KRB5 1.5 or 1.6 compiled on AIX 5.2/5.3 #2
Exact same errors specifying --without-tcl. I removed the config.cache, config.log, and etc the reran configure. From my configure line - ../configure --prefix=/usr/local/kerberos --enable-dns-for-realm --without-tcl --with-vague-errors Then after make... making all in lib/rpc/unit-test... Target "all" is up to date. cc -I../../../include -I./../../../include -I. -DKRB5_DEPRECATED=1 -DKRB5_PRIVATE=1 -g -qhalt=e -O _THREAD_SAFE -c client.c cc -I../../../include -I./../../../include -I. -DKRB5_DEPRECATED=1 -DKRB5_PRIVATE=1 -g -qhalt=e -O _THREAD_SAFE -c rpc_test_clnt.c cc -L../../../lib -blibpath:/usr/local/kerberos/lib::/usr/lib:/lib -g -qhalt=e -O -D_THREAD_SAFE -o c nt client.o rpc_test_clnt.o -lgssrpc -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lkrb5support -lpthreads ld: 0706-006 Cannot find or open library file: -l k5crypto ld:open(): A file or directory in the path name does not exist. ld: 0706-006 Cannot find or open library file: -l com_err ld:open(): A file or directory in the path name does not exist. ld: 0706-006 Cannot find or open library file: -l krb5support ld:open(): A file or directory in the path name does not exist. make: 1254-004 The error code from the last command is 255. Stop. make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 1. Stop. Any ot...

ANNOUNCE: Tcl/Tk 8.4.8 rpm specification with thread 2.5.2 extension
http://jfontain.free.fr/tcltk-8.4.8-1.spec Generated and tested on an up-to-date Red Hat Fedora Core 3 i386 system. The rpms can install under /opt/tcltk (see notes below) in order not to conflict and peacefully coexist with the stock Redhat Tcl and Tk rpms. To build the rpms, download the Tcl/Tk 8.4.8 and Thread 2.5.2 sources from http://download.sourceforge.net/tcl/ into the /usr/src/redhat/SOURCES/ directory, place the specification file in the /usr/src/redhat/SPECS/ directory, then from that directory, type: # rpmbuild -bb --clean tcltk-8.4.8-1.spec Notes: - You may change the installation directory and turn on the thread extension at the beginning of the specification file. -- Jean-Luc Fontaine mailto:jfontain@free.fr http://jfontain.free.fr/ ...

RE: KRB5 1.5 or 1.6 compiled on AIX 5.2/5.3 #5
Phil, Tested on AIX 5.3 TL05 SP4 with XLC++/XLC 8.0 and worked great ! I will be testing on AIX 5.2 TL09 SP3 and AIX 4.3 ML11 here shortly... Thanks for getting this figured out ! Also, appreciate the help from Sam and Martin who were working on it too... Lamar -----Original Message----- From: Phil Pishioneri [mailto:pgp@psu.edu] Sent: Wednesday, February 07, 2007 6:35 PM To: Saxon, Lamar Cc: kerberos@mit.edu Subject: Re: KRB5 1.5 or 1.6 compiled on AIX 5.2/5.3 I've gotten 1.5.x and 1.6 to build and run on AIX 5.2 (domain referral in 1.6 works nicely). So far I have only tested the client commands: klist, kvno, kinit, kdestroy. No 3rd party software tested yet, either. This was done with the IBM VisualAge C++ Professional / C for AIX Compiler, Version 6. The one major change: add LDFLAGS="-brtl" to configure. My configure line was (prefix edited): ./configure --without-krb4 --prefix=... CC=cc LDFLAGS=-brtl There was one problem during the 1.{5,6} builds (1.5 has a bug that's been documented already), it failed in making all in plugins/kdb/db2/libdb2/test... with ld: 0706-006 Cannot find or open library file: -l db ld:open(): A file or directory in the path name does not exist. my quick&dirty fix for that was (starting in .../krb5-1.6/src/): cd lib ln -s ../plugins/kdb/db2/libdb2/libdb.so.1.1 libdb.so.1.1 ln -s libdb.so.1.1 libdb.so -Phil Privileged and Confidential. This e-mail, and any attac...

perl 5.8.2.0 base fileset is in AIX 5.2 or is in 5.3?
Did this base fileset first appear in 5.2 or did it first appear in 5.3? (I don't have 5.3 hosts, so I can't check that.) Thanks! -Dan Dan Foster wrote: > Did this base fileset first appear in 5.2 or did it first appear in 5.3? > > (I don't have 5.3 hosts, so I can't check that.) > > Thanks! > > -Dan Not really sure, but I think appearance was with 5.3. Checking at my site and found the highest level on a 5.2 machine was 5.8.1.12 - never seen a 5.8.2.0 on a 5.2 machine In article <dqgafi$jfe$1@online.de>, Friedhelm Neyer <Friedhelm.Neyer...

ANNOUNCE: Tcl/Tk 8.4.4 rpms with thread 2.5.2 extension
You may find the specification file, that you can use to build the rpm binaries on your Redhat (Suse may also work) system at: http://jfontain.free.fr/tcltk-8.4.4-1.spec To build, download the Tcl/Tk 8.4.4 and Thread 2.5.2 sources from http://prdownloads.sourceforge.net/tcl/ into your /usr/src/redhat/SOURCES/ directory, place the specification file in your /usr/src/redhat/SPECS/ directory, then from that directory, type: # rpmbuild -bb --clean tcltk-8.4.4-1.spec Note: you may change the installation directory and turn on the thread extension at the beginning of the specification file. Jean-Luc Fontaine (http://jfontain.free.fr/) ...

ANNOUNCE: Tcl/Tk 8.5a1 rpm specification with thread 2.5.2 extension
It can be found at: http://jfontain.free.fr/tk-8.5a1-1.spec Generated and tested on an up-to-date Red Hat Fedora Core 1 i386 system. The rpms install under /opt/tcltk and therefore do not conflict and peacefully coexist with the stock Redhat Tcl and Tk rpms. To build the rpms, download the Tcl/Tk 8.5a1 and Thread 2.5.2 sources from http://download.sourceforge.net/tcl/ into the /usr/src/redhat/SOURCES/ directory, place the specification file in the /usr/src/redhat/SPECS/ directory, then from that directory, type: # rpmbuild -bb --clean tcltk-8.5a1-1.spec Notes: For Tk, the anti-aliased fonts option is turned on. You may change the installation directory and turn on the thread extension at the beginning of the specification file. -- Jean-Luc Fontaine mailto:jfontain@free.fr http://jfontain.free.fr/ ...

DOWNLOAD ASSYST 7.2! GERBER 8.1! LECTRA 5.2! PAD 4.5! OPTITEX 9.5! TUKACAD 8.62! more
DOWNLOAD ASSYST 7.2! GERBER 8.1! LECTRA 5.2! PAD 4.5! OPTITEX 9.5 TUKACAD 8.62! INVESTRONICA7.44! and more DOWNLOAD CAD SOFTWARE WITH PASSWORD BEFORE PAYMENT => YOU CAN SE INSIDE BEFORE MAKE FINAL DECISION Pls visit our website to see our list and screenshoot of garment CAD software. All software are work well and passed our testing before show in our web site. http://www.freewebtown.com/garcad/ http://garcad.125mb.com http://garcad.netfirms.com Email: garCAD@gmail.com * Hot software: 1/ ASSYST Bullmer cad 7.2 2/ Gerber Accumark Professinal 8.1 (*********NEW*************) Englis + Germany 3/ Gerber Accumark Professinal 8.08 (full functions including Neste server, batch) 4/ Lectra Modaris V5R1C1 (multilanguages) 5/ Lectra Diamino V5R2 (multilanguages) 6/ PAD 4.5 (including nester) 7/ Optitex 9.5 (18 languages) 8/ Invesmark 7.4.4 9/ Tukacad 8.62 10/ Lectra collections with over 100 software of all version and more GarCAD team still bring Garment CAD software to all with cheap cost. ******************************************************************** Dear all, Sorry to inform that now we in the war time :-( Someones fighting to us and we lost our domain and webspace also. So now we must change domain and move our webspace. We also think that this status is not short term and we must find out solution for this. There are some cheaters aware to us due to we alway give real software and do the real deal for our buyer. Bu...

Re: [tao-users] ACE 5.3.5 + TAO 1.3.5 + CIAO 0.3.5 beta released #2
Hi Tom, > We are currently arm-wrestling with TAO-1.3.3 on VxWorks-5.5/Tornado-2.2 > built with non-native exceptions and with implicit templates. Implicit > templates are desirable since we are now using STL and those nested > templates make explicit instantiation almost impossible. Non-native > exceptions are important since native exceptions lead to a factor of 4.5 > increase in code size (!!). > > Implicit templates cause trouble with singletons, since the VxWorks-2.x > loader does not respect weakly-defined symbols, so one can not load > multiple mo...

RE: KRB5 1.5 or 1.6 compiled on AIX 5.2/5.3 #3
Thanks. The problem also exist using GNU ld on AIX too. See below: make[2]: Entering directory `/usr/sys/inst.images/MIT-Kerberos/krb5-1.6/5.3/src/lib/rpc' making all in lib/rpc/unit-test... make[3]: Entering directory `/usr/sys/inst.images/MIT-Kerberos/krb5-1.6/5.3/src/lib/rpc/unit-test' cc -L../../../lib -blibpath:/usr/local/kerberos/lib::/usr/lib:/lib -g -qhalt=e -O -D_THREAD_SAFE -o client client. o rpc_test_clnt.o \ -lgssrpc -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lkrb5support -lpthreads ld: 0706-006 Cannot find or open library file: -l k5crypto ld:open(): No such file or directory ld: 0706-006 Cannot find or open library file: -l com_err ld:open(): No such file or directory ld: 0706-006 Cannot find or open library file: -l krb5support ld:open(): No such file or directory make[3]: *** [client] Error 255 make[3]: Leaving directory `/usr/sys/inst.images/MIT-Kerberos/krb5-1.6/5.3/src/lib/rpc/unit-test' make[2]: *** [all-recurse] Error 1 make[2]: Leaving directory `/usr/sys/inst.images/MIT-Kerberos/krb5-1.6/5.3/src/lib/rpc' make[1]: *** [all-recurse] Error 1 make[1]: Leaving directory `/usr/sys/inst.images/MIT-Kerberos/krb5-1.6/5.3/src/lib' make: *** [all-recurse] Error 1 root@aoctoolbox:/usr/sys/inst.images/MIT-Kerberos/krb5-1.6/5.3/src:> whence ld /usr/local/bin/ld root@aoctoolbox:/usr/sys/inst.images/MIT-Kerberos/krb5-1.6/5.3/src:> ld -v GNU ld version 2.16 Lamar -----Original Message----- From: Russ Al...

ANNOUNCE: Tcl/Tk 8.4.6 rpm specification with thread 2.5.2 extension
It can be found at: http://jfontain.free.fr/tk-8.4.6-1.spec Generated and tested on an up-to-date Red Hat Fedora Core 1 i386 system. The rpms install under /opt/tcltk and therefore do not conflict and peacefully coexist with the stock Redhat Tcl and Tk rpms. To build the rpms, download the Tcl/Tk 8.4.6 and Thread 2.5.2 sources from http://download.sourceforge.net/tcl/ into the /usr/src/redhat/SOURCES/ directory, place the specification file in the /usr/src/redhat/SPECS/ directory, then from that directory, type: # rpmbuild -bb --clean tcltk-8.4.6-1.spec Note: you may change the installation directory and turn on the thread extension at the beginning of the specification file. -- Jean-Luc Fontaine mailto:jfontain@free.fr http://jfontain.free.fr/ ...

ANNOUNCE: Tcl/Tk 8.4.7 rpm specification with thread 2.5.2 extension
http://jfontain.free.fr/tcltk-8.4.7-1.spec Generated and tested on an up-to-date Red Hat Fedora Core 2 i386 system. The rpms can install under /opt/tcltk (see notes below) in order not to conflict and peacefully coexist with the stock Redhat Tcl and Tk rpms. To build the rpms, download the Tcl/Tk 8.4.7 and Thread 2.5.2 sources from http://download.sourceforge.net/tcl/ into the /usr/src/redhat/SOURCES/ directory, place the specification file in the /usr/src/redhat/SPECS/ directory, then from that directory, type: # rpmbuild -bb --clean tcltk-8.4.7-1.spec Notes: - You may change the installation directory and turn on the thread extension at the beginning of the specification file. -- Jean-Luc Fontaine mailto:jfontain@free.fr http://jfontain.free.fr/ ...

Kerberos 5 v1.5.1 on AIX 5.2 or AIX 5.3
Any one had any success compiling KRB5 1.5.1 on AIX 5.2 or 5.3 ? I am experiencing the same errors as a previous poster; but have not seen any solutions. Configure is successful with the following flags: export CC=cc export CFLAGS='-D_LARGE_FILES -DLANL -DLANL_ICN'; export CFLAGS ../configure --prefix=/usr/local/kerberos --enable-dns-for-realm --with-tcl=/usr/local --with-vague-errors Same config I use to compile 1.4.4 successfully with the LANL patches provided by Milton Turley. After running make, I get the following errors: making all in util... making all in util/support... cc -I../../include -I./../../include -I. -I. -DKRB5_DEPRECATED=1 -DKRB5_PRIVATE=1 -D_LARGE_FILES -DLA L -DLANL_ICN -qhalt=e -O -D_THREAD_SAFE -c fake-addrinfo.c "fake-addrinfo.c", line 1212.9: 1506-045 (S) Undeclared identifier my_h_ent. make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 1. Stop. Same errors on AIX 5.2 as well as AIX 5.3. Also, same errors with CC or GCC 4. Any help is appreciated and I can beta test any patches. Thanks ! Lamar Privileged and Confidential. This e-mail, and any attachments there to, is intended only for use by the addressee(s) named herein and may contain privileged or confidential information. If you have received this e-mail in error, please notify me immediately by a return e-mail and ...

jboss 3.2.5 and eclipse 3.2 wtp 1.5
hi.. i've tried integrating jboss 3.2.5 and eclipse with wtp 1.5 but still wants stuff that don't exists in jboss. ...

convert String "1;2;3;4;5;" to Array [1, 2, 3, 4, 5]
I'm trying to convert a String of numbers that are separated by semicolons to an Array---totally for fun, to stretch my ruby understanding, fyi. I use the Array in a while loop which does work when the Array looks like = [1,2,3,4,5,...]---so that part is working. But I want to use ruby to convert a String = "1;2;3;4;5;6;7;8;9;10" into an Array [1,2,3,4,5,...] so that I can use these values. I've tried many a method, but can't seem to get the desired result; I've tried gsub(/\;/, ","), eval (), and others. ########## raw_data = "1;2;3...

RE: Kerberos 5 v1.5.1 on AIX 5.2 or AIX 5.3
Believe it or not; both solutions seem to work and compilation succeeds ! #define GET_HOST_BY_NAME(NAME, HP, ERR, TMP) \ { \ (HP) = (gethostbyname_r((NAME), &TMP.ent, &TMP.data) \ ? 0 \ : &TMP.data); \ (ERR) = h_errno; \ } Worked and so did... #define GET_HOST_BY_NAME(NAME, HP, ERR, TMP) \ { \ struct hostent my_h_ent; \ (HP) = (gethostbyname_r((NAME), &TMP.ent, &TMP.data) \ ? 0 \ : &my_h_ent); \ (ERR) = h_errno; \ } Thanks for the help ! I will continue testing with my current install base on AIX. I really appreciate the rapid responses and solutions ! Lamar -----Original Message----- From: Ken Raeburn [mailto:raeburn@MIT.EDU] Sent: Monday, September 18, 2006 5:13 PM To: Marcus Watts Cc: Saxon, Lamar; kerberos@mit.edu Subject: Re: Kerberos 5 v1.5.1 on AIX 5.2 or AIX 5.3 On Sep 18, 2006, at 17:56, Marcus Watts wrote: > Lamar.Saxon@americredit.com writes: > ... >> making all in util... >> making all in util/support... >> cc -I../../include -...

[RELEASED] Release candidates for Python 2.6.8, 2.7.3, 3.1.5, and 3.2.3
We're pleased to announce the immediate availability of release candidates for Python 2.6.8, 2.7.3, 3.1.5, and 3.2.3 . The main impetus for these releases is fixing a security issue in Python's hash based types, dict and set, as described below. Python 2.7.3 and 3.2.3 include the security patch and the normal set of bug fixes. Since Python 2.6 and 3.1 are maintained only for security issues, 2.6.8 and 3.1.5 contain only various security patches. The security issue exploits Python's dict and set implementations. Carefully crafted input can lead to extremely long computation times a...

[RELEASED] Second release candidates for Python 2.6.8, 2.7.3, 3.1.5, and 3.2.3
We're chuffed to announce the immediate availability of the second release candidates for Python 2.6.8, 2.7.3, 3.1.5, and 3.2.3. The only change from the first release candidates is the patching of an additional security hole. The security issue fixed in the second release candidates is in the expat XML parsing library. expat had the same hash security issue detailed below as Python's core types. The hashing algorithm used in the expat library is now randomized. A more thorough explanation of the "hash attack" security hole follows. The main impetus for these releases is fixing a security issue in Python's hash based types, dict and set, as described below. Python 2.7.3 and 3.2.3 include the security patch and the normal set of bug fixes. Since Python 2.6 and 3.1 are maintained only for security issues, 2.6.8 and 3.1.5 contain only various security patches. The security issue exploits Python's dict and set implementations. Carefully crafted input can lead to extremely long computation times and denials of service. [1] Python dict and set types use hash tables to provide amortized constant time operations. Hash tables require a well-distributed hash function to spread data evenly across the hash table. The security issue is that an attacker could compute thousands of keys with colliding hashes; this causes quadratic algorithmic complexity when the hash table is constructed. To alleviate the problem, the new releases add rando...

[RELEASED] Second release candidates for Python 2.6.8, 2.7.3, 3.1.5, and 3.2.3
We're chuffed to announce the immediate availability of the second release candidates for Python 2.6.8, 2.7.3, 3.1.5, and 3.2.3. The only change from the first release candidates is the patching of an additional security hole. The security issue fixed in the second release candidates is in the expat XML parsing library. expat had the same hash security issue detailed below as Python's core types. The hashing algorithm used in the expat library is now randomized. A more thorough explanation of the "hash attack" security hole follows. The main impetus for these releases is fi...

Web resources about - Segmentation fault returning value in Thread for Tcl 8.3.5/Thread 2.5 (2.1.5) - comp.lang.tcl

Segmentation (biology) - Wikipedia, the free encyclopedia
Segmentation in biology refers to the division of some animal and plant body plans into a series of repetitive segments. This article will focus ...

Ads API Profile: Marin Software Provides Audience Segmentation Across Facebook and Paid Search
Facebook’s performance advertising system lets buyers target users based on identity, location, interests, and Facebook connections, but it doesn’t ...

ViBe video segmentation embedded on a Canon digicam with CHDK - YouTube
Download the IEEE-TIP paper: http://goo.gl/KgStV Download the Android app: http://goo.gl/qvYDk http://www.ulg.ac.be/telecom/research/vibe/ This ...

Micro-segmentation for Dummies eBook
Defining Technology for Australia's IT Leaders. This eBook provides a broad overview of micro-segmentation in the data centre. After reading ...

Why Audience Segmentation Isn't All It's Cracked Up to Be
Good customer segmentation is important, but it's not the starting point of a targeted marketing communications or media plan, especially today ...

Segmentation within Silver
... co-pays, co-insurance, ease of use, pain in the ass factors and branding’s repuational efforts. One area of particular interest of segmentation ...

Fragmentation and Segmentation
Benedict Evans on Apple’s segmentation-by-device of new features in iOS: How do you segment without fragmenting? Apple achieved this pretty ...

Customer Segmentation Explored
... few fortunate people have both. Brands can command a price premium or a time premium or both. This leads into a universal cross-category segmentation ...

Women and Wine: What does this segmentation really tell us?
I’m skeptical of old-fashioned segmentation: women, age groups, income levels. With so many data streams accessible and the ability to glean ...

Who to follow: serendipity or segmentation?
One of the most hotly contested discussion topics at PodCamp NH this past weekend was the question of who to follow on social networks like LinkedIn ...

Resources last updated: 3/13/2016 7:58:42 PM