PDA

View Full Version : Segfaults on Ubuntu 8.04 i386



imrowan
July 4th, 2008, 07:49 PM
Got Ubuntu 8.04 installed with all dependencies, Boxee succesfully compiled, ran and logged in; added two Samba sources and can view movie (see unrelated thread for separate issues), but I've gotten two segmentation fault crashes at various points. I can provide whatever other details might be needed (screenshots, log files etc), and I'm comfortable using tools like lsof if pointed in the right direction. Any suggestions on a starting point for tracking this down?

(Edit: I'm not a coder, but I can recompile with debug symbols and run it with gdb if that helps.)

tsella
July 5th, 2008, 03:45 AM
stack trace from the core files might be nice.

recompile with debug, ulimit -c unlimited to enable core creation. gdb -c core Boxee and enter bt to print the trace.

thanks!

imrowan
July 5th, 2008, 10:01 AM
Roger -- will get to that sometime this weekend. Haven't had another crash yet, and I'm playing something from the library now, so we'll see if it shows up on my profile...

fishie
July 22nd, 2008, 12:51 PM
i am getting similiar results. im not that familiar with linux, do you want me to send some kind of logs, etc? mine doesn't even load fully.

tsella
July 22nd, 2008, 02:02 PM
hi fishie. please post the output of /tmp/xbmc.log (run terminal or Application > Accessories > Text Editor, and open /tmp/xbmc.log). also, can you please tell me about your hardware?

can you also try opening a terminal, and run /usr/boxee/run-boxee-desktop, and share your output?

fishie
July 23rd, 2008, 08:53 AM
heres the xbmc.log file.

http://pastebin.com/f5e5d44fa

jvonnieda@atg1itlinux:/usr/boxee$ sudo ./Boxee
23/07/08 13:54:36#DEBUG#bxbgprocess.cpp:142(Start)#bg process initialized. 1 worker threads created.
23/07/08 13:54:37#DEBUG#bxcurl.cpp:53(Initialize)#curl initialized. version <7.18.0>

Running Boxee test...
The XBMC_HOME environment variable is not set.
The XBMC_HOME environment variable is not set.
Segmentation fault


when running that desktop command i get this.

jvonnieda@atg1itlinux:/usr/boxee$ sudo ./run-boxee-desktop
[sudo] password for jvonnieda:
23/07/08 13:51:25#DEBUG#bxbgprocess.cpp:142(Start)#bg process initialized. 1 worker threads created.
23/07/08 13:51:26#DEBUG#bxcurl.cpp:53(Initialize)#curl initialized. version <7.18.0>

Running Boxee test...
Segmentation fault
jvonnieda@atg1itlinux:/usr/boxee$

the machine is a dell gx240 p4 i had at work that i use for testing purposes.

jvonnieda@atg1itlinux:/usr/boxee$ lspci
00:00.0 Host bridge: Intel Corporation 82845 845 [Brookdale] Chipset Host Bridge (rev 03)
00:01.0 PCI bridge: Intel Corporation 82845 845 [Brookdale] Chipset AGP Bridge (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 12)
00:1f.0 ISA bridge: Intel Corporation 82801BA ISA Bridge (LPC) (rev 12)
00:1f.1 IDE interface: Intel Corporation 82801BA IDE U100 Controller (rev 12)
00:1f.2 USB Controller: Intel Corporation 82801BA/BAM USB Controller #1 (rev 12)
00:1f.3 SMBus: Intel Corporation 82801BA/BAM SMBus Controller (rev 12)
00:1f.4 USB Controller: Intel Corporation 82801BA/BAM USB Controller #1 (rev 12)
00:1f.5 Multimedia audio controller: Intel Corporation 82801BA/BAM AC'97 Audio Controller (rev 12)
01:00.0 VGA compatible controller: ATI Technologies Inc Rage 128 Pro Ultra TF
02:0c.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 78)



i did manage to install and run it at home on a amd machine with xp (host) running ubuntu 8.04 (guest) virtually inside virtual box. i was not able to enter the user name and password fields however. whats the shortcut key for on screen keyboard? i hope that was useful info for you. anything else you need to me to do?

tsella
July 23rd, 2008, 11:19 AM
it will not run off an ATI Rage 128. we need more current hardware than that.

the specific crash is probably due to this (http://forum.boxee.tv/showpost.php?p=383&postcount=3).

tikkiew
July 24th, 2008, 12:21 PM
tsella

it will not run off an ATI Rage 128. we need more current hardware than that.

Will this mean older graphic cards never be supported?
Or are you working on this?
i have a ati 9800 xt graphic card.
i can't go passed the begin screen :whats is new
and change the country,city location.
So this is the same problems that are mentioned here i guess?

tsella
August 3rd, 2008, 07:26 AM
i haven't tried (i actually have a 9600xt at home, will repurpose the machine as soon as i get a storage solution), but the i think these cards should work well with boxee. they may be affected by the specific issue mentioned here (http://forum.boxee.tv/showpost.php?p=383&postcount=3), so you can try to apply the patch and see if it does resolve.

bizthepirate
August 3rd, 2008, 11:59 PM
Do you have Desktop Effects enabled? When I tried Boxee on Hardy, it segfaulted at first, but then I disabled Desktop Effects Boxee then successfully ran. I have an nVidia 7600GT, while, this may be a specific nVidia issue, it may be the fault with your ATI card? :confused:

tsella
August 4th, 2008, 02:23 AM
excellent point @bizthepirate. i know that under intel igp it does not crash, but it does have several issues (that's why we recommend turning it of in the release notes)

breynded
August 23rd, 2008, 03:02 PM
installed boxee on an ubuntu desktop with nvidia 6200 pci card. boxee segfaults also. here is the output, thanks in advance.

/usr/boxee/run-boxee-desktop
23/08/08 19:57:26#DEBUG#bxbgprocess.cpp:142(Start)#bg process initialized. 1 worker threads created.
23/08/08 19:57:26#DEBUG#bxcurl.cpp:53(Initialize)#curl initialized. version <7.18.0>

Running Boxee test...
Segmentation fault

restricted drivers for the card was installed, i have also blacklisted my intel igp in modprobe.

tsella
August 23rd, 2008, 04:26 PM
please enable debug logging (http://forum.boxee.tv/showpost.php?p=495&postcount=5) and include /tmp/xbmc.log

if you are gdb friendly, please run in gdb and include stack trace of the segfault.

breynded
August 23rd, 2008, 08:46 PM
here is my logfile. thanks.

bizthepirate
August 23rd, 2008, 09:29 PM
Make sure Desktop Effects are disabled.... if they are, however, then yes, do all the debugging....

breynded
September 1st, 2008, 09:01 PM
solved the problem by doing a fresh Ubuntu install, blacklisting intel video drivers before installing nvidia restricted drivers. :)

iwoolf
September 9th, 2008, 05:24 AM
here is my logfile. thanks.

I have the same problem on Ubuntu Hardy Heron system with an ATI Radeon 9250. I've emailed my log file to Marcel.

I had boxee working when my video settings were wrong before my Ubuntu upgrade. My screen was distorted but I could see boxee running and operate the remote.

iwoolf
September 9th, 2008, 09:27 AM
I have the same problem on Ubuntu Hardy Heron system with an ATI Radeon 9250. I've emailed my log file to Marcel.

I had boxee working when my video settings were wrong before my Ubuntu upgrade. My screen was distorted but I could see boxee running and operate the remote.

I spoke to Tom in email and tried running boxee in gdb. The screen went black and stayed that way. So I reset. I tried running boxee again, and it works!

My only remaining problems are getting video out rom my ATI Radeon to my TV and getting the flash TV site http://www.abc.net.au/iview to be viewable in boxee.

tsella
September 9th, 2008, 11:00 AM
@iwoolf hit the ubuntu forums for the video out on your radeon.

re abc stream, sorry, can't access it locally, so can't say anything about it.

rocketero
January 26th, 2009, 01:42 PM
I have ubuntu intrepid (v.8.10) the AMD64-BIT version.

I installed boxee 32 bit version as there is not 64 bit version yet.

it installed on /opt/boxee folder. after installing all lib dependencies and try to run boxee I get also same error: Segmentation Fault.