falcong / pugixml

Automatically exported from code.google.com/p/pugixml
0 stars 0 forks source link

node.type() Crash #58

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Create Thread.
2. Load xml document from buffer
3.At Thread funtion run xml_travers
4.CloseHandle(hThread)
5.CreateThread again.
6. Load xml document from buffer
7.At Thread funtion run xml_travers
8.At for_each(xml_node& n)
9.Crash when trying to get n.type()

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide any additional information below.
Вылетает в разных местах на разных тегах, я 
думаю это связанно с тем, что 
поток закрываю на разных местах. Новый 
поток может отработать и до конца

Original issue reported on code.google.com by 2452...@gmail.com on 26 Apr 2010 at 2:34

GoogleCodeExporter commented 9 years ago
Так нет, это у меня портак... не 
останавливается thread. Щас буду разбираться 
почему..

Original comment by 2452...@gmail.com on 26 Apr 2010 at 4:09

GoogleCodeExporter commented 9 years ago
oh i'm sorry, i foget terminateThread. Now all work's.

Original comment by 2452...@gmail.com on 26 Apr 2010 at 4:42

GoogleCodeExporter commented 9 years ago
I'm glad you resolved this :)

Original comment by arseny.k...@gmail.com on 26 Apr 2010 at 7:10