Skip to content

Instantly share code, notes, and snippets.

@clonejo
Created August 24, 2012 22:01
Show Gist options
  • Select an option

  • Save clonejo/3456197 to your computer and use it in GitHub Desktop.

Select an option

Save clonejo/3456197 to your computer and use it in GitHub Desktop.
$ gdb ./bralad
GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2) 7.4-2012.04
Copyright (C) 2012 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 "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.launchpad.net/gdb-linaro/>...
Reading symbols from /home/clonejo/Downloads/BraLa/bralad...done.
(gdb) run -h"127.0.0.1"
Starting program: /home/clonejo/Downloads/BraLa/bralad -h"127.0.0.1"
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
(c)allocating 65536 times 4 bytes. Pointer: 0x7ffff7e8c010.
init: 1024x800
Supported OpenGL version: 3.3.11627 Compatibility Profile Context
Loaded OpenGL version: 33
Requesting resource "./res/shader/terrain.shader" as "terrain", type: "Shader".
[New Thread 0x7ffff2341700 (LWP 16188)]
[New Thread 0x7ffff1b40700 (LWP 16189)]
Loaded resource "terrain" with type: "Shader".
Requesting resource "./res/texture/terrain.png" as "terrain", type: "Image".
Loaded resource "terrain" with type: "Image".
Requesting resource "./res/texture/grasscolor.png" as "grasscolor", type: "Image".
Loaded resource "grasscolor" with type: "Image".
Requesting resource "./res/texture/leavecolor.png" as "leavecolor", type: "Image".
Loaded resource "leavecolor" with type: "Image".
Requesting resource "./res/texture/watercolor.png" as "watercolor", type: "Image".
Loaded resource "watercolor" with type: "Image".
Failed to load minecraft terrain.png, Zlib Error: "buf error"
Unable to login as user "". Bad login
[New Thread 0x7fffebfff700 (LWP 16190)]
Snooping: version: "BraLa", os_name: "linux", os_version: "undetectable", os_architecture: "64 bit", memory_total: "-1", memory_max: "-1", java_version: "D Compiler: 2060", opengl_version: "3.3.11627 Compatibility Profile Context", opengl_vendor: "ATI Technologies Inc."
(c)allocating 65536 times 4 bytes. Pointer: 0x7fffe00009e0.
Unable to snoop: "HTTP answered 503 instead of 200"
[New Thread 0x7fffeb7fe700 (LWP 16193)]
(c)allocating 65536 times 4 bytes. Pointer: 0x7fffd80009e0.
server.Login(int entity_id : "268", string level_type : "default", byte mode : "1", byte dimension : "0", byte difficulty : "1", ubyte unused : "0", ubyte max_players : "20")
(m)allocating 5242880 bytes. Pointer: 0x7fffeaafd010.
(m)allocating 5242880 bytes. Pointer: 0x7fffea5fc010.
(m)allocating 5242880 bytes. Pointer: 0x7fffea0fb010.
[New Thread 0x7fffea0fa700 (LWP 16194)]
[New Thread 0x7fffe98f9700 (LWP 16195)]
[New Thread 0x7fffe90f8700 (LWP 16196)]
server.SpawnPosition(int x : "-132", int y : "64", int z : "196")
(c)allocating 65536 times 4 bytes. Pointer: 0x7fffd00009e0.
(c)allocating 65536 times 4 bytes. Pointer: 0x7fffdc0009e0.
(c)allocating 65536 times 4 bytes. Pointer: 0x7fffd40009e0.
server.PlayerPositionLook(double x : "-138.624", double stance : "65.62", double y : "64", double z : "197.7", float yaw : "0", float pitch : "0", bool on_ground : "false")
(c)allocating 65536 times 4 bytes. Pointer: 0x7fffd8040f70.
(c)allocating 65536 times 4 bytes. Pointer: 0x7fffd8080f80.
(c)allocating 65536 times 4 bytes. Pointer: 0x7fffd80c0f90.
(c)allocating 65536 times 4 bytes. Pointer: 0x7fffd8100fa0.
(c)allocating 65536 times 4 bytes. Pointer: 0x7fffd8140fb0.
server.MapChunkBulk(MapChunkBulkS chunk_bulk : "MapChunkBulkS(short chunk_count : "5", CoordChunkTuple[] chunks : [
1: CoordChunkTuple : [vec3i coords : [-9,0,12], Chunk chunk : "brala.dine.chunk.Chunk"]
2: CoordChunkTuple : [vec3i coords : [-8,0,12], Chunk chunk : "brala.dine.chunk.Chunk"]
3: CoordChunkTuple : [vec3i coords : [-8,0,13], Chunk chunk : "brala.dine.chunk.Chunk"]
4: CoordChunkTuple : [vec3i coords : [-9,0,13], Chunk chunk : "brala.dine.chunk.Chunk"]
5: CoordChunkTuple : [vec3i coords : [-10,0,13], Chunk chunk : "brala.dine.chunk.Chunk"]
]")
Program received signal SIGUSR1, User defined signal 1.
[Switching to Thread 0x7fffe90f8700 (LWP 16196)]
0x00007ffff73a0d84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
(gdb) thread apply all bt
Thread 8 (Thread 0x7fffe90f8700 (LWP 16196)):
#0 0x00007ffff73a0d84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1 0x000000000084eca1 in core.sync.condition.Condition.wait() ()
#2 0x00000000006cc003 in _D5brala4main12_staticCtor1FZv () at brala/main.d:38
#3 0x00000000006e43dd in _D5brala4main9__modctorFZv ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
Thread 7 (Thread 0x7fffe98f9700 (LWP 16195)):
#0 0x00007ffff73a0d84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1 0x000000000084eca1 in core.sync.condition.Condition.wait() ()
#2 0x00000000006cc003 in _D5brala4main12_staticCtor1FZv () at brala/main.d:38
#3 0x00000000006e43dd in _D5brala4main9__modctorFZv ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
Thread 6 (Thread 0x7fffea0fa700 (LWP 16194)):
#0 0x00007ffff73a0d84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1 0x000000000084eca1 in core.sync.condition.Condition.wait() ()
#2 0x00000000006cc003 in _D5brala4main12_staticCtor1FZv () at brala/main.d:38
#3 0x00000000006e43dd in _D5brala4main9__modctorFZv ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
Thread 5 (Thread 0x7fffeb7fe700 (LWP 16193)):
#0 0x00007ffff73a2fd0 in sem_wait () from /lib/x86_64-linux-gnu/libpthread.so.0
#1 0x00000000008a156a in core.thread.suspend() ()
#2 0x0000000000000001 in ?? ()
#3 0x00007fffeb7f7ba0 in ?? ()
#4 0x000000000089e82a in thread_suspendAll ()
#5 0x0000000000000003 in ?? ()
#6 0x0000000000bff170 in ?? ()
#7 0xffffffffffffffff in ?? ()
#8 0xffffffffffffffff in ?? ()
#9 0xffffffffffffffff in ?? ()
#10 0x00007fffeb7f7cc0 in ?? ()
#11 0x000000000088e3a7 in gc.gcx.Gcx.fullcollect() ()
#12 0x0000000000000072 in ?? ()
#13 0x0000000000bff070 in ?? ()
#14 0x0000000000000003 in ?? ()
#15 0x0000000000bff170 in ?? ()
#16 0x0000000000956df0 in _TMP1367 ()
#17 0x00007ffff7f82b80 in ?? ()
#18 0x0000000000000080 in ?? ()
#19 0x000000000000000a in ?? ()
#20 0x0000000000000001 in ?? ()
#21 0x00007fffeb7f7c60 in ?? ()
#22 0x000000000089d68f in std.utf.encode() ()
#23 0x00000000008d11c0 in _TMP30 ()
#24 0x0000000000000203 in ?? ()
#25 0x00007ffff7f87c00 in ?? ()
#26 0x0000000000000203 in ?? ()
#27 0x00007ffff7f87c00 in ?? ()
#28 0x00007fffeb7f7c68 in ?? ()
#29 0x00007fffeb7f7d90 in ?? ()
#30 0x00007fffeb7f7c80 in ?? ()
#31 0x00007ffff7f85a08 in ?? ()
#32 0x00007fffeb7f7c80 in ?? ()
---Type <return> to continue, or q <return> to quit---
#33 0x000000000089cd32 in std.string.bug2479format() ()
#34 0x0000000000bff070 in ?? ()
#35 0x00007fffeb7f7cf0 in ?? ()
#36 0x000000000088b453 in gc.gcx.GC.mallocNoSync() ()
#37 0x00007ffff7f63100 in ?? ()
#38 0x00000000010b5f20 in ?? ()
#39 0x0000000000000000 in ?? ()
Thread 4 (Thread 0x7fffebfff700 (LWP 16190)):
#0 0x00007ffff73a10fe in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1 0x000000000084ed39 in core.sync.condition.Condition.wait() ()
#2 0x000000005037fc1d in ?? ()
#3 0x000000001e120750 in ?? ()
#4 0x00000000009177a0 in _TMP465 ()
#5 0x00007fffebff9660 in ?? ()
#6 0x00007ffff7ed0900 in ?? ()
#7 0x0000000000000007 in ?? ()
#8 0x000000000084f2ed in core.sync.mutex.Mutex.lock() ()
#9 0x00000000006a4a80 in _D5brala5utils6thread5Event30__T4waitTS4core4time8DurationZ4waitMFS4core4time8DurationZb (this=0x7ffff7f62f40, _param_0=...)
at brala/utils/thread.d:102
#10 0x00000000006a4949 in _D5brala5utils6thread11__T6TTimerZ6TTimer3runMFZv (this=0x7fffe00008f0) at brala/utils/thread.d:47
#11 0x000000000088890e in core.thread.Thread.run() ()
#12 0x0000000000000001 in ?? ()
#13 0x00007fffebff97e0 in ?? ()
#14 0x00000000008883ba in thread_entryPoint ()
#15 0x0000000000000000 in ?? ()
Thread 3 (Thread 0x7ffff1b40700 (LWP 16189)):
#0 0x00007ffff73a2fce in sem_wait () from /lib/x86_64-linux-gnu/libpthread.so.0
#1 0x00007ffff4ef1bdc in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
#2 0x00007ffff48ba9d8 in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
#3 0x00007ffff48ba88d in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
#4 0x00007ffff739ce9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#5 0x00007ffff6bc84bd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#6 0x0000000000000000 in ?? ()
Thread 2 (Thread 0x7ffff2341700 (LWP 16188)):
#0 0x00007ffff73a2fce in sem_wait () from /lib/x86_64-linux-gnu/libpthread.so.0
#1 0x00007ffff4ef1bdc in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
#2 0x00007ffff48ba9d8 in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
#3 0x00007ffff48ba88d in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
#4 0x00007ffff739ce9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#5 0x00007ffff6bc84bd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#6 0x0000000000000000 in ?? ()
Thread 1 (Thread 0x7ffff7fd2e00 (LWP 16185)):
#0 0x00007ffff6bc0d25 in ioctl () from /lib/x86_64-linux-gnu/libc.so.6
#1 0x00007ffff507f9b4 in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
#2 0x00007ffff507d558 in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
#3 0x00007ffff50d1a92 in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
#4 0x00007ffff50cc31e in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
#5 0x00007ffff473429b in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
#6 0x00007ffff472db0a in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
#7 0x00007ffff4720dfe in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
#8 0x00007ffff4721506 in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
#9 0x00007ffff4721911 in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
---Type <return> to continue, or q <return> to quit---
#10 0x00007ffff46a8802 in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
#11 0x00007ffff46aec24 in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
#12 0x00007ffff46b8d7e in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
#13 0x00007ffff4729425 in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
#14 0x00007ffff46dc477 in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
#15 0x00007ffff46dd315 in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
#16 0x00007ffff46dd5b6 in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
#17 0x00007ffff40d5939 in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
#18 0x00007ffff40d7163 in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
#19 0x00007ffff40d73c7 in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
#20 0x00007ffff4033386 in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
#21 0x00007ffff382a182 in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
#22 0x00000000006e44be in _D5brala4util5clearFS4gl3n6linalg16__T6VectorTfVi3Z6VectorZv (color=...) at brala/util.d:12
#23 0x00000000007452b1 in _D5brala4game9BraLaGame7displayMFZv (this=0x7ffff7ed0d80) at src/d/gl3n/gl3n/linalg.d:49
#24 0x0000000000744eb3 in _D5brala4game9BraLaGame4pollMFS4core4time12TickDurationZb (this=0x7ffff7ed0d80, delta_t=...) at brala/game.d:108
#25 0x00000000005f4791 in _D5brala6engine11BraLaEngine8mainloopMFDFS4core4time12TickDurationZbZv (this=0x176e8411,
callback=0x0000000000744dac00007ffff7ed0d80) at brala/engine.d:95
#26 0x0000000000744ca8 in _D5brala4game9BraLaGame5startMFZv (this=0x7fffffffe1b8) at brala/game.d:79
#27 0x0000000000744da3 in _D5brala4game9BraLaGame5startMFAyatZv (this=0x7fffffffe1b8, port=25565, host=0x00007fffffffe9c90000000000000009)
at brala/game.d:89
#28 0x00000000006cc9b8 in _Dmain () at brala/main.d:213
#29 0x0000000000851a84 in rt.dmain2.main() ()
#30 0x00007fffffffe5c0 in ?? ()
#31 0x00007fffffffe4a0 in ?? ()
#32 0x00000000008513fe in rt.dmain2.main() ()
#33 0x0000000000000002 in ?? ()
#34 0x000000000000000b in ?? ()
#35 0x0000000000bff030 in ?? ()
#36 0x00007fffffffe5c0 in ?? ()
#37 0x0000000000000000 in ?? ()
(gdb) bt full
#0 0x00007ffff73a0d84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
No symbol table info available.
#1 0x000000000084eca1 in core.sync.condition.Condition.wait() ()
No symbol table info available.
#2 0x00000000006cc003 in _D5brala4main12_staticCtor1FZv () at brala/main.d:38
_TMP0 = 0x86bf7e
#3 0x00000000006e43dd in _D5brala4main9__modctorFZv ()
No locals.
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment