Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 385365 - [gnome-overlay] gnome-extra/gnome-documents-0.2.0::gnome segfaults in get_random_fd (libuuid)
Summary: [gnome-overlay] gnome-extra/gnome-documents-0.2.0::gnome segfaults in get_ran...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-02 11:03 UTC by Valentin David
Modified: 2011-12-17 15:09 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Valentin David 2011-10-02 11:03:24 UTC
Here is the backtrace:
#0  0x00007fffea0cf980 in get_random_fd () at gen_uuid.c:156
#1  0x00007fffea0d086f in uuid_generate (out=0xb8abb0 "") at gen_uuid.c:669
#2  0x00007fffe2fc80b0 in tracker_sparql_query_construct () from /usr/lib64/tracker-0.12/libtracker-data.so.0
#3  0x00007fffe3239931 in ?? () from /usr/lib64/libtracker-sparql-0.12.so.0
#4  0x00007fffe323a0d5 in ?? () from /usr/lib64/libtracker-sparql-0.12.so.0
#5  0x00007fffe3227bbe in ?? () from /usr/lib64/libtracker-sparql-0.12.so.0
#6  0x00007ffff6866d7c in ffi_call_unix64 () from /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/libffi.so.4
#7  0x00007ffff68667f5 in ffi_call () from /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/libffi.so.4
#8  0x00007ffff7bca575 in ?? () from /usr/lib64/libgjs.so.0
#9  0x00007ffff7bcb5d7 in ?? () from /usr/lib64/libgjs.so.0
#10 0x00007ffff63fbc25 in ?? () from /usr/lib64/libmozjs185.so.1.0
#11 0x00007ffff63e804c in ?? () from /usr/lib64/libmozjs185.so.1.0
#12 0x00007ffff63fb565 in ?? () from /usr/lib64/libmozjs185.so.1.0
#13 0x00007ffff63fba02 in ?? () from /usr/lib64/libmozjs185.so.1.0
#14 0x00007ffff63cd7b1 in ?? () from /usr/lib64/libmozjs185.so.1.0
#15 0x00007ffff63fba83 in ?? () from /usr/lib64/libmozjs185.so.1.0
#16 0x00007ffff63fc8b3 in ?? () from /usr/lib64/libmozjs185.so.1.0
#17 0x00007ffff6375b11 in JS_CallFunctionValue () from /usr/lib64/libmozjs185.so.1.0
#18 0x00007ffff7bc94d7 in ?? () from /usr/lib64/libgjs.so.0
#19 0x00007ffff6866b99 in ffi_closure_unix64_inner () from /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/libffi.so.4
#20 0x00007ffff6866ee4 in ffi_closure_unix64 () from /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/libffi.so.4
#21 0x00007ffff59b85a7 in g_simple_async_result_complete () from /usr/lib64/libgio-2.0.so.0
#22 0x00007ffff59b8638 in ?? () from /usr/lib64/libgio-2.0.so.0
#23 0x00007ffff746ce15 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#24 0x00007ffff746d660 in ?? () from /usr/lib64/libglib-2.0.so.0
#25 0x00007ffff746dba2 in g_main_loop_run () from /usr/lib64/libglib-2.0.so.0
#26 0x00007ffff283f5fd in gtk_main () from /usr/lib64/libgtk-3.so.0
#27 0x00007ffff6866d7c in ffi_call_unix64 () from /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/libffi.so.4
#28 0x00007ffff68667f5 in ffi_call () from /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/libffi.so.4
#29 0x00007ffff7bca575 in ?? () from /usr/lib64/libgjs.so.0
#30 0x00007ffff7bcb5d7 in ?? () from /usr/lib64/libgjs.so.0
#31 0x00007ffff63fbc25 in ?? () from /usr/lib64/libmozjs185.so.1.0
#32 0x00007ffff63e804c in ?? () from /usr/lib64/libmozjs185.so.1.0
#33 0x00007ffff63fb565 in ?? () from /usr/lib64/libmozjs185.so.1.0
#34 0x00007ffff63fd0a5 in ?? () from /usr/lib64/libmozjs185.so.1.0
#35 0x00007ffff6375e35 in JS_EvaluateUCScriptForPrincipals () from /usr/lib64/libmozjs185.so.1.0
#36 0x00007ffff6376102 in JS_EvaluateUCScript () from /usr/lib64/libmozjs185.so.1.0
#37 0x00007ffff7bba27f in gjs_context_eval () from /usr/lib64/libgjs.so.0
#38 0x0000000000401054 in main ()

sys-apps/util-linux-2.19.1 is installed.
The line where it breaks:
jrand_seed[0] = getpid() ^ (tv.tv_sec & 0xFFFF);



Reproducible: Always

Steps to Reproduce:
gnome-documents
Actual Results:  
(gnome-documents:25405): Tracker-WARNING **: Locale '0' is not set, defaulting to C locale
/usr/bin/gnome-documents: line 15: 25405 Segmentation fault      /usr/bin/env gjs -I /usr/share/gnome-documents/js -c "const Main = imports.main; Main.start();"
Comment 1 Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-10-02 19:20:13 UTC
What USE flags was tracker built with?

Please rebuild tracker and util-linux with "-ggdb" in USE flags and "splitdebug" in FEATURES, and attach a backtrace again (see http://www.gentoo.org/proj/en/qa/backtraces.xml)

Also, does the segfault occur immediately after you launch gnome-documents, or do you have to take some action first?
Comment 2 Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-10-02 19:21:30 UTC
(In reply to comment #1)
Sorry, typo, meant to say 'with "-ggdb" in CFLAGS'
Comment 3 Pacho Ramos gentoo-dev 2011-12-17 15:09:02 UTC
(In reply to comment #1)
> What USE flags was tracker built with?
> 
> Please rebuild tracker and util-linux with "-ggdb" in USE flags and
> "splitdebug" in FEATURES, and attach a backtrace again (see
> http://www.gentoo.org/proj/en/qa/backtraces.xml)
> 
> Also, does the segfault occur immediately after you launch gnome-documents, or
> do you have to take some action first?