Hi rzyjontko,
Downloaded Elmo 1.2 and 1.3 versions
Source packages and compiled on my machine running FC3.
The Compilation went proper, but when executing elmo, I
am getting segmentation fault.
Running through gdb:
Program received signal SIGSEGV, Segmentation fault.
0x0805124f in htable_insert (table=0x1, key=0x8078b09
"addressbook", content=0x1) at hash.c:201
201 unsigned hashval = hash (key,
table->exponent);
rzyjontko, I would like to work on this application (
to get involved in some project and improve my skills).
Please assist me if you can.
- Senthil
PS: I had earlier approached you when there were C
developer required, but I could not make myself avail,
as I was not in touch with C programming. My practice
with programming is going on still and I feel that elmo
is a good project.
Logged In: YES
user_id=447396
I don't know what FC3 is, but I had the same problem when
running elmo on Solaris. I was inspecting this for quite a
long time, but couldn't find any reason why the program
crashes, mainly due to the fact that there is no
valgrind-like tool for Solaris.
If you want to work on elmo, just do what you like and send
me patches. If I like them, I will give you a write access
to the repository.
Logged In: YES
user_id=942711
FC3 = Fedora Core 3.
Thanks!, I will update more.
Logged In: YES
user_id=942711
Program received signal SIGSEGV, Segmentation fault.
0x080517e7 in htable_insert (table=0x1, key=0x807a165
"addressbook", content=0x1) at hash.c:201
201 unsigned hashval = hash (key, table->exponent);
(gdb) where
#0 0x080517e7 in htable_insert (table=0x1, key=0x807a165
"addressbook", content=0x1) at hash.c:201
#1 0x0806f7e0 in confhold_register (name=0x807a165
"addressbook", fieldcount=-1) at confhold.c:231
#2 0x0804abc1 in main (argc=1, argv=0xfeeeac34) at elmo.c:201
(gdb)
---
Hi rzyjontko,
I am trying small changes at the above line numbers and I
not able to figure out the cause of crash.
if you can, plz guide me as how this can be worked out.
Attaching the strace output as well.
Senthil