Age | Commit message (Collapse) | Author |
|
|
|
On systemd systems, core dumps are - by default - written to systemd's
logging system, the journal. The print_crash_report function only
searches certain directories for the core dump, but would never find
it in the journal, resulting in an empty stack trace in the crash log.
As a workaround, simply extract the last core dump caused by xbmc.bin
to "core" where the single_stacktrace function will find it.
If the system is configured to not dump cores into the journal,
systemd-coredumpctl will simply fail silently.
see also http://www.freedesktop.org/software/systemd/man/systemd-coredumpctl.html
|
|
If /etc/os-release exists, read the info from there
instead of relying on lsb_release.
see also commit 7a9aa6f5d9ac8df1c79eb06ed63bce8af162c3ba
|
|
|
|
|
|
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@35117 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
|
|
This was a regression of r34954.
Also, add a comment in xbmc.sh.in explaining the glob pattern to avoid
this issue coming back in the future.
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@35063 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
|
|
xbmc.sh.in can't handle core dumps without gdb, so do not enable them in
the first place in that case.
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@34955 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
|
|
There were several issues with the single_stacktrace() shell function in
xbmc.sh that is used to generate backtraces when XBMC crashes:
- it removed all core* files from current directory, even those that
were unrelated to XBMC or were not actually core files at all
- it did not work when current path contained whitespace characters
(which could also lead to unrelated files being removed)
Fix those by rewriting the function.
Additionally, output the timestamp of the core file to the crash log
(useful for determining the correct backtrace in case there were several
core files for some reason).
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@34954 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
|
|
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@34536 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
|
|
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@33038 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
|
|
datadir may be derived from datarootdir. Missing definition did not
cause issues as autoconf was expanding it itself as a backward
compatibility measure, while emitting a warning during configure.
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@31018 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
|
|
This fixes cases like libdir="/usr/lib64". This time make sure it works
even when libdir and datadir reference prefix and exec_prefix variables.
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@30990 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
|
|
This reverts commit 76ee3bea2326f77edddba7239065abea344a238b.
bzzt. Those autoconf macros contain unexpanded shell vars.
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@30989 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
|
|
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@30974 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
|
|
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@30893 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
|
|
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@30845 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
|
|
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@30233 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
|
|
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@30232 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
|
|
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@30231 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
|
|
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@30228 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
|
|
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@30225 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
|
|
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@30224 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
|
|
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@30134 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
|
|
long as it hasn't happened more than three times in the last minute.
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@26211 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
|
|
(thanks Zsol)
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@26147 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
|
|
* enable debug
* fix the find core command.
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@25361 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
|
|
script/plugin directory
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@25189 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
|
|
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@23097 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
|