SegFault will importing some files from OpenOffice

Ben Elliston bje@redhat.com
Tue Dec 26 14:09:00 GMT 2000


Hi Kevin,

   I found about 3 or 4 files that cause hangs.  Most of them are
   makefiles of some sort.  I would guess since I see no hangs under
   snavigator that these files are recongnized as non-source related
   files and that they are not added to the database of files to process.

I think you're correct.

   By the way, once I remove all of the hanging files, cbrowser processes
   the complete list of files with no failures.  However, each and every
   time I start up snavigator and have it import the openoffice-613
   source tree it will repeatedly segfault on the exact same files each
   time.

Then perhaps the problem is elsewhere (ie. in dbimp).  The children work
something like this:

	hyper
	|
	`- cbrowser  <=
	   |          || pipe
	   `- dbimp  <=

cbrowser emits symbol information which `dbimp' imports into the database.

   I tried running hyper inside gdb and then setting gdb follow-fork-mode
   child but hyper repeatedly forks children to run cbrowser and I simply
   can't catch the error (I have to manually attach gdb to each forked
   process and I can't simply keep up).

That surprises me.  It ought to have caught the problem.

   Is there some other way to debug this?  Would an strace -f output help
   at all?

Yes, or ltrace, if you have it, would be better.

Ben



More information about the Sourcenav mailing list