fogleman / Craft

A simple Minecraft clone written in C using modern OpenGL (shaders).
http://www.michaelfogleman.com/craft/
MIT License
10.39k stars 1.39k forks source link

db_enable() (line 3140) seem to cause the game to close on some PCs #224

Open azekillDIABLO opened 5 years ago

azekillDIABLO commented 5 years ago

most likely related to #152

First of all, thanks for making such a nice project! I'm currently forking it and expanding it actively under the name Omicron, and I'm facing a weird problem: seems like db_enable(); causes an instant crash of the game when launched, although it can be compiled without any problem. The game runs smoothly until this line and instantly crashes with tiny to no debug.

azekillDIABLO commented 5 years ago

Important thing I forgot: I can run the game on modern hardware, but I can't on my old PC. Neither a friend of mine with lower specs on his laptop.

LoneWolfHT commented 5 years ago

I get the db_enable() crash. And my PC was built at the beginning of the year...

                          ./+o+-       lone_wolf@PC-LW
                  yyyyy- -yyyyyy+      OS: Ubuntu 19.04 disco
               ://+//////-yyyyyyo      Kernel: x86_64 Linux 5.0.0-20-generic
           .++ .:/++++++/-.+sss/`      Uptime: 3d 18h 58m
         .:++o:  /++++++++/:--:/-      Packages: 3054
        o:+o+:++.`..```.-/oo+++++/     Shell: bash 5.0.3
       .:+o:+o/.          `+sssoo+/    Resolution: 1920x1080
  .++/+:+oo+o:`             /sssooo.   DE: XFCE
 /+++//+:`oo+o               /::--:.   WM: Xfwm4
 \+/+o+++`o++o               ++////.   WM Theme: NumixHolo
  .++.o+++oo+:`             /dddhhh.   GTK Theme: Adwaita-dark [GTK2]
       .+.o+oo:.          `oddhhhh+    Icon Theme: elementary-xfce-dark
        \+.++o+o``-````.:ohdhhhhh+     Font: Noto Sans 9
         `:o+++ `ohhhhhhhhyo++os:      CPU: AMD Ryzen 7 2700 Eight-Core @ 16x 3.548GHz [38.0°C]
           .o:`.syhhhhhhh/.oo++o`      GPU: Radeon RX 570 Series (POLARIS10, DRM 3.27.0, 5.0.0-20-generic, LLVM 8.0.0)
               /osyyyyyyo++ooo+++/     RAM: 6504MiB / 16051MiB
                   ````` +oo+++o\:    
                          `oo++.      
azekillDIABLO commented 5 years ago

@fogleman ? Sorry to @mention you, but do you still work on this game?