Re: "Multithreaded" tcl/tk problem?
- From: "tom.rmadilo" <tom.rmadilo@xxxxxxxxx>
- Date: Fri, 16 Nov 2007 07:44:10 -0800 (PST)
On Nov 16, 3:44 am, m.adamc...@xxxxxxxxx wrote:
I'm really looking forward to someone savvy to help me. I use Tcl/Tk
from C++ code for some ten years, and never encountered problem I
couldn't fix on my own...till now. Any help will be appreciated.
Well, you will have to somehow narrow down the conditions to reproduce
the problem, but I recently wasted an entire day on a nasty bug. It
turns out, the shared library found first by the process wasn't
compiled with thread support. This doesn't cause an immediate crash,
but only under certain conditions. Anyway, when I hear threads I now
think: do everything from scratch in a private directory. Even if you
don't get a crash, you may end up with corruption of important data.
Anyway, once again: with threads, don't trust any existing build.
There was also a recent change in build flags, where --nostartfiles
gets left off, but this usually causes the build to fail (and maybe
only on x86_64.
.
- Follow-Ups:
- Re: "Multithreaded" tcl/tk problem?
- From: Twylite
- Re: "Multithreaded" tcl/tk problem?
- References:
- "Multithreaded" tcl/tk problem?
- From: m . adamczak
- "Multithreaded" tcl/tk problem?
- Prev by Date: Re: TIP#308 Published: Tcl Database Connectivity (TDBC)
- Next by Date: Re: Need help with quoting
- Previous by thread: "Multithreaded" tcl/tk problem?
- Next by thread: Re: "Multithreaded" tcl/tk problem?
- Index(es):