Skip to content
Tcl Source Code Artifact [ea60151e18]
Login

Artifact [ea60151e18]

Artifact ea60151e18211dd2af59ac790cba4e7a6a9fa313:

Ticket change [ea60151e18] - Ticket [1503729fffffffff|1503729fff] <i>TclpDlopen latent bug now crashes after SunOS linker patch</i> status still Open with 4 other changes by kenstir on 2006-06-13 01:20:12.
D 2006-06-13T01:20:12
J icomment Logged\sIn:\sYES\s\nuser_id=246646\n\nI\stake\sit\sback.\sThe\sTcl\scode\swas\snot\sthe\sroot\scause\sof\sthe\ncrash.\s\sThough\sit\sis\sprobably\sbad\sstyle\sto\swait\sa\slong-ish\ntime\safter\scalling\sdlopen()\sand\sbefore\scalling\sdlerror(),\sit\nis\snot\san\serror\sunless\syou\scall\ssome\sother\sdl*\sfunction\sin\nbetween.\s\sI\sverified\swith\struss\sthat\sTcl\swas\snot.\n\nThe\sreal\sproblem\sappears\sto\sbe\san\soptimizer\sbug\sin\sthe\sSun\nForte\s6\s(cc:\sSun\sWorkShop\s6\s2000/06/19\sC\s5.1\sPatch\n109491-02)\scompiler\sexacerbated\sby\sthe\slinker\spatch.\s\sThe\nlinker\spatch\sincluded\sa\spatch\sto\sa\ssystem\sheader\sfile\swhich\ndid\sthis:\n\n#pragma\sunknown_control_flow(dlopen,\sdlsym,\sdlclose,\sdlerror)\n\nWith\sthis\schange,\sthe\scompiler\sgenerated\sdifferent\s(and\napparently\sbad)\sassembler\scode.\n\n
J login kenstir
J mimetype text/plain
J username kenstir
K 1503729fffffffffffffffffffffffffffffffff
U kenstir
Z fcce983ad3a29c58e70981a3e70e589b