Segmentation Fault on Ubuntu 11.10

Bug #932144 reported by Jorge Barnaby
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ushare (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I have installed uShare on my Ubuntu Server 11.10 box and it is not running. You can see the detailed problem here:
http://askubuntu.com/questions/103757/ushare-getting-a-segmentation-fault-on-ubuntu-11-10

I tried Takkat suggestions (from askubuntu) but still out of luck, what I did was:

Use another folder with only 3 avi files, and run the following command:

/usr/bin/ushare -v -c /tmp/videos/

This is the content of the directory:

drwxrwxrwx 2 root root 4096 2012-02-13 15:10 ./
drwxrwxrwt 7 root root 4096 2012-02-13 15:15 ../
-rwxrwxrwx 1 root root 244329084 2012-02-13 15:06 Community - S01E01 - Pilot - SD TV.avi*
-rwxrwxrwx 1 root root 183275342 2012-02-13 15:06 Community - S01E02 - Spanish 101 - SD TV.avi*
-rwxrwxrwx 1 root root 183455876 2012-02-13 15:06 Community - S01E03 - Introduction to Film - SD TV.avi*

And this is the error I got:

Interface eth0 is down.
Recheck uShare's configuration and try again !
uShare (version 1.1a), a lightweight UPnP A/V and DLNA Media Server.
Benjamin Zores (C) 2005-2007, for GeeXboX Team.
See http://ushare.geexbox.org/ for updates.
Listening on telnet port 1337
Initializing UPnP subsystem ...
Starting in DLNA compliant profile ...
UPnP MediaServer listening on 10.0.6.5:49200
Sending UPnP advertisement for device ...
Listening for control point connections ...
Building Metadata List ...
Looking for files in content directory : /tmp/videos/
/tmp/videos/Community - S01E01 - Pilot - SD TV.avi
Segmentation fault

My config file looks like this:

# /etc/ushare.conf
# Edit this file with 'dpkg-reconfigure ushare'
# Configuration file for uShare

# uShare UPnP Friendly Name (default is 'uShare').
USHARE_NAME=uShare

# Interface to listen to (default is eth0).
# Ex : USHARE_IFACE=eth1
USHARE_IFACE=eth0

# Port to listen to (default is random from IANA Dynamic Ports range)
# Ex : USHARE_PORT=49200
USHARE_PORT=49200

# Port to listen for Telnet connections
# Ex : USHARE_TELNET_PORT=1337
USHARE_TELNET_PORT=1337

# Directories to be shared (space or CSV list).
# Ex: USHARE_DIR=/dir1,/dir2
USHARE_DIR=/home/media/content/videos/

# Use to override what happens when iconv fails to parse a file name.
# The default uShare behaviour is to not add the entry in the media list
# This option overrides that behaviour and adds the non-iconv'ed string into
# the media list, with the assumption that the renderer will be able to
# handle it. Devices like Noxon 2 have no problem with strings being passed
# as is. (Umlauts for all!)
#
# Options are TRUE/YES/1 for override and anything else for default behaviour
USHARE_OVERRIDE_ICONV_ERR=

# Enable Web interface (yes/no)
USHARE_ENABLE_WEB=yes

# Enable Telnet control interface (yes/no)
USHARE_ENABLE_TELNET=yes

# Use XboX 360 compatibility mode (yes/no)
USHARE_ENABLE_XBOX=no

# Use DLNA profile (yes/no)
# This is needed for PlayStation3 to work (among other devices)
USHARE_ENABLE_DLNA=yes

Thanks.

Revision history for this message
Gregory Gulbrandson (ggulbrandson) wrote :

I'm getting the same fault on precise, similar settings, however directory is just ~/Videos (tried long and short path)

Revision history for this message
Jeff Johnson (jeffjohnson0) wrote :

USHARE_ENABLE_DLNA=no AND USHARE_ENABLE_XBOX=yes loads for me, but the opposite (similar to original bug report) segfaults.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ushare (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.