NewEraCracker / LOIC

Deprecated - Low Orbit Ion Cannon - An open source network stress tool, written in C#. Based on Praetox's LOIC project. USE ON YOUR OWN RISK. WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES. IF YOU GET V& IT IS YOUR FAULT.
https://github.com/NewEraCracker/LOIC/
Other
2.6k stars 647 forks source link

Segfault when http with more than 1000 #43

Closed yermandu closed 12 years ago

yermandu commented 13 years ago

./loic.sh run /usr/bin/mono

Unhandled Exception: System.InvalidOperationException: List has changed. at System.Collections.ArrayList+SimpleEnumerator.MoveNext () [0x00000] in :0 at System.Windows.Forms.XplatUIX11.NextTimeout (System.Collections.ArrayList timers, DateTime now) [0x00000] in :0 at System.Windows.Forms.XplatUIX11.UpdateMessageQueue (System.Windows.Forms.XEventQueue queue, Boolean allowIdle) [0x00000] in :0 at System.Windows.Forms.XplatUIX11.UpdateMessageQueue (System.Windows.Forms.XEventQueue queue) [0x00000] in :0 at System.Windows.Forms.XplatUIX11.GetMessage (System.Object queue_id, System.Windows.Forms.MSG& msg, IntPtr handle, Int32 wFilterMin, Int32 wFilterMax) [0x00000] in :0 at System.Windows.Forms.XplatUI.GetMessage (System.Object queue_id, System.Windows.Forms.MSG& msg, IntPtr hWnd, Int32 wFilterMin, Int32 wFilterMax) [0x00000] in :0 at System.Windows.Forms.Application.RunLoop (Boolean Modal, System.Windows.Forms.ApplicationContext context) [0x00000] in :0 at System.Windows.Forms.Application.Run (System.Windows.Forms.ApplicationContext context) [0x00000] in :0 at System.Windows.Forms.Application.Run (System.Windows.Forms.Form mainForm) [0x00000] in :0 at LOIC.Program.Main (System.String[] cmdLine) [0x00000] in :0

Native stacktrace:

./loic.sh: line 78: 1243 Falha de segmentação mono bin/Debug/LOIC.exe

the crash happens when setting value more then 1000 threads in http method using monodevelop 2.4.2

NewEraCracker commented 12 years ago

Don't use that much threads. Using 100 is already too much. The default value (10) is ok and shouldn't cause segmentation faults.