IRC log for #brlcad on 20070804

00:01.36 ``Erik I hope that doesn't mean I have to turn in my geek badge :(
00:02.28 ``Erik (at least I'm grown up enough to admit it, unlike many 'prolific developers' if you watch the geek news lately)
00:05.15 ``Erik wanna know what's funny? I tried to 'filevault' my dual g5 tower with an 80g drive today
00:05.15 ``Erik it's about 60% full
00:05.15 ``Erik it told me I have insufficient space, i'm ~4000gb short on hdd space
03:17.01 ``Erik swank
03:17.18 ``Erik how mayn $'s deep for the gear?
03:54.56 Twingy http://js.cx/~justin/images/SOJ32_PROTO_BOARD.jpg
04:10.06 louipc Twingy: .0001 inch?
04:10.18 Twingy 0.01"
04:10.41 louipc that's 10 thou :D
04:11.00 Twingy 10 mil, yes
04:11.05 Twingy that's what I said
04:11.24 Twingy 10 mil == 0.01"
04:11.34 louipc ah I'm not familiar with that terminology usage
04:12.29 louipc I learned and work with a bunch of british machinists that call it a 'thou' or 'thousandth'
04:13.19 Twingy in the land of electronics everything is measure in 'mil'
04:13.33 louipc ah
04:14.46 Twingy I'll solder it on sunday
04:15.01 Twingy will be easy
04:15.09 Twingy not like a qfp100
04:15.25 louipc I couldn't say hah
04:15.41 Twingy http://js.cx/~justin/images/QFP64_PROTO_PIC18F67J11.jpg
04:15.47 Twingy ^-- those are annoying to solder
04:16.48 louipc ouch must be, I've only ever soldered + and - wires to their places
10:58.33 *** join/#brlcad thing0 (n=ric@124-168-111-48.dyn.iinet.net.au)
10:58.38 thing0 heya
11:31.32 *** part/#brlcad tessier_ (n=treed@kernel-panic/sex-machines)
12:36.00 *** join/#brlcad elite01 (n=elite01@dslb-088-070-013-151.pools.arcor-ip.net)
13:33.28 *** join/#brlcad desti (n=desti@p5B01BC3B.dip0.t-ipconnect.de)
15:26.53 *** join/#brlcad Elperion (n=Bary@p54874BF3.dip.t-dialin.net)
19:18.55 louipc hello
19:35.37 brlcad howdy louipc
19:37.11 louipc I was looking at g_torus.c to try and figure out what was going on :/ no clue
19:37.37 brlcad really?
19:37.58 brlcad all the g_*.c's are pretty simple -- set of callback routines
19:38.02 brlcad unless you mean the actual math
19:39.18 brlcad g_xxx.c will give you an idea of the overall structure
19:39.22 louipc I did another trace that has more detail it looks like it shouldn't get to the line that the error is at
19:39.25 louipc http://pastebin.archlinux.org/11584
19:39.29 louipc ok
19:40.38 brlcad ray-tracing generally involves just three or so of he routines, a prep routine called before all the rays first, then a hit/shot routine that actually evaluates a ray against the primitive, and a normal routine that reports on the curvature (so it shades correctly)
19:41.04 brlcad ahh, right -- you had the crash
19:41.31 brlcad I have a big patch here that might actually fix the problem if it's what I think might be going on
19:41.44 louipc aah sweet
19:42.16 brlcad that's a BIG if
19:42.33 brlcad it shouldn't be happening at all, even with non-ieee math
19:42.43 brlcad did you compile optimized or with extra compilation flags?
19:42.59 *** join/#brlcad Laniakea (i=clock@77-56-106-16.dclient.hispeed.ch)
19:43.00 louipc a lot of this is over my head, I just thought I might see if something looked off I've been able to fix other things like that
19:43.32 louipc well that latest trace I turned off optimized ... it should be just plain then
19:43.51 brlcad and it *still* crashed?
19:44.03 louipc yep
19:44.05 brlcad wow
19:44.52 brlcad try applying this patch
19:44.54 brlcad http://bzflag.bz/~sean/smallint.patch
19:45.01 brlcad patch -p0 < smallint.patch
20:01.32 PrezKennedy hey brlcad
20:04.28 brlcad howdy PrezKennedy
20:05.02 *** join/#brlcad elite01_ (n=elite01@dslb-088-070-013-151.pools.arcor-ip.net)
20:09.30 brlcad geez, still don't get that crash, even with bad math unless the routines are returning NaN or something
20:09.35 louipc what's fastf_t?
20:09.41 brlcad that line it's crashing on is simply: 3.14159265358979323846 / .15692964165835220337
20:10.08 brlcad acos(1 - 0.26000000000000001) --> -.83307035834164779663
20:10.34 brlcad + .99 --> .15692964165835220337
20:10.44 brlcad fastf_t is double
20:11.13 brlcad on most systems at least, potentially could be a float but that's on really old/obscure systems
20:16.54 louipc hmm I see yeah it's odd
20:20.35 brlcad the only thing that leaves if the stack isn't simply stomped (which doesn't seem to be the case in the backtrace) is that acos() is broken or bn_pi is corrupted (by some earlier problem)
20:20.57 brlcad if you have it crash again, try "p bn_pi" if it crashes
20:22.06 louipc in gdb right?
20:22.10 brlcad right
20:22.15 louipc ok
20:22.19 brlcad but try the patch first, just curious if it makes any difference
20:22.32 louipc it's building now
20:22.49 brlcad shouldn't now that I see the values in your trace
20:39.25 *** join/#brlcad Twingy (n=justin@74.92.144.217)
22:07.20 *** join/#brlcad louipc (n=louipc@bas8-toronto63-1096669315.dsl.bell.ca)
22:10.13 louipc hmm
22:10.34 louipc ok half_theta is 0
22:10.41 louipc divide by zero erro
22:10.48 louipc bi_pi looks fine
22:13.21 louipc cos_half_theta is also 0 hmmm
22:18.02 *** join/#brlcad Elperion (n=Bary@p54875F12.dip.t-dialin.net)
23:24.38 *** join/#brlcad CIA-4 (n=CIA@208.69.182.149)
23:30.41 *** join/#brlcad MinuteElectron (n=MinuteEl@silentflame/member/minuteelectron)
23:30.57 MinuteElectron I'm back.
23:31.28 MinuteElectron I am at my father's house until Friday - he has 3 computers with the net so more than enough for everyone. Unlike my grandparents, who only have one.
23:31.35 MinuteElectron brb
23:32.01 louipc I only have 1 :/
23:32.15 MinuteElectron heh
23:32.32 MinuteElectron There are four people who want to use the computer at the same time at my fathers house.
23:32.45 MinuteElectron Fourtunatley I have a Nintendo Wii that my brother can use.
23:33.17 louipc :D
23:33.33 MinuteElectron The one I am using ATM is the best in the house - but my Dad got it for free.
23:34.30 MinuteElectron From a member of the family.
23:34.49 MinuteElectron Who had a better PC.
23:35.06 louipc hehe everyone pretty much as a better PC than me
23:35.30 MinuteElectron spec?
23:36.00 louipc PIII 866MHz
23:36.06 MinuteElectron cool
23:36.43 MinuteElectron This one is 1.3GHz, but the one before this (from 1999) was only a PII.
23:37.04 louipc ah
23:50.59 *** join/#brlcad CIA-4 (n=CIA@208.69.182.149)
23:51.32 MinuteElectron detached

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.