[sword-devel] Problems with imp2ld not responding

Sebastien Koechlin seb.sword at koocotte.org
Tue Jan 8 01:45:26 MST 2008


On Mon, Jan 07, 2008 at 08:22:31PM -0400, Alonso Graterol wrote:
>     I just installed svn build with no different result than before. Same
> symptoms. I did not say it before, I'm running kernel 2.6.22.15

As two people have the same problem I think it's time to use linux tools to
analyse this.  Can you:

1. run ldd on your binary (ldd /.../bin/imp2ld) and post the output.

2. run the program with strace to reproduce the problem (strace -o
/tmp/imp2ld.strace imp2ld [arg1] [...]).  Wait few seconds until you think
it's looping, you can stop it with Ctrl-C.  Don't post the output file
(/tmp/imp2ld.strace) in the list as it will probably huge, but use an free
online service (like http://pastebin.com/ or if you can read french
http://dl.free.fr/).  This file will display any system call and answer,
allowing us to see I/O errors and things like that.

3. run the program with gdb:
	gdb imp2ld
	(gdb is starting)
	run [arg1] [....]
	(wait until you think it's looping)
	(hit Ctrl-C)
	bt
it will produce a backtrace of the stack, allowing us to see where is it
looping. Just post the backtrace on the list.

-- 
Seb, autocuiseur



More information about the sword-devel mailing list