Client crashes frequently on ubuntu

Post Reply
bcmpinc
Member
Posts: 30
Joined: Fri Jun 17, 2011 09:10

Client crashes frequently on ubuntu

by bcmpinc » Post

I'm running the client under ubuntu 11.04 and it crashes quite frequently. The crashes happen totally at random. I believe it has something to do with reading/writing past array boundaries. I'm using the debian package of the client, but it is not specific for that version, as it also happens with a local build of a recent checkout of the repository and with minetest-delta (which uses a rather old code base).

I've executed minetest in both gdb and valgrind. The back-trace of gdb says that the segmentation fault occurs below `map.cpp:5878:driver->drawMeshBuffer(buf);`. Valgrind tells there are frequent uses of uninitialized memory. These might be in irrlicht or in other libraries, they might also be in minetest itself. Valgrind finds about 10 million errors in about 5 minutes.

This is my OpenGL driver info:

Code: Select all

Using renderer: OpenGL 2.1
Gallium 0.4 on ATI RV515: X.Org R300 Project
OpenGL driver version is 1.2 or better.
GLSL version: 1.2
I was wondering if other people have the same issue.

Tafelpoot
Member
Posts: 11
Joined: Thu Aug 11, 2011 07:20

by Tafelpoot » Post

I got random crashes as well (every 0 sec - 20 min) on Ubuntu 11.04, a Gnome desktop, and the error is segmentation fault.

I have the same graphic card and the lastest mesa drivers

Code: Select all

OpenGL vendor string: X.Org R300 Project
OpenGL renderer string: Gallium 0.4 on ATI RV515
OpenGL version string: 2.1 Mesa 7.10.2
OpenGL shading language version string: 1.20
I compiled the latest builds in the repository.

debug.txt is empty because of the crash. Crashes happen often when mining in open air, but I think it's related with the corrupted data issue on the windows versions.
Any fixes out yet?
Last edited by Tafelpoot on Thu Aug 11, 2011 08:03, edited 1 time in total.

No-Half-Measures
Member
Posts: 149
Joined: Tue Jul 26, 2011 00:42
Contact:

by No-Half-Measures » Post

Please post at least the last 20 lines from your Debug file.
Tafelpoot wrote:debug.txt is empty because of the crash. Crashes happen often when mining in open air, but I think it's related with the corrupted data issue on the windows versions.
Any fixes out yet?
Crashes do not wipe the Debug.txt as the game only Writes to file does not delete lines.
Last edited by No-Half-Measures on Thu Aug 11, 2011 08:50, edited 1 time in total.

Karlas
Member
Posts: 150
Joined: Fri Jul 08, 2011 20:08

by Karlas » Post

Install Minetest From PPA and then download minetest.tar.gz and compile it.See if there is any difference.Also Tell us more about your computer.Do you have nvidia driver install on your system?

Tafelpoot
Member
Posts: 11
Joined: Thu Aug 11, 2011 07:20

by Tafelpoot » Post

The graphic card is an ATI X1300, this is called ATI RV515 in the driver. So no nvidia.

This is the console log:

Code: Select all

11:49:59: Pointing at (-558,12,15)
11:49:59: Pointing at (-557,11,15)
11:49:59: Pointing at (-557,11,16)
11:49:59: Pointing at (-558,12,15)
ClientEnvironment::removeActiveObject(): id=471
11:50:00: Pointing at (-562,13,14)
11:50:01: Pointing at (-566,15,13)
11:50:01: Pointing at (-566,14,14)
11:50:03: Pointing at (-570,14,15)
Client packetcounter (20s):
cmd 16 count 0
cmd 32 count 2
cmd 33 count 27
cmd 36 count 0
cmd 39 count 25
cmd 40 count 88
cmd 41 count 1
cmd 48 count 0
cmd 49 count 1
cmd 50 count 0
cmd 51 count 1
cmd 52 count 0
11:50:05: Client: avg_rtt=0.0735969
11:50:09: Pointing at (-582,15,11)
11:50:09: Pointing at (-581,15,11)
11:50:12: Pointing at (-571,17,16)
11:50:12: Pointing at (-571,16,16)
11:50:14: Started digging
11:50:14: Digging completed
11:50:14: Digging completed
11:50:14: Digging completed
11:50:15: Digging completed
11:50:15: Pointing at (-571,17,15)
11:50:15: Started digging
11:50:15: Client: avg_rtt=0.0658478
11:50:15: Digging completed
11:50:15: Digging completed
Client: time_of_day=1980, dr=350
11:50:16: Pointing at (-572,20,13)
11:50:16: Started digging
11:50:16: Digging completed
11:50:17: Digging completed
11:50:17: Pointing at (-571,19,13)
11:50:17: Started digging
11:50:17: Pointing at (-571,18,14)
11:50:17: Started digging
11:50:17: Digging completed
11:50:17: Digging completed
11:50:18: Pointing at (-571,19,15)
11:50:18: Started digging
11:50:18: Digging completed
11:50:18: Pointing at (-570,19,15)
11:50:18: Started digging
11:50:18: Digging completed
11:50:18: Digging completed
11:50:19: Digging completed
11:50:19: Pointing at (-570,18,15)
11:50:19: Started digging
11:50:19: Digging completed
11:50:19: Digging completed
11:50:19: Pointing at (-569,18,17)
11:50:19: Started digging
11:50:19: Digging completed
11:50:20: Digging completed
11:50:20: Digging completed
11:50:20: Digging completed
11:50:21: Digging completed
11:50:21: Pointing at (-570,17,19)
11:50:21: Started digging
11:50:21: Pointing at (-570,18,18)
11:50:21: Started digging
11:50:21: Digging completed
11:50:22: Digging completed
11:50:22: Digging completed
11:50:23: Digging completed
11:50:23: Pointing at (-575,15,22)
11:50:23: Started digging
11:50:23: Digging completed
11:50:24: Digging completed
11:50:24: Digging completed
11:50:24: Pointing at (-576,16,23)
11:50:24: Started digging
11:50:24: Pointing at (-576,16,24)
11:50:24: Started digging
11:50:24: Digging completed
11:50:24: Digging completed
Client packetcounter (20s):
cmd 16 count 0
cmd 32 count 0
cmd 33 count 0
cmd 36 count 0
cmd 39 count 29
cmd 40 count 87
cmd 41 count 1
cmd 48 count 0
cmd 49 count 0
cmd 50 count 0
cmd 51 count 0
cmd 52 count 0
Segmentation fault
debug.txt

Code: Select all

11:49:25: Client: avg_rtt=0.0632004
11:49:25: Digging completed
11:49:25: Started digging
11:49:25: Digging completed
11:49:25: Digging completed
11:49:26: Started digging
11:49:26: Digging completed
11:49:27: Digging completed
11:49:27: Digging completed
11:49:28: Started digging
11:49:28: Digging completed
11:49:28: Digging completed
11:49:29: Digging completed
Client: time_of_day=912, dr=350
6 con 2: RE-SENDING timed-out RELIABLE to 217.24.101.225:30000(t/o=0.333): from_peer_id=2, channel=0, seqnum=910
6 con 2: RE-SENDING timed-out RELIABLE to 217.24.101.225:30000(t/o=0.383162): from_peer_id=2, channel=0, seqnum=911
6 con 2: RE-SENDING timed-out RELIABLE to 217.24.101.225:30000(t/o=0.498111): from_peer_id=2, channel=0, seqnum=910
6 con 2: WARNING: ACKed packet not in outgoing queue
6 con 2: WARNING: ACKed packet not in outgoing queue
6 con 2: WARNING: ACKed packet not in outgoing queue
11:49:35: Client: avg_rtt=0.231296
11:49:40: Started digging
11:49:40: Digging completed
11:49:41: Digging completed
Client packetcounter (20s):
cmd 16 count 0
cmd 32 count 15
cmd 33 count 32
cmd 36 count 0
cmd 39 count 34
cmd 40 count 84
cmd 41 count 1
cmd 48 count 0
cmd 49 count 0
cmd 50 count 0
cmd 51 count 0
cmd 52 count 0
11:49:45: Client: avg_rtt=0.0793271
6 con 2: RE-SENDING timed-out RELIABLE to 217.24.101.225:30000(t/o=0.333): from_peer_id=2, channel=0, seqnum=946
6 con 2: WARNING: ACKed packet not in outgoing queue
Client: time_of_day=1445, dr=350
11:49:55: Client: avg_rtt=0.0753353
ClientEnvironment::removeActiveObject(): id=471
Client packetcounter (20s):
cmd 16 count 0
cmd 32 count 2
cmd 33 count 27
cmd 36 count 0
cmd 39 count 25
cmd 40 count 88
cmd 41 count 1
cmd 48 count 0
cmd 49 count 1
cmd 50 count 0
cmd 51 count 1
cmd 52 count 0
11:50:05: Client: avg_rtt=0.0735969
11:50:14: Started digging
11:50:14: Digging completed
11:50:14: Digging completed
11:50:14: Digging completed
11:50:15: Digging completed
11:50:15: Started digging
11:50:15: Client: avg_rtt=0.0658478
11:50:15: Digging completed
11:50:15: Digging completed
Client: time_of_day=1980, dr=350
11:50:16: Started digging
11:50:16: Digging completed
11:50:17: Digging completed
11:50:17: Started digging
11:50:17: Started digging
11:50:17: Digging completed
11:50:17: Digging completed
11:50:18: Started digging
11:50:18: Digging completed
11:50:18: Started digging
11:50:18: Digging completed
11:50:18: Digging completed
11:50:19: Digging completed
11:50:19: Started digging
11:50:19: Digging completed
11:50:19: Digging completed
11:50:19: Started digging
11:50:19: Digging completed
11:50:20: Digging completed
11:50:20: Digging completed
11:50:20: Digging completed
11:50:21: Digging completed
11:50:21: Started digging
11:50:21: Started digging
11:50:21: Digging completed
11:50:22: Digging completed
11:50:22: Digging completed
11:50:23: Digging completed
11:50:23: Started digging
11:50:23: Digging completed
11:50:24: Digging completed
11:50:24: Digging completed
11:50:24: Started digging
11:50:24: Started digging
11:50:24: Digging completed
11:50:24: Digging completed
Client packetcounter (20s):
cmd 16 count 0
cmd 32 count 0
cmd 33 count 0
cmd 36 count 0
cmd 39 count 29
cmd 40 count 87
cmd 41 count 1
cmd 48 count 0
cmd 49 count 0
cmd 50 count 0
cmd 51 count 0
cmd 52 count 0
But it often stops at just the digging as well.
Last edited by Tafelpoot on Thu Aug 11, 2011 10:02, edited 1 time in total.

No-Half-Measures
Member
Posts: 149
Joined: Tue Jul 26, 2011 00:42
Contact:

by No-Half-Measures » Post

Segmentation fault

Seems like a World related issue not seen it before though, Have you tried deleting your world folder and then starting again seeing if the problem still occurs?

Edit:

or it could be the below since its a Segmentation fault.

celeron55 wrote:Access violation is the Windows counterpart of segmentation fault.

But that is not the original problem, it is just caused by bad error handling - the actual problem is "Unsupported texture format", but I can't really say much about that.

It's probably some problem either caused by OpenGL on your computer not accepting some dynamic textures made by the game or Irrlicht being somehow incompatible with your OpenGL.

I suggest trying to use direct3d9 as the graphics backend, by appending "video_driver = direct3d9" to the configuration file minetest.conf.

See http://celeron.55.lt/~celeron55/minetes ... ation_file

Though im not sure im just going by Cel mentioning segmentation fault in the quote.
Last edited by No-Half-Measures on Thu Aug 11, 2011 10:18, edited 1 time in total.

User avatar
celeron55
Administrator
Posts: 533
Joined: Tue Apr 19, 2011 10:10
GitHub: celeron55
IRC: celeron55

by celeron55 » Post

bcmpinc wrote:I've executed minetest in both gdb and valgrind. The back-trace of gdb says that the segmentation fault occurs below `map.cpp:5878:driver->drawMeshBuffer(buf);`. Valgrind tells there are frequent uses of uninitialized memory. These might be in irrlicht or in other libraries, they might also be in minetest itself. Valgrind finds about 10 million errors in about 5 minutes.
Can you provide the full valgrind log and the gdb log with backtrace (for every thread) of the debug build?

Tafelpoot
Member
Posts: 11
Joined: Thu Aug 11, 2011 07:20

by Tafelpoot » Post

I'm not that experienced at this, so you might have to explain a bit how to do all this.

I ran

Code: Select all

$ gdb ./minetest
(gdb) run
which gave me this :

Code: Select all

(gdb) run
Starting program: /home/stefaan/minetest/bin/minetest 
[Thread debugging using libthread_db enabled]
INFO: Settings: Setting not found: "help"
signal_handler_init()
Using relative paths (RUN_IN_PLACE)
path_data = /home/stefaan/minetest/bin/../data
path_userdata = /home/stefaan/minetest/bin/../
Debug streams initialized, disable_stderr=0
14:07:12: minetest with SER_FMT_VER_HIGHEST=20, VER=0.2.20110731_3 RUN_IN_PLACE=1 USE_GETTEXT=1 INSTALL_PREFIX=/usr/local BUILD_TYPE=Release
Parsing configuration file: "/home/stefaan/minetest/bin/..//minetest.conf"
INFO: Initial run of init_mapnode with g_texturesource=NULL. If this segfaults, there is a bug with something not checking for the NULL value.
INFO: Settings: Setting not found: "enable-unittests"
INFO: Settings: Setting not found: "server"
Irrlicht Engine version 1.7.2
Linux 2.6.38-10-generic #46-Ubuntu SMP Tue Jun 28 15:05:41 UTC 2011 i686
Creating X window...
Visual chosen: : 279
Using renderer: OpenGL 2.1
Gallium 0.4 on ATI RV515: X.Org R300 Project
OpenGL driver version is 1.2 or better.
GLSL version: 1.2
TextureSource::buildMainAtlas()
INFO: TextureSource::buildMainAtlas(): Adding "stone.png" to texture atlas
INFO: TextureSource::buildMainAtlas(): Adding "mud.png" to texture atlas
INFO: TextureSource::buildMainAtlas(): Adding "sand.png" to texture atlas
INFO: TextureSource::buildMainAtlas(): Adding "grass.png" to texture atlas
INFO: TextureSource::buildMainAtlas(): Adding "grass_footsteps.png" to texture atlas
INFO: TextureSource::buildMainAtlas(): Adding "tree.png" to texture atlas
INFO: TextureSource::buildMainAtlas(): Adding "tree_top.png" to texture atlas
INFO: TextureSource::buildMainAtlas(): Adding "water.png" to texture atlas
INFO: TextureSource::buildMainAtlas(): Adding "leaves.png" to texture atlas
INFO: TextureSource::buildMainAtlas(): Adding "glass.png" to texture atlas
INFO: TextureSource::buildMainAtlas(): Adding "mud.png^grass_side.png" to texture atlas
INFO: TextureSource::buildMainAtlas(): Adding "cobble.png" to texture atlas
INFO: TextureSource::buildMainAtlas(): Adding "mossycobble.png" to texture atlas
INFO: TextureSource::buildMainAtlas(): Adding "gravel.png" to texture atlas
WARNING: generate_image(): Could not load image "cactus.png" from path "" while building texture
WARNING: generate_image(): Creating a dummy image for "cactus.png"
INFO: TextureSource::buildMainAtlas(): Adding "cactus.png" to texture atlas
INFO: TextureSource::buildMainAtlas(): Adding "jungletree.png" to texture atlas
INFO: TextureSource::buildMainAtlas(): Adding "stone.png^mineral_coal.png" to texture atlas
INFO: TextureSource::buildMainAtlas(): Adding "stone.png^mineral_iron.png" to texture atlas
INFO: Settings: Setting not found: "speedtests"
INFO: Settings: Setting not found: "random-input"
text_height=18
INFO: Full run of init_mapnode with g_texturesource!=NULL
INFO: getTextureIdDirect(): "unknown_block.png" NOT found in cache. Creating it.
INFO: getTextureIdDirect(): "unknown_block.png^[forcesingle" NOT found in cache. Creating it.
INFO: getTextureIdDirect(): "unknown_block.png" found in cache
INFO: generate_image(): generating special modification "[forcesingle"
INFO: getTextureIdDirect(): "stone.png^[forcesingle" NOT found in cache. Creating it.
INFO: getTextureIdDirect(): "stone.png" found in cache
INFO: generate_image(): generating special modification "[forcesingle"
INFO: getTextureIdDirect(): "[inventorycube{stone.png{stone.png{stone.png" NOT found in cache. Creating it.
INFO: generate_image(): generating special modification "[inventorycube{stone.png{stone.png{stone.png"
Unsupported texture format
INFO: getTextureIdDirect(): "mud.png^grass_side.png^[forcesingle" NOT found in cache. Creating it.
INFO: getTextureIdDirect(): "mud.png^grass_side.png" found in cache
INFO: generate_image(): generating special modification "[forcesingle"
INFO: getTextureIdDirect(): "mud.png^[forcesingle" NOT found in cache. Creating it.
INFO: getTextureIdDirect(): "mud.png" found in cache
INFO: generate_image(): generating special modification "[forcesingle"
INFO: getTextureIdDirect(): "[inventorycube{mud.png{mud.png{mud.png" NOT found in cache. Creating it.
INFO: generate_image(): generating special modification "[inventorycube{mud.png{mud.png{mud.png"
INFO: getTextureIdDirect(): "sand.png^[forcesingle" NOT found in cache. Creating it.
INFO: getTextureIdDirect(): "sand.png" found in cache
INFO: generate_image(): generating special modification "[forcesingle"
INFO: getTextureIdDirect(): "[inventorycube{sand.png{sand.png{sand.png" NOT found in cache. Creating it.
INFO: generate_image(): generating special modification "[inventorycube{sand.png{sand.png{sand.png"
INFO: getTextureIdDirect(): "gravel.png^[forcesingle" NOT found in cache. Creating it.
INFO: getTextureIdDirect(): "gravel.png" found in cache
INFO: generate_image(): generating special modification "[forcesingle"
INFO: getTextureIdDirect(): "[inventorycube{gravel.png{gravel.png{gravel.png" NOT found in cache. Creating it.
INFO: generate_image(): generating special modification "[inventorycube{gravel.png{gravel.png{gravel.png"
INFO: getTextureIdDirect(): "sandstone.png" NOT found in cache. Creating it.
INFO: getTextureIdDirect(): "sandstone.png^[forcesingle" NOT found in cache. Creating it.
INFO: getTextureIdDirect(): "sandstone.png" found in cache
INFO: generate_image(): generating special modification "[forcesingle"
INFO: getTextureIdDirect(): "[inventorycube{sandstone.png{sandstone.png{sandstone.png" NOT found in cache. Creating it.
INFO: generate_image(): generating special modification "[inventorycube{sandstone.png{sandstone.png{sandstone.png"
INFO: getTextureIdDirect(): "clay.png" NOT found in cache. Creating it.
INFO: getTextureIdDirect(): "clay.png^[forcesingle" NOT found in cache. Creating it.
INFO: getTextureIdDirect(): "clay.png" found in cache
INFO: generate_image(): generating special modification "[forcesingle"
INFO: getTextureIdDirect(): "[inventorycube{clay.png{clay.png{clay.png" NOT found in cache. Creating it.
INFO: generate_image(): generating special modification "[inventorycube{clay.png{clay.png{clay.png"
INFO: getTextureIdDirect(): "brick.png" NOT found in cache. Creating it.
INFO: getTextureIdDirect(): "brick.png^[forcesingle" NOT found in cache. Creating it.
INFO: getTextureIdDirect(): "brick.png" found in cache
INFO: generate_image(): generating special modification "[forcesingle"
INFO: getTextureIdDirect(): "[inventorycube{brick.png{brick.png{brick.png" NOT found in cache. Creating it.
INFO: generate_image(): generating special modification "[inventorycube{brick.png{brick.png{brick.png"
INFO: getTextureIdDirect(): "tree.png^[forcesingle" NOT found in cache. Creating it.
INFO: getTextureIdDirect(): "tree.png" found in cache
INFO: generate_image(): generating special modification "[forcesingle"
INFO: getTextureIdDirect(): "jungletree.png^[forcesingle" NOT found in cache. Creating it.
INFO: getTextureIdDirect(): "jungletree.png" found in cache
INFO: generate_image(): generating special modification "[forcesingle"
INFO: getTextureIdDirect(): "jungletree_top.png" NOT found in cache. Creating it.
INFO: getTextureIdDirect(): "junglegrass.png^[forcesingle" NOT found in cache. Creating it.
INFO: getTextureIdDirect(): "junglegrass.png" NOT found in cache. Creating it.
INFO: generate_image(): generating special modification "[forcesingle"
INFO: getTextureIdDirect(): "[inventorycube{leaves.png{leaves.png{leaves.png" NOT found in cache. Creating it.
INFO: generate_image(): generating special modification "[inventorycube{leaves.png{leaves.png{leaves.png"
INFO: getTextureIdDirect(): "cactus_side.png" NOT found in cache. Creating it.
INFO: getTextureIdDirect(): "cactus_side.png^[forcesingle" NOT found in cache. Creating it.
INFO: getTextureIdDirect(): "cactus_side.png" found in cache
INFO: generate_image(): generating special modification "[forcesingle"
INFO: getTextureIdDirect(): "cactus_top.png" NOT found in cache. Creating it.
INFO: getTextureIdDirect(): "[inventorycube{cactus_top.png{cactus_side.png{cactus_side.png" NOT found in cache. Creating it.
INFO: generate_image(): generating special modification "[inventorycube{cactus_top.png{cactus_side.png{cactus_side.png"
INFO: getTextureIdDirect(): "papyrus.png^[forcesingle" NOT found in cache. Creating it.
INFO: getTextureIdDirect(): "papyrus.png" NOT found in cache. Creating it.
INFO: generate_image(): generating special modification "[forcesingle"
INFO: getTextureIdDirect(): "bookshelf.png" NOT found in cache. Creating it.
INFO: getTextureIdDirect(): "bookshelf.png^[forcesingle" NOT found in cache. Creating it.
INFO: getTextureIdDirect(): "bookshelf.png" found in cache
INFO: generate_image(): generating special modification "[forcesingle"
INFO: getTextureIdDirect(): "wood.png" NOT found in cache. Creating it.
INFO: getTextureIdDirect(): "[inventorycube{bookshelf.png{bookshelf.png{bookshelf.png" NOT found in cache. Creating it.
INFO: generate_image(): generating special modification "[inventorycube{bookshelf.png{bookshelf.png{bookshelf.png"
INFO: getTextureIdDirect(): "[inventorycube{glass.png{glass.png{glass.png" NOT found in cache. Creating it.
INFO: generate_image(): generating special modification "[inventorycube{glass.png{glass.png{glass.png"
INFO: getTextureIdDirect(): "item_fence.png^[forcesingle" NOT found in cache. Creating it.
INFO: getTextureIdDirect(): "item_fence.png" NOT found in cache. Creating it.
INFO: generate_image(): generating special modification "[forcesingle"
INFO: getTextureIdDirect(): "rail.png^[forcesingle" NOT found in cache. Creating it.
INFO: getTextureIdDirect(): "rail.png" NOT found in cache. Creating it.
INFO: generate_image(): generating special modification "[forcesingle"
INFO: getTextureIdDirect(): "ladder.png^[forcesingle" NOT found in cache. Creating it.
INFO: getTextureIdDirect(): "ladder.png" NOT found in cache. Creating it.
INFO: generate_image(): generating special modification "[forcesingle"
INFO: getTextureIdDirect(): "stone.png^mineral_coal.png^[forcesingle" NOT found in cache. Creating it.
INFO: getTextureIdDirect(): "stone.png^mineral_coal.png" found in cache
INFO: generate_image(): generating special modification "[forcesingle"
INFO: getTextureIdDirect(): "wood.png^[forcesingle" NOT found in cache. Creating it.
INFO: getTextureIdDirect(): "wood.png" found in cache
INFO: generate_image(): generating special modification "[forcesingle"
INFO: getTextureIdDirect(): "[inventorycube{wood.png{wood.png{wood.png" NOT found in cache. Creating it.
INFO: generate_image(): generating special modification "[inventorycube{wood.png{wood.png{wood.png"
INFO: getTextureIdDirect(): "mese.png" NOT found in cache. Creating it.
INFO: getTextureIdDirect(): "mese.png^[forcesingle" NOT found in cache. Creating it.
INFO: getTextureIdDirect(): "mese.png" found in cache
INFO: generate_image(): generating special modification "[forcesingle"
INFO: getTextureIdDirect(): "[inventorycube{mese.png{mese.png{mese.png" NOT found in cache. Creating it.
INFO: generate_image(): generating special modification "[inventorycube{mese.png{mese.png{mese.png"
INFO: getTextureIdDirect(): "cloud.png" NOT found in cache. Creating it.
INFO: getTextureIdDirect(): "cloud.png^[forcesingle" NOT found in cache. Creating it.
INFO: getTextureIdDirect(): "cloud.png" found in cache
INFO: generate_image(): generating special modification "[forcesingle"
INFO: getTextureIdDirect(): "[inventorycube{cloud.png{cloud.png{cloud.png" NOT found in cache. Creating it.
INFO: generate_image(): generating special modification "[inventorycube{cloud.png{cloud.png{cloud.png"
INFO: getTextureIdDirect(): "[inventorycube{water.png{water.png{water.png" NOT found in cache. Creating it.
INFO: generate_image(): generating special modification "[inventorycube{water.png{water.png{water.png"
INFO: getTextureIdDirect(): "torch_on_floor.png^[forcesingle" NOT found in cache. Creating it.
INFO: getTextureIdDirect(): "torch_on_floor.png" NOT found in cache. Creating it.
INFO: generate_image(): generating special modification "[forcesingle"
INFO: getTextureIdDirect(): "sign_wall.png^[forcesingle" NOT found in cache. Creating it.
INFO: getTextureIdDirect(): "sign_wall.png" NOT found in cache. Creating it.
INFO: generate_image(): generating special modification "[forcesingle"
INFO: getTextureIdDirect(): "chest_side.png" NOT found in cache. Creating it.
INFO: getTextureIdDirect(): "chest_side.png^[forcesingle" NOT found in cache. Creating it.
INFO: getTextureIdDirect(): "chest_side.png" found in cache
INFO: generate_image(): generating special modification "[forcesingle"
INFO: getTextureIdDirect(): "chest_top.png" NOT found in cache. Creating it.
INFO: getTextureIdDirect(): "chest_front.png" NOT found in cache. Creating it.
INFO: getTextureIdDirect(): "chest_top.png^[forcesingle" NOT found in cache. Creating it.
INFO: getTextureIdDirect(): "chest_top.png" found in cache
INFO: generate_image(): generating special modification "[forcesingle"
INFO: getTextureIdDirect(): "furnace_side.png" NOT found in cache. Creating it.
INFO: getTextureIdDirect(): "furnace_side.png^[forcesingle" NOT found in cache. Creating it.
INFO: getTextureIdDirect(): "furnace_side.png" found in cache
INFO: generate_image(): generating special modification "[forcesingle"
INFO: getTextureIdDirect(): "furnace_front.png" NOT found in cache. Creating it.
INFO: getTextureIdDirect(): "furnace_front.png^[forcesingle" NOT found in cache. Creating it.
INFO: getTextureIdDirect(): "furnace_front.png" found in cache
INFO: generate_image(): generating special modification "[forcesingle"
INFO: getTextureIdDirect(): "cobble.png^[forcesingle" NOT found in cache. Creating it.
INFO: getTextureIdDirect(): "cobble.png" found in cache
INFO: generate_image(): generating special modification "[forcesingle"
INFO: getTextureIdDirect(): "[inventorycube{cobble.png{cobble.png{cobble.png" NOT found in cache. Creating it.
INFO: generate_image(): generating special modification "[inventorycube{cobble.png{cobble.png{cobble.png"
INFO: getTextureIdDirect(): "mossycobble.png^[forcesingle" NOT found in cache. Creating it.
INFO: getTextureIdDirect(): "mossycobble.png" found in cache
INFO: generate_image(): generating special modification "[forcesingle"
INFO: getTextureIdDirect(): "[inventorycube{mossycobble.png{mossycobble.png{mossycobble.png" NOT found in cache. Creating it.
INFO: generate_image(): generating special modification "[inventorycube{mossycobble.png{mossycobble.png{mossycobble.png"
INFO: getTextureIdDirect(): "steel_block.png" NOT found in cache. Creating it.
INFO: getTextureIdDirect(): "steel_block.png^[forcesingle" NOT found in cache. Creating it.
INFO: getTextureIdDirect(): "steel_block.png" found in cache
INFO: generate_image(): generating special modification "[forcesingle"
INFO: getTextureIdDirect(): "[inventorycube{steel_block.png{steel_block.png{steel_block.png" NOT found in cache. Creating it.
INFO: generate_image(): generating special modification "[inventorycube{steel_block.png{steel_block.png{steel_block.png"
INFO: getTextureIdDirect(): "nc_side.png" NOT found in cache. Creating it.
INFO: getTextureIdDirect(): "nc_side.png^[forcesingle" NOT found in cache. Creating it.
INFO: getTextureIdDirect(): "nc_side.png" found in cache
INFO: generate_image(): generating special modification "[forcesingle"
INFO: getTextureIdDirect(): "nc_front.png" NOT found in cache. Creating it.
INFO: getTextureIdDirect(): "nc_back.png" NOT found in cache. Creating it.
INFO: getTextureIdDirect(): "nc_front.png^[forcesingle" NOT found in cache. Creating it.
INFO: getTextureIdDirect(): "nc_front.png" found in cache
INFO: generate_image(): generating special modification "[forcesingle"
INFO: getTextureIdDirect(): "nc_rb.png" NOT found in cache. Creating it.
INFO: getTextureIdDirect(): "nc_rb.png^[forcesingle" NOT found in cache. Creating it.
INFO: getTextureIdDirect(): "nc_rb.png" found in cache
INFO: generate_image(): generating special modification "[forcesingle"
Created main menu
Loaded texture: /home/stefaan/minetest/data/mud.png
Loaded texture: /home/stefaan/minetest/data/menulogo.png
locale has been set to:en_US.UTF-8
locale has been set to:C
locale has been set to:en_US.UTF-8
locale has been set to:C
locale has been set to:en_US.UTF-8
locale has been set to:C
Dropping main menu
Updating configuration file: "/home/stefaan/minetest/bin/..//minetest.conf"
INFO: Full run of init_mapnode with g_texturesource!=NULL
14:07:21: Creating client
[New Thread 0xb72ecb70 (LWP 5408)]
14:07:21: Connecting to server at 217.24.101.225:30000
Client::peerAdded(): peer->id=1
Client packetcounter (20s):
14:07:21: Client: TOCLIENT_INIT received with deployed=20
Client: received map seed: 7621326030605520884
Client got TOCLIENT_MOVE_PLAYER pos=(-5743.5,123,221.37) pitch=-60.697 yaw=4.839
Loaded texture: /home/stefaan/minetest/data/skybox1.png
Loaded texture: /home/stefaan/minetest/data/skybox3.png
Loaded texture: /home/stefaan/minetest/data/skybox2.png
Clouds::Clouds(irr::scene::ISceneNode*, irr::scene::ISceneManager*, irr::s32, float, irr::u32)
Client: time_of_day=7243, dr=1000
locale has been set to:en_US.UTF-8
locale has been set to:C
INFO: getTextureIdDirect(): "tool_steelshovel.png^[progressbar0.6" NOT found in cache. Creating it.
INFO: getTextureIdDirect(): "tool_steelshovel.png" NOT found in cache. Creating it.
INFO: generate_image(): generating special modification "[progressbar0.6"
INFO: getTextureIdDirect(): "tool_steelaxe.png^[progressbar0.833333" NOT found in cache. Creating it.
INFO: getTextureIdDirect(): "tool_steelaxe.png" NOT found in cache. Creating it.
INFO: generate_image(): generating special modification "[progressbar0.833333"
INFO: getTextureIdDirect(): "tool_steelpick.png^[progressbar0.766667" NOT found in cache. Creating it.
INFO: getTextureIdDirect(): "tool_steelpick.png" NOT found in cache. Creating it.
INFO: generate_image(): generating special modification "[progressbar0.766667"
Loaded texture: /home/stefaan/minetest/data/heart.png
14:07:22: Pointing at (-574,16,23)
INFO: getTextureId(): Queued: name="torch.png"
INFO: Waiting for texture from main thread, name="torch.png"
INFO: TextureSource::processQueue(): got texture request with name="torch.png"
INFO: getTextureIdDirect(): "torch.png" NOT found in cache. Creating it.
14:07:27: Pointing at (-574,15,24)
14:07:27: Pointing at (-574,10,25)
14:07:27: Pointing at (-574,11,23)
14:07:27: Pointing at (-575,11,23)
14:07:27: Pointing at (-576,10,24)
14:07:27: Pointing at (-576,10,25)
14:07:27: Pointing at (-575,12,26)
INGO: ClientEnvironment::addActiveObject(): added (id=2)
Loaded texture: /home/stefaan/minetest/data/rat.png
INGO: ClientEnvironment::addActiveObject(): added (id=3)
INGO: ClientEnvironment::addActiveObject(): added (id=5)
INGO: ClientEnvironment::addActiveObject(): added (id=4)
Client: time_of_day=7457, dr=1000
14:07:31: Client: avg_rtt=0.199015
14:07:32: Pointing at (-575,10,40)
14:07:32: Started digging
INFO: getTextureIdDirect(): "unknown_block.png^[crack0" NOT found in cache. Creating it.
INFO: getTextureIdDirect(): "unknown_block.png" found in cache
INFO: generate_image(): generating special modification "[crack0"
INFO: getTextureIdDirect(): "unknown_block.png^[crack2" NOT found in cache. Creating it.
INFO: getTextureIdDirect(): "unknown_block.png" found in cache
INFO: generate_image(): generating special modification "[crack2"
14:07:32: Digging completed
INFO: getTextureIdDirect(): "unknown_block.png^[crack3" NOT found in cache. Creating it.
INFO: getTextureIdDirect(): "unknown_block.png" found in cache
INFO: generate_image(): generating special modification "[crack3"
14:07:33: Digging completed
INFO: getTextureIdDirect(): "tree.png^[crack0" NOT found in cache. Creating it.
INFO: getTextureIdDirect(): "tree.png" found in cache
INFO: generate_image(): generating special modification "[crack0"
INFO: getTextureIdDirect(): "tree_top.png^[crack0" NOT found in cache. Creating it.
INFO: getTextureIdDirect(): "tree_top.png" found in cache
INFO: generate_image(): generating special modification "[crack0"
INFO: getTextureIdDirect(): "tree.png^[crack1" NOT found in cache. Creating it.
INFO: getTextureIdDirect(): "tree.png" found in cache
INFO: generate_image(): generating special modification "[crack1"
INFO: getTextureIdDirect(): "tree_top.png^[crack1" NOT found in cache. Creating it.
INFO: getTextureIdDirect(): "tree_top.png" found in cache
INFO: generate_image(): generating special modification "[crack1"
14:07:33: Pointing at (-574,10,41)
14:07:33: Started digging
14:07:33: Digging completed
14:07:34: Digging completed
INFO: getTextureIdDirect(): "unknown_block.png^[crack4" NOT found in cache. Creating it.
INFO: getTextureIdDirect(): "unknown_block.png" found in cache
INFO: generate_image(): generating special modification "[crack4"
14:07:34: Digging completed
14:07:34: Pointing at (-575,11,40)
14:07:34: Started digging
INFO: getTextureIdDirect(): "unknown_block.png^[crack1" NOT found in cache. Creating it.
INFO: getTextureIdDirect(): "unknown_block.png" found in cache
INFO: generate_image(): generating special modification "[crack1"
14:07:34: Digging completed
14:07:35: Digging completed
14:07:36: Digging completed
14:07:36: Digging completed
14:07:37: Digging completed
14:07:37: Digging completed
14:07:37: Digging completed
14:07:38: Digging completed
14:07:38: Digging completed
INFO: getTextureIdDirect(): "tool_steelaxe.png^[progressbar0.8" NOT found in cache. Creating it.
INFO: getTextureIdDirect(): "tool_steelaxe.png" found in cache
INFO: generate_image(): generating special modification "[progressbar0.8"
14:07:39: Digging completed
14:07:39: Pointing at (-575,11,38)
14:07:39: Started digging
14:07:39: Pointing at (-574,11,38)
14:07:39: Started digging
14:07:39: Digging completed
14:07:39: Digging completed
14:07:40: Digging completed
14:07:40: Digging completed
14:07:40: Digging completed
Client packetcounter (20s):
cmd 16 count 1
cmd 32 count 208
cmd 36 count 1
cmd 39 count 21
cmd 40 count 77
cmd 41 count 2
cmd 48 count 2
cmd 49 count 2
cmd 51 count 1
cmd 52 count 1
14:07:41: Client: avg_rtt=0.0904812
INFO: getTextureIdDirect(): "tree.png^[crack2" NOT found in cache. Creating it.
INFO: getTextureIdDirect(): "tree.png" found in cache
INFO: generate_image(): generating special modification "[crack2"
INFO: getTextureIdDirect(): "tree_top.png^[crack2" NOT found in cache. Creating it.
INFO: getTextureIdDirect(): "tree_top.png" found in cache
INFO: generate_image(): generating special modification "[crack2"
INFO: getTextureIdDirect(): "tree.png^[crack3" NOT found in cache. Creating it.
INFO: getTextureIdDirect(): "tree.png" found in cache
INFO: generate_image(): generating special modification "[crack3"
INFO: getTextureIdDirect(): "tree_top.png^[crack3" NOT found in cache. Creating it.
INFO: getTextureIdDirect(): "tree_top.png" found in cache
INFO: generate_image(): generating special modification "[crack3"
INFO: getTextureIdDirect(): "tree.png^[crack4" NOT found in cache. Creating it.
INFO: getTextureIdDirect(): "tree.png" found in cache
INFO: generate_image(): generating special modification "[crack4"
INFO: getTextureIdDirect(): "tree_top.png^[crack4" NOT found in cache. Creating it.
INFO: getTextureIdDirect(): "tree_top.png" found in cache
INFO: generate_image(): generating special modification "[crack4"
14:07:43: Digging completed
14:07:44: Digging completed
14:07:44: Digging completed
14:07:45: Digging completed
14:07:45: Digging completed
14:07:46: Digging completed
14:07:46: Digging completed
14:07:47: Digging completed
14:07:47: Digging completed

Program received signal SIGSEGV, Segmentation fault.
0x0057f5c6 in ?? () from /lib/i386-linux-gnu/libc.so.6
(gdb) 

If you need something else, can you say what commands to use?
Tnx!

Edit : I found the backtrace function, here it is

Code: Select all

Program received signal SIGSEGV, Segmentation fault.
0x0057f5c6 in ?? () from /lib/i386-linux-gnu/libc.so.6
(gdb) backtrace
#0  0x0057f5c6 in ?? () from /lib/i386-linux-gnu/libc.so.6
#1  0x088066c8 in ?? ()
#2  0x008d9c32 in ?? () from /usr/lib/dri/r300_dri.so
#3  0x006e946c in ?? () from /usr/lib/dri/r300_dri.so
#4  0x006e6a00 in ?? () from /usr/lib/dri/r300_dri.so
#5  0x006e765c in ?? () from /usr/lib/dri/r300_dri.so
#6  0x007a8d9e in ?? () from /usr/lib/dri/r300_dri.so
#7  0x007a4f50 in ?? () from /usr/lib/dri/r300_dri.so
#8  0x007a50db in ?? () from /usr/lib/dri/r300_dri.so
#9  0x083a4d83 in irr::video::COpenGLDriver::renderArray(void const*, unsigned int, irr::scene::E_PRIMITIVE_TYPE, irr::video::E_INDEX_TYPE) ()
#10 0x083aa671 in irr::video::COpenGLDriver::drawVertexPrimitiveList(void const*, unsigned int, void const*, unsigned int, irr::video::E_VERTEX_TYPE, irr::scene::E_PRIMITIVE_TYPE, irr::video::E_INDEX_TYPE) ()
#11 0x08392bc0 in irr::video::CNullDriver::drawMeshBuffer(irr::scene::IMeshBuffer const*) ()
#12 0x082224ce in ClientMap::renderMap(irr::video::IVideoDriver*, int) ()
#13 0x08226091 in ClientMap::render() ()
#14 0x08344c9c in irr::scene::CSceneManager::drawAll() ()
#15 0x082a8ed7 in the_game(bool&, bool, InputHandler*, irr::IrrlichtDevice*, irr::gui::IGUIFont*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::b---Type <return> to continue, or q <return> to quit---
asic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned short, std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >) ()
#16 0x082b9138 in main ()

Last edited by Tafelpoot on Thu Aug 11, 2011 12:42, edited 1 time in total.

bcmpinc
Member
Posts: 30
Joined: Fri Jun 17, 2011 09:10

by bcmpinc » Post

Good to know that it is not a bug in my system.

I've created a patch that works around the bug. It is an ugly hack, but at least you can keep playing. I've also put it on github so you can cherry-pick it if you like: https://github.com/bcmpinc/minetest-delta

Code: Select all

From 70c0f037add35f7816b9fde6980ffb8ad63d4ef4 Mon Sep 17 00:00:00 2001
From: bcmpinc <bcmpinc@users.sourceforge.net>
Date: Sat, 30 Jul 2011 23:38:45 +0200
Subject: [PATCH 01/11] Added segfault handler + blacklist

---
 src/map.cpp |   37 ++++++++++++++++++++++++++++++++++---
 1 files changed, 34 insertions(+), 3 deletions(-)

diff --git a/src/map.cpp b/src/map.cpp
index 092ce97..eb23d8c 100644
--- a/src/map.cpp
+++ b/src/map.cpp
@@ -3435,6 +3435,17 @@ void ClientMap::OnRegisterSceneNode()
     ISceneNode::OnRegisterSceneNode();
 }
 
+#include <csetjmp>
+#include <csignal>
+#include <set>
+
+static sigjmp_buf damn;
+void sigtrap(int i) { 
+    siglongjmp(damn, 1);
+}
+
+static std::set<scene::IMeshBuffer*> blacklist;
+
 void ClientMap::renderMap(video::IVideoDriver* driver, s32 pass)
 {
     //m_dout<<DTIME<<"Rendering map..."<<std::endl;
@@ -3639,9 +3650,9 @@ void ClientMap::renderMap(video::IVideoDriver* driver, s32 pass)
 
                 u32 c = mesh->getMeshBufferCount();
 
-                for(u32 i=0; i<c; i++)
+                for(u32 j=0; j<c; j++)
                 {
-                    scene::IMeshBuffer *buf = mesh->getMeshBuffer(i);
+                    scene::IMeshBuffer *buf = mesh->getMeshBuffer(j);
                     const video::SMaterial& material = buf->getMaterial();
                     video::IMaterialRenderer* rnd =
                             driver->getMaterialRenderer(material.MaterialType);
@@ -3655,7 +3666,27 @@ void ClientMap::renderMap(video::IVideoDriver* driver, s32 pass)
                             material is set again.
                         */
                         driver->setMaterial(buf->getMaterial());
-                        driver->drawMeshBuffer(buf);
+                        
+                        if (blacklist.count(buf)==0) {
+                            signal(SIGSEGV, sigtrap);
+                            if(sigsetjmp(damn,0)==0) {
+                                //dstream<<"index "<<j<<"  vertices "<<buf->getVertexCount()<<"  indices "<<buf->getIndexCount()<<std::endl;
+                                driver->drawMeshBuffer(buf);
+                            } else {
+                                dstream<<"########## Caught a segfault. ##########"<<std::endl;
+                                // We now need to unblock
+                                sigset_t ss;
+                                sigemptyset(&ss);
+                                sigaddset(&ss, SIGSEGV);
+                                sigprocmask(SIG_UNBLOCK, &ss, NULL);
+                                
+                                blacklist.insert(buf);
+                            }
+                            signal(SIGSEGV, SIG_DFL);
+                        } else {
+                            //dstream<<"#### skipping blacklisted item ####"<<std::endl;
+                        }
+                        
                         vertex_count += buf->getVertexCount();
                     }
                 }
-- 
1.7.4.1


Tafelpoot
Member
Posts: 11
Joined: Thu Aug 11, 2011 07:20

by Tafelpoot » Post

do you mind explaining how to install this ? thank you !

bcmpinc
Member
Posts: 30
Joined: Fri Jun 17, 2011 09:10

by bcmpinc » Post

Do you know how to compile minetest? Or any other c++ program? If not, you need to install a few dependencies first. Open a terminal and enter:

Code: Select all

sudo apt-get install build-essential libirrlicht-dev cmake libbz2-dev libpng12-dev libjpeg8-dev libxxf86vm-dev libgl1-mesa-dev git
You can then clone my minetest-delta fork using:

Code: Select all

git clone git@github.com:bcmpinc/minetest-delta.git
Then you can compile it using

Code: Select all

cd minetest-delta
cmake . -DRUN_IN_PLACE=1
make -j2
And if everything went right, you can then run it with

Code: Select all

cd bin
./minetest-delta

bcmpinc
Member
Posts: 30
Joined: Fri Jun 17, 2011 09:10

by bcmpinc » Post

Here a backtrace with debugging symbols. I know it is not vanilla minetest, though with every other build I've had I encountered this bug. I'm not sure if this is a minetest bug, as it might as well be a bug in irrlicht or the 3d driver (whose first release is about half a year ago).

Code: Select all

#0  __memcpy_ia32 () at ../sysdeps/i386/i686/multiarch/../memcpy.S:75
#1  0x087afaf0 in ?? ()
#2  0x008c2c32 in ?? () from /usr/lib/dri/r300_dri.so
#3  0x006d246c in ?? () from /usr/lib/dri/r300_dri.so
#4  0x006cfa00 in ?? () from /usr/lib/dri/r300_dri.so
#5  0x006d065c in ?? () from /usr/lib/dri/r300_dri.so
#6  0x00791d9e in ?? () from /usr/lib/dri/r300_dri.so
#7  0x0078df50 in ?? () from /usr/lib/dri/r300_dri.so
#8  0x0078e0db in ?? () from /usr/lib/dri/r300_dri.so
#9  0x0835f003 in irr::video::COpenGLDriver::renderArray(void const*, unsigned int, irr::scene::E_PRIMITIVE_TYPE, irr::video::E_INDEX_TYPE) ()
#10 0x083648f1 in irr::video::COpenGLDriver::drawVertexPrimitiveList(void const*, unsigned int, void const*, unsigned int, irr::video::E_VERTEX_TYPE, irr::scene::E_PRIMITIVE_TYPE, irr::video::E_INDEX_TYPE) ()
#11 0x0834ce40 in irr::video::CNullDriver::drawMeshBuffer(irr::scene::IMeshBuffer const*) ()
#12 0x081f6418 in ClientMap::renderMap (this=0x8a1a400, driver=0x8820e48, pass=8)
    at /home/bcmpinc/programs/minetest-delta/src/map.cpp:3671
#13 0x081fbe5b in ClientMap::render (this=0x8a1a400) at /home/bcmpinc/programs/minetest-delta/src/map.h:510
#14 0x082fef1c in irr::scene::CSceneManager::drawAll() ()
#15 0x0826a28f in the_game (kill=@0x862a078, random_input=false, input=0x8862c48, device=0x87ab368, font=0x887d660, 
    map_dir=..., playername=..., password=..., address=..., port=30000, error_message=..., configpath=...)
    at /home/bcmpinc/programs/minetest-delta/src/game.cpp:2439
#16 0x08274047 in main (argc=Cannot access memory at address 0x3
) at /home/bcmpinc/programs/minetest-delta/src/main.cpp:1644

Tafelpoot
Member
Posts: 11
Joined: Thu Aug 11, 2011 07:20

by Tafelpoot » Post

Thank you very much !
I did compile it myself, but I just followed the instructions on the site :)
No more crashes woohoow

User avatar
celeron55
Administrator
Posts: 533
Joined: Tue Apr 19, 2011 10:10
GitHub: celeron55
IRC: celeron55

by celeron55 » Post

I'm not sure if this is a minetest bug, as it might as well be a bug in irrlicht or the 3d driver (whose first release is about half a year ago)
You are right in that it might be a bug in Irrlicht, or even in your graphics driver. It probably should be reported to the Irrlicht devs at least.

User avatar
Fixer
Member
Posts: 904
Joined: Sun Jul 31, 2011 11:23
IRC: Fixer
In-game: Fixer
Location: Ukraine

by Fixer » Post

Code: Select all

Program received signal SIGSEGV, Segmentation fault.
0x0057f5c6 in ?? () from /lib/i386-linux-gnu/libc.so.6
(gdb) backtrace
#0  0x0057f5c6 in ?? () from /lib/i386-linux-gnu/libc.so.6
#1  0x088066c8 in ?? ()
#2  0x008d9c32 in ?? () from /usr/lib/dri/r300_dri.so
#3  0x006e946c in ?? () from /usr/lib/dri/r300_dri.so
#4  0x006e6a00 in ?? () from /usr/lib/dri/r300_dri.so
#5  0x006e765c in ?? () from /usr/lib/dri/r300_dri.so
#6  0x007a8d9e in ?? () from /usr/lib/dri/r300_dri.so
#7  0x007a4f50 in ?? () from /usr/lib/dri/r300_dri.so
#8  0x007a50db in ?? () from /usr/lib/dri/r300_dri.so
#9  0x083a4d83 in irr::video::COpenGLDriver::renderArray(void const*, unsigned int, irr::scene::E_PRIMITIVE_TYPE, irr::video::E_INDEX_TYPE) ()
#10 0x083aa671 in irr::video::COpenGLDriver::drawVertexPrimitiveList(void const*, unsigned int, void const*, unsigned int, irr::video::E_VERTEX_TYPE, irr::scene::E_PRIMITIVE_TYPE, irr::video::E_INDEX_TYPE) ()
#11 0x08392bc0 in irr::video::CNullDriver::drawMeshBuffer(irr::scene::IMeshBuffer const*) ()
#12 0x082224ce in ClientMap::renderMap(irr::video::IVideoDriver*, int) ()
#13 0x08226091 in ClientMap::render() ()
#14 0x08344c9c in irr::scene::CSceneManager::drawAll() ()
#15 0x082a8ed7 in the_game(bool&, bool, InputHandler*, irr::IrrlichtDevice*, irr::gui::IGUIFont*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::b---Type <return> to continue, or q <return> to quit---
asic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned short, std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >) ()
#16 0x082b9138 in main ()

and

Code: Select all

#0  __memcpy_ia32 () at ../sysdeps/i386/i686/multiarch/../memcpy.S:75
#1  0x087afaf0 in ?? ()
#2  0x008c2c32 in ?? () from /usr/lib/dri/r300_dri.so
#3  0x006d246c in ?? () from /usr/lib/dri/r300_dri.so
#4  0x006cfa00 in ?? () from /usr/lib/dri/r300_dri.so
#5  0x006d065c in ?? () from /usr/lib/dri/r300_dri.so
#6  0x00791d9e in ?? () from /usr/lib/dri/r300_dri.so
#7  0x0078df50 in ?? () from /usr/lib/dri/r300_dri.so
#8  0x0078e0db in ?? () from /usr/lib/dri/r300_dri.so
#9  0x0835f003 in irr::video::COpenGLDriver::renderArray(void const*, unsigned int, irr::scene::E_PRIMITIVE_TYPE, irr::video::E_INDEX_TYPE) ()
#10 0x083648f1 in irr::video::COpenGLDriver::drawVertexPrimitiveList(void const*, unsigned int, void const*, unsigned int, irr::video::E_VERTEX_TYPE, irr::scene::E_PRIMITIVE_TYPE, irr::video::E_INDEX_TYPE) ()
#11 0x0834ce40 in irr::video::CNullDriver::drawMeshBuffer(irr::scene::IMeshBuffer const*) ()
#12 0x081f6418 in ClientMap::renderMap (this=0x8a1a400, driver=0x8820e48, pass=8)
    at /home/bcmpinc/programs/minetest-delta/src/map.cpp:3671
#13 0x081fbe5b in ClientMap::render (this=0x8a1a400) at /home/bcmpinc/programs/minetest-delta/src/map.h:510
#14 0x082fef1c in irr::scene::CSceneManager::drawAll() ()
#15 0x0826a28f in the_game (kill=@0x862a078, random_input=false, input=0x8862c48, device=0x87ab368, font=0x887d660, 
    map_dir=..., playername=..., password=..., address=..., port=30000, error_message=..., configpath=...)
    at /home/bcmpinc/programs/minetest-delta/src/game.cpp:2439
#16 0x08274047 in main (argc=Cannot access memory at address 0x3
) at /home/bcmpinc/programs/minetest-delta/src/main.cpp:1644
Looks like my problem on a Debian testing + Ati radeon 9600 (Gallium 0.4) %)

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests