On 11/09/17 22:18, Slávek Banko wrote:
Tim, thank you for a very good backtrace! Once I
find free time, I'll
look at this problem...
Thanks.
It looks like there is a second variation of this crash. kded crashes
when using konqueror to open system:/media . The trace is below,
however, drkonqi suffers from the same fault as before, it closes the
instant the backtrace is complete, so this is what I could get!
Tim W
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
0x00007fe0e1f7d7f0 in __nanosleep_nocancel () at
../sysdeps/unix/syscall-template.S:84
84 T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
==== (gdb) bt ====
#0 0x00007fe0e1f7d7f0 in __nanosleep_nocancel () at
../sysdeps/unix/syscall-template.S:84
#1 0x00007fe0e1f7d6ac in __sleep (seconds=0, seconds@entry=1) at
../sysdeps/unix/sysv/linux/sleep.c:138
#2 0x00007fe0e036ef5a in TDECrash::startDrKonqi
(argv=argv@entry=0x7fffd646c770, argc=argc@entry=17) at
/usr/src/debug/trinity-tdelibs-14.0.4/tdecore/kcrash.cpp:312
#3 0x00007fe0e036f3a9 in TDECrash::defaultCrashHandler (sig=<optimized
out>) at /usr/src/debug/trinity-tdelibs-14.0.4/tdecore/kcrash.cpp:229
#4 <signal handler called>
#5 TQString::TQString (this=0x7fffd646ce28, s=...) at
tools/qstring.cpp:1516
#6 0x00007fe0e043c7bf in operator+ (s2=..., s1=...) at
/usr/include/tqt3/ntqstring.h:1016
#7 TDEGenericDevice::uniqueID (this=this@entry=0x0) at
/usr/src/debug/trinity-tdelibs-14.0.4/tdecore/tdehw/tdegenericdevice.cp
p:107 #8 0x00007fe0e041db2f in TDEHardwareDevices::processModifiedCPUs
(this=this@entry=0x1736bf0) at
/usr/src/debug/trinity-tdelibs-14.0.4/tdecore/tdehw/tdehardwaredevices.
cpp:863 #9 0x00007fe0e0429c12 in
TDEHardwareDevices::addCoreSystemDevices (this=this@entry=0x1736bf0) at
/usr/src/debug/trinity-tdelibs-14.0.4/tdecore/tdehw/tdehardwaredevices.
cpp:3601 #10 0x00007fe0e043077a in
TDEHardwareDevices::queryHardwareInformation
(this=this@entry=0x1736bf0) at
/usr/src/debug/trinity-tdelibs-14.0.4/tdecore/tdehw/tdehardwaredevices.
cpp:3457 #11 0x00007fe0e0430e3e in
TDEHardwareDevices::TDEHardwareDevices (this=0x1736bf0) at
/usr/src/debug/trinity-tdelibs-14.0.4/tdecore/tdehw/tdehardwaredevices.
cpp:217 #12 0x00007fe0e038137e in TDEInstance::hardwareDevices
(this=0x161e740) at
/usr/src/debug/trinity-tdelibs-14.0.4/tdecore/kinstance.cpp:290 #13
0x00007fe0d7682dd3 in TDEBackend::TDEBackend(MediaList&, TQObject*) ()
from /opt/trinity/lib64/trinity/kded_mediamanager.so
#14 0x00007fe0d7667445 in MediaManager::loadBackends() () from
/opt/trinity/lib64/trinity/kded_mediamanager.so
#15 0x00007fe0d766831c in MediaManager::tqt_invoke(int, TQUObject*) ()
from /opt/trinity/lib64/trinity/kded_mediamanager.so
#16 0x00007fe0df4c4b39 in TQObject::activate_signal
(this=this@entry=0x1625ca0, clist=clist@entry=0x16ec810,
o=o@entry=0x7fffd646dab0) at kernel/qobject.cpp:2813
#17 0x00007fe0df73ef01 in TQSignal::signal (this=this@entry=0x1625ca0,
t0=...) at .moc/debug-shared-mt/moc_ntqsignal.cpp:110
#18 0x00007fe0df4d8720 in TQSignal::activate
(this=this@entry=0x1625ca0) at kernel/qsignal.cpp:215
#19 0x00007fe0df4e2f50 in TQSingleShotTimer::event (this=0x1625c50) at
kernel/qtimer.cpp:289
#20 0x00007fe0df47763f in TQApplication::internalNotify
(this=<optimized out>, receiver=0x1625c50, e=0x7fffd646dd20) at
kernel/qapplication.cpp:2883 #21 0x00007fe0df477b28 in
TQApplication::notify (this=<optimized out>,
receiver=receiver@entry=0x1625c50, e=e@entry=0x7fffd646dd20,
this=<optimized out>, this=<optimized out>, this=<optimized out>,
this=<optimized out>) at kernel/qapplication.cpp:2726
#22 0x00007fe0e02f09e8 in TDEApplication::notify (this=0x7fffd646e210,
receiver=0x1625c50, event=0x7fffd646dd20) at
/usr/src/debug/trinity-tdelibs-14.0.4/tdecore/tdeapplication.cpp:660
#23 0x00007fe0df46efdd in TQEventLoop::activateTimers
(this=this@entry=0x1698060) at kernel/qeventloop_unix_glib.cpp:694
#24 0x00007fe0df45ca15 in TQEventLoop::gsourceDispatch
(this=this@entry=0x1698060, gs=gs@entry=0x169dac0) at
kernel/qeventloop_x11_glib.cpp:595
#25 0x00007fe0df45cac3 in qt_gsource_dispatch (source=0x169dac0,
callback=<optimized out>, user_data=<optimized out>) at
kernel/qeventloop_x11_glib.cpp:123
#26 0x00007fe0dab79ac7 in g_main_dispatch (context=0x169da00) at
gmain.c:3230
#27 g_main_context_dispatch (context=context@entry=0x169da00) at
gmain.c:3895
#28 0x00007fe0dab79cf8 in g_main_context_iterate
(context=context@entry=0x169da00, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3968
#29 0x00007fe0dab79d9c in g_main_context_iteration (context=0x169da00,
may_block=1) at gmain.c:4029
#30 0x00007fe0df45bf5b in TQEventLoop::processEvents (this=0x1698060,
flags=<optimized out>) at kernel/qeventloop_x11_glib.cpp:279
#31 0x00007fe0df4895d1 in TQEventLoop::enterLoop (this=0x1698060) at
kernel/qeventloop.cpp:227
#32 0x00007fe0df489569 in TQEventLoop::exec (this=0x1698060) at
kernel/qeventloop.cpp:174
#33 0x00007fe0e228614c in kdemain (argc=<optimized out>,
argv=<optimized out>) at
/usr/src/debug/trinity-tdelibs-14.0.4/kded/kded.cpp:982 #34
0x00007fe0e1ee0600 in __libc_start_main (main=0x4006e0 <main(int,
char**)>, argc=1, argv=0x7fffd646e548, init=<optimized out>,
fini=<optimized out>, rtld_fini=<optimized out>,
stack_end=0x7fffd646e538) at libc-start.c:289
#35 0x0000000000400719 in _start () at ../sysdeps/x86_64/start.S:118
==== (gdb) bt full ====
#0 0x00007fe0e1f7d7f0 in __nanosleep_nocancel () at
../sysdeps/unix/syscall-template.S:84
No locals.
#1 0x00007fe0e1f7d6ac in __sleep (seconds=0, seconds@entry=1) at
../sysdeps/unix/sysv/linux/sleep.c:138
ts = {tv_sec = 0, tv_nsec = 557007612}
set = {__val = {65536, 0 <repeats 15 times>}}
oset = {__val = {1024, 0, 3689624817846452224, 140603815506392,
140736788342384, 16, 3, 168, 0, 140603815516056, 140736788342384,
140736788350968, 3, 168, 0, 140603845929116}}
result = <optimized out>
#2 0x00007fe0e036ef5a in TDECrash::startDrKonqi
(argv=argv@entry=0x7fffd646c770, argc=argc@entry=17) at
/usr/src/debug/trinity-tdelibs-14.0.4/tdecore/kcrash.cpp:312
header = {cmd = 4, arg_length = 8}
BUFSIZE = 8192
buffer =
"\320K\000\000\000\000\000\000drkonqi\000-display\000:0\000--appname\00
0kded\000--signal\000\061\061\000--pid\000\061\071\063\067\060\000--appv
ersion\000$Id$\000--programname\000TDE
Daemon\000--bugaddress\000http://bugs.trinitydesktop.org\000--startupid
\000\060", '\000' <repeats 18 times>,
"\020\000\000\000\000\000\000\b\000\000\000\000\000\000\000"...
pos = <optimized out>
argcl = 17
env = 0
avoid_loops = 0
pid = 19408
#3 0x00007fe0e036f3a9 in TDECrash::defaultCrashHandler (sig=<optimized
out>) at /usr/src/debug/trinity-tdelibs-14.0.4/tdecore/kcrash.cpp:229
argv = {0x7fe0e04d0994 "drkonqi", 0x7fe0e04c87e9 "-display",
0x162fa00 ":0", 0x7fe0e04d09b4 "--appname", 0x169d340
"kded",
0x7fe0e04d09d2 "--signal", 0x7fffd646c834 "11", 0x7fe0e04d09db
"--pid",
0x7fffd646c83e "19370", 0x7fe0e04d09e1 "--appversion",
0x7fe0e228a72a
"$Id$", 0x7fe0e04d09ee "--programname", 0x169bce0 "TDE
Daemon",
0x7fe0e04d09fc "--bugaddress", 0x7fe0e04d2e70
"http://bugs.trinitydesktop.org", 0x7fe0e04d0a09 "--startupid",
0x169d6b0 "0", 0x0, 0x10 <error: Cannot access memory at address 0x10>,
0x7fe0e226db40 <main_arena> "", 0x7fe0e226db40 <main_arena>
"", 0x1000
<error: Cannot access memory at address 0x1000>, 0x2000 <error: Cannot
access memory at address 0x2000>, 0x4010 <error: Cannot access memory
at address 0x4010>}
i = 17
about = <optimized out>
sigtxt = "11\000\000'\313\363\341\340\177"
pidtxt = "19370\000\000\000\000"
instance = <optimized out>
crashRecursionCounter = 2
rlp = {rlim_cur = 1024, rlim_max = 4096}
#4 <signal handler called>
No locals.
#5 TQString::TQString (this=0x7fffd646ce28, s=...) at
tools/qstring.cpp:1516
No locals.
#6 0x00007fe0e043c7bf in operator+ (s2=..., s1=...) at
/usr/include/tqt3/ntqstring.h:1016
No locals.
#7 TDEGenericDevice::uniqueID (this=this@entry=0x0) at
/usr/src/debug/trinity-tdelibs-14.0.4/tdecore/tdehw/tdegenericdevice.cp
p:107 No locals.
#8 0x00007fe0e041db2f in TDEHardwareDevices::processModifiedCPUs
(this=this@entry=0x1736bf0) at
/usr/src/debug/trinity-tdelibs-14.0.4/tdecore/tdehw/tdehardwaredevices.
cpp:863 hwdevice = 0x0
cpufile = {<TQIODevice> = {_vptr.TQIODevice = 0x7fe0dfb34608
<vtable for TQFile+16>, ioIndex = 0, ioMode = 256, ioSt = 0}, fn =
{static null = {static null = <same as static member of an already seen
type>, d = 0x160eb60, static shared_null = 0x160eb60}, d = 0x173cb50,
static shared_null = 0x160eb60}, fh = 0x0, fd = 0, length = 0, ext_f =
false, d = 0x173cc40, ungetchBuffer = {<TQMemArray<char>> =
{<TQGArray>
= {_vptr.TQGArray = 0x7fe0dfb34458 <vtable for TQCString+16>, shd =
0x173cbf0}, <No data fields>}, <No data fields>}}
cpuinfo_format_x86 = <optimized out>
cpuinfo_format_arm = <optimized out>
curline1 = {static null = {static null = <same as static member
of an already seen type>, d = 0x160eb60, static shared_null =
0x160eb60}, d = 0x160eb60, static shared_null = 0x160eb60}
curline2 = {static null = {static null = <same as static member
of an already seen type>, d = 0x160eb60, static shared_null =
0x160eb60}, d = 0x160eb60, static shared_null = 0x160eb60}
blockNumber = <optimized out>
blockBegin = <optimized out>
cdevice = 0x1744fe0
modified = true
have_frequency = true
curline = {static null = {static null = <same as static member
of an already seen type>, d = 0x160eb60, static shared_null =
0x160eb60}, d = 0x160eb60, static shared_null = 0x160eb60}
processorNumber = 1
processorCount = 8
firstCPU = 0x1744340
#9 0x00007fe0e0429c12 in TDEHardwareDevices::addCoreSystemDevices
(this=this@entry=0x1736bf0) at
/usr/src/debug/trinity-tdelibs-14.0.4/tdecore/tdehw/tdehardwaredevices.
cpp:3601 hwdevice = <optimized out>
holdingDeviceNodes = {<TQValueList<TQString>> = {sh =
0x173e0b0}, <No data fields>}
devicesnodename = {static null = {static null = <same as static
member of an already seen type>, d = 0x160eb60, static shared_null =
0x160eb60}, d = 0x173e2f0, static shared_null = 0x160eb60}
devicesdir = {_vptr.TQDir = 0x7fe0dfb344d0 <vtable for
TQDir+16>, dPath = {static null = {static null = <same as static member
of an already seen type>, d = 0x160eb60, static shared_null =
0x160eb60}, d = 0x173e650, static shared_null = 0x160eb60}, fList =
0x1747890, fiList = 0x173e320, nameFilt = {static null = {static null =
<same as static member of an already seen type>, d = 0x160eb60, static
shared_null = 0x160eb60}, d = 0x173e130, static shared_null =
0x160eb60}, filtS = TQDir::All, sortS = TQDir::IgnoreCase, dirty = 0,
allDirs = 0}
nodename = {static null = {static null = <same as static member
of an already seen type>, d = 0x160eb60, static shared_null =
0x160eb60}, d = 0x173e2c0, static shared_null = 0x160eb60}
dirlist = <optimized out>
d = {_vptr.TQDir = 0x7fe0dfb344d0 <vtable for TQDir+16>, dPath
= {static null = {static null = <same as static member of an already
seen type>, d = 0x160eb60, static shared_null = 0x160eb60}, d =
0x1742ac0, static shared_null = 0x160eb60}, fList = 0x17429d0, fiList =
0x171c640, nameFilt = {static null = {static null = <same as static
member of an already seen type>, d = 0x160eb60, static shared_null =
0x160eb60}, d = 0x1746ab0, static shared_null = 0x160eb60}, filtS =
TQDir::Dirs, sortS = TQDir::IgnoreCase, dirty = 0, allDirs = 0}
list = <optimized out>
#10 0x00007fe0e043077a in TDEHardwareDevices::queryHardwareInformation
(this=this@entry=0x1736bf0) at
/usr/src/debug/trinity-tdelibs-14.0.4/tdecore/tdehw/tdehardwaredevices.
cpp:3457 enumerate = <optimized out>
devices = <optimized out>
dev_list_entry = <optimized out>
dev = <optimized out>
#11 0x00007fe0e0430e3e in TDEHardwareDevices::TDEHardwareDevices
(this=0x1736bf0) at
/usr/src/debug/trinity-tdelibs-14.0.4/tdecore/tdehw/tdehardwaredevices.
cpp:217 udevmonitorfd = <optimized out>
file = {<TQIODevice> = {_vptr.TQIODevice = 0x7fe0dfb34608
<vtable for TQFile+16>, ioIndex = 0, ioMode = 256, ioSt = 0}, fn =
{static null = {static null = <same as static member of an already seen
type>, d = 0x160eb60, static shared_null = 0x160eb60}, d = 0x17216d0,
static shared_null = 0x160eb60}, fh = 0x0, fd = 0, length = 0, ext_f =
false, d = 0x1737ce0, ungetchBuffer = {<TQMemArray<char>> =
{<TQGArray>
= {_vptr.TQGArray = 0x7fe0dfb34458 <vtable for TQCString+16>, shd =
0x17377b0}, <No data fields>}, <No data fields>}}
cpufile = {<TQIODevice> = {_vptr.TQIODevice = 0x7fe0dfb34608
<vtable for TQFile+16>, ioIndex = 0, ioMode = 256, ioSt = 0}, fn =
{static null = {static null = <same as static member of an already seen
type>, d = 0x160eb60, static shared_null = 0x160eb60}, d = 0x16bd100,
static shared_null = 0x160eb60}, fh = 0x0, fd = 0, length = 0, ext_f =
false, d = 0x1739a50, ungetchBuffer = {<TQMemArray<char>> =
{<TQGArray>
= {_vptr.TQGArray = 0x7fe0dfb34458 <vtable for TQCString+16>, shd =
0x1739a30}, <No data fields>}, <No data fields>}}
#12 0x00007fe0e038137e in TDEInstance::hardwareDevices (this=0x161e740)
at /usr/src/debug/trinity-tdelibs-14.0.4/tdecore/kinstance.cpp:290
No locals.
#13 0x00007fe0d7682dd3 in TDEBackend::TDEBackend(MediaList&, TQObject*)
() from /opt/trinity/lib64/trinity/kded_mediamanager.so
No symbol table info available.
#14 0x00007fe0d7667445 in MediaManager::loadBackends() () from
/opt/trinity/lib64/trinity/kded_mediamanager.so
No symbol table info available.
#15 0x00007fe0d766831c in MediaManager::tqt_invoke(int, TQUObject*) ()
from /opt/trinity/lib64/trinity/kded_mediamanager.so
These crashes should be resolved in commit 051acc7d (master) and 7d83a0cb
(r14.0.x branch). Thank you for your report of the problem!
By the way, what do you have the kernel - are files in sysfs
folder /sys/devices/system/cpu/cpu available to a regular user?
Cheers
--
Slávek