aboutsummaryrefslogtreecommitdiff
path: root/tools/Linux/xbmc.sh.in
AgeCommit message (Collapse)Author
2014-01-11[linux] allow override of crashlog directorywsnipex
2013-08-09xbmc.sh: extract core dump from systemd's journalMarius T
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
2013-08-09xbmc.sh: read Release info from os-releaseMarius T
If /etc/os-release exists, read the info from there instead of relying on lsb_release. see also commit 7a9aa6f5d9ac8df1c79eb06ed63bce8af162c3ba
2013-07-25[cosmetics] update copyright headersM. Kaijser
2013-02-09[cosmetics] update date in GPL headerMartijn Kaijser
2010-11-02added: note in linux crashlog if gdb is not installedanssih
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@35117 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-10-28fixed: backtrace in crashlog when core name is "core"anssih
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
2010-10-22fixed: do not enable core dumps when gdb is not installedanssih
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
2010-10-22fixed: various issues with backtrace generation on linuxanssih
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
2010-10-07fixed: removal of core files when gdb is not installedanssih
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@34536 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-08-22fixed: #9879 - option --lircdev /var/run/lirc/lircd doesn't workvdrfan
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@33038 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-06-10fixed: set datarootdir in xbmc.sh.inanssih
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
2010-06-08fixed: hardcoding of libdir and datadir in xbmc.sh.inanssih
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
2010-06-08Revert "fixed: hardcoding of libdir and datadir in xbmc.sh.in"althekiller
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
2010-06-08fixed: hardcoding of libdir and datadir in xbmc.sh.inanssih
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@30974 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-06-07fixed: LINUX - crash report file path as presented to the user was wrong.althekiller
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@30893 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-06-05changed: LINUX - Dump crash reports in $HOME instead of $PWD. Resolves #8801.althekiller
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@30845 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-05-16Exit with exit status from python script in case of failure.ceros7
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@30233 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-05-16Guard against case where ulimit may be unsupported by shell.ceros7
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@30232 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-05-16Minor cosmetic fixes.ceros7
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@30231 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-05-16Support setting the libdir path with xbmc script to support multiarch better.ceros7
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@30228 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-05-16Convert xbmc script to standard shell script.ceros7
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@30225 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-05-16Add missing copyright header for xbmc script.ceros7
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@30224 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-05-14Merge branch 'fhs'ceros7
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@30134 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2009-12-31added: [LINUX] xbmc-standalone wrapper script to restart XBMC on crash so ↵althekiller
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
2009-12-28fixed: Ticket #8303 - Startup script uses wrong binary for core analysis ↵vdrfan
(thanks Zsol) git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@26147 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2009-12-06* explicitely add libcurl3 in the runtime dependencieswattazoum
* enable debug * fix the find core command. git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@25361 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2009-12-01[fix] when using external python the core dump can be generated in the ↵wattazoum
script/plugin directory git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@25189 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2009-09-23step 3/4: Move linuxport to trunk. How'd I get roped into this?AlTheKiller
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@23097 568bbfeb-2a22-0410-94d2-cc84cf5bfa90