SMB crash

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Onslaught Offline
Junior Member
Posts: 16
Joined: Mar 2008
Reputation: 0
Post: #1
Hi everyone,

This is my first post on this forum, so please be gentle.

I have a problem with XBMC for Linux. I get everything to work except the SMB share. When I try to add an SMB source through the GUI XBMC crashes and I get "Segmentation fault (core dumped)". Sad

I have tried all SVNs since 11860, and I still get this problem.

SMB mounting is working fine in Ubuntu 7.10 when not using XBMC.

Can anyone out there help me or are you having the same problem?

If you any more info please just tell me what to do.

Thanks
/Onslaught
find quote
topfs2 Offline
Team-XBMC Developer
Posts: 3,825
Joined: Dec 2007
Reputation: 8
Post: #2
Post a debug log then it would be easier.

If you have problems please read this before posting

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]

"Well Im gonna download the code and look at it a bit but I'm certainly not a really good C/C++ programer but I'd help as much as I can, I mostly write in C#."
find quote
Onslaught Offline
Junior Member
Posts: 16
Joined: Mar 2008
Reputation: 0
Post: #3
Hi,

Thanks for the very quick response!

How do I get a log from the system?

Sorry I am a total noob..Blush
find quote
rodalpho Offline
Fan
Posts: 546
Joined: Nov 2006
Reputation: 16
Post: #4
Wrote this up to add to the sticky...

How to submit a tracefile on crash

1) Compile XBMC with debugging enabled. (Without the NODEBUG flag.)

2) Start it up in windowed mode under the debugger via

Code:
gdb ./XboxMediaCenter

3) At the prompt startup XBMC

Code:
(gdb) run

3) At this point XBMC will start up. Then make the program crash, recreating your issue.

4) Once it crashes, you'll end up back at the (gdb) prompt. Type

Code:
(gdb) backtrace

5) Copy all the text from your console from when you started gdb, including the backtrace, and post it at

http://pastebin.com/

6) Post the pastebin link to the forums.
find quote
BLKMGK Offline
Member+
Posts: 1,634
Joined: Jul 2006
Reputation: 3
Location: USA Virginia
Thumbs Up    Post: #5
TY Rodalpho! I had no idea how to use the backtrace - I'd be happy to start using this when I run into situations where things just core. Good to know and much appreciated.Nod

Ubuntu 10.10, MCE USB receiver, ASROCK 330 (ION), DVDs fed from unRAID cataloged by DVD Profiler. HD-DVD encoding Added DiNovo Mini KBRD w/track
find quote
tslayer Offline
Team-XBMC Developer
Posts: 3,581
Joined: Oct 2003
Reputation: 12
Post: #6
You actually can run XBMC as you normally do but this time configure your environment to allow core files (ulimit -c unlimited).

That will allow for core generations. You can then load the generated core into gdb and run the backtrace(backtrace, bt, where) to see where it crashed.

gdb /path/to/XboxMediaCenter corefile

42.7% of all statistics are made up on the spot

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
snappz Offline
Happy User
Posts: 302
Joined: Oct 2003
Reputation: 0
Location: Perth, Australia
Post: #7
This has just started happening to me also. I could add sources a few days ago with no problem.
Here is the traceback

here is the debug

This is the same behaviour i was seeing in ubuntu 8.04 when i was playing with that. I am using 7.10 ATM though.

snappz
find quote
Onslaught Offline
Junior Member
Posts: 16
Joined: Mar 2008
Reputation: 0
Post: #8
HI again,

Thanks for the excellent guide on how to create backtrace info. I really appreciate the help.

First log showing XBMC crashing when trying to add a SMB source throught the GUI:
http://pastebin.com/f38e30ce

Second log when I actually get to browse the network and get to see the shared folders, but then it crashes:
http://pastebin.com/f7466db25

System Info:
Ubuntu 7.10
Nvidia driver 169.12
Intel E8400
MSI P6NGM-FIH, with nForce-630i and built-in Nvidia GF7150
find quote
hrak Offline
Junior Member
Posts: 42
Joined: Oct 2007
Reputation: 0
Post: #9
I was trying to add a SMB source in Videos and ran into the same issue, with pretty much the same backtrace as Onslaught posted at http://pastebin.com/f38e30ce

Videos -> add source -> browse -> Add network location -> SMB -> browse = segfault

i can supply more info or test things if needed.

XBMC on Gentoo Linux on a Shuttle SG33G6 with Intel C2D E6750, 2GB RAM, Asus EN8500GT
find quote