irclog2html for #brlcad on 20051223

00:22.13*** join/#brlcad Maloeran (n=alexis@modemcable065.3-83-70.mc.videotron.ca)
01:01.17``ErikO.o
01:25.56``Erikhrm
04:11.05TwingyMySQL Beats Commercial Databases in Labs Test
04:20.10``Erikyet psql still whups mysql
04:20.12``Erik:-D
04:28.22*** join/#brlcad Maloeran (n=alexis@modemcable065.3-83-70.mc.videotron.ca)
04:36.38*** join/#brlcad pra5ad (n=pra5ad@pool-70-17-195-44.balt.east.verizon.net)
04:36.51pra5adProgram received signal SIGSEGV, Segmentation fault.
04:36.51pra5ad[Switching to Thread -1223330080 (LWP 7699)]
04:36.51pra5ad0xb7b87e09 in __gnu_cxx::__exchange_and_add () from /usr/lib/libstdc++.so.6
04:36.54pra5ad... =(
04:39.28learnereh, that's not very informative
04:39.49pra5ad(gdb) where
04:39.49pra5ad#0  0xb7ba4e09 in __gnu_cxx::__exchange_and_add () from /usr/lib/libstdc++.so.6
04:39.49pra5ad#1  0xb7b83d39 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string () from /usr/lib/libstdc++.so.6
04:39.59pra5ad=((
04:40.02learnerkeep going
04:40.20pra5ad#2  0x0804f733 in main (argc=1, argv=0xbff89424) at GLAMR_mesh.h:55
04:40.22pra5ad<end>
04:40.26learnerthere ya go
04:40.37pra5adthere what
04:40.52learneryou're apparently in some template code in GLAMR_mesh that isn't right
04:41.09pra5adno templates
04:41.27learnerthen what's line 55?
04:41.38learnermaybe inlined code
04:41.44learneror class code in the header
04:42.04pra5adit's an empty decotr
04:42.06pra5adheh
04:43.10learneris there a std::string in that class's data?
04:43.18pra5adyes
04:43.22learneror a pointer to one
04:43.27pra5adnot pointer
04:43.45learnerclass have a virtual base?
04:44.10pra5adno
04:45.12pra5adtime to trace the prog line by line
04:45.15learnerif there's no #3, smells like stack corruption
04:46.23learnerprogram should be in main() somewhere ultimately unless you're just starting up or quitting and have a problem with some static data initializer
04:47.53pra5adthat was after an exception
04:48.02pra5adobjects were being cleaned up
04:48.15pra5adseems i have issues with my data structs
04:48.15learnerahh
05:03.32pra5adoh wow
05:03.54pra5adfunction has ret val of (model*)
05:03.59pra5adbut body wasn't returning at all
05:04.02pra5adand g++ didnt complain
05:04.05pra5adyikes
05:06.15pra5adoops, twas a warning that was lost in the compiler output
05:06.15pra5ad=)
05:15.05learnereasy to avoid those in the future, add -pedantic -ansi -Werror
05:16.39pra5adrighto
05:17.26pra5addoes -Wall include -Werror ?
05:17.44brlcadno
05:17.49brlcadbut use Wall too
05:18.22pra5adah 'make all warnings into errors'
05:18.43brlcadyyyep
05:19.06brlcadshouldn't have warnings accumulate for new code
05:19.24pra5ad/usr/include/mysql/mysql.h:114: error: ISO C++ does not support ‘long long’
05:19.24pra5admake[1]: *** [glamr.o] Error 1
05:19.25pra5adlol
05:20.16brlcadadd a -std=c99
05:20.49brlcadstill errors?
05:21.14pra5adcc1plus: warning: command line option "-std=c99" is valid for C/ObjC but not for C++
05:21.41brlcadah
05:21.56brlcadthen perhaps -DNO_CLIENT_LONG_LONG
05:25.45pra5adworks
05:25.47pra5adtnx
05:29.51*** join/#brlcad PKMOBILE (n=Apathy@pcp0011645240pcs.aberdn01.md.comcast.net)
05:30.12brlcadif you run into it on a different system header, just add -Wno-long-long
05:33.36pra5adk
05:34.43pra5adeffectively doubled my fps with these new changes
05:34.49pra5adstyker at 2fps!
05:34.52pra5adwoo woo =)
14:08.38*** join/#brlcad pier (n=pier@151.56.213.59)
17:12.42*** join/#brlcad bob1961 (n=0c04d102@bz.bzflag.bz)
17:16.01*** join/#brlcad bob1961 (n=0c04d102@bz.bzflag.bz)
17:53.36*** join/#brlcad bob1961 (n=0c04d102@bz.bzflag.bz)
18:29.05*** join/#brlcad pra5ad2 (n=803f2049@bz.bzflag.bz)
18:29.31pra5ad2brlcad
18:39.02brlcad~ask
18:39.03ibotQuestions in the channel should be specific, informative, complete, concise and on-topic. Don't ask if you can ask a question first. Better questions more frequently yield better answers. Remember, we're all volunteers. Please don't /msg people without permission. See also http://catb.org/~esr/faqs/smart-questions.html
18:53.42pra5ad2my singleton has a cpl of std::string members. i know the ctor is called, but when i try read/write to said strings, i get a seg fault
18:54.22pra5ad2do i need some special syntax to init the strings?
19:02.03brlcadheh
19:05.36pra5ad2gdb is of no help
19:05.47pra5ad2although i have a hunch that the string ctors arent called
19:05.51pra5ad2dunno why
19:05.53brlcadso, you're not using my relatively simple singleton interface that has all those issues worked out and you want me to help you with your singleton
19:06.04brlcadlet me think about that one somme
19:06.39pra5ad2it doesnt break on singletongs w/ non stl member :\
19:06.45pra5ad2singletons*
19:07.17pra5ad2hell, it worked yesterday
19:07.32pra5ad2ill rip out the code changes
19:07.40pra5ad2sigh..
19:24.25pra5ad2its certainly not the singleton
19:25.08pra5ad2hrm
19:25.11pra5ad2create a new object and its the same error
19:35.26pra5ad2#0  0x00568641 in __gnu_cxx::__exchange_and_add () from /usr/lib/libstdc++.so.6#1  0x0805108a in ~GLAMR_DatabaseDIVA (this=0xbfe46d40) at /usr/lib/gcc/i386-redhat-linux/3.4.4/../../../../include/c++/3.4.4/bits/basic_string.h:217#2  0x0804e7fe in main (argc=1, argv=0xbfe47214) at /usr/lib/gcc/i386-redhat-linux/3.4.4/../../../../include/c++/3.4.4/ext/new_allocator.h:69
20:13.52pra5ad2damn where's tegtmeyer when u need him
20:46.32*** join/#brlcad PrezKennedy (n=Apathy@pcp0011645240pcs.aberdn01.md.comcast.net)
21:26.59CIA-6BRL-CAD: 03bob1961 * 10brlcad/ (954 files in 130 dirs): Merge of bobWinPort
21:31.17brlcadwoah
21:36.04archivist_3just a few
21:56.48*** part/#brlcad pier (n=pier@151.56.213.59)
22:03.12brlcadjust a few
23:34.12``Erik*yawn*
23:34.39``Erikbob merged to.. head? or did he mfc our stuff?
23:35.08pra5adcvs get tail
23:37.05pra5addragon warrior xiii, radiata stories, xenosaga ii and ffxii demo
23:37.13pra5adthat should last me 4 days
23:37.58pra5ads/warrior/quest/
23:40.35pra5admarch is gonna be painful :(
23:40.51pra5adgrandia iii, suikoden v, elder scrolls iv, ffxii full
23:48.57``Erikheh
23:59.03*** join/#brlcad hapoteh (n=hapoteh@yossman.net)
23:59.38hapotehgood evening folks.

Generated by irclog2html.pl by Jeff Waugh - find it at freshmeat.net! Modified by Tim Riker to work with blootbot logs, split per channel, etc.