tdbc::mysql

Artifact Content
Login
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to [email protected]
or submit via the online form by Sep 9.

Artifact 415c4827e6562d90415d072d1c2a423d612aa26e624c2d573b59f38b4e996ac0:

Ticket change [415c4827e6] - New ticket [040c635cb3] tdbc::mysql crashes tcl. by anonymous 2018-10-08 17:19:05.
D 2018-10-08T17:19:05.157
J foundin latest
J icomment Hi\sall,\r\n\r\nIt\sseems\sthat\stdbc::mysql\stries\sto\sdynamically\sload\sthe\sMySql\sclient\slibrary,\sbut\sno\scheck\sis\smade\sif\sit\shas\sbeen\sactually\sloaded.\sThis\strivially\sleads\sto\sthe\sfollowing\scrash,\swhen\susing\sthe\spackage:\r\n\r\n#0\s\s0x0000000000000000\sin\s??\s()\r\n#1\s\s0x00007fffe2af30bc\sin\sConfigureConnection\s()\r\n\s\s\sfrom\s/opt/BAWT/Tcl/lib/tdbcmysql1.0.5/libtdbcmysql1.0.5.so\r\n#2\s\s0x00007fffe2af3366\sin\sConnectionConstructor\s()\r\n\s\s\sfrom\s/opt/BAWT/Tcl/lib/tdbcmysql1.0.5/libtdbcmysql1.0.5.so\r\n#3\s\s0x00007ffff7b6bb1b\sin\sTclOO_Class_Create\s()\r\n\s\s\sfrom\s/home/tcl/bawt/BawtBuild/Linux/x64/Release/Install/Tcl/lib/libtcl8.7.so\r\n#4\s\s0x00007ffff7b69f83\sin\sTclOOObjectCmdCore\s()\r\n\s\s\sfrom\s/home/tcl/bawt/BawtBuild/Linux/x64/Release/Install/Tcl/lib/libtcl8.7.so\r\n#5\s\s0x00007ffff7a63087\sin\sTclNRRunCallbacks\s()\r\n\s\s\sfrom\s/home/tcl/bawt/BawtBuild/Linux/x64/Release/Install/Tcl/lib/libtcl8.7.so\r\n#6\s\s0x00007ffff7a64f29\sin\sTclEvalEx\s()\r\n\s\s\sfrom\s/home/tcl/bawt/BawtBuild/Linux/x64/Release/Install/Tcl/lib/libtcl8.7.so\r\n#7\s\s0x00007ffff7b2cc69\sin\sTclSubstTokens\s()\r\n\s\s\sfrom\s/home/tcl/bawt/BawtBuild/Linux/x64/Release/Install/Tcl/lib/libtcl8.7.so\r\n#8\s\s0x00007ffff7a64d73\sin\sTclEvalEx\s()\r\n\s\s\sfrom\s/home/tcl/bawt/BawtBuild/Linux/x64/Release/Install/Tcl/lib/libtcl8.7.so\r\n#9\s\s0x00007ffff7b19cd2\sin\sTcl_FSEvalFileEx\s()\r\n\s\s\sfrom\s/home/tcl/bawt/BawtBuild/Linux/x64/Release/Install/Tcl/lib/libtcl8.7.so\r\n#10\s0x00007ffff7b21187\sin\sTcl_MainEx\s()\r\n\s\s\sfrom\s/home/tcl/bawt/BawtBuild/Linux/x64/Release/Install/Tcl/lib/libtcl8.7.so\r\n#11\s0x0000000000400784\sin\smain\s()\r\n\r\nSomewhere\sin\sConfigureConnection(),\sa\sNULL\spointer\sis\scalled,\swithout\schecking\sif\sit\sNULL.\r\n\r\nAnd\sthis\sis\svery\seasy\sto\shappen,\sjust\srun\stdbc::mysql\son\sany\sFedora\sdistribution\s(that\suses\sMariaDB\sby\sdefault,\sand\sthe\sclient\sis\snamed\s/usr/lib64/libmariadb.so.3).
J login anonymous
J mimetype text/x-fossil-plain
J private_contact 9dffd9dca08d8cf29375b31fd4546e721bbedab8
J severity Critical
J status Open
J title tdbc::mysql\scrashes\stcl
J type Code_Defect
K 040c635cb3fb898bef4ec87c60c9d09a64c504c6
U anonymous
Z 9e962bbb9dc277593d75da690365f0e5