Project

General

Profile

Bug #1285

about close file failed for lttng-ust module

Added by kun song about 2 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
10/10/2020
Due date:
% Done:

0%

Estimated time:

Description

Hi,all

I found some relative modification for lttng-ust.
commit
20d1999d42392063fd530d1f6c00b93c25d178d6
793d29c9367a58c2a368bc1ccb11b01c2d2bdac2
48a143c09cc97bf7a2ace811277e7d60b294b5f6
96a6162e1925d4bd1dfc6f4167d75f396c0dbe4c
283f4bec47781f7a39dde82d02e53add02155f9c
c1be081a2f016fb6dcaef1d471389ede3aa00103
5a4d96d170a38f29bf147b84e248a47d45ee7d8e
7d34f27dce903a88241e96787c1f900b6ea08245
ba8dcc8ca5b8b7bebed4e10b3dd4fcbc783d529d

Test step
LD_PRELOAD=lttng-ust-fork.so dpdk-devbind.py -s
When exec command,close file failed.

#1 0x00007f31b9705524 in __GI_abort () at abort.c:79

[**ALERT: The abort() might not be exactly invoked from the following function line.
If the trail function contains multiple abort() calls, then you should cross check by other means to get correct abort() call location.
This is due to the optimized compilation which hides the debug info for multiple abort() calls in a given function.
Refer TR HU16995 for more information]
#2 0x00007f31b970540f in _assert_fail_base (fmt=0x7f31b9862ec8
"%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=0x7f31b96bbcdd "0", file=0x7f31b96c4cd0 Type <RET> for more, q to quit, c to continue without paging "../../git/libringbuffer/shm.c", line=427, function=<optimized out>) at
assert.c:92
#3 0x00007f31b97127d2 in _GI
_assert_fail (assertion=assertion@entry =0x7f31b96bbcdd "0", file=file@entry=0x7f31b96c4cd0 "../../git/libringbuffer/shm.c", line=line@entry=427,
function=function@entry=0x7f31b96c4dc0 <_PRETTY_FUNCTION_.4744>
"shmp_object_destroy") at assert.c:101
#4 0x00007f31b96b3f1d in shmp_object_destroy (obj=obj@entry=0x7f31b401 1740, consumer=consumer@entry=0) at ../../git/libringbuffer/shm.c:427
#5 0x00007f31b96b4d4f in shm_object_table_destroy (table=0x7f31b4011730, consumer=consumer@entry=0) at
../../git/libringbuffer/shm.c:451
#6 0x00007f31b96b034d in channel_free (consumer=0, handle=0x7f31b4012f10, chan=0x7f31b4011170) at
../../git/libringbuffer/ring_buffer_frontend.c:926
#7 channel_release (consumer=0, handle=0x7f31b4012f10,
chan=0x7f31b4011170) at
../../git/libringbuffer/ring_buffer_frontend.c:1129
#8 channel_destroy (chan=0x7f31b4011170, handle=0x7f31b4012f10,
consumer=consumer@entry=0) at

../../git/libringbuffer/ring_buffer_frontend.c:1161

No data to display

Also available in: Atom PDF