Skip to Content

Segfault on startup

9 replies [Last post]
gropiuskalle
Offline
Joined: 04/17/2010

I'm really sad because after reinstalling my SuSE 10.2 Hydrogen doesn't work anymore. It shows the splashscreen and then crashes.

This is the output of 'hydrogen -V':

(I) [int main(int, char**)] Using QT version 4.3.1
(I) [int main(int, char**)] Using data path: /usr/share/hydrogen/data
(I) Preferences [Preferences] INIT
(I) Preferences [Preferences] Found LADSPA_PATH enviroment variable
(I) Preferences [loadPreferences] Loading preferences file (GLOBAL) [/usr/share/hydrogen/data/hydrogen.default.conf]
(I) Preferences [loadPreferences] Loading preferences file (USER) [/home/kalle/.hydrogen/hydrogen.conf]
(W) [static bool H2Core::LocalFileMng::readXmlBool(TiXmlNode*, const std::string&, bool, bool)] 'useMidiTransport' node not found
(W) [static bool H2Core::LocalFileMng::readXmlBool(TiXmlNode*, const std::string&, bool, bool)] 'isFXTabVisible' node not found
(I) [int main(int, char**)] Using locale: /usr/share/hydrogen/data/i18n/hydrogen.de_DE
(I) SongReader [readSong] /usr/share/hydrogen/data/DefaultSong.h2song
(I) Song [Song] INIT "Untitled Song"
(I) Effects [getPluginList] PATHS: 3
(I) Effects [getPluginList] *** [getPluginList] reading directory: /usr/lib/ladspa
Segmentation fault

I'm running version 0.9.4 on SuSE 10.2 / KDE 3.5.7. Any hint for troubleshooting is appreciated.

Edit:

It would be okay for me to use version 0.9.3 instead, but there doesn't seem to be an option to mix drumkits, or am I wrong?

Edit:

Segfaults on SuSE 10.3 as well... any hints? Please?

Edit:

While the 0.9.4-Version for some reason was running okay again for a while, it now crashes with a segfault-message again - I still do not have any idea what exactly causes Hydrogen to run (or run not) and am seriously disappointed about the poor help I get here. If there's any hint anyone could give me for troubleshooting, please tell me so, because right now I am totally clueless.

Meanwhile running openSuSE 10.3 with KDE 3.5.9,

gropiuskalle
Offline
Joined: 04/17/2010

Sorry, I normally don't do this, but since I keep getting ignored I'm gonna push this thread.

*Please* help me, I really miss Hydrogen.

kalle@hoppers:~> hydrogen -V

Hydrogen 0.9.4-svn84 [Mar 30 2008] [http://www.hydrogen-music.org]
Copyright 2002-2008 Alessandro Cominu

Verbose log mode = active

Hydrogen comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions. See the file COPYING for details

(I) [int main(int, char**)] Using QT version 4.3.4
(I) [int main(int, char**)] Using data path: /usr/share/hydrogen/data
(I) Preferences [Preferences] INIT
(I) Preferences [Preferences] Found LADSPA_PATH enviroment variable
(I) Preferences [loadPreferences] Loading preferences file (GLOBAL) [/usr/share/hydrogen/data/hydrogen.default.conf]
(I) Preferences [loadPreferences] Loading preferences file (USER) [/home/kalle/.hydrogen/hydrogen.conf]
(W) [static bool H2Core::LocalFileMng::readXmlBool(TiXmlNode*, const std::string&, bool, bool)] 'useMidiTransport' node not found
(I) [int main(int, char**)] Using locale: /usr/share/hydrogen/data/i18n/hydrogen.de_DE
(I) SongReader [readSong] /usr/share/hydrogen/data/DefaultSong.h2song
(W) SongReader [readSong] Trying to load a song created with a different version of hydrogen.
(W) SongReader [readSong] Song [/usr/share/hydrogen/data/DefaultSong.h2song] saved with version 0.9.4-svn
(I) Song [Song] INIT "Untitled Song"
(I) Effects [getPluginList] PATHS: 3
(I) Effects [getPluginList] *** [getPluginList] reading directory: /usr/lib/ladspa
Speicherzugriffsfehler [thats's german for 'segmentation fault']

wolke
wolke's picture
Offline
Joined: 03/30/2010

rename or delete the hydrogen.conf file in /home//.hydrogen

gropiuskalle
Offline
Joined: 04/17/2010

Nope, that doesn't change anything (neither does removing the entire ~/.hydrogen), it still segfaults...

Since I really *am* clueless, I' d like to ask if the following might have anything to do with the misbehaviour:

Output with Hydrogen 0.9.3:

kalle@hoppers:~> which hydrogen
/opt/kde3/bin/hydrogen
kalle@hoppers:~> whereis hydrogen
hydrogen: /opt/kde3/bin/hydrogen

Output with Hydrogen 0.9.4:

kalle@hoppers:~> which hydrogen
/usr/bin/hydrogen
kalle@hoppers:~> whereis hydrogen
hydrogen: /usr/bin/hydrogen /usr/bin/X11/hydrogen /usr/share/hydrogen

As I said, version 0.9.3 does always work (but it doesn't fit my needs, since I'd like to be able to mix drumsets) - the 0.9.4 was updated yesterday by the openSuSE Packman-Repository.

Also I'd like to know how I could compile Hydrogen 0.9.4 by myself, since a self-compiled version might work or at least give me some relevant error-messages - but I'm not able to finde the source for it...

Thank you very very much for replying! :)

Thorgal
Offline
Joined: 04/17/2010

in a shell, type this :

svn co http://hydrogen-music.org/svn/trunk hydrogen_svn

it will create a directory called hydrogen_svn and check out the latest development source code. The rest is standard compilation. Just make sure you have all the dependencies right. I guess you will find out if something is missing by running ./configure or make.

gropiuskalle
Offline
Joined: 04/17/2010

Thank you for pointing that out - I also found wolkes http://www.tubeampcheck.de/downloads/hydrogen-strato-add, guess I will try both and tell you when I'm finished wether I suceeded or not.

gropiuskalle
Offline
Joined: 04/17/2010

Both version won't even let me finish the first step:

kalle@hoppers:~/hydrogen> ./configure
rm: fehlender Operand [missing parameter]
rm --help gibt weitere Informationen.

-----------------------------------------------------------------
Starting Hydrogen configuration http://www.hydrogen-music.org
-----------------------------------------------------------------

* prefix is not set, using default /usr/local
* QTDIR = /usr/lib/qt3

* Searching for QT library in /usr/lib/qt3 *** Not found ***

*** ERROR: QT library not found. Maybe QT development libraries are not installed or QTDIR isn't properly set.

Which is nonsense, since /usr/lib/qt3 is there:

kalle@hoppers:~/hydrogen> ls /usr/lib/qt3
bin doc etc include lib mkspecs phrasebooks plugins templates translations

'qt3-devel' is installed as well. 'configure --help' gives me exactly the same output as './configure' (what is that about?).

Thorgal
Offline
Joined: 04/17/2010

i'm surprised that qt3 is mentioned since 0.9.4 uses qt4. I would suggest you install qt4 and qt4-devel and try again.

mauser
Offline
Joined: 03/30/2010

Hey,

the configure script looks for QT4 in QTDIR, and it can't find it because QT3 is installed. The error message is a little bit misleading, if you don't know that hydrogen-0.9.4 needs QT4.

QT3 is just mentioned because gropiuskalle set his QTDIR to /usr/lib/qt3.

gropiuskalle
Offline
Joined: 04/17/2010

I know it's bad style to exhume old threads, but since this one was unsolved...

Hydrogen works again sine I upgraded to version 0.9.4b2-0.pm.1 from packman.

Life can be so good... :)