bug-global
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: crash when parsing boost c++ headers


From: Alex Ott
Subject: Re: crash when parsing boost c++ headers
Date: Thu, 22 Jan 2009 12:54:38 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

>>>>> "SY" == Shigio YAMAGUCHI writes:
 >> I able to reproduce this on our project, that includes boost includes.
 >> When i generate gtags for this project, GTAGS files is increased to
 >> 2Gb, and then gtags stops working.

 SY> What do you mean with the word 'stop'?  Could you explain it as you
 SY> see?

It report, that it couldn't write to file (i think, that it doesn't support
files with size more than 2Gb)

here is log of strace (last lines)

read(5, "ass P13 , class P14 , class P15 ,"..., 4096) = 4096
read(5, " item113; typedef mpl::int_<1> it"..., 4096) = 4096
lseek(3, 2147467264, SEEK_SET)          = 2147467264
write(3, "\376\377\3\0\0\0\0\0\0\0\0\0\4\0\0\0\0\0\0\00010985 @n 314 "..., 
8192) = 8192
lseek(3, 1723179008, SEEK_SET)          = 1723179008
write(3, 
"\2555\3\0u\230\2\0\6\232\2\0\2\0\0\0x\2P\3\350\37\320\37\270\37\240\37\210\37p\37X"...,
 8192) = 8192
lseek(3, 1899298816, SEEK_SET)          = 1899298816
read(3, 
"\250\211\3\0S\210\3\0B\376\3\0\2\0\0\0.\0\10\20(\21\20\21\370\20\340\20\310\20\260\20\10"...,
 8192) = 8192
read(5, "               315 ./ExtLibs/buil"..., 4096) = 4096
read(5, "int_<1> item105; typedef mpl::int"..., 4096) = 4096
read(5, " typedef mpl::int_<1> item242; ty"..., 4096) = 4096
lseek(3, 2147475456, SEEK_SET)          = 2147475456
write(3, "\377\377\3\0\0\0\0\0\0\0\0\0\4\0\0\0\0\0\0\00010985 @n 314 "..., 
8192) = 8191
write(2, "gtags: "..., 7gtags: )               = 7
write(2, "cannot write to database."..., 25cannot write to database.) = 25
write(2, "\n"..., 1
)                    = 1


gtags is 5.7.1 from ubuntu repository

 SY> If possible, could you please show me the output of top(1) or ps(1)
 SY> when gtags 'stopped'?

 SY>    % ps u | grep gtags (In BSD system)

-- 
With best wishes, Alex Ott, MBA
http://alexott.blogspot.com/           http://xtalk.msk.su/~ott/
http://alexott-ru.blogspot.com/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]