Hi Roland, Sorry for the late answer, I have been away a week and had a very busy month before that.
Many thanks for your patches, I will apply them as soon as I make a new version of hydrogen. I also considered using the CVS version, as it seems to work better than the released one. Greetings, Günter On Sun, 2007-04-01 at 20:43 +0200, Roland Stigge wrote: > Package: hydrogen > Version: 0.9.3-2 > Severity: important > > Hi, > > when starting hydrogen, selecting "File/New" and changing the pattern size > (e.g., from "8" to "7"), hydrogen segfaults (but not always). This is pretty > annoying in regular work since the problem also occurs later after some work. > I > could trace it to m_nSize and actual sizes being inconsistent between the > PatternEditor and PatternEditorPanel classes. Missing deeper conceptual > insight, I just fixed the segfault with a more consistent size handling in > PatternEditor::drawPattern(), see attachment. This makes hydrogen work with > odd > pattern sizes easier. However, some inconsistencies remain since hydrogen > sometimes doesn't remember sizes between patterns on pattern changes. > > I can't see the current approach how the data is maintained consistent between > the classes... > > bye, > Roland > > -- System Information: > Debian Release: 4.0 > APT prefers unstable > APT policy: (500, 'unstable'), (1, 'experimental') > Architecture: i386 (i686) > Shell: /bin/sh linked to /bin/bash > Kernel: Linux 2.6.20.4 > Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: > LC_ALL set to en_GB.UTF-8) > > Versions of packages hydrogen depends on: > ii libasound2 1.0.13-2 ALSA library > ii libc6 2.3.6.ds1-13 GNU C Library: Shared libraries > ii libflac++5 1.1.2-6 Free Lossless Audio Codec - C++ > ru > ii libflac7 1.1.2-6 Free Lossless Audio Codec - > runtim > ii libgcc1 1:4.1.1-21 GCC support library > ii libjack0.100.0-0 0.101.1-2 JACK Audio Connection Kit > (librari > ii liblrdf0 0.4.0-1 a library to manipulate RDF > files > ii libqt3-mt 3:3.3.7-3 Qt GUI Library (Threaded runtime > v > ii libraptor1 1.4.13-1 Raptor RDF parser and serializer > l > ii libsndfile1 1.0.16-1 Library for reading/writing > audio > ii libstdc++6 4.1.1-21 The GNU Standard C++ Library v3 > ii libx11-6 2:1.0.3-5 X11 client-side library > ii libxext6 1:1.0.1-2 X11 miscellaneous extension > librar > ii libxml2 2.6.27.dfsg-1 GNOME XML library > > hydrogen recommends no packages. > > -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

