[redland-dev] [Redland librdf RDF API 0000409]: rdf_init_test and rdf_cache_test segfault if threads are enables

Mantis Bug Tracker mantis-bug-sender at librdf.org
Tue Jan 4 02:40:05 CET 2011


The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.librdf.org/mantis/view.php?id=409 
====================================================================== 
Reported By:                hjansen
Assigned To:                
====================================================================== 
Project:                    Redland librdf RDF API
Issue ID:                   409
Category:                   installation
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2011-01-04 01:40
Last Modified:              2011-01-04 01:40
====================================================================== 
Summary:                    rdf_init_test and rdf_cache_test segfault if threads
are enables
Description: 
If I compile the current redland distribution (1.0.12) on my openSUSE 11.3 box
(x86_64, gcc (SUSE Linux) 4.5.0 20100604 [gcc-4_5-branch revision 160292]) using
the "--with-threads" switch "make" succeeds but "make check" stops after two
segfaults (cf. "Additional Information").
If I omit "--with-threads" everything works fine.

Additional Information: 
rdf_init_test: Creating new world
rdf_init_test: Deleting world
rdf_init_test: Setting and getting rasqal_world
rdf_init_test: Creating new world
rdf_init_test: Generating an identifier
/bin/sh: Zeile 5: 32671 Speicherzugriffsfehler  (Speicherabzug geschrieben)
REDLAND_MODULE_PATH=/root/src/redland-1.0.12/src/.libs ${dir}$tst
FAIL: rdf_init_test
/bin/sh: Zeile 5: 32690 Speicherzugriffsfehler  (Speicherabzug geschrieben)
REDLAND_MODULE_PATH=/root/src/redland-1.0.12/src/.libs ${dir}$tst
FAIL: rdf_cache_test



~/src/redland-1.0.12/src # gdb .libs/rdf_cache_test core
GNU gdb (GDB) SUSE (7.1-3.12)
[...]
Core was generated by `/root/src/redland-1.0.12/src/.libs/rdf_cache_test'.
Program terminated with signal 11, Segmentation fault.
#0  0x00002b8935d43664 in __pthread_mutex_unlock_usercnt () from
/lib64/libpthread.so.0
(gdb) bt
#0  0x00002b8935d43664 in __pthread_mutex_unlock_usercnt () from
/lib64/libpthread.so.0
#1  0x0000000000400d89 in main (argc=<value optimized out>, argv=<value
optimized out>) at ./rdf_cache.c:694
(gdb) 

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-01-04 01:40 hjansen        New Issue                                    
======================================================================



More information about the redland-dev mailing list