00:22.13 |
*** join/#brlcad Maloeran
(n=alexis@modemcable065.3-83-70.mc.videotron.ca) |
01:01.17 |
``Erik |
O.o |
01:25.56 |
``Erik |
hrm |
04:11.05 |
Twingy |
MySQL Beats Commercial Databases in Labs
Test |
04:20.10 |
``Erik |
yet 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.51 |
pra5ad |
Program received signal SIGSEGV, Segmentation
fault. |
04:36.51 |
pra5ad |
[Switching to Thread -1223330080 (LWP
7699)] |
04:36.51 |
pra5ad |
0xb7b87e09 in __gnu_cxx::__exchange_and_add ()
from /usr/lib/libstdc++.so.6 |
04:36.54 |
pra5ad |
... =( |
04:39.28 |
learner |
eh, that's not very informative |
04:39.49 |
pra5ad |
(gdb) where |
04:39.49 |
pra5ad |
#0 0xb7ba4e09 in
__gnu_cxx::__exchange_and_add () from
/usr/lib/libstdc++.so.6 |
04:39.49 |
pra5ad |
#1 0xb7b83d39 in std::basic_string<char,
std::char_traits<char>, std::allocator<char>
>::~basic_string () from /usr/lib/libstdc++.so.6 |
04:39.59 |
pra5ad |
=(( |
04:40.02 |
learner |
keep going |
04:40.20 |
pra5ad |
#2 0x0804f733 in main (argc=1,
argv=0xbff89424) at GLAMR_mesh.h:55 |
04:40.22 |
pra5ad |
<end> |
04:40.26 |
learner |
there ya go |
04:40.37 |
pra5ad |
there what |
04:40.52 |
learner |
you're apparently in some template code in
GLAMR_mesh that isn't right |
04:41.09 |
pra5ad |
no templates |
04:41.27 |
learner |
then what's line 55? |
04:41.38 |
learner |
maybe inlined code |
04:41.44 |
learner |
or class code in the header |
04:42.04 |
pra5ad |
it's an empty decotr |
04:42.06 |
pra5ad |
heh |
04:43.10 |
learner |
is there a std::string in that class's
data? |
04:43.18 |
pra5ad |
yes |
04:43.22 |
learner |
or a pointer to one |
04:43.27 |
pra5ad |
not pointer |
04:43.45 |
learner |
class have a virtual base? |
04:44.10 |
pra5ad |
no |
04:45.12 |
pra5ad |
time to trace the prog line by line |
04:45.15 |
learner |
if there's no #3, smells like stack
corruption |
04:46.23 |
learner |
program 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.53 |
pra5ad |
that was after an exception |
04:48.02 |
pra5ad |
objects were being cleaned up |
04:48.15 |
pra5ad |
seems i have issues with my data
structs |
04:48.15 |
learner |
ahh |
05:03.32 |
pra5ad |
oh wow |
05:03.54 |
pra5ad |
function has ret val of (model*) |
05:03.59 |
pra5ad |
but body wasn't returning at all |
05:04.02 |
pra5ad |
and g++ didnt complain |
05:04.05 |
pra5ad |
yikes |
05:06.15 |
pra5ad |
oops, twas a warning that was lost in the
compiler output |
05:06.15 |
pra5ad |
=) |
05:15.05 |
learner |
easy to avoid those in the future, add
-pedantic -ansi -Werror |
05:16.39 |
pra5ad |
righto |
05:17.26 |
pra5ad |
does -Wall include -Werror ? |
05:17.44 |
brlcad |
no |
05:17.49 |
brlcad |
but use Wall too |
05:18.22 |
pra5ad |
ah 'make all warnings into errors' |
05:18.43 |
brlcad |
yyyep |
05:19.06 |
brlcad |
shouldn't have warnings accumulate for new
code |
05:19.24 |
pra5ad |
/usr/include/mysql/mysql.h:114: error: ISO C++
does not support 'long long' |
05:19.24 |
pra5ad |
make[1]: *** [glamr.o] Error 1 |
05:19.25 |
pra5ad |
lol |
05:20.16 |
brlcad |
add a -std=c99 |
05:20.49 |
brlcad |
still errors? |
05:21.14 |
pra5ad |
cc1plus: warning: command line option
"-std=c99" is valid for C/ObjC but not for C++ |
05:21.41 |
brlcad |
ah |
05:21.56 |
brlcad |
then perhaps -DNO_CLIENT_LONG_LONG |
05:25.45 |
pra5ad |
works |
05:25.47 |
pra5ad |
tnx |
05:29.51 |
*** join/#brlcad PKMOBILE
(n=Apathy@pcp0011645240pcs.aberdn01.md.comcast.net) |
05:30.12 |
brlcad |
if you run into it on a different system
header, just add -Wno-long-long |
05:33.36 |
pra5ad |
k |
05:34.43 |
pra5ad |
effectively doubled my fps with these new
changes |
05:34.49 |
pra5ad |
styker at 2fps! |
05:34.52 |
pra5ad |
woo 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.31 |
pra5ad2 |
brlcad |
18:39.02 |
brlcad |
~ask |
18:39.03 |
ibot |
Questions 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.42 |
pra5ad2 |
my 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.22 |
pra5ad2 |
do i need some special syntax to init the
strings? |
19:02.03 |
brlcad |
heh |
19:05.36 |
pra5ad2 |
gdb is of no help |
19:05.47 |
pra5ad2 |
although i have a hunch that the string ctors
arent called |
19:05.51 |
pra5ad2 |
dunno why |
19:05.53 |
brlcad |
so, 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.04 |
brlcad |
let me think about that one somme |
19:06.39 |
pra5ad2 |
it doesnt break on singletongs w/ non stl
member :\ |
19:06.45 |
pra5ad2 |
singletons* |
19:07.17 |
pra5ad2 |
hell, it worked yesterday |
19:07.32 |
pra5ad2 |
ill rip out the code changes |
19:07.40 |
pra5ad2 |
sigh.. |
19:24.25 |
pra5ad2 |
its certainly not the singleton |
19:25.08 |
pra5ad2 |
hrm |
19:25.11 |
pra5ad2 |
create a new object and its the same
error |
19:35.26 |
pra5ad2 |
#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.52 |
pra5ad2 |
damn where's tegtmeyer when u need
him |
20:46.32 |
*** join/#brlcad PrezKennedy
(n=Apathy@pcp0011645240pcs.aberdn01.md.comcast.net) |
21:26.59 |
CIA-6 |
BRL-CAD: 03bob1961 * 10brlcad/ (954 files in
130 dirs): Merge of bobWinPort |
21:31.17 |
brlcad |
woah |
21:36.04 |
archivist_3 |
just a few |
21:56.48 |
*** part/#brlcad pier
(n=pier@151.56.213.59) |
22:03.12 |
brlcad |
just a few |
23:34.12 |
``Erik |
*yawn* |
23:34.39 |
``Erik |
bob merged to.. head? or did he mfc our
stuff? |
23:35.08 |
pra5ad |
cvs get tail |
23:37.05 |
pra5ad |
dragon warrior xiii, radiata stories, xenosaga
ii and ffxii demo |
23:37.13 |
pra5ad |
that should last me 4 days |
23:37.58 |
pra5ad |
s/warrior/quest/ |
23:40.35 |
pra5ad |
march is gonna be painful :( |
23:40.51 |
pra5ad |
grandia iii, suikoden v, elder scrolls iv,
ffxii full |
23:48.57 |
``Erik |
heh |
23:59.03 |
*** join/#brlcad hapoteh
(n=hapoteh@yossman.net) |
23:59.38 |
hapoteh |
good evening folks. |