View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001162Sphinxgeneralpublic2012-04-16 19:252012-10-15 05:19
ReporterTECK 
Assigned Tokevg 
PriorityhighSeveritycrashReproducibilityunable to reproduce
StatusclosedResolutionunable to reproduce 
Platformx86_64OSRedhatOS Version5.6
Product Version 
Target VersionFixed in Version 
Summary0001162: Index crash on sphinx 2.0.4-release
DescriptionUsing the Sphinx RPM's:

Stack bottom = 0x0, thread stack size = 0x14000
begin of system backtrace:
begin of system symbols:
/usr/bin/indexer(_Z12sphBacktraceib+0x88)[0x535692]
/usr/bin/indexer(_Z7sigsegvi+0xbe)[0x455130]
/lib64/libpthread.so.0[0x3b4c20eb10]
/usr/bin/indexer(_ZN10CSphString10SetSprintfEPKcz+0xce)[0x46441c]
/usr/bin/indexer(_Z17sphWriteThrottlediPKvlPKcR10CSphString+0x1ef)[0x46f463]
/usr/bin/indexer(_ZN10CSphWriter5FlushEv+0x38)[0x46ff76]
/usr/bin/indexer(_ZN10CSphWriter9CloseFileEb+0x18)[0x46ee6e]
/usr/bin/indexer(_ZN10CSphWriterD1Ev+0x1e)[0x46f0b6]
/usr/bin/indexer(_ZN17CSphDictCRCTraitsD2Ev+0x113)[0x490759]
/usr/bin/indexer(_ZN11CSphDictCRCILb0EED0Ev+0x17)[0x4d23ad]
/usr/bin/indexer(_ZN9CSphIndexD2Ev+0x44)[0x4a2f04]
/usr/bin/indexer(_ZN13CSphIndex_VLND0Ev+0x242)[0x4a4f5e]
/usr/bin/indexer(_Z7DoIndexRK17CSphConfigSectionPKcRK17SmallStringHash_TIS_EbP8_IO_FILE+0x24ec)[0x45f672]
/usr/bin/indexer(main+0x1ec3)[0x462213]
/lib64/libc.so.6(__libc_start_main+0xf4)[0x3b4b21d994]
/usr/bin/indexer(__gxx_personality_v0+0x219)[0x454b39]
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0002761)
TECK (reporter)
2012-04-16 19:30

The docid that fails contains only this text: 13,387
(0002762)
Tomat (manager)
2012-04-16 20:42

Could you check that there is a space on your HDD?

The only SphString.SetSprintf at sphWriteThrottled tried to print error on write.
(0002763)
TECK (reporter)
2012-04-16 20:57

It is a space issue, I only had 11GB free. :)
(0002764)
shodan (administrator)
2012-04-16 21:03

Another bugreport (from a DIFFERENT user) that might be related. At a glance, I would say there's a crash issue when formatting this "out of space error"


Technical Description: ERROR: index 'trea_index': /data/sphinx/trea_index.spd: write error: 3506176 of

8388608 bytes written.*** Oops, indexer crashed! Please send the following report to

developers.Sphinx 2.0.4-release (r3135)-------------- report begins here -----------

----Current document: docid=13799495, hits=19224677Current batch: minid=0, maxid=0Hit

pool start: docid=13748415, hit=20971565-------------- backtrace begins here -------

--------Program compiled with gcc 4.1.2Host OS is Linux SN001 2.6.18-274.el5xen 0000001

SMP Fri Jul 22 05:31:07 EDT 2011 x86_64 x86_64 x86_64 GNU/LinuxStack bottom = 0x0,

thread stack size = 0x14000begin of system backtrace:begin of system

symbols:./indexer(_Z12sphBacktraceib+0x78)[0x54c158]./indexer(_Z7sigsegvi+0xa0)

[0x44bf90]/lib64/libpthread.so.0[0x3dfd40eb70]./indexer

(_ZN10CSphString10SetSprintfEPKcz+0xcf)[0x459c0f]./indexer

(_Z17sphWriteThrottlediPKvlPKcR10CSphString+0x272)[0x4652d2]./indexer

(_ZN10CSphWriter5FlushEv+0x38)[0x465b38]./indexer(_ZN10CSphWriterD1Ev+0x25)

[0x482785]./indexer(_ZN13CSphIndex_VLND0Ev+0x222)[0x4ae482]./indexer

(_Z7DoIndexRK17CSphConfigSectionPKcRK17SmallStringHash_TIS_EbP8_IO_FILE+0x1c92)

[0x454da2]./indexer(main+0x1aab)[0x45745b]/lib64/libc.so.6(__libc_start_main+0xf4)

[0x3dfcc1d994]./indexer(__gxx_personality_v0+0x199)[0x44b9e9]Backtrace looks OK. Now

you have to do following steps: 1. Run the command over the crashed binary (for

example, 'indexer'): nm -n indexer > indexer.sym 2. Attach the binary, generated

.sym and the text of backtrace (see above) to the bug report.Also you can read the

section about resolving backtraces in the documentation.-------------- backtrace ends

here ---------------
(0002765)
Tomat (manager)
2012-04-16 22:53

Could you provide VM ( with small disk ) that recreated this crash locally?

- Issue History
Date Modified Username Field Change
2012-04-16 19:25 TECK New Issue
2012-04-16 19:30 TECK Note Added: 0002761
2012-04-16 20:42 Tomat Note Added: 0002762
2012-04-16 20:42 Tomat Reproducibility always => unable to reproduce
2012-04-16 20:57 TECK Note Added: 0002763
2012-04-16 21:03 shodan Note Added: 0002764
2012-04-16 22:53 Tomat Note Added: 0002765
2012-10-15 05:19 kevg Status new => closed
2012-10-15 05:19 kevg Assigned To => kevg
2012-10-15 05:19 kevg Resolution open => unable to reproduce


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker