Menu

0.6 wxWidgets starting error

Help
tgn
2008-04-18
2013-04-24
  • tgn

    tgn - 2008-04-18

    hi ho.

    after compiling v0.6 without any errors (which was quite easy this time!) on an ubuntu 7.10 amd64 machine, i get the following error when i try to start:

    tgn@electricboogie:~/software/wired/wired-0.6$ wired
    wired: error while loading shared libraries: libWiredWidgets.so: cannot open shared object file: No such file or directory

    hu? but - i've compiled with wxWidgets 2.6 ? lets have a look:

    tgn@electricboogie:~/software/wired/wired-0.6$ find /usr/ -name libWiredWidgets.so
    /usr/local/lib/libWiredWidgets.so

    so whats the matter here?

    greetings,
    thomas

     
    • Doomsday

      Doomsday - 2008-04-18

      Your LD_LIBRARY_PATH is wrongly set.

      Try to add /usr/local/lib:

      $ export LD_LIBRARY_PATH=/usr/local/lib

      and then, relaunch wired.

      Good luck,

       
    • tgn

      tgn - 2008-04-18

      hell, yeah - it worked! but it gives me a lot of new errors after which the program quits without the chance to do anything:

      $ wired
      (... a lot of audio related stuff here ... and then:)
      [AUDIO] Stream started
      [FILECONVERT] Loading Codec management...
      ...done
      [FILECONVERT] Loading samplerate management...
      ...done
      [SEQUENCER] Thread started !
      addr2line: 'wired': No such file
      addr2line: 'wired': No such file
      addr2line: 'wired': No such file
      addr2line: 'wired': No such file
      addr2line: 'wired': No such file
      addr2line: 'wired': No such file
      addr2line: 'wired': No such file
      addr2line: 'wired': No such file
      addr2line: 'wired': No such file
      addr2line: 'wired': No such file
      addr2line: 'wired': No such file
      addr2line: 'wired': No such file
      addr2line: 'wired': No such file
      addr2line: 'wired': No such file
      addr2line: 'wired': No such file
      addr2line: 'wired': No such file
      addr2line: 'wired': No such file
      addr2line: 'wired': No such file
      addr2line: 'wired': No such file
      Segmentation fault (core dumped)

       
    • Doomsday

      Doomsday - 2008-04-18

      Maybe you should try the SVN version.
      I fixed some bugs on Ubuntu.

      If it's not resolving the problem, can you send a backtrace of the segmentation fault ?

      $ gdb wired

      (...)
      Segfault
      $ backtrace
      <print the call stack>

      And copy/paste here ?

      Thanks :)

       
    • tgn

      tgn - 2008-04-18

      unfortunately it was the svn version. :)

      this is what the debugger said (not much, hmpf):

      $ gdb wired
      GNU gdb 6.6-debian
      Copyright (C) 2006 Free Software Foundation, Inc.
      GDB is free software, covered by the GNU General Public License, and you are
      welcome to change it and/or distribute copies of it under certain conditions.
      Type "show copying" to see the conditions.
      There is absolutely no warranty for GDB.  Type "show warranty" for details.
      This GDB was configured as "x86_64-linux-gnu"...
      (no debugging symbols found)
      Using host libthread_db library "/lib/libthread_db.so.1".
      (gdb)

      thats it. no start. nothing happens. i'll get another beer now.

       
      • Doomsday

        Doomsday - 2008-04-19

        Ok :)

        Try this :

        recompile after configuring this way:
        ./configure --enable-debug
        make
        make install

        then launch with debugger:
        $ gdb wired
        ..
        console
        ..
        (gdb) run
        ..
        segfault
        (gdb) backtrace
        .. <copy/paste me this>
        (gdb)

         
    • tgn

      tgn - 2008-04-19

      :)

      thanks for the help. this is what happens:

      Program received signal SIGSEGV, Segmentation fault.
      [Switching to Thread 47125859502368 (LWP 14329)]
      0x00002adc51790759 in wxAppBase::SendIdleEvents () from /usr/lib/libwx_gtk2u_core-2.6.so.0
      (gdb) backtrace
      #0  0x00002adc51790759 in wxAppBase::SendIdleEvents () from /usr/lib/libwx_gtk2u_core-2.6.so.0
      #1  0x00002adc51790b77 in wxAppBase::ProcessIdle () from /usr/lib/libwx_gtk2u_core-2.6.so.0
      #2  0x00002adc516f172f in ?? () from /usr/lib/libwx_gtk2u_core-2.6.so.0
      #3  0x00002adc56726fd3 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
      #4  0x00002adc5672a2dd in ?? () from /usr/lib/libglib-2.0.so.0
      #5  0x00002adc5672a5ea in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
      #6  0x00002adc53b79883 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
      #7  0x00002adc51709691 in wxEventLoop::Run () from /usr/lib/libwx_gtk2u_core-2.6.so.0
      #8  0x00002adc5175f0b6 in wxDialog::ShowModal () from /usr/lib/libwx_gtk2u_core-2.6.so.0
      #9  0x0000000000422330 in MainWindow::OpenWizard (this=0x864e10) at MainWindow.cpp:2222
      #10 0x0000000000420dd7 in MainApp::OnInit (this=0x77d910) at MainApp.cpp:133
      #11 0x0000000000420e7d in wxAppConsole::CallOnInit (this=0x958690) at /usr/include/wx-2.6/wx/app.h:87
      #12 0x00002adc51fc7ae2 in wxEntry () from /usr/lib/libwx_baseu-2.6.so.0
      #13 0x00000000004208ca in main (argc=1, argv=0x958690) at MainApp.cpp:33

      hope this helps ...

       
    • Doomsday

      Doomsday - 2008-04-21

      Maybe you could comment all lines between 2222 and 2225 (included) of MainWindow.cpp file.

      I don't understand the error in code :(

      Keep me in touch.

       
    • tgn

      tgn - 2008-05-18

      hello! sorry for the long offtime. a lot happened here. ;)

      this is the OpenWizard function here (svn version from 19.4.) from line #2215 to #2227

      void MainWindow::OpenWizard()
      {
        LOG;
        Wizard wiz;

        wiz.ShowModal();
        if (wxFileName::DirExists(wiz.GetDir()))
          WiredStartSession(wiz.GetDir());
        else
          WiredStartSession(ChooseSessionDir());
      }

      i don't see anything special here ... ?

       

Log in to post a comment.