Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - gringo

Pages: 1
1
Issues Help Desk / Getting up and running
« on: April 16, 2012, 03:35:37 PM »
Hi there,

I'm having a general play around with LGM and ENIGMA and as I mentioned in the introductions topic I think it's very impressive even with broken things.

I'm just wanting some advice on actually getting things ticking.

I have checked out both the git revision and the svn revision both compile fine however I cannot get either to run the sample clown game, with the git one after disabling the audio I managed to get it to compile but the game just crashes, and with the svn version the game compiles but again just crashes. I've not compared my terminal output but both look similar.


*********** EXECUTE
  `/tmp/egm8283699758770835462.tmp`



Joystick name: ST LIS3LV02DL Accelerometer
*** glibc detected *** /tmp/egm8283699758770835462.tmp: malloc(): memory corruption: 0x09d89508 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(+0x6b161)[0x2c0161]
/lib/tls/i686/cmov/libc.so.6(+0x6df65)[0x2c2f65]
/lib/tls/i686/cmov/libc.so.6(__libc_malloc+0x5c)[0x2c4b6c]
/usr/lib/libstdc++.so.6(_Znwj+0x27)[0x756c07]
/tmp/egm8283699758770835462.tmp[0x8052db0]
/tmp/egm8283699758770835462.tmp[0x8052c60]
/tmp/egm8283699758770835462.tmp[0x80528b7]
/tmp/egm8283699758770835462.tmp[0x805270f]
/tmp/egm8283699758770835462.tmp[0x8052121]
/tmp/egm8283699758770835462.tmp[0x8051bf6]
/tmp/egm8283699758770835462.tmp[0x8053394]
/tmp/egm8283699758770835462.tmp[0x8138e94]
/tmp/egm8283699758770835462.tmp[0x805388a]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6)[0x26bbd6]
/tmp/egm8283699758770835462.tmp[0x804ddb1]
======= Memory map: ========
00110000-00125000 r-xp 00000000 08:01 272158     /lib/tls/i686/cmov/libpthread-2.11.1.so
00125000-00126000 r--p 00014000 08:01 272158     /lib/tls/i686/cmov/libpthread-2.11.1.so
00126000-00127000 rw-p 00015000 08:01 272158     /lib/tls/i686/cmov/libpthread-2.11.1.so
00127000-00129000 rw-p 00000000 00:00 0
00129000-0014d000 r-xp 00000000 08:01 272530     /lib/tls/i686/cmov/libm-2.11.1.so
0014d000-0014e000 r--p 00023000 08:01 272530     /lib/tls/i686/cmov/libm-2.11.1.so
0014e000-0014f000 rw-p 00024000 08:01 272530     /lib/tls/i686/cmov/libm-2.11.1.so
0014f000-0016c000 r-xp 00000000 08:01 18701      /lib/libgcc_s.so.1
0016c000-0016d000 r--p 0001c000 08:01 18701      /lib/libgcc_s.so.1
0016d000-0016e000 rw-p 0001d000 08:01 18701      /lib/libgcc_s.so.1
0016e000-00175000 r-xp 00000000 08:01 928545     /usr/lib/fglrx/libatiuki.so.1.0
00175000-00176000 rw-p 00006000 08:01 928545     /usr/lib/fglrx/libatiuki.so.1.0
00176000-0017a000 r-xp 00000000 08:01 263731     /usr/lib/libXdmcp.so.6.0.0
0017a000-0017b000 r--p 00003000 08:01 263731     /usr/lib/libXdmcp.so.6.0.0
0017b000-0017c000 rw-p 00004000 08:01 263731     /usr/lib/libXdmcp.so.6.0.0
0017c000-00184000 r-xp 00000000 08:01 264827     /usr/lib/libXcursor.so.1.0.2
00184000-00185000 r--p 00007000 08:01 264827     /usr/lib/libXcursor.so.1.0.2
00185000-00186000 rw-p 00008000 08:01 264827     /usr/lib/libXcursor.so.1.0.2
00186000-0018e000 r-xp 00000000 08:01 264757     /usr/lib/libXrender.so.1.3.0
0018e000-0018f000 r--p 00007000 08:01 264757     /usr/lib/libXrender.so.1.3.0
0018f000-00190000 rw-p 00008000 08:01 264757     /usr/lib/libXrender.so.1.3.0
00190000-00197000 r-xp 00000000 08:01 263548     /usr/lib/libSM.so.6.0.1
00197000-00198000 r--p 00006000 08:01 263548     /usr/lib/libSM.so.6.0.1
00198000-00199000 rw-p 00007000 08:01 263548     /usr/lib/libSM.so.6.0.1
00199000-001e2000 r-xp 00000000 08:01 266296     /usr/lib/libpulsecommon-0.9.21.so
001e2000-001e3000 r--p 00048000 08:01 266296     /usr/lib/libpulsecommon-0.9.21.so
001e3000-001e4000 rw-p 00049000 08:01 266296     /usr/lib/libpulsecommon-0.9.21.so
001e4000-001e7000 r-xp 00000000 08:01 702        /lib/libuuid.so.1.3.0
001e7000-001e8000 r--p 00002000 08:01 702        /lib/libuuid.so.1.3.0
001e8000-001e9000 rw-p 00003000 08:01 702        /lib/libuuid.so.1.3.0
00207000-00242000 r-xp 00000000 08:01 262685     /usr/lib/libopenal.so.1.12.854
00242000-00243000 ---p 0003b000 08:01 262685     /usr/lib/libopenal.so.1.12.854
00243000-00244000 r--p 0003b000 08:01 262685     /usr/lib/libopenal.so.1.12.854
00244000-00245000 rw-p 0003c000 08:01 262685     /usr/lib/libopenal.so.1.12.854
00245000-00255000 rw-p 00000000 00:00 0
00255000-003a8000 r-xp 00000000 08:01 272528     /lib/tls/i686/cmov/libc-2.11.1.so
003a8000-003aa000 r--p 00153000 08:01 272528     /lib/tls/i686/cmov/libc-2.11.1.so
003aa000-003ab000 rw-p 00155000 08:01 272528     /lib/tls/i686/cmov/libc-2.11.1.so
003ab000-003ae000 rw-p 00000000 00:00 0
003ae000-0040f000 r-xp 00000000 08:01 266900     /usr/lib/libsndfile.so.1.0.21
0040f000-00410000 ---p 00061000 08:01 266900     /usr/lib/libsndfile.so.1.0.21
00410000-00411000 r--p 00061000 08:01 266900     /usr/lib/libsndfile.so.1.0.21
00411000-00412000 rw-p 00062000 08:01 266900     /usr/lib/libsndfile.so.1.0.21
00412000-00416000 rw-p 00000000 00:00 0
00416000-0044d000 r-xp 00000000 08:01 549        /lib/libdbus-1.so.3.4.0
0044d000-0044e000 r--p 00036000 08:01 549        /lib/libdbus-1.so.3.4.0
0044e000-0044f000 rw-p 00037000 08:01 549        /lib/libdbus-1.so.3.4.0
0044f000-0049a000 r-xp 00000000 08:01 264371     /usr/lib/libFLAC.so.8.2.0
0049a000-0049b000 r--p 0004a000 08:01 264371     /usr/lib/libFLAC.so.8.2.0
0049b000-0049c000 rw-p 0004b000 08:01 264371     /usr/lib/libFLAC.so.8.2.0
0049c000-004c3000 r-xp 00000000 08:01 263118     /usr/lib/libvorbis.so.0.4.3
004c3000-004c4000 r--p 00026000 08:01 263118     /usr/lib/libvorbis.so.0.4.3
004c4000-004c5000 rw-p 00027000 08:01 263118     /usr/lib/libvorbis.so.0.4.3
004ea000-004ee000 r-xp 00000000 08:01 264204     /usr/lib/libXtst.so.6.1.0
004ee000-004ef000 r--p 00003000 08:01 264204     /usr/lib/libXtst.so.6.1.0
004ef000-004f0000 rw-p 00004000 08:01 264204     /usr/lib/libXtst.so.6.1.0
00520000-0053b000 r-xp 00000000 08:01 36232      /lib/ld-2.11.1.so
0053b000-0053c000 r--p 0001a000 08:01 36232      /lib/ld-2.11.1.so
0053c000-0053d000 rw-p 0001b000 08:01 36232      /lib/ld-2.11.1.so
00544000-00557000 r-xp 00000000 08:01 4997       /lib/libz.so.1.2.3.3
00557000-00558000 r--p 00012000 08:01 4997       /lib/libz.so.1.2.3.3
00558000-00559000 rw-p 00013000 08:01 4997       /lib/libz.so.1.2.3.3
0059d000-005b2000 r-xp 00000000 08:01 263098     /usr/lib/libICE.so.6.3.0
005b2000-005b3000 r--p 00014000 08:01 263098     /usr/lib/libICE.so.6.3.0
005b3000-005b4000 rw-p 00015000 08:01 263098     /usr/lib/libICE.so.6.3.0
005b4000-005b6000 rw-p 00000000 00:00 0
005bd000-005c2000 r-xp 00000000 08:01 263781     /usr/lib/libogg.so.0.6.0
005c2000-005c3000 r--p 00004000 08:01 263781     /usr/lib/libogg.so.0.6.0
005c3000-005c4000 rw-p 00005000 08:01 263781     /usr/lib/libogg.so.0.6.0
005e3000-005e4000 r-xp 00000000 00:00 0          [vdso]
005ec000-005f8000 r-xp 00000000 08:01 263909     /usr/lib/libXi.so.6.1.0
005f8000-005f9000 r--p 0000c000 08:01 263909     /usr/lib/libXi.so.6.1.0
005f9000-005fa000 rw-p 0000d000 08:01 263909     /usr/lib/libXi.so.6.1.0
00699000-00782000 r-xp 00000000 08:01 262606     /usr/lib/libstdc++.so.6.0.13
00782000-00786000 r--p 000e9000 08:01 262606     /usr/lib/libstdc++.so.6.0.13
00786000-00787000 rw-p 000ed000 08:01 262606     /usr/lib/libstdc++.so.6.0.13
00787000-0078e000 rw-p 00000000 00:00 0
00797000-008b0000 r-xp 00000000 08:01 263862     /usr/lib/libX11.so.6.3.0
008b0000-008b1000 r--p 00118000 08:01 263862     /usr/lib/libX11.so.6.3.0
008b1000-008b3000 rw-p 00119000 08:01 263862     /usr/lib/libX11.so.6.3.0
008b3000-008b4000 rw-p 00000000 00:00 0 Game returned 0
0


Now it's very likely this isn't down to enigma and it could just be my battered old laptop refusing to do anything with the gfx card.

Also of note, when I say the game compiles fine I had to comment out a part of the clown step script first as it was bitching about line 13 and while it all looks perfectly fine to me I'm guessing something maybe unimplemented or my compile of enigma maybe wrong.



if (alarm0-- == 0) {
  direction = random(360);
  alarm0 = 50;
}



From what I have read in the src this maybe because alarms are now implemented, as the comment above the snippet mentions they are not?


Any help appreciated.

On another topic I've been having a look at the src today and thinking about what I can do to help out, the extension system looks like a good way to get some things implemented, however in the progress section there is a suggestion that it could do with improving / rewriting whats the deal there. Is what needs to be done etc, as it seems to me after I have a play with adding some of the additional drawing stuff it may be a good place to start getting involved.

Gringo

Pages: 1