Results 1 to 4 of 4

Thread: nscan seg fault when nghost opens comunications

  1. #1
    Newbie
    Join Date
    Mar 2009
    Posts
    6

    nscan seg fault when nghost opens comunications

    Hello,

    This is my first time trying to install and run nghost on my Debian Lenny system. I have tried both the DEB packages and building the software myself and keep having the following problem:

    I start nscan with "nscan -f -l4 -Fstdout" so I can see all of the debug info on my screen.
    I then start nghost with "nghost -d5 -lstdout".

    nghost seems to start up fine but then when it gets to the point where it wants to load the music list. It contacts nscan but nscan then segfaults with the following output (note the server address: 0.0.0.0):

    03/15/2009 16:52:19 EDT:NOTICE - nghost.conf not found in ~/.nghost. Now looking in /usr/local/etc/nghost/.
    03/15/2009 16:52:19 EDTEBUG - found config nghost.conf at /usr/local/etc/nghost/
    03/15/2009 16:52:19 EDT:NOTICE - nscan.conf not found in ~/.nghost. Now looking in /usr/local/etc/nghost/.
    03/15/2009 16:52:19 EDTEBUG - found config nscan.conf at /usr/local/etc/nghost/
    03/15/2009 16:52:19 EDT:INFO - server address: 0.0.0.0
    error: iNotifyClass::iNotifyClass(): couldn't get the fd
    03/15/2009 16:52:19 EDTEBUG - searching for libnghostdownload.so
    03/15/2009 16:52:19 EDTEBUG - settings.cpp:get_plugin_dir(127) - Failed to find 'libnghostdownload.so'
    found: /usr/local/lib/nghost//libnghostdownload.so
    03/15/2009 16:52:19 EDT:INFO - Loading plugin '/usr/local/lib/nghost//libnghostdownload.so'
    03/15/2009 16:52:19 EDT:WARNING - populate.cpp:SearchDir(60) - Failed to create the artgrabber plugin
    03/15/2009 16:52:19 EDTEBUG - searching for libsqlitedatabase.so
    03/15/2009 16:52:19 EDTEBUG - settings.cpp:get_plugin_dir(127) - Failed to find 'libsqlitedatabase.so'
    found: /usr/local/lib/nghost//libsqlitedatabase.so
    03/15/2009 16:52:19 EDT:INFO - Loading plugin '/usr/local/lib/nghost//libsqlitedatabase.so'
    03/15/2009 16:52:19 EDT:NOTICE - Using db/db-file: /root/.nghost/NGhost
    03/15/2009 16:52:19 EDTEBUG - searching for libsqlitequery.so
    03/15/2009 16:52:19 EDTEBUG - settings.cpp:get_plugin_dir(127) - Failed to find 'libsqlitequery.so'
    found: /usr/local/lib/nghost//libsqlitequery.so
    03/15/2009 16:52:19 EDT:INFO - Loading plugin '/usr/local/lib/nghost//libsqlitequery.so'
    03/15/2009 16:52:19 EDTEBUG - Populate: CREATE TABLE IF NOT EXISTS `ListboxSettings` (`id` INTEGER UNSIGNED AUTO_INCREMENT,`name` VARCHAR(200) NOT NULL,`alphapos` INTEGER UNSIGNED,`listposition` INTEGER UNSIGNED,`current_filter_index` INTEGER UNSIGNED,`filter_value` VARCHAR(100) NOT NULL, PRIMARY KEY (`id`))
    03/15/2009 16:53:41 EDT:INFO - NSocket: Incoming connection detected. Negotiating contact...
    03/15/2009 16:53:41 EDTEBUG - NSocket: id received: id:nghost
    03/15/2009 16:53:41 EDT:INFO - NSocket: Identified Plugin...nghost
    03/15/2009 16:53:41 EDT:INFO - NSocket: Connection complete from: 127.0.0.1
    03/15/2009 16:53:41 EDTEBUG - NSocket::in(): ping:nghost
    Segmentation fault

    The screen comes up fine and I can navigate around I just don't see any media files to play.

    Thanks for any help you can provide.

    Scott

  2. #2
    licensed to kill - FKA kev000
    Auto Apps:loading...
    tripzero's Avatar
    Join Date
    Aug 2006
    Location
    16.40618, 120.61106
    Posts
    2,494
    which version of nghost did you install/build from? If you think it may be a bug, download the latest version from subversion and see if the problem persists.

    Also, if you can, run it through gdb and get a stack trace. That will be helpful in determining where exactly it crashed at.
    Former author of LinuxICE, nghost, nobdy.
    Current author of Automotive Message Broker (AMB).
    Works on Tizen IVI. Does not represent anyone or anything but himself.

  3. #3
    Newbie
    Join Date
    Mar 2009
    Posts
    6

    Not a bug, but a package version problem

    After some more investigating I found that this is not a bug in the software itself. It actually has to do with packages and dependencies. I installed a fresh version of Debian Lenny and this software crashes because of libxml++ not being the right version (I am pretty sure.)

    I first compiled from source code, and while configure pointed out a few packages I needed to install first, it said nothing about the libxml++ version (or needing the boost libs either.) It compiled fine but crashed.

    I next tried installing the deb files and it complained that I needed libxml++2.6c2a and all I had was libxml++2.6.2. I even found a package with that exact version (not in the official Debian repositories) but nscan still crashed.

    I then installed the deb packages on my Ubuntu laptop and BAM, it worked fine! I ended up wiping Debian and installing Ubuntu on my car computer Everything works great now, at least what I have configured.

    Where do I submit suggestions for improvement of the build configure script?

    Scott

  4. #4
    licensed to kill - FKA kev000
    Auto Apps:loading...
    tripzero's Avatar
    Join Date
    Aug 2006
    Location
    16.40618, 120.61106
    Posts
    2,494
    Where do I submit suggestions for improvement of the build configure script?
    http://bugs.openice.org
    Former author of LinuxICE, nghost, nobdy.
    Current author of Automotive Message Broker (AMB).
    Works on Tizen IVI. Does not represent anyone or anything but himself.

Similar Threads

  1. nGhost 2.0.0 Final is out!
    By tripzero in forum LinuxICE
    Replies: 53
    Last Post: 07-16-2009, 09:16 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •