Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

fiber_test crash and Windows Vista

Moderators: kris

Posted: 02/22/08 23:27:27 Modified: 02/22/08 23:31:58

Hi all,

I test some Tango examples from his SVN version (rev 3247) on Windows Vista & dmd 1.025 and have a crash with the example "concurrency/fiber_test.d". Other are OK (I'm not sure for "Normpath.d") But I do not test it on other OS...if someone can confirm that this come from Vista or not

Here is a little report of my testes :

[concurrency/fiber_test.d]
	NO  crash at line 304 (a.call();) in the "testing exceptions" unittest, maybe when the Exception is generating in a delegate...

[conduits/composite.d]
	OK (the file "random.bin" is created)	

[conduits/createzip.d]
	OK (and the file can be read by the vfs\vfszip example)

[conduits/filebubbler.d]
	OK (tested with directories and subdirectories)

[conduits/filecat.d]
	OK (tested with 2 small D sources)

[conduits/filecopy.d]
	OK

[conduits/fileops.d]
	OK (don't know if the  file is created, but now, she's nowhere :) )

[conduits/filepathname.d]
	OK

[conduits/filescan.d]
	OK

[conduits/filescanregex.d]
	OK

[conduits/lineio.d]
	OK

[conduits/mmap.d]
	OK

[conduits/paths.d]
	OK

[conduits/randomio.d]
	OK (no error return)

[conduits/shuffle.d]
	OK

[conduits/unifile.d]
	OK

[console/hello.d]
	OK

[console/stdout.d]
	OK

[logging/chainsaw.d]
	Not tested

[logging/logging.d]
	Nothing appends ??	

[logging/multilog.d]
	OK

[manual/chapterStorage.d]
	OK

[networking/homepage.d]
	OK

[networking/httpget.d]
	OK

[networking/selector.d]
	Not tested

[networking/sockethello.d]
	Not tested

[networking/socketserver.d]
	OK

[system/arguments.d]
	OK

[system/localtime.d]
	OK

[system/normpath.d]
	No error return. But if I understand the script, it must return an exception on the last line, and instead, it return the line :  "C:\Users\Florent\Desktop\D\tango_SVN\example\conduits"

[system/process.d]
	OK

[text/formatalign.d]
	OK

[text/formatindex.d]
	OK

[text/formatspec.d]
	OK

[text/localetime.d]
	OK

[text/properties.d]
	OK

[text/token.d]
	OK

[text/xmldom.d]
	OK

[text/xmlpull.d]
	OK

[text/xmlsax.d]
	OK

[vfs/vfszip.d]
	OK (using the file generated by "createzip")



Author Message

Posted: 02/25/08 21:54:01

tsalm wrote:

I test some Tango examples from his SVN version (rev 3247) on Windows Vista & dmd 1.025 and have a crash with the example "concurrency/fiber_test.d".

I have a look on this problem. The crash is generate in "Thread.d" (lib\common\tango\core\Thread.d) :

the method "final void call(bool rethrow=true)"
call the method "switchIn()" (at line 2621)
which call "fiber_switchContext( oldp, newp )" (at line 3207)

which enter in an infernal asm block ;-) (line 2370)
...but I don't know a thing on asm

The problem is not present on other Windows versions ?

Posted: 03/04/08 01:06:18

There is no problem on WinXP, so perhaps Vista has changed something that affects this. I don't suppose there's anyone else with Vista who could try this?