Zorba deadlock on Windows
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zorba |
New
|
Medium
|
Matthias Brantner |
Bug Description
On Windows, when I run the below query (also attached), if I try to interrupt it before it completes, the zorba process doesn't finish any more:
for $x in 1 to 1000000
return
if ($x mod 10000 eq 0) then
$x
else
()
It could reproduce this only on Windows machines.
Adjust the zeroes if your machine is too slow or too fast.
I also attached the debugger and "Break all". As a response VS says:
"The process appears to be deadlocked (or is not running any user-mode
threads). All threads have been stopped". Then is stops here:
int result = WaitForMultiple
INFINITE);//wait any of them
in:
> zorba_simplesto
l={...}, zorba::Lock::Mode m=WRITE) Line 101 C++
soft=true) Line 260 + 0x21 bytes C++
store=0x11b66630) Line 37 C++
soft=false) Line 106 + 0x9 bytes C++
atexit destructor for 'lInstance''() + 0xd bytes C++
unsigned long dwReason=0, void * lpreserved=
hDllHandle=
lpreserved=
hDllHandle=
lpreserved=
tags: | removed: core-runtime |
The file mm.xq was added: None