#bitfighter IRC Log

Index Search ←Prev date Next date→

IRC Log for 2014-05-01

Timestamps are in GMT/BST.

00:10:44LoneWolfy Quit (Ping timeout: 246 seconds)
00:14:40kaenraptor, if you get this with your telepathy, check out this beautiful ldd output: http://pastie.org/9129236
00:29:03raptor has joined
00:29:03ChanServ sets mode +o
00:29:18raptorkaen that looks great!
00:29:27raptornot a 'not found' in sight
00:29:54raptoralso... uhh.. that list is like 3 times as long as it should be...
00:30:25raptoroh wait... my 'bitfighter' is almost as bad...
00:30:26raptorhmmm
00:30:41raptorlibFLAC???
00:30:45raptorwhat on earth..
00:31:43raptorhuh... I guess it's pulling any linked libraries with any internally linked libs also
00:32:51raptorah yes... most of those are from linking against SDL 1.2
00:33:10raptoris SDL2 available on debian? That would be ideal to use that
00:33:22raptorwith the cmake -DUSE_SDL2=1 option
00:41:01kaenI believe so, I'll give it a spin
00:41:13kaennotice I got it to link against latest tomcrypt ^^
00:41:28raptorWHOA
00:41:33raptorwhoa whoa whoa
00:41:42raptordid you have to do any work?
00:41:48kaenit was actually trivial, just a header change
00:41:48raptori mean, code changes?
00:41:54kaenchanged an include
00:41:58raptorthat's cake
00:42:01raptorthat's great!
00:42:10kaenI actually changed all of our "../foo/bar" junk to <foo/bar>
00:42:30raptoroh good
00:42:31kaenand fixed cmake to include our in-tree copies as system include dirs
00:42:48raptorI did that once a long time ago... to for the various build system to properly include things
00:42:50kaenand it links against the clipper in unstable, and luajit works like a charm, etc.
00:42:51raptorit was before cmake
00:43:27kaenso, just need to polish up some clerical stuff and see how -devel responds to it
00:43:37raptorcool
00:44:02raptorso do your cmake searches do the in-tree copies last?
00:44:09kaenyes
00:44:12raptori mean, will they pick out the system changes first
00:44:13raptorok
00:44:16raptorsystem libs
00:44:18kaenI actually wanted to ask about that
00:44:23raptorthat's something i've always wanted to do...
00:44:28kaenhow do you feel about defaulting to system libs first
00:44:30kaenok, cool
00:44:32raptoryes
00:44:35kaenit was actually pretty straightforward
00:44:56raptoroh good
00:45:00kaenand I wrote a script that goes from development tree -> .deb file
00:45:09kaenso packaging for debian is a sinche
00:45:11kaencinche?
00:45:14raptorcinch
00:45:17raptori think
00:45:41raptorits a horse saddle strap
00:45:48raptormakes riding a lot easier
00:51:47raptorI can't get our website stats system to track exe downloads
00:52:06raptorso it looks like the windows standalone is the most downloaded, followed by linux standalone
02:35:14raptora commit!
02:35:23BFLogBot Commit: d059e27bfab0 | Author: buckyballreaction | Message: Fix some compiler warnings
02:42:36kaenI think it's funny how every time I ask a cmake question in the debian packaging channels, everyone makes sure to remind me that autotools is superior, and the one true path
02:42:48kaenbut then all of the debhelper tools support cmake out of the box
02:43:19kaenlike, bitfighter builds with dh_make ; dpkg-buildpackage
02:43:44kaenstraight from tarball
02:49:50raptorhaha, yeah
02:49:50BFLogBot Commit: 54fc6bc30557 | Author: buckyballreaction | Message: Better precision in HTF score saving/loading
03:38:29fordcars has joined
03:44:46raptorheading in early.. night!
03:44:57raptor Quit ()
03:47:12kaenplayers!
03:48:30HylianSavior Quit (Read error: Connection reset by peer)
03:51:50Nothing_Muchwoo?
03:51:53Nothing_Muchkaen: where?
03:52:01Nothing_Muchoh nice!
03:52:03Nothing_Much3 woo!
03:52:05kaenthey all ran away :<
03:52:10kaenor they're on a server I can't find
03:52:21Nothing_Muchor maybe they're level editing o.o
03:52:25Nothing_Muchran away?
03:52:27kaenO.O
03:52:33kaenmaybe you're right
03:52:41Nothing_Muchwere you on their server? :P
03:52:44kaenpeople alias when they edit for the contest :P
03:52:45kaenno
03:52:51Nothing_Muchohh
04:35:03fordcarsHowdy
04:43:55raptor has joined
04:43:55ChanServ sets mode +o
04:51:10raptorI should make a contest map...
04:51:32raptori'm currently googling 'superstition'
04:51:49fordcarsThe contest submission is over raptor :O
04:51:58raptorwe have till tomorrow!
04:52:03fordcarsWE DO?!?
04:52:08raptordeadline was extended until tomorrow night
04:52:09raptoryes
04:52:20fordcarsNice!
04:52:30fordcarsI can finish my level
04:54:04raptorgotta think...
04:57:09kaenraptor, how does your debian package handle /resource ?
04:57:28raptori think i put it in /usr/share/games/bitfighter
04:57:33kaenohhh
04:57:34raptorlet me check..
04:57:42kaenI put it in /usr/share/bitfighter
04:57:51raptori did that because that was how i found in many games in ubuntu
04:58:17kaenthat's definitely right
04:58:21raptoryeah all the RPMs do %{datadir}/bitfighter
04:58:34raptorwhich usually means /usr/share/bitfighter
04:58:46raptorbut that's just the conventions for opensuse and fedora (I think)
05:01:21kaenbut the exe is looking for it in ~/.bitfighter
05:01:31raptorsort of ish...
05:01:51raptorbasically if the usr prefs dir doesn't exist, it copies resources to it
05:02:03raptoreverything except the sfx
05:02:22raptorbecause people like to edit everything else
05:03:09raptorso internally, the -rootdatadir ends up being the user prefs dir ( ~/.bitfighter ) but with the -sfxdir being the /usr/share/bitfighter
05:03:18kaenoh wait!
05:03:19kaenit totally works
05:03:42kaenit just couldn't find lua-vec.lua in my 019c .bitfighter folder :P
05:03:51raptorha
05:03:53kaenjust moved that to .bitfighter-bak, and it works from a fresh dir
05:04:00raptorohh...
05:04:29kaenbut I think it has to go in /usr/share/games anyway
05:04:34raptoryes
05:04:44raptorwait... you built from hg?
05:04:49raptorinstead of stock 019c?
05:04:59kaenyes
05:05:28raptorah yes.. because of luajit
05:05:30raptorof course
05:06:04kaenI guess I didn't think that through all the way
05:06:22kaenwe'd have to either backport or do a 019d
05:06:49raptorhmm...
05:07:00kaenblech. well, anyway it isn't quite ready to go into the main repo yet
05:07:09fordcars Quit (Quit: Page closed)
05:07:17kaenI'm fairly sure I've broken normal compilation several times over now
05:07:26raptori'm more worried about watusimoto's changes before my luajit addition..
05:07:37kaenoh?
05:07:47kaenI'm not sure what you're referring to
05:07:50raptori haven't really done new featury type stuff, but he has done loads of refactoring
05:07:59kaenoh, I see
05:08:07raptoroh sorry - if you wanted to build at a specific luajit revision, still compatible to 019c
05:08:08kaenwell, we'll be going in to unstable at first
05:08:28kaenwhich sounds appropriate enough :P
05:08:36raptorhaha, yep
05:08:47raptorwhat is the process for going from unstable -> stable?
05:09:23kaenwhen it's reasonably stable (no bugs for some specific period of time) it gets pulled in to testing
05:09:37kaenand if it remains stable it gets pushed out to stable with the normal release cycle
05:09:50kaenwhich has historically taken years, but is more frequent now
05:10:02kaenbut ubuntu pulls from testing, so we'll get there much quicker
05:10:42raptorah ok, cool
05:12:07kaenPackages from Debian Unstable enter the next-stable testing distribution automatically, when a list of requirements is fulfilled:
05:12:08kaenThe package has been in "unstable" at least for 2-10 days (depending on the urgency of the upload).
05:12:08kaenThe package has been built for all the architectures which the present version in testing was built for.
05:12:08kaenInstalling the package into testing will not make the distribution more uninstallable.
05:12:08kaenThe package does not introduce new release critical bugs.
05:13:18Platskies has joined
05:15:20Platskies Quit (Client Quit)
05:16:04raptorthat doesn't seem so bad
05:16:50Platskies has joined
05:17:29kaennot at all
05:17:34kaenthe long wait is testing->stable
05:17:41kaenbut there's nothing we can do about that
05:21:10raptormy superstition search has led to astrology
05:22:49raptorand now i'm lost in the anstronomical movement of the constellations
05:22:56raptor*atronomical
05:23:00raptorwhich I find fascinating
05:27:54Platskies Quit (Ping timeout: 240 seconds)
05:48:48raptornight!
05:48:55raptor Quit ()
06:59:43Invisible has joined
07:16:12Invisible Quit (Ping timeout: 245 seconds)
07:26:36Invisible has joined
07:27:24Watusimoto has joined
07:47:27Invisible Quit (Ping timeout: 245 seconds)
07:52:20Watusimoto Quit (Ping timeout: 255 seconds)
08:25:03LordDVG has joined
08:25:38HylianSavior has joined
08:58:14Platskies has joined
08:58:41Platskies is now known as PhilM
08:58:50PhilM Quit (Client Quit)
08:59:13Platskies has joined
09:33:20Platskies Quit (Quit: Platskies)
10:03:17Platskies has joined
14:40:15LordDVG Quit (Remote host closed the connection)
14:54:42Platskies Quit (Quit: Leaving)
15:11:38raptor has joined
15:11:38ChanServ sets mode +o
15:12:01raptorgood morning!
15:17:51kaenmorning!
15:31:49Watusimoto has joined
16:15:44thread_ has joined
16:15:57thread_Tomorrow is the day!
16:20:42raptorhooray!
16:54:03Watusimoto Quit (Ping timeout: 265 seconds)
17:36:39Watusimoto has joined
17:39:53Invisible has joined
18:01:00LordDVG has joined
18:02:56DerSmiley has joined
18:02:59DerSmileyhello
18:03:19DerSmileyanyone there?
18:05:10raptorhi
18:05:36raptorwelcome to #bitfighter !
18:05:50DerSmileyhi
18:05:55kaenhi
18:06:07DerSmileycan you help me? i have a problem with bitfighter
18:06:19kaenyou came to the right place :)
18:06:55DerSmileyi think so xDDD well i want to play bitfighter and when i start bitfighter at my windows 7 laptop at crash after the blue bitfighter logo apperas
18:06:58DerSmileyappers
18:07:10kaen:o
18:07:21raptorwhoa
18:07:31kaenthat's no good...
18:07:46raptordid that happen only once? or does it happen multiple times?
18:07:49DerSmileyyes and dont know what the problem is... did all run as admin,
18:07:52DerSmileyall time
18:07:54DerSmileyit never start
18:08:02raptorok, you don't need to run as admin
18:08:09DerSmileyonly tryed
18:08:11raptordid you use the installer or the portable package?
18:08:13DerSmileybecause it crashed
18:08:15DerSmileyportable
18:08:35raptorhmmm.... are you on 32bit or 64bit windows?
18:08:41DerSmiley32
18:08:59raptoris this version 019c?
18:09:05DerSmileyofc
18:09:09DerSmileyi try now the instaler
18:09:16DerSmileyhope then it will run
18:09:18raptorit may be graphics drivers
18:09:27DerSmileyall driver up to date
18:09:41raptorwhat graphics chip? intel/nvidia/amd?
18:09:49DerSmileyamd
18:11:45DerSmileytryed now the installer crashed too after logo
18:13:09raptorsounds like a graphics error...
18:13:25raptorcould you give us any information about the error?
18:13:35raptormaybe a screenshot or what the error says?
18:15:36DerSmileythere is nothing only the windows crash dialog that they search for the problem and then booom its away
18:16:00raptorthat's odd
18:17:26raptorok
18:17:28DerSmileyand cant see that the problem is no error code or something
18:17:32raptori have something for you to try
18:17:39raptorin your portable folder
18:17:44raptorthere is a file called 'SDL.dll'
18:18:06DerSmileyyes
18:18:10raptorsave that somewhere else - I'm going to give you a new one to replace it
18:18:33DerSmileythere is a file SLD2.dll but not SLD.ddl
18:18:33DerSmileydll*
18:18:42DerSmileySDL2*
18:18:46raptoryes that one
18:18:49raptorsorry, i mean 'SDL2'
18:18:49DerSmileyokay
18:19:05raptorhere is the new one: http://sam6.25u.com/upload/1SDL2.zip
18:19:18raptorunzip that and add it to the folder and re-run bitfighter
18:19:24raptordon't use administrator
18:20:43DerSmileystill crash
18:21:12DerSmileyafter logo with the sound boom its white and windows error
18:21:51kaencan you open the file bitfighter.log and paste it to pastie.org ?
18:23:14kaenit goes white? that does sound like a graphics bug
18:23:17DerSmileyin that file is only ------ Bitfighter Log File ------
18:23:24kaenhmm
18:23:35DerSmileyi can activate all in config or where?
18:23:54raptorDerSmiley: did you update an old copy of bitfighter?
18:24:09raptoror was this brand new
18:24:16DerSmileyno downloaded a new version from website
18:24:40raptorok... it does sound like a graphics bug
18:24:44raptorwith drivers
18:24:53DerSmileyi turn now all logs on at config
18:24:57DerSmileyand then post the log file
18:25:05raptorok
18:25:09kaenok, thanks
18:26:25DerSmileyhttp://pastebin.com/2wY7G6BA
18:28:26raptorwell... it looks like TNL initialized OK, but the graphics broke
18:28:43raptorbecause it never reached the 'Welcome to Bitfighter!'
18:28:52DerSmileyat console it does
18:28:59raptoroh it does?
18:29:05raptordoes it say anything else on the console?
18:29:20raptoractually, Watusimoto are you around?
18:29:33raptor( Watusimoto is our windows developer )
18:29:33Watusimotoyes
18:29:43raptorhi
18:29:49DerSmileyno if i start the exe the console does pop up there is welcome to bitfighter then the game window with the blue bitfighter logo show and then crash
18:29:58Watusimotohi DerSmiley
18:30:03raptormaster connection bug??
18:30:03DerSmileyhi
18:30:10raptorthe blue logo shows... huh
18:30:25Watusimotoshould I read the logs? dare I?
18:30:27DerSmileyyes the blue bitfighter font :DD
18:30:35DerSmileywith the sound
18:30:39raptorDerSmiley: in the bitfighter.ini, can you find the option that says 'MasterServerAddressList' ?
18:30:42DerSmileythen it crash :)
18:30:50DerSmileyyes i can find that
18:31:06raptorthis sounds suspiciously liek that one weird crash thread_ got at the windows 7 machines at his school
18:31:35DerSmileyMasterServerAddressList=bitfighter.org:25955,bitfighter.net:25955,IP:209.148.88.166:25955
18:32:10DerSmileyat school i played the game on windows 8 pc and worked perfect but now on windows 7 it crash ^^
18:32:25Invisible Quit (Quit: Invisible)
18:32:33raptorok comment out that line
18:32:51raptorthen add a new one: MasterServerAddressList=127.0.0.1
18:33:03raptorthat will disable the master connection
18:33:10Watusimotook, read the logs
18:33:23raptorafter saving the INI, try starting bitfighter again
18:33:55Watusimotoyou could try running it as a dedicated server to see if it might be graphics related
18:34:04raptorWatusimoto: ok - I'm not sure if I can help much more. I was hoping you may be able to since you're on windows, too
18:34:22DerSmileystill not work and how did i start it as dedicated server?
18:34:28Watusimotofrom command line
18:34:32Watusimotodo bitfighter -dedicated
18:34:43DerSmileyat the exe?
18:34:46Watusimotoit should start and disappear... you can see the server in your process list
18:34:46Watusimotoyes
18:35:12Watusimotoor actually, maybe it starts and keeps runnign in the console... I'll check
18:35:18thread_ Quit (Ping timeout: 240 seconds)
18:35:36Watusimotoit keeps running in the console
18:36:17WatusimotoIt should get to say "Server connected to master..." then appear to not do anything, while it's waiting for an incoming connection
18:36:31WatusimotoI have to deal with a family issue... back in a few minutes
18:36:35DerSmileyyes right because still have 127.0.0.1 as ip
18:36:45DerSmileyit waiting like you say
18:36:55raptorok good
18:37:03raptornow shut it down (CTRL + C)
18:37:12raptoradd back the master server address list
18:37:13DerSmileyokay i did
18:37:14raptorand try again
18:37:20DerSmileyk
18:38:01LordDVG Quit (Remote host closed the connection)
18:38:40DerSmileynow console say established connection with master server and waiting
18:38:51raptorok, then now we know it is a graphics issue
18:39:15raptorthank you for testing so far
18:40:22raptorcan you attempt to run the game in 'windows xp' mode?
18:40:35raptori can't remember what that mode was called
18:41:20DerSmileyi tryed with xp mode but does not help
18:42:38raptorwhat graphics card model? and which driver versions?
18:42:39Watusimotohi
18:42:52Watusimotocould it possobly be sound relaetd?
18:43:23raptoryes it could... i wish windows 7 would give meaningful stack traces
18:43:35Watusimotoor any stack trace at all :-)
18:43:49WatusimotoDerSmiley: have you ever compiled a program before?
18:43:54raptori think it's most likely that there is some issue in a GL call on the mainmenu that the driver fails on
18:44:15DerSmileyyes im a programmer for delphi, java and c# ^^
18:44:28WatusimotoI agree -- I think we can probably eliminate sound because the master does load up some sound
18:44:32Watusimotogreat!
18:44:41raptorhooray a developer
18:44:42raptor!
18:44:48raptorquiet BFLogBot
18:44:49BFLogBotSometimes it seems things go by too quickly. We are so busy watching out for what's just ahead of us that we don't take the time to enjoy where we are.
18:44:49Watusimotowould you be willing to install VC++ and build Bitfighter?
18:45:01WatusimotoIt's pretty easy to do...
18:45:33WatusimotoYou would need VC++ Express for Windows Desktop, cmake, and mercurial to get the code
18:46:02WatusimotoI think that would be the only way to really pinpoint the point of failure
18:46:08Watusimotobut it might not lead to a real resolution
18:46:26Watusimotobecause even if we know what's failing, it may not be fixable by us
18:48:04DerSmileydoes not any methode exists so we get a full error log?
18:48:53Watusimotono not really
18:49:15Watusimotowe haven't figured out a way to get C++ do dump a stack trace when it crashes
18:49:26Watusimotowe have tried
18:49:40raptorif we did a RelWithDebInfo build, could windows be more informative?
18:50:28WatusimotoI could build a debug build, but I don't think it would give a stack trace outside of VC++
18:51:29raptorlame
18:51:35raptoreven windows xp gave more info
18:52:12WatusimotoDerSmiley: komen sie aus Deutschland?
18:52:38DerSmileyjap
18:52:45raptorthis looks promising: http://oroboro.com/stack-trace-on-crash/
18:53:41Watusimotointeresting!
18:53:49raptori have to go.. later!
18:53:54DerSmileyokay bye
18:54:03raptor Quit ()
18:54:17DerSmileycan you try to build a stack strace so we generate a good error log
18:56:44Watusimotoif that methodology that raptor linked to works, then I could do that
19:00:21DerSmileyokay then we hope taht
19:01:42WatusimotoI can probably get that working tonight, if the code in the article is good
19:02:09Watusimotothen I can give you a test build with that code in it and we can see where it is crashing
19:02:45WatusimotoI am in Luxembourg, so when I say "tonight" I mean probably in the next 3 hours
19:03:03DerSmileyohhh i think you mean 0-3 am xDDD
19:03:08DerSmileybut no problem for me :DD
19:03:15Watusimotowell, I might mean that :-)
19:03:15DerSmileyim still here to talk :)
19:03:20Watusimotodepends on how things go
19:03:44Watusimotook, I'll give it a shot, then if you are still here, I can give you a build
19:04:05kaenI have wished for crash traces for so long...
19:04:28Watusimotowe have looked into this several times, and always concluded we couldn't do it. so it would be very cool if this works
19:05:05WatusimotoI am working on an annoying and frustrating problem that I would like to put on the shelf, so maybe this is a good excuse :-)
19:05:14kaen:)
19:05:33WatusimotoI'm getting a crash in the tests when a GamePair goes out of scope
19:06:00Watusimotospecifically when the ServerGame gets deleted
19:06:10Watusimotovery strange
19:06:25Watusimotook, anyway...
19:06:29Watusimotohere i go!
19:06:31DerSmileyhmmm i dont know if my error is only me or win 7 error xD
19:13:23DerSmileybut i must say bitfighter is a soooooo gooooood game :DD love that game :DD
19:15:06kaenthanks :) that makes it all worth it
19:16:50WatusimotoDerSmiley: your problem is almost certainly specific to your machine; lots of people run on win7 and it works fine. My guess is that you've hit either a weird sdl error or there is something odd about the way opengl works on your machine
19:16:53DerSmileyyes we played that yesterday with 12 of my class xDD so epic battles :DD but what would be great if you can design your ship et c:D
19:17:10Watusimotofunny... there is a thread about that in the forums right now.
19:17:15DerSmileyohhh ::/:
19:17:31DerSmileyabout the error?
19:17:34Watusimotowe've been talking about the idea of an additional module slot that would basically give you a different ship
19:18:11DerSmileyhaha no i mean at settings a menu ship and there you can design your ship xD
19:18:12Watusimotoso a faster ship, a stronger one, one that is self-healing, etc.
19:18:19Watusimotolike what do you mean?
19:18:25Watusimotolike the ship shape?
19:18:28DerSmileyokay that would be great too xD
19:18:49DerSmileyi mean that you can design your ship so it look different
19:19:58Watusimotowhat do you mean -- so that it looks like a square instead of a triangle?
19:20:00DerSmileyno ship types only the layout of ship :DD but with the ship types that is a great idea i really need to say :)
19:20:07DerSmileyyes that i mean :D
19:20:16DerSmileythat you have a window where you can design it xDD
19:20:19Watusimotowe've actually tried that, on a limited basis
19:20:21DerSmileywith a pen as example xD
19:21:15Watusimotowell, we came up with I think 4 different ship shapes (to test the idea), and they all seemed pretty good on paper, but it didn't really seem to work in code
19:21:21Watusimotoor rather in practice
19:21:28Watusimotoit just felt weird and awkward
19:22:00Watusimotothe code is all in the codebase still, so maybe if you are motivated you can build the game with the alternate ship shapes, and see for yourself
19:26:43DerSmileywell you only need a hitbox and the layout of ship does not need a new hitbox based on the layout xD only skin :DD
19:29:11Watusimotoalso, considering that many of our players are 12 years old, how many flying penises do you really want to look at? :-)
19:32:15DerSmileywell thats no problem then add a settings button toggle custom ships on or off :)) so the problem is solved :)
19:32:40Watusimotogood idea!
19:33:02Watusimotowe get some very creative player names
19:35:41DerSmileyhaha i programmed some games already and full of ideas :DD
19:35:52DerSmileyif you want i can support you with ideas etc :DD
19:36:27DerSmileyor play tester or something xD
19:36:33DerSmileybut this game is great :D
19:37:09kaenwe're always looking for more testers, devs, and players :)
19:37:20kaenit'd be great to have another knowledgeable windows tester
19:38:28DerSmileyyes i help where i can :DD
19:39:09DerSmileyand i can look at c++ xD thats not so hard i know java, delphi and c# so only other syntax and function names :D
20:16:36Invisible has joined
20:25:05Watusimotoyeah, you'd have no problem with our codebase. There are difficulties, of course, but they are in understaning how the client/server nature of the game works; the code itself is pretty clear, I think
20:39:49Watusimotokaen: I need to add the /DEBUG flag to vc++ building in debug mode. Where would I do this in CMakeLists
20:39:50Watusimoto?
20:40:30Watusimotoset(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /DEBUG") ?
20:40:45Watusimotoinside the if(MSVC) block?
20:41:17kaenthat looks right, yes
20:42:08Watusimotoor this
20:42:09Watusimotoset(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS} /DEBUG")
20:42:14Watusimotoprobably that one
20:42:41WatusimotoI've never tinkered with the cmake files, aside from adding .cpp refs
21:44:23Watusimotonow I'm getting all sorts of link errors
21:45:03WatusimotoI had the new stack trace built and working (at least nominally), then tinkered with the cmake file, and now I got nothing :-(
21:47:26raptor has joined
21:47:27ChanServ sets mode +o
21:48:09raptorWatusimoto: you should not have to touch any flags with the CMakeLists
21:48:22Watusimotoah, but I do
21:48:32WatusimotoI need to add the /debug flag to debug builds
21:48:40raptorwhy?
21:48:42Watusimotootherwise I can't add any breakpoints
21:48:44raptorcmake already does that
21:48:52raptoryou select the 'Debug' build
21:48:54Watusimotoit doesn't for me
21:48:57Watusimotoit used to
21:49:02raptorwhat?
21:49:15raptorthat sounds like an issue with your IDE and not cmake...
21:49:37Watusimotowhen I revert cmake, then load the project into vc++, I don;t get debugging symbols
21:49:54WatusimotoI need to manually check the /debug option in the project options
21:50:02raptorand select 'debug' target?
21:50:13raptorthat doesn't make sense
21:50:21raptorwhat generator are you using for vc++ ?
21:50:25Watusimotoyes, of course I select debug target
21:50:31WatusimotoI use the one that vc++ runs
21:50:45WatusimotoLet me undo my edits, and manually run cmake
21:50:52raptorbefore you do
21:51:07raptorbefore you rerun cmake
21:51:12raptorin the build directory
21:51:25raptorremove any file/directory starting with CMake*
21:51:35raptorthat should remove the cmake cache, too and start from scratch
21:51:57Watusimotothese are the options I get
21:51:58Watusimotohttp://i.imgur.com/Di4iRq3.png
21:52:06Watusimotogenerate debug info needs to be yes
21:52:24raptorthat's weird
21:52:33Watusimotohttp://i.imgur.com/KUGLpZv.png
21:52:36Watusimotolike that
21:52:41Watusimotoit's been happening for a while
21:52:47raptorwhen did this stop working for you? and did it coincide with a reinstall of vc++ or cmake?
21:52:53Watusimototonight I decided to try to fix the problem, not the symptom
21:52:54Watusimotono
21:52:59WatusimotoI haven;t reinstalled either
21:53:11raptorand this is vs2013
21:53:13raptor?
21:53:20Watusimotoyes
21:53:29Watusimotoit was working quite well for a while
21:54:15Watusimotothough now I can't build at all
21:54:18raptoryeah, remove the cmake cache and junk
21:54:23Invisible Quit (Read error: Connection reset by peer)
21:54:25raptorclose down vc++
21:54:30raptorand rerun the generator
21:54:37Watusimotowhere is cmake cache
21:54:38Watusimoto?
21:54:47raptorin the 'build' directory where you run the generation
21:54:48Watusimotounder build?
21:54:59raptori always do: rm -r CMake*
21:55:00Watusimotocmakecache.txt
21:55:09raptoryup
21:55:15raptorand the sub-dir CMakeFiles
21:56:00Watusimotook, deleted the cache, rebuilding the project manually
21:56:57Watusimotorestarting vc++
21:57:17raptorwhat generator did you use? Visual Studio 10? 12?
21:57:58Watusimotohttp://i.imgur.com/zz6HNZH.png
21:58:04Watusimotovs10
21:58:27raptorhuh...
21:58:36raptorlet me check recent cmake changes
21:59:19raptoralso, i'd use the 'Visual Studio 12' generator
21:59:24raptorsince that's your IDE
22:00:33Watusimotoactually, adding the line:
22:00:34Watusimotoset(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS} /DEBUG")
22:00:49Watusimototo cmakelists does not actually fix the problem
22:01:01Watusimotoso I'll remove it
22:01:17Watusimotooh wait
22:01:21Watusimotolet me try again
22:01:39raptorjust curious which sub project are you looing at? 'bitfighter'?
22:01:49raptorand which CMakeLists are you editing?
22:01:53raptorthe one under zap/ ?
22:02:41raptorsam686 made this change recently: https://code.google.com/p/bitfighter/source/detail?r=4c49cbae4333
22:02:53Watusimotothe top level file
22:02:59WatusimotoI added set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} /DEBUG")
22:03:07Watusimoto(different than what I posted before)
22:03:15Watusimotobut that also didn't fix the issue
22:03:31raptoryou shouldn't have to do that because cmake already adds those to the debug target by default
22:04:02Watusimotook, well, I've re-removed it
22:04:26Watusimotoat this point, I'm just trying to get a build done for DerSmiley
22:04:38Watusimotothe code is all written, but not yet tested
22:04:43Watusimotoit has compiled
22:04:57raptoris that stack trace code i found?
22:05:01WatusimotoI should have left well enough alone :-(
22:05:02Watusimotoyes
22:14:29Watusimotook, well, it's built now
22:14:42WatusimotoI need to induce a crash to test it
22:15:50raptorwhat vc++ section is that debugging symbols bit under?
22:16:03raptoroh wait, i see it 'Debugging'
22:16:30raptorwait, that's under 'linker'
22:17:37raptorah ok
22:17:40Watusimotoyes
22:17:49raptoryeah, we've never added the debug symbols with the linker directly into the exe
22:18:03raptorit always generates that separate pdb file
22:18:11raptorbut that has nothing to do with break points
22:18:25Watusimotoodd... because when I don't set that option, I get a message like this:
22:19:13Watusimotodebugging information cannot be found or does not match. No symbols loaded.
22:19:13WatusimotoDo you want to continue debugging ?
22:19:23raptorthat's crazy
22:19:26Watusimotochanging that setting fixes the problem
22:19:31raptormaybe the pdb file is corrupted
22:19:43Watusimotono, manually wiping the pdb doesn't help
22:20:06Watusimotohttp://stackoverflow.com/questions/2322876/debugging-information-cannot-be-found-or-does-not-match-visual-studios
22:20:08raptordid you change any settings in vc++ that have to do with symbol lookup?
22:20:15Watusimotothe 13 point answer is the onlything that worked
22:20:19Watusimotono
22:20:43raptorthat would work because its adding the symbols directly to the exe
22:21:01raptorwhich makes a 70MB? exe
22:21:21Watusimoto12MB
22:21:48raptorthat seems low
22:21:49Watusimotohttp://i.imgur.com/5A0pUlo.png
22:22:14raptorseems like the symbols still aren't in there
22:22:18raptorbut something is working
22:22:34Watusimotothere;s a pdb with the same date
22:22:37Watusimotoand tiem
22:22:43Watusimotoso I think the symbols are in the pdb
22:22:48raptorha
22:22:52Watusimotothat's 48MB
22:22:57raptorthat's more like it
22:23:16Watusimotobut what is not working is printing stack traces after a divide by 0 error
22:23:18raptori'm doing a clean compile in my VM on winxp vc++ 2010
22:23:23Watusimotoand it should be working
22:23:31raptoroh yeah, that's because a rift in space-time is created
22:23:38Watusimotobecause that is one of the errors that is supposed to be trapped
22:23:41raptorso undefined things can occur... :)
22:24:16raptorjust call a member on a NULL pointer
22:24:22raptordivide by zero can be weird
22:25:43WatusimotoI don't knwo how else to test it... double delete? perhaps it will work better in a release build
22:28:56raptorwhat on earth
22:29:02raptori'm getting the same warning as you
22:29:22raptorok, now I think we broke it in CMake...
22:33:38raptortesting 019c
22:36:16Watusimotook, in the middle of the ServerGame constructor, I added a line:
22:36:18Watusimotodelete this
22:36:27Watusimotothat should induce a crash
22:36:31raptorhaha
22:36:35Watusimotoand lo' and behold, I got a stack trace!
22:36:36Watusimotoc:\Users\Chris\Documents\bf-trunk\exe>bitfighter_debug
22:36:36WatusimotoWelcome to Bitfighter!
22:36:36WatusimotoClient connecting to master [bitfighter.net:25955]
22:36:36WatusimotoClient established connection with Master Server
22:36:37WatusimotoCaught signal 11 (SIGSEGV)
22:36:39WatusimotoStack Trace:
22:36:41Watusimotoc:\Users\Chris\Documents\bf-trunk\exe>
22:36:45Watusimotohmmmm
22:36:47raptorwoo hoo!
22:36:57raptornow you need to do the unwinding
22:37:16Watusimoto// SIGSEGV and SIGBUS are generated when the program makes an illegal memory access, such as reading unaligned
22:37:16Watusimoto// memory, dereferencing a NULL pointer, reading memory out of bounds etc. SIGBUS is not supported under Windows.
22:37:32Watusimotothe unwinding is done,supposedly
22:37:56Watusimotonow I need to stack trace the stacktracer
22:40:35raptorok, 019c debugging works
22:40:40raptorfrom cmake
22:40:45raptortime to see what went wrong...
22:42:40raptorI think i no the issue...
22:46:40raptorTADA!
22:46:47BFLogBot Commit: d736783384e1 | Author: buckyballreaction | Message: Fix overriding of linker flags for Visual Studio
22:47:10raptorok, that should fix the debugging problems
22:47:21Watusimotofeast or famine
22:47:21raptornow to rip out a seatbelt from my car... back later!
22:47:26Watusimotook
22:47:31Watusimotohere is the latest stacktrace, btw
22:47:33Watusimotohttp://hastebin.com/luqovijofi
22:47:37Watusimotocheck it later
22:47:46Watusimotobtw, I agree that seatbelts are for sissys
22:47:52raptoroooo
22:47:56raptorthat's a big trace!
22:48:06Watusimotoas I said.. feast or famine
22:48:31raptorgluttonous
22:48:43Watusimotonot too helpful
22:48:50Watusimotoshould point to constructor of ServerGame
22:48:58Watusimotoand sort of does, if you are looking for it
22:49:19raptorhey, i'm happy with a line number
22:49:36Watusimotowell, I give this build to DerSmiley
22:49:42Watusimotowe'll hear back from him later
22:49:46Watusimotoenjoy your car work
22:49:53Watusimotobtw, you shoudl remove the airbags too
22:50:00Watusimotoalso very wimpy
22:50:15Watusimotojust line the dash with spikes
22:50:17Watusimotothat's what I do
22:50:21Watusimotokeeps me alert
22:50:46WatusimotoDerSmiley: are you still around?
22:55:52Flynnn has joined
22:56:59WatusimotoDerSmiley: a new build is here: http://sam6.25u.com/upload/bitfighter_debug.exe
22:57:29Watusimotoit is not compatible with your current build; you can test it by copying it into the same folder as bitfighter.exe and run it form the cmd line
22:57:57Watusimotoit will likely spit out a whole lot of stuff, just copy it all and put it in pastie, and put the link here
22:58:42WatusimotoI'm going to bed soon; I will be around a little tomorrow, then I'll be away for a few days. Perhaps someone else here can help you, but I will defintely take a look when I get back
22:59:25Watusimotowait... don't download that link yet!!!!
23:03:31BFLogBot Commit: 33fdf9638e6a | Author: watusimoto | Message: Cleanup, renaming, comments, etc.
23:03:33BFLogBot Commit: 59d34b9b9772 | Author: watusimoto | Message: Add some new constructors for Team
23:03:34BFLogBot Commit: 32a07b42403e | Author: watusimoto | Message: Add some more tests... there need to be more for this to be meaningful
23:03:36BFLogBot Commit: 6236c0b1aebd | Author: watusimoto | Message: Add an alternate signature
23:03:37BFLogBot Commit: 3dd3d3bd07cf | Author: watusimoto | Message: Comments, fix signature, add placeholder for overtime check
23:03:39BFLogBot Commit: e161394211f9 | Author: watusimoto | Message: Add stack trace, fix warning
23:03:40BFLogBot Commit: 4e74b4230ce7 | Author: watusimoto | Message: Merge
23:04:48Watusimotook, here's that link again
23:04:48Watusimotohttp://sam6.25u.com/upload/1bitfighter_debug.exe
23:05:00Watusimotouse that one ^^^^^^^^^^
23:28:53YoshiSmb has joined
23:31:30YoshiSmb is now known as YoshiSmb_pc
23:33:45Nothing_MuchHi guys
23:34:43Nothing_Muchkaen: Are you okay with dealing with the Debian repository? I didn't want you to feel as if you were putting something on me
23:34:58kaentotally
23:35:09kaenI've almost got a package ready to throw over the wall
23:35:23Nothing_Muchover the wall?
23:35:36Nothing_Muchoh oh!
23:35:39kaenI'm going to submit it for review by debian
23:35:43Nothing_Muchmake sure it uses SDL2!
23:35:50kaenoh yeah...
23:35:53Nothing_Muchit won't be in Wheezy, but possibly Jessie!
23:35:55kaenthanks for reminding me :)
23:36:05Nothing_Muchkaen: no problem
23:36:18YoshiSmb_pc Quit (Ping timeout: 240 seconds)
23:36:22Nothing_Muchoh and don't worry about putting stuff on me, if I can handle it it won't be like, putting it on me :P
23:41:47YoshiSmb has joined
23:47:48YoshiSmb Quit (Ping timeout: 240 seconds)
23:51:56Flynnn Quit (Quit: This computer has gone to sleep)
23:54:25Nothing_MuchI think I see someone new here!
23:55:38kaenyes
23:55:45kaenand he came with a new bug report :)
23:56:06Nothing_Muchnice
23:56:21kaenlet's make a note to add some bugs so people come to the channel more often
23:56:30Flynnn has joined
23:59:21Nothing_Muchkaen: bugs where?\
23:59:45Nothing_Muchadd bugs here or something?
23:59:55kaento the game :P

Index Search ←Prev date Next date→

These logs were automatically created by BFLogBot on irc.freenode.net.