2008-07-08, 10:05
See: Linux FAQ (wiki) - All platforms FAQ (wiki) - Migration from XBMC to Kodi (wiki) - HOW-TO:Install Kodi for Linux (wiki) - MySQL/Upgrading (wiki)
Things we want from EVERY report:
When referring to the version of something, always be as detailed as possible. Saying you're using the latest version of something is wrong the second it is updated, and completely useless to someone looking for help on a similar problem in the future. (NOTE: It is perfectly fine to tell someone to upgrade to the latest version of something as this is nearly always a good idea.) Some good examples...
How do I find my GIT revision number?
From home screen in default Confluence skin...
First things first, wait 24hrs. Just as the police don't care if your kids are missing, we don't care if you can't compile! Kodi is in a constant state of flux and it is very likely that any compile errors will be resolved in a much shorter time than this. That being said, what not to post. "make: *** [some target] Error #", I'm sure we can all agree that this tells us nothing other than something bad happened while building "some target", so don't waste your time posting it.
Now, there probably isn't actually a problem. Try this from a terminal.
Paste sites:
Screenshot sites: File Hosting sites:
Things we want from EVERY report:
- Complete Debug log (wiki) (Use your favourite paste site! See below.) << NOT OPTIONAL!
- If you can, get screenshots to illustrate problems (See below)
- "Latest" is not a revision, of anything! (See below)
- Linux Distribution and version (See below)
- Hardware (e.g.. i686, x86_64, GPU (See below)
- Install Method (PPA, RPM, build.sh, manual, other)
- GIT revision (See below.)
- Detailed Instructions to Reproduce the Problem (The more specific the better.)
- Backtrace (Only attainable if Kodi has crashed. See below.)
- Compiler Output (Only useful if Kodi doesn't build. See below.)
- Skin name
- Video codec and container.
- Audio codec and container.
- You may also be asked for a sample. << Use sites like Dropbox, Mediafire or your favourite hosting site and do not post copyrighted materials.
- System hardware specs (CPU, GPU, Chipset, etc.)
- Kernel Version
When referring to the version of something, always be as detailed as possible. Saying you're using the latest version of something is wrong the second it is updated, and completely useless to someone looking for help on a similar problem in the future. (NOTE: It is perfectly fine to tell someone to upgrade to the latest version of something as this is nearly always a good idea.) Some good examples...
- Kubuntu 8.04 up to date as of 2008-06-29
- Kodi for Mac r14000
- libsmbclient 3.0.27
Code:
uname -m
How do I find my GIT revision number?
From home screen in default Confluence skin...
- SYSTEM
- Choose "System Info" (submenu item)
- GIT Revision is at the bottom of each page (Kodi 16.0-"tag" Git:20130104-de8789a)
- Read debug_Log (wiki) thoroughly.
- Don't forget to enable debugging! (Try to obtain a clean debug log, enable debugging, restart Kodi, duplicate issue and finally pastebin the complete debug log)
- Don't forget to use a paste site!
- Code:
sudo apt-get install pastebinit -y
cat $HOME/.kodi/temp/kodi.log | pastebinit
- Open terminal
- Run "ulimit -c unlimited" (You only need to do this if no core file is created automatically)
- Run "kodi"
- Reproduce the crash.
- Install gdb if you don't have it "sudo apt-get install gdb"
- Run "gdb /path/to/xbmc.bin /path/to/core" (kodi.bin path is in the debug log (see above), core file should be in the current directory (may have the process ID number appended))
- Once gdb has loaded up type "thread apply all bt" and press enter.
- Press return until you're back at the prompt then copy and paste the output to your favorite paste site.
- Type "q" then enter to quit gdb.
- Delete the core file to avoid confusion later.
First things first, wait 24hrs. Just as the police don't care if your kids are missing, we don't care if you can't compile! Kodi is in a constant state of flux and it is very likely that any compile errors will be resolved in a much shorter time than this. That being said, what not to post. "make: *** [some target] Error #", I'm sure we can all agree that this tells us nothing other than something bad happened while building "some target", so don't waste your time posting it.
Now, there probably isn't actually a problem. Try this from a terminal.
- # This will ensure your "problem" isn't due to stray object filesCode:
git clean -xfd && git reset --hard && git pull --rebase
- # This will ensure your problem isn't do to build system changes.Code:
./configure
- # This will most likely succeed. Note: You can pass -jN (N is the number of jobs make should run at the same time) to speed things up.Code:
make
Paste sites:
Screenshot sites: File Hosting sites: