Segfault in Pianobooster .6.4 (karmic racb) on lucid lynx ubuntu beta

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

Segfault in Pianobooster .6.4 (karmic racb) on lucid lynx ubuntu beta

AdamL
Starting program: /home/adam/tempdir/pianobooster-src-0.6.4/build/pianobooster
[Thread debugging using libthread_db enabled]

Program received signal SIGSEGV, Segmentation fault.
0x00394256 in glGenLists () from /usr/lib/mesa/libGL.so.1
(gdb) bt
#0  0x00394256 in glGenLists () from /usr/lib/mesa/libGL.so.1
#1  0x0809fdbf in CScroll::showScroll (this=0x8556030, show=true)
    at /home/adam/tempdir/pianobooster-src-0.6.4/src/Scroll.cpp:273
#2  0x08098ce3 in CScore (this=0x8540b28, settings=0x81dd948)
    at /home/adam/tempdir/pianobooster-src-0.6.4/src/Score.cpp:47
#3  0x080868c7 in CGLView (this=0x81df630, parent=0xbffff314, settings=0x81dd948)
    at /home/adam/tempdir/pianobooster-src-0.6.4/src/GlView.cpp:58
#4  0x0806bee2 in QtWindow (this=0xbffff314)
    at /home/adam/tempdir/pianobooster-src-0.6.4/src/QtWindow.cpp:82
#5  0x0806a998 in main (argc=1, argv=0xbffff454)
    at /home/adam/tempdir/pianobooster-src-0.6.4/src/QtMain.cpp:37
(gdb)
Reply | Threaded
Open this post in threaded view
|

Re: Segfault in Pianobooster .6.4 (karmic racb) on lucid lynx ubuntu beta

jraber
Similar situation in Fedora 12&13  See: https://bugzilla.redhat.com/show_bug.cgi?id=571030
Reply | Threaded
Open this post in threaded view
|

Re: Segfault in Pianobooster .6.4 (karmic racb) on lucid lynx ubuntu beta

jesselks
In reply to this post by AdamL
Can confirm that building/running 0.6.4 on ubuntu 10.04 (beta) leads to a segfault, but it does run okay if nVidia (current/195.36.15) proprietary driver is installed. My intel-video netbook also poops out. Not sure how to help, so post any suggestions for me.
Reply | Threaded
Open this post in threaded view
|

Re: Segfault in Pianobooster .6.4 (karmic racb) on lucid lynx ubuntu beta

Louis B.
Administrator
Ok I have now got around to looking at this issue.

I am booting karmic from my usb stick on my eeePC netbook and I have got the same problem with .6.4 and with svn trunk.

The only thing I could think of may fix this issue i have just tried out and it does not make any different (moving the code that cause a seg fault into an init function) other than that I don't believe I am doing anything obviously wrong.

I have found this post which may shed some light on the issue.

http://www.osnews.com/thread?421527

could someone please try complying all the qt open gl samples in qtdemo and see if they all run OK on Intel graphics chips and check if any of  the qt open gl samples code has changed.

Thank

Louis
Reply | Threaded
Open this post in threaded view
|

Re: Segfault in Pianobooster .6.4 (karmic racb) on lucid lynx ubuntu beta

Louis B.
Administrator
Ok I have found the problem. Version 0.6.4b fixes the problem.

Louis
Reply | Threaded
Open this post in threaded view
|

Re: Segfault in Pianobooster .6.4 (karmic racb) on lucid lynx ubuntu beta

E.W.
Hi,
I'm still getting segfault after installing pianobooster_0.6.4b-1~basak1_amd64.deb  on lucid lynx. I also tried to compile from source code. The result was the same. Any ideas?
Thanks,
E.W.
Reply | Threaded
Open this post in threaded view
|

Re: Segfault in Pianobooster .6.4 (karmic racb) on lucid lynx ubuntu beta

Louis B.
Administrator
Can you post a backtrace here using  gdb. compile in with debug (type
cmake -DCMAKE_BUILD_TYPE=Debug ../src)

What graphics card are you you using? Does it work for any body else
64 bit systems?

L.
Reply | Threaded
Open this post in threaded view
|

Re: Re: Segfault in Pianobooster .6.4 (karmic racb) on lucid lynx ubuntu beta

E.W.

The motherboard is GA-MA785G-UD3H with onboard graphics ATI Radeon HD 4200.

There are some warnings in the make process.

Thanks,

E.W.


cmake -DCMAKE_BUILD_TYPE=Debug
g ../src
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/libX11.so
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt-Version 4.6.2 (using /usr/bin/qmake)
-- Looking for _POSIX_TIMERS
-- Looking for _POSIX_TIMERS - found
-- Configuring done
-- Generating done
-- Build files have been written to: /usr/local/pianobooster-src-0.6.4b/build
$:/usr/local/pianobooster-src-0.6.4b/build$ sudo make
[  1%] Generating ui_GuiLoopingPopup.h
[  3%] Generating moc_QtWindow.cxx
[  5%] Generating moc_GlView.cxx
[  6%] Generating moc_GuiTopBar.cxx
[  8%] Generating moc_GuiSidePanel.cxx
[ 10%] Generating moc_GuiMidiSetupDialog.cxx
[ 11%] Generating moc_GuiKeyboardSetupDialog.cxx
[ 13%] Generating moc_GuiPreferencesDialog.cxx
[ 15%] Generating moc_GuiSongDetailsDialog.cxx
[ 16%] Generating moc_GuiLoopingPopup.cxx
[ 18%] Generating qrc_application.cxx
[ 20%] Generating ui_GuiTopBar.h
[ 22%] Generating ui_GuiSidePanel.h
[ 23%] Generating ui_GuiMidiSetupDialog.h
[ 25%] Generating ui_GuiKeyboardSetupDialog.h
[ 27%] Generating ui_GuiPreferencesDialog.h
[ 28%] Generating ui_GuiSongDetailsDialog.h
Scanning dependencies of target pianobooster
[ 30%] Building CXX object CMakeFiles/pianobooster.dir/QtMain.o
[ 32%] Building CXX object CMakeFiles/pianobooster.dir/QtWindow.o
[ 33%] Building CXX object CMakeFiles/pianobooster.dir/GuiTopBar.o
[ 35%] Building CXX object CMakeFiles/pianobooster.dir/GuiSidePanel.o
[ 37%] Building CXX object CMakeFiles/pianobooster.dir/GuiMidiSetupDialog
.o
[ 38%] Building CXX object CMakeFiles/pianobooster.dir/GuiKeyboardSetupDi
alog.o
[ 40%] Building CXX object CMakeFiles/pianobooster.dir/GuiPreferencesDial
og.o
[ 42%] Building CXX object CMakeFiles/pianobooster.dir/GuiSongDetailsDial
og.o
[ 44%] Building CXX object CMakeFiles/pianobooster.dir/GuiLoopingPopup.o
[ 45%] Building CXX object CMakeFiles/pianobooster.dir/GlView.o
/usr/local/pianobooster-src-0.6.4b/src/GlView.cpp: In member function ‘virtua
l void CGLView::resizeGL(int, int)’:
/usr/local/pianobooster-src-0.6.4b/src/GlView.cpp:267: warning: unused variable
‘space’
[ 47%] Building CXX object CMakeFiles/pianobooster.dir/MidiFile.o
[ 49%] Building CXX object CMakeFiles/pianobooster.dir/MidiTrack.o
[ 50%] Building CXX object CMakeFiles/pianobooster.dir/Song.o
[ 52%] Building CXX object CMakeFiles/pianobooster.dir/Conductor.o
[ 54%] Building CXX object CMakeFiles/pianobooster.dir/Util.o
[ 55%] Building CXX object CMakeFiles/pianobooster.dir/Chord.o
[ 57%] Building CXX object CMakeFiles/pianobooster.dir/Tempo.o
[ 59%] Building CXX object CMakeFiles/pianobooster.dir/MidiDevice.o
[ 61%] Building CXX object CMakeFiles/pianobooster.dir/MidiDeviceRt.o
[ 62%] Building CXX object CMakeFiles/pianobooster.dir/rtmidi/RtMidi.o
[ 64%] Building CXX object CMakeFiles/pianobooster.dir/StavePosition.o
[ 66%] Building CXX object CMakeFiles/pianobooster.dir/Score.o
[ 67%] Building CXX object CMakeFiles/pianobooster.dir/Cfg.o
[ 69%] Building CXX object CMakeFiles/pianobooster.dir/Piano.o
[ 71%] Building CXX object CMakeFiles/pianobooster.dir/Draw.o
[ 72%] Building CXX object CMakeFiles/pianobooster.dir/Scroll.o
/usr/local/pianobooster-src-0.6.4b/src/Scroll.cpp: In member function ‘void C
Scroll::compileSlot(CScroll::CSlotDisplayList)’:
/usr/local/pianobooster-src-0.6.4b/src/Scroll.cpp:50: warning: unused variable ‘
av8Left’
[ 74%] Building CXX object CMakeFiles/pianobooster.dir/Notation.o
[ 76%] Building CXX object CMakeFiles/pianobooster.dir/TrackList.o
[ 77%] Building CXX object CMakeFiles/pianobooster.dir/Rating.o
[ 79%] Building CXX object CMakeFiles/pianobooster.dir/Bar.o
[ 81%] Building CXX object CMakeFiles/pianobooster.dir/Settings.o
[ 83%] Building CXX object CMakeFiles/pianobooster.dir/Merge.o
[ 84%] Building CXX object CMakeFiles/pianobooster.dir/moc_QtWindow.o
[ 86%] Building CXX object CMakeFiles/pianobooster.dir/moc_GlView.o
[ 88%] Building CXX object CMakeFiles/pianobooster.dir/moc_GuiTopBar.o
[ 89%] Building CXX object CMakeFiles/pianobooster.dir/moc_GuiSidePanel.o
[ 91%] Building CXX object CMakeFiles/pianobooster.dir/moc_GuiMidiSetupDi
alog.o
[ 93%] Building CXX object CMakeFiles/pianobooster.dir/moc_GuiKeyboardSet
upDialog.o
[ 94%] Building CXX object CMakeFiles/pianobooster.dir/moc_GuiPreferences
Dialog.o
[ 96%] Building CXX object CMakeFiles/pianobooster.dir/moc_GuiSongDetails
Dialog.o
[ 98%] Building CXX object CMakeFiles/pianobooster.dir/moc_GuiLoopingPopu
p.o
[100%] Building CXX object CMakeFiles/pianobooster.dir/qrc_application.o
Linking CXX executable pianobooster
[100%] Built target pianobooster
$:/usr/local/pianobooster-src-0.6.4b/build$ sudo make install
[100%] Built target pianobooster
Install the project...
-- Install configuration: "Debug"
-- Up-to-date: /usr/local/share/applications/pianobooster.desktop
-- Installing: /usr/local/bin/pianobooster
-- Up-to-date: /usr/local/share/doc/pianobooster/README.txt
-- Up-to-date: /usr/local/share/pixmaps/pianobooster.png
$:/usr/local/pianobooster-src-0.6.4b/build$ pianobooster
Segmentation fault


----- Ursprüngliche Nachricht -----
Von: Louis B. [via Piano Booster]
Gesendet: 12.05.10 22:14 Uhr
An: E.W.
Betreff: Re: Segfault in Pianobooster .6.4 (karmic racb) on lucid lynx ubuntu beta

Can you post a backtrace here using  gdb. compile in with debug (type
cmake -DCMAKE_BUILD_TYPE=Debug ../src)

What graphics card are you you using? Does it work for any body else
64 bit systems?

L.



View message @ http://piano-booster.2625608.n2.nabble.com/Segfault-in-Pianobooster-6-4-karmic-racb-on-lucid-lynx-ubuntu-beta-tp4929587p5043187.html
To unsubscribe from Re: Segfault in Pianobooster .6.4 (karmic racb) on lucid lynx ubuntu beta, click here.

Reply | Threaded
Open this post in threaded view
|

Re: Re: Segfault in Pianobooster .6.4 (karmic racb) on lucid lynx ubuntu beta

Louis B.
Administrator
To get a backtrack  with gbd. Type “gdb ./pianobooster”, then “run” then “bt”.

Thanks

Louis


On Thu, May 13, 2010 at 10:37 AM, E.W. [via Piano Booster]
<[hidden email]> wrote:

> The motherboard is GA-MA785G-UD3H with onboard graphics ATI Radeon HD 4200.
>
> There are some warnings in the make process.
>
> Thanks,
>
> E.W.
>
> cmake -DCMAKE_BUILD_TYPE=Debug
> g ../src
> -- The C compiler identification is GNU
> -- The CXX compiler identification is GNU
> -- Check for working C compiler: /usr/bin/gcc
> -- Check for working C compiler: /usr/bin/gcc -- works
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Check for working CXX compiler: /usr/bin/c++
> -- Check for working CXX compiler: /usr/bin/c++ -- works
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> -- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so
> -- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so -
> found
> -- Looking for gethostbyname
> -- Looking for gethostbyname - found
> -- Looking for connect
> -- Looking for connect - found
> -- Looking for remove
> -- Looking for remove - found
> -- Looking for shmat
> -- Looking for shmat - found
> -- Looking for IceConnectionNumber in ICE
> -- Looking for IceConnectionNumber in ICE - found
> -- Found X11: /usr/lib/libX11.so
> -- Looking for Q_WS_X11
> -- Looking for Q_WS_X11 - found
> -- Looking for Q_WS_WIN
> -- Looking for Q_WS_WIN - not found.
> -- Looking for Q_WS_QWS
> -- Looking for Q_WS_QWS - not found.
> -- Looking for Q_WS_MAC
> -- Looking for Q_WS_MAC - not found.
> -- Found Qt-Version 4.6.2 (using /usr/bin/qmake)
> -- Looking for _POSIX_TIMERS
> -- Looking for _POSIX_TIMERS - found
> -- Configuring done
> -- Generating done
> -- Build files have been written to:
> /usr/local/pianobooster-src-0.6.4b/build
> $:/usr/local/pianobooster-src-0.6.4b/build$ sudo make
> [  1%] Generating ui_GuiLoopingPopup.h
> [  3%] Generating moc_QtWindow.cxx
> [  5%] Generating moc_GlView.cxx
> [  6%] Generating moc_GuiTopBar.cxx
> [  8%] Generating moc_GuiSidePanel.cxx
> [ 10%] Generating moc_GuiMidiSetupDialog.cxx
> [ 11%] Generating moc_GuiKeyboardSetupDialog.cxx
> [ 13%] Generating moc_GuiPreferencesDialog.cxx
> [ 15%] Generating moc_GuiSongDetailsDialog.cxx
> [ 16%] Generating moc_GuiLoopingPopup.cxx
> [ 18%] Generating qrc_application.cxx
> [ 20%] Generating ui_GuiTopBar.h
> [ 22%] Generating ui_GuiSidePanel.h
> [ 23%] Generating ui_GuiMidiSetupDialog.h
> [ 25%] Generating ui_GuiKeyboardSetupDialog.h
> [ 27%] Generating ui_GuiPreferencesDialog.h
> [ 28%] Generating ui_GuiSongDetailsDialog.h
> Scanning dependencies of target pianobooster
> [ 30%] Building CXX object CMakeFiles/pianobooster.dir/QtMain.o
> [ 32%] Building CXX object CMakeFiles/pianobooster.dir/QtWindow.o
> [ 33%] Building CXX object CMakeFiles/pianobooster.dir/GuiTopBar.o
> [ 35%] Building CXX object CMakeFiles/pianobooster.dir/GuiSidePanel.o
> [ 37%] Building CXX object CMakeFiles/pianobooster.dir/GuiMidiSetupDialog
> .o
> [ 38%] Building CXX object CMakeFiles/pianobooster.dir/GuiKeyboardSetupDi
> alog.o
> [ 40%] Building CXX object CMakeFiles/pianobooster.dir/GuiPreferencesDial
> og.o
> [ 42%] Building CXX object CMakeFiles/pianobooster.dir/GuiSongDetailsDial
> og.o
> [ 44%] Building CXX object CMakeFiles/pianobooster.dir/GuiLoopingPopup.o
> [ 45%] Building CXX object CMakeFiles/pianobooster.dir/GlView.o
> /usr/local/pianobooster-src-0.6.4b/src/GlView.cpp: In member function
> ‘virtua
> l void CGLView::resizeGL(int, int)’:
> /usr/local/pianobooster-src-0.6.4b/src/GlView.cpp:267: warning: unused
> variable
> ‘space’
> [ 47%] Building CXX object CMakeFiles/pianobooster.dir/MidiFile.o
> [ 49%] Building CXX object CMakeFiles/pianobooster.dir/MidiTrack.o
> [ 50%] Building CXX object CMakeFiles/pianobooster.dir/Song.o
> [ 52%] Building CXX object CMakeFiles/pianobooster.dir/Conductor.o
> [ 54%] Building CXX object CMakeFiles/pianobooster.dir/Util.o
> [ 55%] Building CXX object CMakeFiles/pianobooster.dir/Chord.o
> [ 57%] Building CXX object CMakeFiles/pianobooster.dir/Tempo.o
> [ 59%] Building CXX object CMakeFiles/pianobooster.dir/MidiDevice.o
> [ 61%] Building CXX object CMakeFiles/pianobooster.dir/MidiDeviceRt.o
> [ 62%] Building CXX object CMakeFiles/pianobooster.dir/rtmidi/RtMidi.o
> [ 64%] Building CXX object CMakeFiles/pianobooster.dir/StavePosition.o
> [ 66%] Building CXX object CMakeFiles/pianobooster.dir/Score.o
> [ 67%] Building CXX object CMakeFiles/pianobooster.dir/Cfg.o
> [ 69%] Building CXX object CMakeFiles/pianobooster.dir/Piano.o
> [ 71%] Building CXX object CMakeFiles/pianobooster.dir/Draw.o
> [ 72%] Building CXX object CMakeFiles/pianobooster.dir/Scroll.o
> /usr/local/pianobooster-src-0.6.4b/src/Scroll.cpp: In member function ‘void
> C
> Scroll::compileSlot(CScroll::CSlotDisplayList)’:
> /usr/local/pianobooster-src-0.6.4b/src/Scroll.cpp:50: warning: unused
> variable ‘
> av8Left’
> [ 74%] Building CXX object CMakeFiles/pianobooster.dir/Notation.o
> [ 76%] Building CXX object CMakeFiles/pianobooster.dir/TrackList.o
> [ 77%] Building CXX object CMakeFiles/pianobooster.dir/Rating.o
> [ 79%] Building CXX object CMakeFiles/pianobooster.dir/Bar.o
> [ 81%] Building CXX object CMakeFiles/pianobooster.dir/Settings.o
> [ 83%] Building CXX object CMakeFiles/pianobooster.dir/Merge.o
> [ 84%] Building CXX object CMakeFiles/pianobooster.dir/moc_QtWindow.o
> [ 86%] Building CXX object CMakeFiles/pianobooster.dir/moc_GlView.o
> [ 88%] Building CXX object CMakeFiles/pianobooster.dir/moc_GuiTopBar.o
> [ 89%] Building CXX object CMakeFiles/pianobooster.dir/moc_GuiSidePanel.o
> [ 91%] Building CXX object CMakeFiles/pianobooster.dir/moc_GuiMidiSetupDi
> alog.o
> [ 93%] Building CXX object CMakeFiles/pianobooster.dir/moc_GuiKeyboardSet
> upDialog.o
> [ 94%] Building CXX object CMakeFiles/pianobooster.dir/moc_GuiPreferences
> Dialog.o
> [ 96%] Building CXX object CMakeFiles/pianobooster.dir/moc_GuiSongDetails
> Dialog.o
> [ 98%] Building CXX object CMakeFiles/pianobooster.dir/moc_GuiLoopingPopu
> p.o
> [100%] Building CXX object CMakeFiles/pianobooster.dir/qrc_application.o
> Linking CXX executable pianobooster
> [100%] Built target pianobooster
> $:/usr/local/pianobooster-src-0.6.4b/build$ sudo make install
> [100%] Built target pianobooster
> Install the project...
> -- Install configuration: "Debug"
> -- Up-to-date: /usr/local/share/applications/pianobooster.desktop
> -- Installing: /usr/local/bin/pianobooster
> -- Up-to-date: /usr/local/share/doc/pianobooster/README.txt
> -- Up-to-date: /usr/local/share/pixmaps/pianobooster.png
> $:/usr/local/pianobooster-src-0.6.4b/build$ pianobooster
> Segmentation fault
>
>
> ----- Ursprüngliche Nachricht -----
> Von: Louis B. [via Piano Booster]
> Gesendet: 12.05.10 22:14 Uhr
> An: E.W.
> Betreff: Re: Segfault in Pianobooster .6.4 (karmic racb) on lucid lynx
> ubuntu beta
>
> Can you post a backtrace here using  gdb. compile in with debug (type
> cmake -DCMAKE_BUILD_TYPE=Debug ../src)
>
> What graphics card are you you using? Does it work for any body else
> 64 bit systems?
>
> L.
>
>
> ________________________________
> View message @
> http://piano-booster.2625608.n2.nabble.com/Segfault-in-Pianobooster-6-4-karmic-racb-on-lucid-lynx-ubuntu-beta-tp4929587p5043187.html
> To unsubscribe from Re: Segfault in Pianobooster .6.4 (karmic racb) on lucid
> lynx ubuntu beta, click here.
>
>
> ________________________________
> View message @
> http://piano-booster.2625608.n2.nabble.com/Segfault-in-Pianobooster-6-4-karmic-racb-on-lucid-lynx-ubuntu-beta-tp4929587p5045365.html
> To start a new topic under Piano Booster Development, email
> [hidden email]
> To unsubscribe from Piano Booster Development, click here.
>