Skip to content

Instantly share code, notes, and snippets.

View larsfu's full-sized avatar

Lars Funke larsfu

  • Technische Universität Dortmund
  • Dortmund
View GitHub Profile
Program received signal SIGSEGV, Segmentation fault.
0x00369dd1 in _IO_vfprintf_internal (s=Cannot access memory at address 0xffffffff
) at vfprintf.c:1593
1593 process_string_arg (((struct printf_spec *) NULL));
(gdb) bt
#0 0x00369dd1 in _IO_vfprintf_internal (s=Cannot access memory at address 0xffffffff
) at vfprintf.c:1593
#1 0x0038ede0 in _IO_vsnprintf (string=0xbfffe244 "ERROR: couldn't register interface 'n", maxlen=<value optimized out>, format=0x80d2c00 "ERROR: couldn't register interface '%s'. interface already exists",
args=0xbffff258 "@") at vsnprintf.c:120
#2 0x0808ff82 in dbg_msg (sys=0x80d2bf7 "kernel", fmt=0x80d2c00 "ERROR: couldn't register interface '%s'. interface already exists") at src/base/system.c:100
Exception in thread "main" java.util.ConcurrentModificationException
at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:782)
at java.util.ArrayList$Itr.next(ArrayList.java:754)
at interaction.Renderer.draw(Renderer.java:102)
at interaction.Renderer.render(Renderer.java:44)
at engine.MainLoop.startLoop(MainLoop.java:46)
at main.Battlepath.main(Battlepath.java:38)
# visualize3.py
#
# Copyright 2010 Lars Funke <larsfunke1996@gmail.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
#include <boost/filesystem.hpp>
#include <boost/algorithm/string.hpp>
#include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include <map>
#include <stdlib.h>
#include <math.h>
#include "CImg.h"
for (vector<string>::iterator death = deaths.begin(); death != deaths.end(); death++)
{
int i = 1;
char * pch;
char buffer[10];
sprintf(buffer, "%s", *death);
pch = strtok(buffer, " ");
while (pch != NULL)
{
//if(i = 1)
# visualize.py
#
# Copyright 2010 Lars Funke <larsfunke1996@gmail.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
$ gdb ./teeworlds_d
GNU gdb (GDB) Fedora (7.1-30.fc13)
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
$ bam all
[ 1/20] #1 c++ src/game/collision.cpp
src/game/mapitems.h: In member function »void CCollision::Init(CLayers*)«:
src/game/mapitems.h:83: Fehler: »unsigned char CTile::m_Index« ist privat
src/game/collision.cpp:31: Fehler: in diesem Zusammenhang
src/game/mapitems.h:83: Fehler: »unsigned char CTile::m_Index« ist privat
src/game/collision.cpp:39: Fehler: in diesem Zusammenhang
src/game/mapitems.h:83: Fehler: »unsigned char CTile::m_Index« ist privat
src/game/collision.cpp:42: Fehler: in diesem Zusammenhang
src/game/mapitems.h:83: Fehler: »unsigned char CTile::m_Index« ist privat
diff --git a/datasrc/content.py b/datasrc/content.py
index 7fe8f9b..988550d 100755
--- a/datasrc/content.py
+++ b/datasrc/content.py
@@ -233,6 +233,7 @@ image_particles = Image("particles", "particles.png")
image_game = Image("game", "game.png")
image_browseicons = Image("browseicons", "browse_icons.png")
image_emoticons = Image("emoticons", "emoticons.png")
+image_demobuttons = Image("demobuttons", "demo_buttons.png")
$ bam all
[ 1/115] #1 network_header > src/game/generated/protocol.h
bam: 'src/game/generated/protocol.h' error 65280
bam: 'src/game/generated/protocol.h' removed because job updated it even it failed.
[ 2/115] #1 server_content_header > src/game/generated/server_data.h
bam: 'src/game/generated/server_data.h' error 65280
bam: 'src/game/generated/server_data.h' removed because job updated it even it failed.
[ 3/115] #1 client_content_header > src/game/generated/client_data.h
bam: 'src/game/generated/client_data.h' error 65280
bam: 'src/game/generated/client_data.h' removed because job updated it even it failed.