crash on startup

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

crash on startup

Leon Vinken
Since Friday every version I built crashes at startup (after showing the splash screen). The only error I get is "Segmentation fault".

Stack trace:
#0  0xb6edcbab in __dynamic_cast () from /usr/lib/libstdc++.so.6
#1  0xb6a2ac01 in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
#2  0xb662633c in KStyle::drawPrimitive () from /usr/lib/libkdeui.so.5
#3  0xb662add6 in KStyle::drawComplexControl () from /usr/lib/libkdeui.so.5
#4  0xb6a21c17 in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
#5  0xb793846d in ?? () from /usr/lib/libQtGui.so.4
#6  0xb7a70aed in QToolButton::paintEvent () from /usr/lib/libQtGui.so.4
#7  0xb76fff61 in QWidget::event () from /usr/lib/libQtGui.so.4
#8  0xb79a370e in QAbstractButton::event () from /usr/lib/libQtGui.so.4
#9  0xb7a6e124 in QToolButton::event () from /usr/lib/libQtGui.so.4
#10 0xb76adecc in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#11 0xb76b43ea in QApplication::notify () from /usr/lib/libQtGui.so.4
#12 0xb7169b51 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#13 0xb770681e in ?? () from /usr/lib/libQtGui.so.4
#14 0xb76fcf60 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4
#15 0xb76fd79f in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4
#16 0xb76fd661 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4
#17 0xb76fd661 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4
#18 0xb76fd661 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4
#19 0xb76fd661 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4
#20 0xb76fd661 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4
#21 0xb76fd661 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4
#22 0xb76fd661 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4
#23 0xb76fd661 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4
#24 0xb76fd661 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4
#25 0xb76fd661 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4
#26 0xb76fd661 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4
#27 0xb76fd661 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4
#28 0xb76fd661 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4
#29 0xb76fd661 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4
#30 0xb76fd661 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4
#31 0xb76fd661 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4
#32 0xb76fd661 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4
#33 0xb76fd661 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4
#34 0xb76fccd4 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4
#35 0xb76fd79f in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4
#36 0xb76fd661 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4
#37 0xb76fd661 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4
#38 0xb76fccd4 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4
#39 0xb784b380 in ?? () from /usr/lib/libQtGui.so.4
#40 0xb784bfd5 in ?? () from /usr/lib/libQtGui.so.4
#41 0xb770866d in ?? () from /usr/lib/libQtGui.so.4
#42 0xb7711e7c in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#43 0xb772a1af in qt_x11_wait_for_window_manager () from /usr/lib/libQtGui.so.4
#44 0xb7a44891 in QSplashScreen::finish () from /usr/lib/libQtGui.so.4
#45 0x0822d871 in main (argc=0, argv=0xbfb7fd84) at /home/lvi/mscore/mscore/mscore/mscore.cpp:1756
Reply | Threaded
Open this post in threaded view
|

Re: crash on startup

lasconic
Administrator
For what it's worth, I compiled r1581 and it works on ubuntu 8.04.

2009/2/21 Leon Vinken <[hidden email]>

Since Friday every version I built crashes at startup (after showing the
splash screen). The only error I get is "Segmentation fault".

Stack trace:
#0  0xb6edcbab in __dynamic_cast () from /usr/lib/libstdc++.so.6
#1  0xb6a2ac01 in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
#2  0xb662633c in KStyle::drawPrimitive () from /usr/lib/libkdeui.so.5
#3  0xb662add6 in KStyle::drawComplexControl () from /usr/lib/libkdeui.so.5
#4  0xb6a21c17 in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
#5  0xb793846d in ?? () from /usr/lib/libQtGui.so.4
#6  0xb7a70aed in QToolButton::paintEvent () from /usr/lib/libQtGui.so.4
#7  0xb76fff61 in QWidget::event () from /usr/lib/libQtGui.so.4
#8  0xb79a370e in QAbstractButton::event () from /usr/lib/libQtGui.so.4
#9  0xb7a6e124 in QToolButton::event () from /usr/lib/libQtGui.so.4
#10 0xb76adecc in QApplicationPrivate::notify_helper () from
/usr/lib/libQtGui.so.4
#11 0xb76b43ea in QApplication::notify () from /usr/lib/libQtGui.so.4
#12 0xb7169b51 in QCoreApplication::notifyInternal () from
/usr/lib/libQtCore.so.4
#13 0xb770681e in ?? () from /usr/lib/libQtGui.so.4
#14 0xb76fcf60 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4
#15 0xb76fd79f in QWidgetPrivate::paintSiblingsRecursive () from
/usr/lib/libQtGui.so.4
#16 0xb76fd661 in QWidgetPrivate::paintSiblingsRecursive () from
/usr/lib/libQtGui.so.4
#17 0xb76fd661 in QWidgetPrivate::paintSiblingsRecursive () from
/usr/lib/libQtGui.so.4
#18 0xb76fd661 in QWidgetPrivate::paintSiblingsRecursive () from
/usr/lib/libQtGui.so.4
#19 0xb76fd661 in QWidgetPrivate::paintSiblingsRecursive () from
/usr/lib/libQtGui.so.4
#20 0xb76fd661 in QWidgetPrivate::paintSiblingsRecursive () from
/usr/lib/libQtGui.so.4
#21 0xb76fd661 in QWidgetPrivate::paintSiblingsRecursive () from
/usr/lib/libQtGui.so.4
#22 0xb76fd661 in QWidgetPrivate::paintSiblingsRecursive () from
/usr/lib/libQtGui.so.4
#23 0xb76fd661 in QWidgetPrivate::paintSiblingsRecursive () from
/usr/lib/libQtGui.so.4
#24 0xb76fd661 in QWidgetPrivate::paintSiblingsRecursive () from
/usr/lib/libQtGui.so.4
#25 0xb76fd661 in QWidgetPrivate::paintSiblingsRecursive () from
/usr/lib/libQtGui.so.4
#26 0xb76fd661 in QWidgetPrivate::paintSiblingsRecursive () from
/usr/lib/libQtGui.so.4
#27 0xb76fd661 in QWidgetPrivate::paintSiblingsRecursive () from
/usr/lib/libQtGui.so.4
#28 0xb76fd661 in QWidgetPrivate::paintSiblingsRecursive () from
/usr/lib/libQtGui.so.4
#29 0xb76fd661 in QWidgetPrivate::paintSiblingsRecursive () from
/usr/lib/libQtGui.so.4
#30 0xb76fd661 in QWidgetPrivate::paintSiblingsRecursive () from
/usr/lib/libQtGui.so.4
#31 0xb76fd661 in QWidgetPrivate::paintSiblingsRecursive () from
/usr/lib/libQtGui.so.4
#32 0xb76fd661 in QWidgetPrivate::paintSiblingsRecursive () from
/usr/lib/libQtGui.so.4
#33 0xb76fd661 in QWidgetPrivate::paintSiblingsRecursive () from
/usr/lib/libQtGui.so.4
#34 0xb76fccd4 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4
#35 0xb76fd79f in QWidgetPrivate::paintSiblingsRecursive () from
/usr/lib/libQtGui.so.4
#36 0xb76fd661 in QWidgetPrivate::paintSiblingsRecursive () from
/usr/lib/libQtGui.so.4
#37 0xb76fd661 in QWidgetPrivate::paintSiblingsRecursive () from
/usr/lib/libQtGui.so.4
#38 0xb76fccd4 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4
#39 0xb784b380 in ?? () from /usr/lib/libQtGui.so.4
#40 0xb784bfd5 in ?? () from /usr/lib/libQtGui.so.4
#41 0xb770866d in ?? () from /usr/lib/libQtGui.so.4
#42 0xb7711e7c in QApplication::x11ProcessEvent () from
/usr/lib/libQtGui.so.4
#43 0xb772a1af in qt_x11_wait_for_window_manager () from
/usr/lib/libQtGui.so.4
#44 0xb7a44891 in QSplashScreen::finish () from /usr/lib/libQtGui.so.4
#45 0x0822d871 in main (argc=0, argv=0xbfb7fd84) at
/home/lvi/mscore/mscore/mscore/mscore.cpp:1756

--
View this message in context: http://n2.nabble.com/crash-on-startup-tp2364659p2364659.html
Sent from the MuseScore Developer mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Reply | Threaded
Open this post in threaded view
|

Re: crash on startup

wschweer
Administrator
In reply to this post by Leon Vinken
I changed the compiler options to not generate code for runtime type
information (-frtti). Qt does not use this (rtti is evil) and i found some
typos in mscore were i typed dynamic_cast<> were static_cast was ment.
I looks like you are using a style lib from kde which uses rtti.

/Werner
 
On Saturday 21 February 2009 19:18:38 Leon Vinken wrote:

> Since Friday every version I built crashes at startup (after showing the
> splash screen). The only error I get is "Segmentation fault".
>
> Stack trace:
> #0  0xb6edcbab in __dynamic_cast () from /usr/lib/libstdc++.so.6
> #1  0xb6a2ac01 in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
> #2  0xb662633c in KStyle::drawPrimitive () from /usr/lib/libkdeui.so.5
> #3  0xb662add6 in KStyle::drawComplexControl () from /usr/lib/libkdeui.so.5
> #4  0xb6a21c17 in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
> #5  0xb793846d in ?? () from /usr/lib/libQtGui.so.4
> #6  0xb7a70aed in QToolButton::paintEvent () from /usr/lib/libQtGui.so.4
> #7  0xb76fff61 in QWidget::event () from /usr/lib/libQtGui.so.4
> #8  0xb79a370e in QAbstractButton::event () from /usr/lib/libQtGui.so.4
> #9  0xb7a6e124 in QToolButton::event () from /usr/lib/libQtGui.so.4
> #10 0xb76adecc in QApplicationPrivate::notify_helper () from
> /usr/lib/libQtGui.so.4
> #11 0xb76b43ea in QApplication::notify () from /usr/lib/libQtGui.so.4
> #12 0xb7169b51 in QCoreApplication::notifyInternal () from
> /usr/lib/libQtCore.so.4
> #13 0xb770681e in ?? () from /usr/lib/libQtGui.so.4
> #14 0xb76fcf60 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4
> #15 0xb76fd79f in QWidgetPrivate::paintSiblingsRecursive () from
> /usr/lib/libQtGui.so.4
> #16 0xb76fd661 in QWidgetPrivate::paintSiblingsRecursive () from
> /usr/lib/libQtGui.so.4
> #17 0xb76fd661 in QWidgetPrivate::paintSiblingsRecursive () from
> /usr/lib/libQtGui.so.4
> #18 0xb76fd661 in QWidgetPrivate::paintSiblingsRecursive () from
> /usr/lib/libQtGui.so.4
> #19 0xb76fd661 in QWidgetPrivate::paintSiblingsRecursive () from
> /usr/lib/libQtGui.so.4
> #20 0xb76fd661 in QWidgetPrivate::paintSiblingsRecursive () from
> /usr/lib/libQtGui.so.4
> #21 0xb76fd661 in QWidgetPrivate::paintSiblingsRecursive () from
> /usr/lib/libQtGui.so.4
> #22 0xb76fd661 in QWidgetPrivate::paintSiblingsRecursive () from
> /usr/lib/libQtGui.so.4
> #23 0xb76fd661 in QWidgetPrivate::paintSiblingsRecursive () from
> /usr/lib/libQtGui.so.4
> #24 0xb76fd661 in QWidgetPrivate::paintSiblingsRecursive () from
> /usr/lib/libQtGui.so.4
> #25 0xb76fd661 in QWidgetPrivate::paintSiblingsRecursive () from
> /usr/lib/libQtGui.so.4
> #26 0xb76fd661 in QWidgetPrivate::paintSiblingsRecursive () from
> /usr/lib/libQtGui.so.4
> #27 0xb76fd661 in QWidgetPrivate::paintSiblingsRecursive () from
> /usr/lib/libQtGui.so.4
> #28 0xb76fd661 in QWidgetPrivate::paintSiblingsRecursive () from
> /usr/lib/libQtGui.so.4
> #29 0xb76fd661 in QWidgetPrivate::paintSiblingsRecursive () from
> /usr/lib/libQtGui.so.4
> #30 0xb76fd661 in QWidgetPrivate::paintSiblingsRecursive () from
> /usr/lib/libQtGui.so.4
> #31 0xb76fd661 in QWidgetPrivate::paintSiblingsRecursive () from
> /usr/lib/libQtGui.so.4
> #32 0xb76fd661 in QWidgetPrivate::paintSiblingsRecursive () from
> /usr/lib/libQtGui.so.4
> #33 0xb76fd661 in QWidgetPrivate::paintSiblingsRecursive () from
> /usr/lib/libQtGui.so.4
> #34 0xb76fccd4 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4
> #35 0xb76fd79f in QWidgetPrivate::paintSiblingsRecursive () from
> /usr/lib/libQtGui.so.4
> #36 0xb76fd661 in QWidgetPrivate::paintSiblingsRecursive () from
> /usr/lib/libQtGui.so.4
> #37 0xb76fd661 in QWidgetPrivate::paintSiblingsRecursive () from
> /usr/lib/libQtGui.so.4
> #38 0xb76fccd4 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4
> #39 0xb784b380 in ?? () from /usr/lib/libQtGui.so.4
> #40 0xb784bfd5 in ?? () from /usr/lib/libQtGui.so.4
> #41 0xb770866d in ?? () from /usr/lib/libQtGui.so.4
> #42 0xb7711e7c in QApplication::x11ProcessEvent () from
> /usr/lib/libQtGui.so.4
> #43 0xb772a1af in qt_x11_wait_for_window_manager () from
> /usr/lib/libQtGui.so.4
> #44 0xb7a44891 in QSplashScreen::finish () from /usr/lib/libQtGui.so.4
> #45 0x0822d871 in main (argc=0, argv=0xbfb7fd84) at
> /home/lvi/mscore/mscore/mscore/mscore.cpp:1756


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Reply | Threaded
Open this post in threaded view
|

Re: crash on startup

Leon Vinken
Werner,

your explanation is correct. I have removed the -fno-rtti flag from mscore/mscore/CMakeLists.txt and rebuilt. Mscore now works OK again.

The bad news is that I have tested on vanilla OpenSUSE 11.0 and 11.1 distributions (i.e. KDE and Qt libs "out of the box" and not compiled myself) and on both the current SVN build crashes.

Regards, Leon.

wschweer wrote
I changed the compiler options to not generate code for runtime type
information (-frtti). Qt does not use this (rtti is evil) and i found some
typos in mscore were i typed dynamic_cast<> were static_cast was ment.
I looks like you are using a style lib from kde which uses rtti.

/Werner
Reply | Threaded
Open this post in threaded view
|

Re: crash on startup

wschweer
Administrator
Ok, i changed it back.

/Werner

On Sunday 22 February 2009 10:50:55 Leon Vinken wrote:

> Werner,
>
> your explanation is correct. I have removed the -fno-rtti flag from
> mscore/mscore/CMakeLists.txt and rebuilt. Mscore now works OK again.
>
> The bad news is that I have tested on vanilla OpenSUSE 11.0 and 11.1
> distributions (i.e. KDE and Qt libs "out of the box" and not compiled
> myself) and on both the current SVN build crashes.
>
> Regards, Leon.
>
> wschweer wrote:
> > I changed the compiler options to not generate code for runtime type
> > information (-frtti). Qt does not use this (rtti is evil) and i found
> > some typos in mscore were i typed dynamic_cast<> were static_cast was
> > ment. I looks like you are using a style lib from kde which uses rtti.
> >
> > /Werner


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer