digitalmars.D.bugs - [bug 618] marked fixed, but dstress bug_optimize_294 showing some
- Brad Roberts (16/16) Jan 19 2007 http://d.puremagic.com/issues/show_bug.cgi?id=618
- Thomas Kuehne (16/29) Jan 20 2007 -----BEGIN PGP SIGNED MESSAGE-----
- Brad Roberts (15/59) Jan 20 2007 I wasn't using the dstress framework, just copy/paste the code for the
- Thomas Kuehne (18/24) Jan 21 2007 -----BEGIN PGP SIGNED MESSAGE-----
http://d.puremagic.com/issues/show_bug.cgi?id=618 builds and runs for me: C, F, H, K fails to build for me: D: bug_optimize_294_D.d(7): Error: incompatible types for ((_D7dstress3run1b18bug_optimize_294_D10__T3FooTaZ3Foo6__initZ) != (_D7dstress3run1b18bug_optimize_294_D10__T3FooTgZ3Foo6__initZ)): 'Foo!(char)' and 'Foo!(byte)' segv's at runtime: G: Program received signal SIGSEGV, Segmentation fault. 0x0804a09b in _Dmain () at bug_optimize_294_G.d:7 7 if ((Foo!(char)).init == (Foo!(char)).init){ So.. the dstress results for C, F, H, K don't seem to match what you're seeing, Thomas. I'm running on a 32bit linux box and testing with dmd 1.00. Looks like D is failing for me, as your test results indicate, as is G. I'm going re-open the bug due to these two remaining problems for Walter to look at.
Jan 19 2007
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Brad Roberts schrieb am 2007-01-19:http://d.puremagic.com/issues/show_bug.cgi?id=618 builds and runs for me: C, F, H, K fails to build for me: D: bug_optimize_294_D.d(7): Error: incompatible types for ((_D7dstress3run1b18bug_optimize_294_D10__T3FooTaZ3Foo6__initZ) != (_D7dstress3run1b18bug_optimize_294_D10__T3FooTgZ3Foo6__initZ)): 'Foo!(char)' and 'Foo!(byte)' segv's at runtime: G: Program received signal SIGSEGV, Segmentation fault. 0x0804a09b in _Dmain () at bug_optimize_294_G.d:7 7 if ((Foo!(char)).init == (Foo!(char)).init){ So.. the dstress results for C, F, H, K don't seem to match what you're seeing, Thomas. I'm running on a 32bit linux box and testing with dmd 1.00.I've fixed a few copy'n paste errors in the test cases. The differences were moste likely caused because you tested dmd source.d && ./source ; echo PASSED while it should have been dmd source.d && ./source && echo PASSED || echo FAILED ("dmd -run" can't be used because it will return "0" regardless of "./source"'s return code) Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFFsfQwLK5blCcjpWoRAnCvAJ957q8fbneCNfKSReoZXEcfot0yxgCgo/j7 VDj8lktygyGTsunvp1Vkcb0= =KWMf -----END PGP SIGNATURE-----
Jan 20 2007
Thomas Kuehne wrote:-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Brad Roberts schrieb am 2007-01-19:I wasn't using the dstress framework, just copy/paste the code for the failing test and ran it manually. I didn't actually even check the return code, just that it produced no output (close to the first case, but not even that elaborate :). Sorry, I must have been awfully sleepy when doing that as it's obvious that's not sufficient. What I'm actually thinking about here is how to check dstress vs bugzilla to make sure that bugs that are marked fixed are _actually_ fixed. And then make sure that all the failing tests have a corresponding bug filed (many just point to a news group posting, which is easily and for most probably lost in the distant past). Have you put any thought into how to do this verification step automatically? Later, Bradhttp://d.puremagic.com/issues/show_bug.cgi?id=618 builds and runs for me: C, F, H, K fails to build for me: D: bug_optimize_294_D.d(7): Error: incompatible types for ((_D7dstress3run1b18bug_optimize_294_D10__T3FooTaZ3Foo6__initZ) != (_D7dstress3run1b18bug_optimize_294_D10__T3FooTgZ3Foo6__initZ)): 'Foo!(char)' and 'Foo!(byte)' segv's at runtime: G: Program received signal SIGSEGV, Segmentation fault. 0x0804a09b in _Dmain () at bug_optimize_294_G.d:7 7 if ((Foo!(char)).init == (Foo!(char)).init){ So.. the dstress results for C, F, H, K don't seem to match what you're seeing, Thomas. I'm running on a 32bit linux box and testing with dmd 1.00.I've fixed a few copy'n paste errors in the test cases. The differences were moste likely caused because you tested dmd source.d && ./source ; echo PASSED while it should have been dmd source.d && ./source && echo PASSED || echo FAILED ("dmd -run" can't be used because it will return "0" regardless of "./source"'s return code) Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFFsfQwLK5blCcjpWoRAnCvAJ957q8fbneCNfKSReoZXEcfot0yxgCgo/j7 VDj8lktygyGTsunvp1Vkcb0= =KWMf -----END PGP SIGNATURE-----
Jan 20 2007
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Brad Roberts schrieb am 2007-01-20: [...]What I'm actually thinking about here is how to check dstress vs bugzilla to make sure that bugs that are marked fixed are _actually_ fixed.1) svn checkout svn://svn.berlios.de/dstress/trunk/ dstress 2) cd dstress 3) dmd tools/db.d -ofdb 4) bunzip2 < raw_results/linux-amd64_dmd-1.00.log.bz2 | db > sql_data All test cases for bugs filed via Bugzilla have a url line containing http://.*puremagic[.]comAnd then make sure that all the failing tests have a corresponding bug filed (many just point to a news group posting, which is easily and for most probably lost in the distant past).If the test case has no puremagic- url , then there is a good chance that no Buzilla entry was filed. Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFFs//sLK5blCcjpWoRAkbFAJsEY+5qz/z3ykNTtIMirfdg0VE/WgCfVXQx pRLKOfy7yyKQJWRkY9bkjGo= =LVD1 -----END PGP SIGNATURE-----
Jan 21 2007