Click here to Skip to main content
15,915,702 members
Home / Discussions / C#
   

C#

 
QuestionOpen files with my Application Pin
rkcsharp30-Jul-07 19:24
rkcsharp30-Jul-07 19:24 
AnswerRe: Open files with my Application Pin
Christian Graus30-Jul-07 19:48
protectorChristian Graus30-Jul-07 19:48 
GeneralRe: Open files with my Application Pin
rkcsharp30-Jul-07 20:14
rkcsharp30-Jul-07 20:14 
GeneralRe: Open files with my Application Pin
Christian Graus30-Jul-07 20:19
protectorChristian Graus30-Jul-07 20:19 
GeneralRe: Open files with my Application Pin
rkcsharp30-Jul-07 20:25
rkcsharp30-Jul-07 20:25 
AnswerRe: Open files with my Application Pin
mav.northwind31-Jul-07 0:35
mav.northwind31-Jul-07 0:35 
GeneralRe: Open files with my Application Pin
rkcsharp2-Aug-07 1:18
rkcsharp2-Aug-07 1:18 
Questiona Question regarding a weird illigal error read/write error Pin
Green Fuze30-Jul-07 19:00
Green Fuze30-Jul-07 19:00 
Hey Everybody!


I wrote a multi-threaded crawler (which is doing a more than just crawling).
This is the first multi-threaded program I'm writting so I'm having some problems with it.


I have a 2 groups of threads, one is downloading from the net, the other is extracting the URLs and other information.
I've synchronized the threads using semaphores.

The problem is that sometimes, after the program is running for a while, I'm getting an Exception with the message that the process is trying to perform an I/O (read or write) to an illegal spot in the memory (also it adds that it could be a memory corruption).
I've also experienced a few times that the program simply get terminated, without any warning or any notice (the visual studio simply returns to its original stat from the debug stat).


ANY Ideas how to fix that?!
I'm terribly stuck! Frown | :(



Thanks A LOT!!!!
AnswerRe: a Question regarding a weird illigal error read/write error Pin
Luc Pattyn30-Jul-07 23:13
sitebuilderLuc Pattyn30-Jul-07 23:13 
QuestionConvert string to int Pin
Xmen Real 30-Jul-07 18:59
professional Xmen Real 30-Jul-07 18:59 
AnswerRe: Convert string to int Pin
Green Fuze30-Jul-07 19:03
Green Fuze30-Jul-07 19:03 
GeneralRe: Convert string to int Pin
Martin#30-Jul-07 19:57
Martin#30-Jul-07 19:57 
GeneralRe: Convert string to int Pin
Xmen Real 30-Jul-07 20:09
professional Xmen Real 30-Jul-07 20:09 
GeneralRe: Convert string to int Pin
Christian Graus30-Jul-07 20:19
protectorChristian Graus30-Jul-07 20:19 
AnswerRe: Convert string to int Pin
Martin#30-Jul-07 19:56
Martin#30-Jul-07 19:56 
GeneralRe: Convert string to int Pin
Xmen Real 30-Jul-07 20:10
professional Xmen Real 30-Jul-07 20:10 
GeneralRe: Convert string to int Pin
Martin#30-Jul-07 20:19
Martin#30-Jul-07 20:19 
GeneralRe: Convert string to int Pin
Xmen Real 31-Jul-07 19:06
professional Xmen Real 31-Jul-07 19:06 
AnswerRe: Convert string to int Pin
Rhys Gravell30-Jul-07 21:03
professionalRhys Gravell30-Jul-07 21:03 
AnswerRe: Convert string to int Pin
Peter Vertes1-Oct-07 10:29
Peter Vertes1-Oct-07 10:29 
GeneralRe: Convert string to int Pin
Xmen Real 1-Oct-07 16:36
professional Xmen Real 1-Oct-07 16:36 
QuestionDNS request: NAPTR Pin
Spam Skiller30-Jul-07 18:51
Spam Skiller30-Jul-07 18:51 
Questionintenal and internal protected Pin
Sonia Gupta30-Jul-07 18:46
Sonia Gupta30-Jul-07 18:46 
AnswerRe: intenal and internal protected Pin
Christian Graus30-Jul-07 18:58
protectorChristian Graus30-Jul-07 18:58 
GeneralRe: intenal and internal protected Pin
Sonia Gupta30-Jul-07 19:03
Sonia Gupta30-Jul-07 19:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.