Project

General

Profile

Bug #5682

segfault libpthread

Added by saen acro over 5 years ago. Updated over 5 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Crashes
Target version:
-
Start date:
2019-07-10
Due date:
% Done:

0%

Estimated time:
Found in version:
4.3-1802
Affected Versions:

Description

Ubuntu 18.04 x64
there is continuous restarts of service
and dmesg show this

[1079296.993471] traps: tvh:mi-main[10059] general protection ip:7fc6d1939fa0 sp:7fc698fe63f8 error:0 in libpthread-2.27.so[7fc6d1930000+1a000]
[1079588.356957] tvh:mi-main[26104]: segfault at 5608003221ea ip 00007f21b18c1fa0 sp 00007f21835f93f8 error 4 in libpthread-2.27.so[7f21b18b8000+1a000]
[1081905.037386] tvh:mi-main[30216]: segfault at 178 ip 00007f0dc07b1fa0 sp 00007f0d91ded408 error 4 in libpthread-2.27.so[7f0dc07a8000+1a000]
[1082517.437918] tvh:mi-main[29570]: segfault at 2b0 ip 000055be7cdbbfa1 sp 00007f564dfee400 error 4 in tvheadend[55be7caae000+1665000]
[1083717.253183] tvh:mi-main[5085]: segfault at 178 ip 00007fae670e1fa0 sp 00007fae32df53f8 error 4 in libpthread-2.27.so[7fae670d8000+1a000]
[1084311.816541] tvh:mi-main[21212]: segfault at 200 ip 00007fd736581fa0 sp 00007fd7209e3418 error 4 in libpthread-2.27.so[7fd736578000+1a000]
[1087012.573419] tvh:mi-main[29161]: segfault at a10 ip 0000564e2a45dfa1 sp 00007f81ffbfc420 error 4 in tvheadend[564e2a150000+1665000]
[1089222.754329] traps: tvh:mi-main[833] general protection ip:7f6d056a1fa0 sp:7f6ccb1f7418 error:0 in libpthread-2.27.so[7f6d05698000+1a000]
[1092772.076039] tvh:mi-main[30130]: segfault at b0 ip 000055e6f13cefa1 sp 00007f0b5a3f0400 error 4 in tvheadend[55e6f10c1000+1665000]
[1095121.347548] tvh:mi-main[12571]: segfault at 184 ip 00007ff98e2e9fa0 sp 00007ff953dfd418 error 4 in libpthread-2.27.so[7ff98e2e0000+1a000]
[1095316.767053] tvh:mi-main[11089]: segfault at 178 ip 00007ff807069fa0 sp 00007ff7e2df53d8 error 4 in libpthread-2.27.so[7ff807060000+1a000]
[1097046.684710] tvh:mi-main[13877]: segfault at 178 ip 00007f88ae2d9fa0 sp 00007f88990e73f8 error 4 in libpthread-2.27.so[7f88ae2d0000+1a000]
[1100942.612064] tvh:mi-main[3704]: segfault at ffffffff000005ba ip 00007f76ca8f9fa0 sp 00007f76acf66418 error 5 in libpthread-2.27.so[7f76ca8f0000+1a000]
[1101015.711468] tvh:mi-main[21684]: segfault at 1ad ip 00007f16ef8f9fa0 sp 00007f16c9eee3f8 error 4 in libpthread-2.27.so[7f16ef8f0000+1a000]
[1101261.254810] tvh:mi-main[22595]: segfault at 178 ip 00007f902b6b9fa0 sp 00007f90054e9418 error 4 in libpthread-2.27.so[7f902b6b0000+1a000]
[1101740.920073] tvh:mi-main[26038]: segfault at 1cd ip 00007f0aef431fa0 sp 00007f0ac91e73d8 error 4 in libpthread-2.27.so[7f0aef428000+1a000]
[1102376.429785] tvh:mi-main[32544]: segfault at b0 ip 0000563e5b208fa1 sp 00007fa5946643f0 error 4 in tvheadend[563e5aefb000+1665000]
[1102470.781504] tvh:mi-main[8681]: segfault at 200 ip 00007f5f43791fa0 sp 00007f5f1dded3f8 error 4 in libpthread-2.27.so[7f5f43788000+1a000]
[1103652.105915] tvh:mi-main[9927]: segfault at b0 ip 000055c8e4590fa1 sp 00007fd36cde5420 error 4 in tvheadend[55c8e4283000+1665000]
[1112108.059712] tvh:mi-main[25546]: segfault at b0 ip 000055869785dfa1 sp 00007f9f34ee6420 error 4 in tvheadend[558697550000+1665000]
[1113781.710738] tvh:mi-main[6278]: segfault at b0 ip 00005568d3b5dfa1 sp 00007fe77d3e83e0 error 4 in tvheadend[5568d3850000+1665000]
[1114190.947761] tvh:mi-main[26012]: segfault at b0 ip 000055672fec1fa1 sp 00007f388a3f0400 error 4 in tvheadend[55672fbb4000+1665000]
[1115395.981105] tvh:mi-main[30831]: segfault at 1dd ip 00007fbd10b11fa0 sp 00007fbcde7f23e8 error 4 in libpthread-2.27.so[7fbd10b08000+1a000]
[1115846.177705] tvh:mi-main[13768]: segfault at 200 ip 00007f6fa4579fa0 sp 00007f6f751e73e8 error 4 in libpthread-2.27.so[7f6fa4570000+1a000]
[1116805.979687] tvh:mi-main[29264]: segfault at 178 ip 00007facd54b1fa0 sp 00007fac9dfee3e8 error 4 in libpthread-2.27.so[7facd54a8000+1a000]
[1127265.532366] tvh:mi-main[31608]: segfault at 178 ip 00007f4092121fa0 sp 00007f40847623f8 error 4 in libpthread-2.27.so[7f4092118000+1a000]
[1139610.066524] tvh:mi-main[26142]: segfault at 1cc ip 00007fe288ea9fa0 sp 00007fe25a3f03e8 error 4 in libpthread-2.27.so[7fe288ea0000+1a000]
[1139674.877900] tvh:mi-main[19699]: segfault at 178 ip 00007f92ba8c1fa0 sp 00007f9286bf4418 error 4 in libpthread-2.27.so[7f92ba8b8000+1a000]
[1140719.293837] tvh:mi-main[20557]: segfault at 470 ip 000055f915f32fa1 sp 00007f6cc37fa3e0 error 4 in tvheadend[55f915c25000+1665000]
[1140838.309483] traps: tvh:mi-main[2494] general protection ip:7fe9703e9fa0 sp:7fe9315e93f8 error:0 in libpthread-2.27.so[7fe9703e0000+1a000]
[1144040.691122] tvh:mi-main[4002]: segfault at 178 ip 00007f184ed71fa0 sp 00007f182a370408 error 4 in libpthread-2.27.so[7f184ed68000+1a000]
[1144227.313421] tvh:mi-main[13000]: segfault at 470 ip 00005643af0d3fa1 sp 00007fb03dded420 error 4 in tvheadend[5643aedc6000+1665000]
[1144489.767687] tvh:mi-main[15471]: segfault at 200 ip 00007fa831461fa0 sp 00007fa828ad9408 error 4 in libpthread-2.27.so[7fa831458000+1a000]
[1150672.836651] traps: tvh:mi-main[19005] general protection ip:7fb30f939fa0 sp:7fb2e9f6e418 error:0 in libpthread-2.27.so[7fb30f930000+1a000]
[1154126.407552] traps: tvh:mi-main[939] general protection ip:557cd1efa548 sp:7f36723f03f8 error:0 in tvheadend[557cd1cf8000+1665000]
[1159235.174086] traps: tvh:mi-main[9333] general protection ip:7f64922f9fa0 sp:7f6485f6e3f8 error:0 in libpthread-2.27.so[7f64922f0000+1a000]
[1159808.679610] tvh:mi-main[10222]: segfault at b0 ip 000055c87b7bbfa1 sp 00007f99215e93f0 error 4 in tvheadend[55c87b4ae000+1665000]
[1159898.920584] tvh:mi-main[17434]: segfault at 200 ip 00007faf2a031fa0 sp 00007faf155e9408 error 4 in libpthread-2.27.so[7faf2a028000+1a000]
[1160586.599103] tvh:mi-main[20264]: segfault at b0 ip 0000562cbfd86fa1 sp 00007f62165f1410 error 4 in tvheadend[562cbfa79000+1665000]
[1162660.301049] tvh:mi-main[27625]: segfault at c1f00000d36 ip 00007f2c34c19fa0 sp 00007f2c049e3408 error 4 in libpthread-2.27.so[7f2c34c10000+1a000]
[1163534.768128] tvh:mi-main[22098]: segfault at 200 ip 00007f9496aa9fa0 sp 00007f9463ffe3c8 error 4 in libpthread-2.27.so[7f9496aa0000+1a000]
[1163613.856612] tvh:mi-main[1207]: segfault at 200 ip 00007fc9f3079fa0 sp 00007fc9bf3f8418 error 4 in libpthread-2.27.so[7fc9f3070000+1a000]
[1164614.285677] tvh:mi-main[2243]: segfault at 130 ip 00005611c6685fa1 sp 00007f1ef6772400 error 4 in tvheadend[5611c6378000+1665000]
[1167969.652796] traps: tvh:mi-main[15024] general protection ip:7fbe179a1fa0 sp:7fbdf35f9408 error:0 in libpthread-2.27.so[7fbe17998000+1a000]
[1168043.717395] tvh:mi-main[24928]: segfault at 178 ip 00007f41b3321fa0 sp 00007f418c963418 error 4 in libpthread-2.27.so[7f41b3318000+1a000]
[1168229.576434] tvh:mi-main[25859]: segfault at b0 ip 0000560811b97fa1 sp 00007f63877fa420 error 4 in tvheadend[56081188a000+1665000]
[1170498.596917] tvh:mi-main[28275]: segfault at b0 ip 000055725601bfa1 sp 00007fc5c61ef410 error 4 in tvheadend[557255d0e000+1665000]
[1170968.021893] tvh:mi-main[25142]: segfault at 200 ip 00007faf44669fa0 sp 00007faf16bf4408 error 4 in libpthread-2.27.so[7faf44660000+1a000]
[1171264.079848] tvh:mi-main[31333]: segfault at f0 ip 000055aa87fccfa1 sp 00007f81bd7ea3e0 error 4 in tvheadend[55aa87cbf000+1665000]
[1172058.691199] traps: tvh:mi-main[2786] general protection ip:7fa745899fa0 sp:7fa716df53e8 error:0 in libpthread-2.27.so[7fa745890000+1a000]
[1172444.342963] tvh:mi-main[12889]: segfault at 988 ip 000055f97550ef34 sp 00007f7570be43e0 error 4 in tvheadend[55f975202000+1665000]
[1173039.398286] tvh:mi-main[17934]: segfault at 3f50 ip 000055fc8d5bffa1 sp 00007ff56e5f1420 error 4 in tvheadend[55fc8d2b2000+1665000]
[1173438.580931] tvh:mi-main[25871]: segfault at 178 ip 00007fee27529fa0 sp 00007fee0196b418 error 4 in libpthread-2.27.so[7fee27520000+1a000]
[1173543.616839] traps: tvh:mi-main[31153] general protection ip:7fa324431fa0 sp:7fa2f59eb418 error:0 in libpthread-2.27.so[7fa324428000+1a000]
[1173622.212688] traps: tvh:mi-main[32501] general protection ip:7fde76fb9fa0 sp:7fde42bf43f8 error:0 in libpthread-2.27.so[7fde76fb0000+1a000]
[1174189.750587] tvh:mi-main[1022]: segfault at 178 ip 00007f8441589fa0 sp 00007f84139fb418 error 4 in libpthread-2.27.so[7f8441580000+1a000]
[1175423.755809] tvh:mi-main[8498]: segfault at ca0 ip 0000559852ec5fa1 sp 00007f28a69f33f0 error 4 in tvheadend[559852bb8000+1665000]
[1176939.103185] tvh:mi-main[24555]: segfault at 170 ip 000055608318efa1 sp 00007f624b1f7400 error 4 in tvheadend[556082e81000+1665000]
[1179701.253506] tvh:mi-main[13593]: segfault at 178 ip 00007fd59a3f1fa0 sp 00007fd5847e2408 error 4 in libpthread-2.27.so[7fd59a3e8000+1a000]
[1179798.931314] tvh:mi-main[16510]: segfault at 200 ip 00007fc06a739fa0 sp 00007fc0565713f8 error 4 in libpthread-2.27.so[7fc06a730000+1a000]
[1179873.286822] tvh:mi-main[17785]: segfault at 178 ip 00007f82104c9fa0 sp 00007f81e19eb418 error 4 in libpthread-2.27.so[7f82104c0000+1a000]
[1184204.731190] tvh:mi-main[19331]: segfault at 200 ip 00007fcdc3949fa0 sp 00007fcd9d76a3c8 error 4 in libpthread-2.27.so[7fcdc3940000+1a000]
[1184463.777492] tvh:mi-main[9533]: segfault at 178 ip 00007f3f976b1fa0 sp 00007f3f5f1f73e8 error 4 in libpthread-2.27.so[7f3f976a8000+1a000]
[1186973.314674] traps: tvh:mi-main[12834] general protection ip:7fe8c8659fa0 sp:7fe8973f83e8 error:0 in libpthread-2.27.so[7fe8c8650000+1a000]
[1260780.947259] tvh:mi-main[2792]: segfault at 1cd ip 00007fdb9c759fa0 sp 00007fdb647e23e8 error 4 in libpthread-2.27.so[7fdb9c750000+1a000]
[1261213.947518] tvh:mi-main[1476]: segfault at 178 ip 00007f9d7f039fa0 sp 00007f9d4bbfc3c8 error 4 in libpthread-2.27.so[7f9d7f030000+1a000]
[1315813.327405] tvh:mi-main[21559]: segfault at 178 ip 00007f1016121fa0 sp 00007f0fe25f1428 error 4 in libpthread-2.27.so[7f1016118000+1a000]
[1316834.045571] tvh:mi-main[22588]: segfault at 178 ip 00007f7647061fa0 sp 00007f7620de5418 error 4 in libpthread-2.27.so[7f7647058000+1a000]
[1317263.072195] tvh:mi-main[2713]: segfault at 178 ip 00007ff5409e9fa0 sp 00007ff50bdfd408 error 4 in libpthread-2.27.so[7ff5409e0000+1a000]
[1318828.346469] traps: tvh:mi-main[8307] general protection ip:7f0228f41fa0 sp:7f021cd853e8 error:0 in libpthread-2.27.so[7f0228f38000+1a000]
[1319338.288218] tvh:mi-main[27299]: segfault at 178 ip 00007ff2ab6f1fa0 sp 00007ff2854e93f8 error 4 in libpthread-2.27.so[7ff2ab6e8000+1a000]
[1319538.333664] traps: tvh:mi-main[1267] general protection ip:7f5c031e9fa0 sp:7f5bddfee3f8 error:0 in libpthread-2.27.so[7f5c031e0000+1a000]
[1319669.480650] tvh:mi-main[3707]: segfault at 5d000001a3 ip 00007f59d5c29fa0 sp 00007f59c8a873e8 error 4 in libpthread-2.27.so[7f59d5c20000+1a000]
[1319788.433167] tvh:mi-main[5319]: segfault at b0 ip 000055f8e5df8fa1 sp 00007f83b478d3f0 error 4 in tvheadend[55f8e5aeb000+1665000]
[1320198.386584] traps: tvh:mi-main[6744] general protection ip:7f0640721fa0 sp:7f063859d3f8 error:0 in libpthread-2.27.so[7f0640718000+1a000]
[1320608.457439] tvh:mi-main[11783]: segfault at 200 ip 00007f3207eb1fa0 sp 00007f31e2bf43f8 error 4 in libpthread-2.27.so[7f3207ea8000+1a000]
[1320708.324697] tvh:mi-main[16778]: segfault at 178 ip 00007fe43c559fa0 sp 00007fe40e1ef3f8 error 4 in libpthread-2.27.so[7fe43c550000+1a000]
[1320958.307396] traps: tvh:mi-main[18187] general protection ip:7fb8df899fa0 sp:7fb8b9eee3f8 error:0 in libpthread-2.27.so[7fb8df890000+1a000]
[1328749.880958] tvh:mi-main[21245]: segfault at 178 ip 00007fb523ad9fa0 sp 00007fb4ff0f7408 error 4 in libpthread-2.27.so[7fb523ad0000+1a000]
[1328858.338053] tvh:mi-main[25483]: segfault at 30 ip 000056065adebfa1 sp 00007f8a651e73f0 error 4 in tvheadend[56065aade000+1665000]
[1329139.332541] traps: tvh:mi-main[4516] general protection ip:7fe825259fa0 sp:7fe7f57ea3f8 error:0 in libpthread-2.27.so[7fe825250000+1a000]
[1336187.857700] tvh:mi-main[22939]: segfault at b0 ip 00005565d9c92fa1 sp 00007fda9d9eb410 error 4 in tvheadend[5565d9985000+1665000]
[1336792.418642] tvh:mi-main[4348]: segfault at 178 ip 00007f22cbf71fa0 sp 00007f229e1ef418 error 4 in libpthread-2.27.so[7f22cbf68000+1a000]
[1336863.383853] tvh:mi-main[11791]: segfault at 178 ip 00007f9c4f729fa0 sp 00007f9c29569418 error 4 in libpthread-2.27.so[7f9c4f720000+1a000]
[1339342.019941] traps: tvh:mi-main[12901] general protection ip:7f3059b31fa0 sp:7f30297ea3e8 error:0 in libpthread-2.27.so[7f3059b28000+1a000]
[1340183.248277] traps: tvh:mi-main[11013] general protection ip:7f3f57d09fa0 sp:7f3f319eb3f8 error:0 in libpthread-2.27.so[7f3f57d00000+1a000]
[1341027.990032] tvh:mi-main[21751]: segfault at b0 ip 00005596398abfa1 sp 00007f7fd61ef3f0 error 4 in tvheadend[55963959e000+1665000]
[1341147.757061] tvh:mi-main[32714]: segfault at 177 ip 00007f1afdbd9fa0 sp 00007f1aca7f23f8 error 4 in libpthread-2.27.so[7f1afdbd0000+1a000]
[1341237.755979] tvh:mi-main[1971]: segfault at 1cc ip 00007f13c8bd1fa0 sp 00007f13957ea3f8 error 4 in libpthread-2.27.so[7f13c8bc8000+1a000]
[1341327.796274] tvh:mi-main[3145]: segfault at 178 ip 00007f910f999fa0 sp 00007f90ea7f23f8 error 4 in libpthread-2.27.so[7f910f990000+1a000]
[1341413.663803] tvh:mi-main[4316]: segfault at b0 ip 000055cf3415efa1 sp 00007f163bffe420 error 4 in tvheadend[55cf33e51000+1665000]

History

#1

Updated by saen acro over 5 years ago

# gdb -p 26341
GNU gdb (Ubuntu 8.1-0ubuntu3) 8.1.0.20180409-git
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying" 
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
Attaching to process 26341
[New LWP 26342]
[New LWP 26349]
[New LWP 26350]
[New LWP 26351]
[New LWP 26352]
[New LWP 26353]
[New LWP 26357]
[New LWP 26358]
[New LWP 26359]
[New LWP 26360]
[New LWP 26361]
[New LWP 26362]
[New LWP 26364]
[New LWP 26365]
[New LWP 26366]
[New LWP 26367]
[New LWP 26384]
[New LWP 26385]
[New LWP 26386]
[New LWP 26387]
[New LWP 26388]
[New LWP 26389]
[New LWP 26395]
[New LWP 26396]
[New LWP 26397]
[New LWP 26398]
[New LWP 26399]
[New LWP 26400]
[New LWP 26401]
[New LWP 26402]
[New LWP 26403]
[New LWP 26404]
[New LWP 26405]
[New LWP 26406]
[New LWP 26407]
[New LWP 26408]
[New LWP 26409]
[New LWP 26410]
[New LWP 26411]
[New LWP 26412]
[New LWP 26413]
[New LWP 26414]
[New LWP 26415]
[New LWP 26416]
[New LWP 26417]
[New LWP 26418]
[New LWP 26419]
[New LWP 26420]
[New LWP 26421]
[New LWP 26422]
[New LWP 26423]
[New LWP 26424]
[New LWP 26425]
[New LWP 26426]
[New LWP 26427]
[New LWP 26428]
[New LWP 26429]
[New LWP 26430]
[New LWP 26431]
[New LWP 26432]
[New LWP 26433]
[New LWP 26444]
[New LWP 26445]
[New LWP 26447]
[New LWP 26448]
[New LWP 26449]
[New LWP 26450]
[New LWP 26451]
[New LWP 26452]
[New LWP 26453]
[New LWP 26454]
[New LWP 26455]
[New LWP 26456]
[New LWP 26457]
[New LWP 26458]
[New LWP 26459]
[New LWP 26637]
[New LWP 26638]
[New LWP 26639]
[New LWP 26644]
[New LWP 26678]
[New LWP 15822]
[New LWP 15823]
[New LWP 7679]
[New LWP 7687]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
__lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
135     ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: No such file or directory.
(gdb) bt
#0  __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
#1  0x00007f377e1a2023 in __GI___pthread_mutex_lock (mutex=0x55cef88f3140 <global_lock>) at ../nptl/pthread_mutex_lock.c:78
#2  0x000055cef70082b1 in mainloop () at src/main.c:764
#3  main (argc=<optimized out>, argv=<optimized out>) at src/main.c:1364
(gdb) print global_lock
$1 = {mutex = pthread_mutex_t = {Type = Normal, Status = Acquired, possibly with waiters, Owner ID = 26353, Robust = No, Shared = No, Protocol = None},
  magic1 = 3614061450, tid = 0, filename = 0x0, lineno = 0, tstamp = 0, waiters = {lh_first = 0x0}, link = {tqe_next = 0x0, tqe_prev = 0x0}, magic2 = 4181353505}
(gdb) thread find 26341
Thread 1 has target id 'Thread 0x7f378009fbc0 (LWP 26341)'
(gdb) info threads 1
  Id   Target Id         Frame
* 1    Thread 0x7f378009fbc0 (LWP 26341) "tvheadend" __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
(gdb) thread 1
[Switching to thread 1 (Thread 0x7f378009fbc0 (LWP 26341))]
#0  __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
135     in ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S

Some more info

Also available in: Atom PDF