jakesays-old / thrudb

Automatically exported from code.google.com/p/thrudb
0 stars 1 forks source link

Thrudex segfault #11

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Launch thrudex (with THREAD_COUNT => 4 it append much sooner)
2. Launch thrudex_bench --loop=1000 --clients=100

What is the expected output? What do you see instead?

Thrudex is crashing with a segmentation fault.
(see attached stacktrace in gdb)

What version of the product are you using? On what operating system?
Thrudex svn revision 442
Linux 2.6.24-19-generic x86_64

Please provide any additional information below.

Config :
INDEX_ROOT     = index
THREAD_COUNT      = 4
SERVER_PORT       = 11299

Don't hesitate to ask if you need more informations.

Original issue reported on code.google.com by Madma...@gmail.com on 3 Apr 2009 at 7:47

Attachments:

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
working on this...

Original comment by jake%3.r...@gtempaccount.com on 7 Apr 2009 at 12:44

GoogleCodeExporter commented 9 years ago
I'm afraid this is a concurrency issue with CLucene.  I'm working on a test 
case to send to them.  It's to do with 
their implementation of Thread Specific Storage.  In the meantime, I'm working 
on implementing the Thrudex in 
java with java lucene. I think Java Lucene has come a long way since I started 
thrudb and the performance may 
be close to CLucenes... stay tuned...

Original comment by jake%3.r...@gtempaccount.com on 11 Apr 2009 at 6:24

GoogleCodeExporter commented 9 years ago
Actually I think I found a issue in thrudex. I've committed the fix, please 
verify 

I'm able to run with no crashes now.  

The issue was caused when sync() the getSearcher() call were made concurrently.

Original comment by jake%3.r...@gtempaccount.com on 13 Apr 2009 at 1:46

GoogleCodeExporter commented 9 years ago
I updated to revision 447 and ran the same test.
It's crashing again, see attached trace.

Original comment by Madma...@gmail.com on 14 Apr 2009 at 4:07

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by jake%3.r...@gtempaccount.com on 22 Jul 2009 at 11:52