Newsgroup: comp.lang.c++
Subject: Want to debug this?
From: woodbrian77@...
Date: Fri, 6 Dec 2013 15:06:24 -0800 (PST)
Maybe you can motivate me to debug the following scenario:
Gcc-built version of my middle tier asserts
assert(!pendingTransactions.empty());
in transitional context.
If I start the back tier, start clang-built middle tier
and then run some tests, everything works fine.
If I start the back tier, start gcc-built middle tier
and then run some tests, everything again works fine.
If I start the back tier, start clang-built middle tier,
run some tests, stop clang-built middle tier and start
gcc-built middle tier and run the tests, it asserts as
mentioned.
If I start the back tier, start gcc-built middle tier,
run some tests, stop gcc-built middle tier and start
clang-built middle tier and run some tests everything
works fine. If I go on and stop clang-built middle
tier and start gcc-built middle tier and run tests,
the assert happens.
I'm not sure if it's worth debugging. I'm using gcc
4.8.1 and clang 3.3 on Linux. I have a machine that
has gcc 4.8.2 on it, but haven't tested it on there.
I've been thinking of moving to newer software (OS
and compilers) on the machine I have the problem on,
so the "problem" might go away that way too.
Brian
Ebenezer Enterprises - In G-d we trust.
http://webEbenezer.net
Subject: Want to debug this?
From: woodbrian77@...
Date: Fri, 6 Dec 2013 15:06:24 -0800 (PST)
Maybe you can motivate me to debug the following scenario:
Gcc-built version of my middle tier asserts
assert(!pendingTransactions.empty());
in transitional context.
If I start the back tier, start clang-built middle tier
and then run some tests, everything works fine.
If I start the back tier, start gcc-built middle tier
and then run some tests, everything again works fine.
If I start the back tier, start clang-built middle tier,
run some tests, stop clang-built middle tier and start
gcc-built middle tier and run the tests, it asserts as
mentioned.
If I start the back tier, start gcc-built middle tier,
run some tests, stop gcc-built middle tier and start
clang-built middle tier and run some tests everything
works fine. If I go on and stop clang-built middle
tier and start gcc-built middle tier and run tests,
the assert happens.
I'm not sure if it's worth debugging. I'm using gcc
4.8.1 and clang 3.3 on Linux. I have a machine that
has gcc 4.8.2 on it, but haven't tested it on there.
I've been thinking of moving to newer software (OS
and compilers) on the machine I have the problem on,
so the "problem" might go away that way too.
Brian
Ebenezer Enterprises - In G-d we trust.
http://webEbenezer.net
via Usenet Forums - Usenet Search,Free Usenet - comp.lang.c++ http://www.pocketbinaries.com/usenet-forums/showthread.php?145397-Want-to-debug-this&goto=newpost
View all the progranning help forums at:
http://www.pocketbinaries.com/usenet-forums/forumdisplay.php?128-Coding-forums
No comments:
Post a Comment