#gemrb@irc.freenode.net logs for 4 Jul 2012 (GMT)

Archive Today Yesterday Tomorrow
GemRB homepage


[00:08:06] --> mrugiero has joined #gemrb
[00:09:22] <-- mrugiero has left #gemrb
[01:00:28] --> Cravix has joined #gemrb
[01:02:14] <Cravix> so weird, i played Baldur's Gate 1 shadow of amn, and when i use spear/dagger to attack the mice in the first scenario, gemrb prompt a segmentation fault and exit.
[01:03:18] <Cravix> i tried many times and it kept prompt that... any solution here? any idea is appreciated, and thanks in advance!:-)
[01:03:49] <Cravix> (also, sorry for not specified the condition last time
[01:03:58] <joneirik> "Baldur's Gate 1 shadow of amn" o_0
[01:04:11] <joneirik> Sorry I can't be of much help with the rat slaying...
[01:04:12] <Cravix> = =sorry, maybe i'm wrong
[01:04:36] <Cravix> i'll check it again
[01:04:45] <joneirik> Shadows of Amn = Baldurs Gate 2
[01:05:20] <Cravix> ha, that's right, i take the name wrong:-)
[01:05:45] <Cravix> joneirik: thanks for correction:-D
[01:05:57] <joneirik> I take it you mean Baldurs Gate 1, I can't seem to recal any rats from BG2.... not that I remember it very well...
[01:08:01] <Cravix> and even the same when i play throne of bhall
[01:08:02] <-- Drakkar has left IRC (Ping timeout: 246 seconds)
[01:08:24] <Cravix> joneirik: seems rats only appear in the town:-)
[01:09:22] <joneirik> Ah, probably 10 years since I played BG2
[01:10:56] <Cravix> hehe:-) i started to play it just... maybe a week ago
[01:11:01] <Cravix> i've played it before, but it's baldur's gate 1
[01:11:47] <joneirik> played bg1 often enough over the years, just never was a big fan of bg2.
[01:12:28] <Cravix> but anyway, also a good game i think:-D
[01:13:42] <joneirik> was kinda hoping that the new BG enhanced games they are working on would update to some new rulesets, since I'm rather tired of AD&D 2E, but no such luck. :-/
[01:14:15] <joneirik> That would be my main interest in GemRB by the way, that I might one day play the games with iwd2's semi D&D 3e rules.
[01:15:05] --> Drakkar has joined #gemrb
[01:15:45] <Cravix> en. sweet old days
[01:16:22] <Cravix> like that i love might and magic 6&7. but the mm9 is such a...
[01:16:42] <Cravix> indeed, bg2 is much better than mm9
[01:17:03] <Cravix> ;-)
[01:23:33] <joneirik> :p
[01:38:25] <CIA-31> GemRB: 03brad * r31a9c56cdfa2 10gemrb/gemrb/plugins/SDLVideo/SDL20Video.cpp:
[01:38:25] <CIA-31> GemRB: SDL20Video: fix silly use of color pointer and allocate a color on the stack.
[01:38:25] <CIA-31> GemRB: this fixes potential random crashing from using a pointer that isn't pointing to anything!
[01:38:32] <CIA-31> GemRB: 03brad * ref420b342669 10gemrb/gemrb/plugins/SDLVideo/SDL20Video.cpp: SDL20Video: SDL now includes the keyboard functions in system.h so we no longer need this special case.
[01:42:07] --> brad_ has joined #gemrb
[01:53:34] <-- brad_ has left IRC (Quit: brad_)
[02:52:43] <CIA-31> GemRB: 03brad * rb00ac2945f12 10gemrb/apple/GemRB.xcodeproj/project.pbxproj:
[02:52:44] <CIA-31> GemRB: Xcode: fix many many long standing issues with the iOS build script.
[02:52:44] <CIA-31> GemRB: spaces in paths are no longer a problem and added some checks before executing rm commands.
[03:19:36] <CIA-31> GemRB: 03brad * r6cd0b7abe2e4 10gemrb/apple/ (README ios/README): Xcode: add some README files.
[03:53:17] <-- nutron has left IRC (Ping timeout: 252 seconds)
[04:20:16] <CIA-31> GemRB: 03brad * raa3019e4426b 10gemrb/apple/GemRB.xcodeproj/project.pbxproj: Xcode: update mac build scripts to tolerate paths with spaces.
[04:20:34] <-- joneirik has left IRC (Quit: Get used to disappointment.)
[05:56:21] <-- wrotek has left IRC (Ping timeout: 265 seconds)
[06:24:25] --> lynxlynxlynx has joined #gemrb
[06:24:25] --- ChanServ gives channel operator status to lynxlynxlynx
[06:26:53] --> wrotek has joined #gemrb
[08:06:54] <Cravix> lynxlynxlynx: sorry to bother, i played Baldur's Gate 1 with gemrb, and when i use spear/dagger to attack the mice in the first scenario, gemrb prompt a segmentation fault and exit. and seems any battle scenario can reproduce this error...
[08:07:53] <-- xrogaan has left IRC (*.net *.split)
[08:08:16] <lynxlynxlynx> gemrb version?
[08:08:30] <lynxlynxlynx> any mods installed?
[08:08:33] <Cravix> and the one i play is baldur's gate trilogy version, and i've patched 1.12 patch before, i don't know if it's associated too?
[08:08:43] <Cravix> seems not= =
[08:09:26] <Cravix> to be exact: i use gemrb to play bg trilogy 1.12
[08:10:22] <lynxlynxlynx> gemrb version?
[08:10:34] <Cravix> svn= =
[08:10:39] <lynxlynxlynx> ouch!
[08:10:46] --> xrogaan has joined #gemrb
[08:10:51] <lynxlynxlynx> we haven't used svn for a few years now
[08:11:02] <lynxlynxlynx> if you want to compile the latest, grab it from git
[08:11:06] <Cravix> git
[08:11:22] <lynxlynxlynx> git clone git://gemrb.git.sourceforge.net/gitroot/gemrb/gemrb
[08:11:49] <Cravix> yes= = my typing mistake, what i'm using is gemrb-git
[08:12:04] <Cravix> sorry for that:'(
[08:13:01] <-- xrogaan has left IRC (*.net *.split)
[08:13:28] <lynxlynxlynx> oh
[08:13:35] <lynxlynxlynx> from when?
[08:13:39] <Cravix> i'm using gemrb ver.20120701, and used gemrb 0.7 before
[08:14:29] <Cravix> and sadly, all the same
[08:14:46] <Cravix> or maybe there's some other thing i should set?
[08:15:02] --> xrogaan has joined #gemrb
[08:15:11] <lynxlynxlynx> that's fine
[08:15:23] <Cravix> i only changed the dirs ,like cd2, cd3 and those follows
[08:15:29] <lynxlynxlynx> maybe something from bgt breaks it
[08:15:31] <Cravix> (in gemrb.cfg)
[08:15:54] <Cravix> throne of bhall...
[08:16:27] <Cravix> i've not play stand alone ver with gemrb
[08:16:54] <lynxlynxlynx> i can kill one of the bg1 assassins normally
[08:17:04] <lynxlynxlynx> do you have gdb?
[08:17:15] <Cravix> yes
[08:17:35] <lynxlynxlynx> ok, please run gemrb through that, so we can get a backtrace
[08:17:46] <Cravix> howto? gdb the file and use "r"?
[08:17:49] <lynxlynxlynx> then of course make it crash
[08:18:15] <lynxlynxlynx> gdb -q --args ${0%%/*}/build/gemrb/gemrb -c ${0%%/*}/build/${1:-gemrb.cfg}
[08:18:29] <lynxlynxlynx> i use that since i run it from the build dir
[08:18:46] <Cravix> ok, i'll try
[08:18:56] <lynxlynxlynx> you'll have to adjust the paths
[08:19:12] <lynxlynxlynx> gdb -q --args ////gemrb -c ///config
[08:19:28] <Cravix> lynxlynxlynx: thank you for your help!:-) i'll give a try now;-)
[08:37:31] <lynxlynxlynx> any luck?
[08:38:15] <Cravix> lynxlynxlynx: seems only get the segmentation fault
[08:38:24] <Cravix> 0xb7fd4ff4 in ?? () from /usr/lib/gemrb/libgemrb_core.so
[08:38:43] <lynxlynxlynx> ah, you have an optimised build
[08:38:50] <Cravix> but i noticed another thing: there're many "[GameScript/ERROR]: Target object: IDS Targeting:"
[08:39:31] <Cravix> lynxlynxlynx: is it associated? i
[08:39:46] <Cravix> I have no idea for that:-/
[08:39:48] <lynxlynxlynx> that's probably harmless, especially if there's five of them
[08:40:05] <lynxlynxlynx> please empty the build dir
[08:40:19] <lynxlynxlynx> rerun cmake in it, this time with -DCMAKE_BUILD_TYPE=Debug
[08:40:23] <lynxlynxlynx> then rebuild
[08:40:29] <lynxlynxlynx> then rerun with gdb
[08:40:38] <lynxlynxlynx> that should give us a usable backtrace
[08:40:39] <Cravix> ok:-)
[08:40:59] <Cravix> and, i use "gdb -q --args /usr/bin/gemrb" to run
[08:42:18] <Cravix> lynxlynxlynx: i use "gdb -q --args /usr/bin/gemrb" to run, and use "r" to trace, i don't know if what i did is right? haven't used gdb for months:-/
[08:51:34] <lynxlynxlynx> if you did make install then yes
[08:52:05] <lynxlynxlynx> you forgot the config file though
[08:52:22] <lynxlynxlynx> unless you have it in /etc
[11:15:15] --> kettuz has joined #gemrb
[11:19:43] <-- Drakkar has left IRC (Ping timeout: 265 seconds)
[11:52:11] <Cravix> sadly, it doesn't prompt more infos.
[11:52:52] <Cravix> and what i used to compiling is "cmake -DCMAKE_INSTALL_PREFIX=/usr -DINSOURCEBUILD=1 -DCMAKE_BUILD_TYPE=Debug . ; make ; make DESTDIR="$pkgdir/" install
[11:53:48] <Cravix> lynxlynxlynx: i only get a "zsh: segmentation fault gemrb", and previous prompt is IDS Targeting error
[11:54:25] <lynxlynxlynx> you ran it in gdb?
[11:54:40] <lynxlynxlynx> when you get the crash, type bt as before
[11:56:53] <Cravix> oh, gdb? sorry for my misunderstanding= = i'll try it now:-)
[11:59:23] <Cravix> #0 0xb7fd4ff4 in ?? () from /usr/lib/gemrb/libgemrb_core.so
[11:59:24] <Cravix> #1 0x0a9271a8 in ?? ()
[11:59:39] <Cravix> lynxlynxlynx: seems that's useless? don't know the meaning= =
[11:59:58] <Cravix> or, should i type other commands?
[12:00:28] <lynxlynxlynx> buh
[12:01:00] <lynxlynxlynx> do you export any CFLAGS/CXXFLAGS yourself?
[12:01:25] <Cravix> never
[12:03:06] <Cravix> the commands are as above, and i didn't do other things...eh
[12:04:37] <lynxlynxlynx> ok
[12:04:45] <lynxlynxlynx> did you delete the previous build?
[12:05:12] <lynxlynxlynx> remove CMakeFiles and CMakeCache
[12:05:16] <lynxlynxlynx> and do it again
[12:06:51] <Cravix> rm -rf "$srcdir/$_gitname-build"
[12:06:51] <Cravix> git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
[12:06:51] <Cravix> cd "$srcdir/$_gitname-build"
[12:06:55] <Cravix> i've do that before
[12:07:24] <Cravix> and, all error code attached as well, hope that helps: http://pastebin.ca/2167014
[12:07:47] <Cravix> (left for dinner, and will be back soon:-)
[12:13:25] --> Drakkar has joined #gemrb
[12:22:40] <Cravix> back
[12:42:37] <lynxlynxlynx> the errors are fine
[12:44:05] <lynxlynxlynx> file"$srcdir/$_gitname-build"/gemrb/gemrb
[13:03:16] <edheldil> Cravix: you should build in a separate directory, st. like mkdir build; cd build ; cmake <args> ..
[13:06:08] <Cravix> edheldil: eh, i build it in separate dir indeed...= =
[13:06:41] <Cravix> lynxlynxlynx: sorry, i don't really get what you mean= =
[13:07:50] <lynxlynxlynx> run that, it's a command
[13:10:00] <edheldil> file "$srcdir/$_gitname-build"/gemrb/gemrb
[13:12:02] <Cravix> ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[sha1]=0xf23597a851df9cdd8f2a147e50984107c717af5b, stripped
[13:12:34] <Cravix> lynxlynxlynx: that's it:-)
[13:12:50] <lynxlynxlynx> see, that last bit is the problematic one
[13:12:55] <lynxlynxlynx> it shouldn't be stripped
[13:13:29] <lynxlynxlynx> if you cd to the build dir
[13:13:33] <lynxlynxlynx> and run ccmake .
[13:13:46] <lynxlynxlynx> what does it say for CMAKE_BUILD_TYPE ?
[13:14:28] <Cravix> Debug
[13:17:30] <lynxlynxlynx> that's good
[13:18:19] <lynxlynxlynx> i'm out of ideas though
[13:22:11] <Cravix> eh, i'll try icewind dale later too...
[13:23:16] <Cravix> lynxlynxlynx: and thanks anyway:-) and i need to leave for a while now= =
[13:25:23] <lynxlynxlynx> ok
[13:52:59] <edheldil> Cravix: what lynx wanted to tell you is that even though it should not be, the binary is stripped of debug symbols. Can you check whether you are not trying to build an older binary? e.g. ls -l to check that it's really the new binary
[13:53:33] <edheldil> I meant: check that you are not running an older binary
[14:09:01] <-- wrotek has left IRC (Ping timeout: 246 seconds)
[14:47:07] --> kida_laptop has joined #gemrb
[15:09:46] <tomprince> Try also 'make clean; make'
[15:14:06] <-- alexander__b has left IRC (Ping timeout: 246 seconds)
[15:14:26] * edheldil wonders what can MS do with crash reports of "Application reported GPF at 0xdeadbeef"-kind
[15:18:37] --> alexander__b has joined #gemrb
[15:31:35] <Cravix> edheldil: just came back= = after you explained that i got what lynx means now, thank you:-) but i got the source from git repo... and i even tried 0.7 as well
[15:32:50] <tomprince> Cravix: The original binary you compiled didn't have debuging symbols. By old, edheldil just meant that one, rather than the one compiled with symbols.
[15:36:58] <Cravix> tomprince: tbh i know little about cmake systems= = but i just use the original source and execute cmake with debug type identifier, or maybe i should make clean in advance?
[15:40:13] <Cravix> eh, it's time to sleep... i'll try icewind dale tomorrow, and report as well:-)
[15:41:21] <Cravix> and good night everyone here!(though it's morning or noon in other time zones:-D)
[15:41:36] <-- Cravix has left IRC (Quit: Leaving.)
[17:22:57] --> brad_ has joined #gemrb
[17:23:20] <brad_> wjp: http://98.202.169.168:5000/fbsharing/XzAmt4Y5
[17:23:28] <brad_> pixel format patch for your branch
[17:24:23] <brad_> fixes for mac, but i had to get iOS values from memory
[17:24:43] <wjp> thanks!
[17:24:53] <brad_> lol thank you really
[17:25:05] <brad_> i didn't have to do much :)
[17:27:11] <brad_> I'm sure the 16 bit iOS values are wrong but I'm 80% sure i got the 32 bit ones right
[17:30:59] <brad_> what else aside from this needs to be fixed for release?
[17:35:03] <lynxlynxlynx> that's all for ios afaik, unless something crops up for 5
[17:35:38] <lynxlynxlynx> android's multitouch is probably still broken
[17:47:02] <wjp> brad_: your patch has a non-standard Author; shall I rewrite to the one in your other commits in the repo?
[17:47:09] <wjp> or did something change?
[17:51:44] <wjp> hm, those values for halfmask look fishy
[19:02:28] <brad_> i probably don't understand what a half mask is
[19:02:47] <brad_> all i know is that fixes the color for mac
[19:02:56] <brad_> on SDL 1.2 anyway
[19:03:15] <brad_> and yes use the author for my other commits
[19:03:24] <brad_> thanks :)
[19:03:37] <brad_> also beholder hasn't been around in ages and neither has alex
[19:03:38] <-- alexander__b has left IRC (Ping timeout: 240 seconds)
[19:04:18] <brad_> so multitouch on android is in limbo unless there is another android dev that wants to have a go at it
[19:06:37] --> alexander__b has joined #gemrb
[19:51:22] <lynxlynxlynx> we slipped the schedule already anyway
[19:51:40] <lynxlynxlynx> i need to do a small fix and then we're practically set
[19:52:20] <lynxlynxlynx> i was also thinking of applying that android hack to log to gamepath/gemrb.log
[19:53:31] <lynxlynxlynx> ideally it would be done properly, but i'm low on motivation atm
[20:42:39] <-- lynxlynxlynx has left IRC (Ping timeout: 245 seconds)
[21:06:09] --> lynxlynxlynx has joined #gemrb
[21:06:09] --- ChanServ gives channel operator status to lynxlynxlynx
[21:10:57] <-- kettuz has left IRC (Quit: Leaving)
[22:07:31] <-- brad_ has left IRC (Quit: brad_)
[22:18:42] <-- lynxlynxlynx has left IRC (Remote host closed the connection)
[22:39:16] <-- Drakkar has left IRC (Ping timeout: 265 seconds)
[22:40:07] --> Drakkar has joined #gemrb
[22:56:02] <-- alexander__b has left IRC (Ping timeout: 255 seconds)
[23:03:45] --> alexander__b has joined #gemrb
[23:49:36] --> nutron has joined #gemrb