#1026 Notation freeze on first note with OpenSuSE 10.2 (FIXED!)

Third Party Bugs

Installed Rosegarden 1.4.0 on KDE3.5.5 "release45" on open SUSE10.2 from RPM. Program opens and runs OK and able to play MIDI files. When I start a new track and open it in the notation editor, I get a freeze on inserting the first note. The "laying out staff..." message stays up. I have to kill the application and restart. I found that if I wait for a while - couple of minutes - I can use the notation editor no problems. If I close it and reopen the section of track it freezes as soon as it opens.

Using kernel

My daughter love this program - great work



1 2 3 .. 5 > >> (Page 1 of 5)
  • David Rosky
    David Rosky

    Logged In: YES
    Originator: NO


    I am also seeing this problem. I tried compiling Rosegarden from source and the problem still occurrs, so it doesn't seem to be a problem specific to the RPM in the Packman repository. I also tried installing the SuSE RPM (from Packman) on Fedora 6 and everything works fine. I have also seen Rosegarden 1.4 running fine on Arch and Sabayon, thus, it appears to be a specific interaction between Rosegarden and SuSE 10.2, or versions of some shared library shipped with SuSE 10.2. SuSE 10.2 uses KDE 3.5.5 and QT 3.3.7.



  • Logged In: NO

    I found the same problem, which apparently comes from the Feta font. If I change, in Rosegarden settings, the font for Feta pixmaps, there is no more bug.

  • owise1

    Logged In: YES
    Originator: NO

    Changing the feta font fixes the freeze in the notation editor for me as well. Looking at the font in /opt/kde3/share/apps/rosegarden/fonts/feta/ there are a number of .xpm files with zero bytes. I wonder if this is the cause. Selecting the view button in config rosegarden under the notation options also causes the view window to freeze as well, suggesting that the font is the problem although why it appears to only be a problem in SUSE10.2 I cannot say. I did have rosegarden working under 10.1 straight from the RPM.



  • Logged In: NO

    The problem doesn't seem to be in the Rosegarden font dir. I ran Rosegarden on Mepis and Kubuntu, without any problem and replacing OpenSuse 10.2 Rosegarden font dir with Kubuntu Rosegarden font dir doesn't fix the bug.
    But the bug comes surely from that font dir.


    (Sorry for not being logged, I don't remember my pass)

  • Logged In: NO

    Oops! My previous message is unclear: the bug is in the font dir, of course!


  • Chris Cannam
    Chris Cannam

    Logged In: YES
    Originator: NO

    The xpm files are only used when you set the font to "Feta Pixmaps", not "Feta" (for which an actual font is used). So, the zero-sized xpm files can't be at fault. They've been there for ever, anyway.

    Can you get a back trace while the program is frozen? One way to do this may be to go to a terminal window, type "killall -11 rosegarden" and hope the KDE crash debug window appears. If you can get a trace this (or any other) way, please post it here. They aren't always useful, but they can be.

  • owise1

    Logged In: YES
    Originator: NO

    Please find attached the KDE backtrace - Regards david

    Backtrace when viewing the font in the config rosegarden screen:

    System configuration startup check disabled.

    Using host libthread_db library "/lib/libthread_db.so.1".
    [Thread debugging using libthread_db enabled]
    [New Thread -1232811808 (LWP 4520)]
    [KCrash handler]

    9 0xb7d97985 in TT_RunIns () from /usr/lib/libfreetype.so.6

    10 0xb7d99d81 in ps_hints_apply () from /usr/lib/libfreetype.so.6

    11 0xb7da6a85 in FT_Stream_OpenLZW () from /usr/lib/libfreetype.so.6

    12 0xb7d70bc6 in TT_RunIns () from /usr/lib/libfreetype.so.6

    13 0xb7d723cd in TT_RunIns () from /usr/lib/libfreetype.so.6

    14 0xb7d5ca39 in FT_Load_Glyph () from /usr/lib/libfreetype.so.6

    15 0xb7e1ee6b in XftFontLoadGlyphs () from /usr/lib/libXft.so.2

    16 0xb7e21936 in XftGlyphRender () from /usr/lib/libXft.so.2

    17 0xb7e1b1ee in XftDrawGlyphs () from /usr/lib/libXft.so.2

    18 0x082cd0fb in FontViewFrame::paintEvent (this=0x8a70b38, e=0xbfd3c070)

    at gui/notefontviewer.cpp:206

    19 0xb77d7083 in QWidget::event () from /usr/lib/qt3/lib/libqt-mt.so.3

    20 0xb773f647 in QApplication::internalNotify ()

    from /usr/lib/qt3/lib/libqt-mt.so.3

    21 0xb77404f9 in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3

    22 0xb71bd1f2 in KApplication::notify () from /opt/kde3/lib/libkdecore.so.4

    23 0xb76d42e9 in QETWidget::translatePaintEvent ()

    from /usr/lib/qt3/lib/libqt-mt.so.3

    24 0xb76de3fc in QApplication::x11ProcessEvent ()

    from /usr/lib/qt3/lib/libqt-mt.so.3

    25 0xb76ee91a in QEventLoop::processEvents ()

    from /usr/lib/qt3/lib/libqt-mt.so.3

    26 0xb77560e0 in QEventLoop::enterLoop () from /usr/lib/qt3/lib/libqt-mt.so.3

    27 0xb773ef7f in QApplication::enter_loop ()

    from /usr/lib/qt3/lib/libqt-mt.so.3

    28 0xb7924f25 in QDialog::exec () from /usr/lib/qt3/lib/libqt-mt.so.3

    29 0x0830b593 in Rosegarden::NotationConfigurationPage::slotViewButtonPressed

    (this=0x8a014c0) at gui/rosegardenconfigurationpage.cpp:745

    30 0x08320108 in Rosegarden::NotationConfigurationPage::qt_invoke (

    this=0x89fcd88, _id=49, _o=0xbfd3c508)
    at RGbuild/gui/rosegardenconfigurationpage.moc:372

    31 0xb779e3cd in QObject::activate_signal ()

    from /usr/lib/qt3/lib/libqt-mt.so.3

    32 0xb779f00d in QObject::activate_signal ()

    from /usr/lib/qt3/lib/libqt-mt.so.3

    33 0xb7adfb7c in QButton::clicked () from /usr/lib/qt3/lib/libqt-mt.so.3

    34 0xb7831f4d in QButton::mouseReleaseEvent ()

    from /usr/lib/qt3/lib/libqt-mt.so.3

    35 0xb77d71b0 in QWidget::event () from /usr/lib/qt3/lib/libqt-mt.so.3

    36 0xb773f647 in QApplication::internalNotify ()

    from /usr/lib/qt3/lib/libqt-mt.so.3

    37 0xb7740641 in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3

    38 0xb71bd1f2 in KApplication::notify () from /opt/kde3/lib/libkdecore.so.4

    39 0xb76df0f7 in QETWidget::translateMouseEvent ()

    from /usr/lib/qt3/lib/libqt-mt.so.3

    40 0xb76de01f in QApplication::x11ProcessEvent ()

    from /usr/lib/qt3/lib/libqt-mt.so.3

    41 0xb76ee91a in QEventLoop::processEvents ()

    from /usr/lib/qt3/lib/libqt-mt.so.3

    42 0xb77560e0 in QEventLoop::enterLoop () from /usr/lib/qt3/lib/libqt-mt.so.3

    43 0xb7755f76 in QEventLoop::exec () from /usr/lib/qt3/lib/libqt-mt.so.3

    44 0xb773f00f in QApplication::exec () from /usr/lib/qt3/lib/libqt-mt.so.3

    45 0x081d796c in main (argc=) at gui/main.cpp:644

    46 0xb69c7f9c in __libc_start_main () from /lib/libc.so.6

    47 0x0807c861 in _start () at base/Event.h:445

    Backtrace when feta font selected and notation editor open and first note entered:

    System configuration startup check disabled.

    Using host libthread_db library "/lib/libthread_db.so.1".
    [Thread debugging using libthread_db enabled]
    [New Thread -1232451360 (LWP 5633)]
    [New Thread -1236026480 (LWP 5637)]
    [KCrash handler]

    9 0xb7def985 in TT_RunIns () from /usr/lib/libfreetype.so.6

    10 0xb7df1d81 in ps_hints_apply () from /usr/lib/libfreetype.so.6

    11 0xb7dfea85 in FT_Stream_OpenLZW () from /usr/lib/libfreetype.so.6

    12 0xb7dc8bc6 in TT_RunIns () from /usr/lib/libfreetype.so.6

    13 0xb7dca3cd in TT_RunIns () from /usr/lib/libfreetype.so.6

    14 0xb7db4a39 in FT_Load_Glyph () from /usr/lib/libfreetype.so.6

    15 0xb7e76e6b in XftFontLoadGlyphs () from /usr/lib/libXft.so.2

    16 0xb7e7408b in XftGlyphExtents () from /usr/lib/libXft.so.2

    17 0x082b3fe5 in SystemFontXft::renderChar (this=0x8bb0760,

    charName=@0xbf9d5150, glyph=8, code=61478, strategy=<value optimized out>, 
    success=@0xbf9d516d) at gui/notefont.cpp:2044

    18 0x082bb122 in NoteFont::getPixmap (this=0x8a94230, charName=@0xbf9d51bc,

    pixmap=@0xbf9d51a4, inverted=false) at gui/notefont.cpp:1451

    19 0x082bbdfc in NoteFont::getDimensions (this=0x8a94230,

    charName=@0xbf9d51f4, x=@0xbf9d51f0, y=@0xbf9d51ec, inverted=false)
    at gui/notefont.cpp:1552

    20 0x082bc286 in NoteFont::getWidth (this=0x8a94230, charName=@0xbf9d5228)

    at gui/notefont.cpp:1562

    21 0x082cf886 in NotePixmapFactory::getRestWidth (this=0x8a4ec18,

    restType=@0xbf9d52b0) at gui/notepixmapfactory.cpp:3353

    22 0x082402e7 in NotationHLayout::getLayoutWidth (this=0x89fad50,

    ve=@0x8a9e6d8, previousKey=@0xbf9d5758) at gui/notationhlayout.cpp:1705

    23 0x082445c9 in NotationHLayout::scanStaff (this=0x89fad50,

    staff=@0x8c553f4, startTime=0, endTime=15360)
    at gui/notationhlayout.cpp:411

    24 0x08278dfd in NotationView::applyLayout (this=0x89e3090, staffNo=0,

    startTime=0, endTime=11520) at gui/notationview.cpp:2601

    25 0x08276e53 in NotationView::refreshSegment (this=0x89e3090,

    segment=0x8a97b48, startTime=0, endTime=11520) at gui/notationview.cpp:3266

    26 0x08189662 in EditViewBase::paintEvent (this=0x89e3090, e=0xbf9d5c48)

    at gui/editviewbase.cpp:426

    27 0x08181f8b in EditView::paintEvent (this=0x89e3090, e=0xbf9d5c48)

    at gui/editview.cpp:129

    28 0x0827bde1 in NotationView::paintEvent (this=0x89e3090, e=0xbf9d5c48)

    at gui/notationview.cpp:2564

    29 0xb782f083 in QWidget::event () from /usr/lib/qt3/lib/libqt-mt.so.3

    30 0xb78ea232 in QMainWindow::event () from /usr/lib/qt3/lib/libqt-mt.so.3

    31 0xb7797647 in QApplication::internalNotify ()

    from /usr/lib/qt3/lib/libqt-mt.so.3

    32 0xb77984f9 in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3

    33 0xb72151f2 in KApplication::notify () from /opt/kde3/lib/libkdecore.so.4

    34 0xb77699c4 in QWidget::repaint () from /usr/lib/qt3/lib/libqt-mt.so.3

    35 0xb7798f6c in QApplication::sendPostedEvents ()

    from /usr/lib/qt3/lib/libqt-mt.so.3

    36 0xb7799066 in QApplication::sendPostedEvents ()

    from /usr/lib/qt3/lib/libqt-mt.so.3

    37 0xb77464f2 in QEventLoop::processEvents ()

    from /usr/lib/qt3/lib/libqt-mt.so.3

    38 0xb77ae0e0 in QEventLoop::enterLoop () from /usr/lib/qt3/lib/libqt-mt.so.3

    39 0xb77adf76 in QEventLoop::exec () from /usr/lib/qt3/lib/libqt-mt.so.3

    40 0xb779700f in QApplication::exec () from /usr/lib/qt3/lib/libqt-mt.so.3

    41 0x081d796c in main (argc=) at gui/main.cpp:644

    42 0xb6a1ff9c in __libc_start_main () from /lib/libc.so.6

    43 0x0807c861 in _start () at base/Event.h:445

  • Andi Kuhn
    Andi Kuhn

    Logged In: YES
    Originator: NO

    I have the same problem on my openSuse 10.2 installation. After changing font to Feta Pixmaps everything works fine.

  • Logged In: NO

    I have the same problem here, also on OpenSuse 10.2. Perhaps this is really a Suse bug?

  • Chris Cannam
    Chris Cannam

    Logged In: YES
    Originator: NO

    Well, naively it looks like the Freetype library is having trouble with the version of the Feta font we include.

    Can you try

    kfontview /usr/share/apps/rosegarden/fonts/LilyPond-feta-design20.pfa

    (or /usr/local/share/... or /opt/kde3/share/... or wherever this file has been installed) and see whether the font comes up successfully in kfontview? If it does, please try the same thing with the other two .pfa font files that are in the same directory and see whether any of those causes a hang.

    A more complicated thing worth trying is switching Rosegarden's "feta" mode so that it actually uses a different font. Pick a font that you know displays correctly on your system (doesn't have to be a music font, something like Bitstream Vera is fine). Edit as root /usr/share/apps/rosegarden/fonts/mappings/feta.xml (again, the actual location of this file may vary) and change the name "LilyPond-feta-rosegarden" at line 16 to the name of your chosen font, such as "Bitstream Vera Sans". Make the same change for the font names on the next two lines as well. Then save the file, restart Rosegarden and try opening the font view window in the settings -- you should see your font displayed as if it was a notation font for the Feta option. If that works, it might be worth restoring all but one of the font names in that file to their original values and replacing them one at a time with your known-to-work font, in case it turns out that only one of the three fonts named in there is causing the problem.

1 2 3 .. 5 > >> (Page 1 of 5)