Actions
Bug #615
closedconsumerd crashes during buffer snapshot
Start date:
08/13/2013
Due date:
% Done:
0%
Estimated time:
Description
Commit IDs
tools: 81ea21bfd975bdf60dd30229a4caece7c98a2912 ust: 42f209e98d68936df04ec947a12e684155ce7cfe rcu: a5bae03d59c22e57263b8610b9fed99738303cf0
Problem description
consumerd crashes when 'lttng snapshot record' is executed. The crash only happens when an instrumented program is/has been run as non-privileged user.
System setup
sessiond is started as root and configured with following commands,
lttng create s1 --snapshot -o /trace/ lttng enable-channel ch -u -s s1 lttng enable-event -u -a -c ch lttng start
There is a user Bob, member in groups 'users' and 'tracing'.
Instrumented program is run as Bob, program can be killed or continue running, does not matter for fault reproduction.
Crash happens when 'lttng snapshot record -s s1' is executed. Crash is always reproducible.
A snapshot is dumped to output but is not readable. Seems like 'metadata' is missing.
root@du1:~# l /trace/snapshot-1-20130813-122306-2/ust/uid/1000/32-bit/ total 4 drwxrwx--- 2 root root 0 Aug 13 12:23 ./ drwxrwx--- 3 root root 0 Aug 13 12:23 ../ -rw-rw---- 1 root root 4096 Aug 13 12:23 c_tri_0 -rw-rw---- 1 root root 4096 Aug 13 12:23 c_tri_1 -rw-rw---- 1 root root 4096 Aug 13 12:23 c_tri_2 -rw-rw---- 1 root root 4096 Aug 13 12:23 c_tri_3
Attaching debug info!
Files
Actions