Fatal Error in Wish, alloc: invalid block 010B10F0: 30 1 ef

Posted by yyamasak on 2010-11-01 06:15

When I call "exit" command in my Tcl/Tk application, an error dialog is shown, saying:

Fatal Error in Wish
alloc: invalid block 010B10F0: 30 1 ef

--
The application runs on ActiveTcl 8.4.19.4

I attached a Dr.Watson's log and a screen shot of error dialog.

I suspect tcludp 1.0.9 has some problem.

*----> Stack back trace <----*
*** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\WINDOWS\system32\kernel32.dll -
WARNING: Stack unwind information not available. Following frames may be wrong.
*** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\Tcl\lib\teapot\package\win32-ix86\lib\udp1.0.9\udp109.dll -
ChildEBP RetAddr Args to Child
024dfe78 7c802542 0000012c ffffffff 00000000 ntdll!KiFastSystemCallRet
024dfe8c 02391dfd 0000012c ffffffff 000006b9 kernel32!WaitForSingleObject+0x12
00000000 00000000 00000000 00000000 00000000 udp109+0x1dfd

I also tried using udp109g.dll, udp108.dll but the result was almost the same.

Any help appreciated.

AttachmentSize
drwtsn32.log_.20101101.txt18.98 KB
fatal-error.png5.98 KB

jeffh
ActiveState Staff
Mon, 2010-11-01 15:18

It's hard to say where the issue is. It may be in udp if it's trying to unwind the stack through that, but may be unrelated to that. You'll need to create a debug version of the core to get more detail.

If you wanted enterprise support, that can be requested through the support channel.

yyamasak | Mon, 2010-11-01 16:17

Thank you jeffh.

Finally, I found the solution.

close $sock
after idle exit

The error is not shown.

arunjp | Mon, 2019-08-19 01:22

It shows fatal error alloc: invalid block, while installing xampp server. Can you please suggest any solution!!

grahams
ActiveState Staff
Thu, 2019-08-29 09:32

Are you sure that's an error from Tcl? The message is generic and is associated with many threading problems using C based programs.