Skip to content

Instantly share code, notes, and snippets.

[ 5471.899] [mi] EQ overflowing. The server is probably stuck in an infinite loop.
[ 5471.899]
Backtrace:
[ 5471.951] 0: /usr/bin/X (xorg_backtrace+0x37) [0x80a66f7]
[ 5471.951] 1: /usr/bin/X (mieqEnqueue+0x1d1) [0x80a06b1]
[ 5471.951] 2: /usr/bin/X (xf86PostMotionEventM+0xb0) [0x80c7e60]
[ 5471.951] 3: /usr/lib/xorg/modules/input/evdev_drv.so (0xb6d33000+0x35ed) [0xb6d365ed]
[ 5471.951] 4: /usr/lib/xorg/modules/input/evdev_drv.so (0xb6d33000+0x531d) [0xb6d3831d]
[ 5471.951] 5: /usr/lib/xorg/modules/input/evdev_drv.so (0xb6d33000+0x5b85) [0xb6d38b85]
[ 5471.951] 6: /usr/bin/X (0x8048000+0x6cb81) [0x80b4b81]
websocket_handle_incoming_data(Data, #state{ws = WsState = #websocket_state{module = Mod, parser_state = WsParserState}, socket=Socket} = State) ->
WsCallback = fun handle_stream/2,
case Mod:handle_data(Data, WsParserState, {Socket, http}, State, WsCallback) of
{State2, websocket_close} ->
{stop, normal, State2};
{State2, websocket_close, CloseData} ->
State3 = websocket_send(CloseData, State2),
{stop, normal, State3};
{State2, continue, WsParsesState2} ->
inet:setopts(Socket, [{packet, raw}, {active, once}]),
@gleber
gleber / crasher.sh
Created November 21, 2011 19:51
dnssd_erlang segfault
while true; do
avahi-publish -s test@b _http._tcp 7778 &
sleep 3s
killall avahi-publish
sleep 1s
killall avahi-publish
done
#!/usr/bin/env python
import hashlib
for i in xrange(1, 1000000):
m = hashlib.sha1()
m.update("test")
m.digest()
#!/usr/bin/env python
import hashlib
for i in xrange(1, 1000000):
m = hashlib.sha1()
m.update("test")
m.digest()
-module(matrix).
-compile(export_all).
random(Size, MaxValue) ->
random(0, 0, Size, MaxValue, [], []).
-define(VALUE(X, Y), value(X, Y, MaxValue)).
value(X, X, _MaxValue) ->