denemo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Denemo-devel] 1.0.0~rc7-6.mingw test


From: Richard Shann
Subject: Re: [Denemo-devel] 1.0.0~rc7-6.mingw test
Date: Sat, 26 Jan 2013 20:48:24 +0000

I have done some more experimenting, and I am fairly sure there is
something nasty lurking in the windows executables. I have prevented
libportmidi issuing its notorious "Press Enter ..." prompt and found
this cured the crash on startup on one xp box. But another xp box
continued to crash, and (even more bizarre) on Vista I have the
situation that the *same* installed program when run by one user runs
ok, when run by another user fails to find the fonts for noteheads,
clefs etc in the Denemo display and instead of flashing the cursor emits
a couple of characters to stdout (or stderr) at each cursor flash.

This is the *same* installed program, being accessed by two (non-amin)
users (at different times of course, since windows doesn't support more
than one user at a time).

The behaviour is quite consistent in all cases, which leads me to think
this is not a threading issue. Rather, memory corruption....

Jeremiah - I have tested your cleanup of the environment variable
settings in main.c on the mingw build and it seems to work identically
to the old code so I think it could go into the code base. There is no
need to set LYEDITOR, as we no longer use it (it's for point-and-click)
and it would be good to re-spell the macro name PATH_SEPERATOR to the
conventional PATH_SEPARATOR so as not to trip up later coders.

Richard


On Fri, 2013-01-25 at 20:52 +0100, Andreas Schneider wrote:
> Yes, I did try to play notes before clicking on MIDI in; in fact, I
> selected MIDI in because it didn't work. After kiling and restarting
> Denemo I did the same without playing notes before selecting MIDI in,
> with the same result.
> As you requested, I have run denemo-console.exe and performed the same
> steps (select the controller in the settings and select MIDI in
> afterwards. Strangely, it says "that's it, i quit!" at the end. The
> whole output is below. As you expected, the program hangs on every quit.
> And yes, I did not install / run PmDefaults.
> 
> By the way, I noticed that after uninstall the following files remain:
> C:\Programme\Denemo\usr\share\fonts\truetype\denemo\feta.ttf
> Lilypond shortcut on the desktop
> 
> Andreas
> 
> ------------------------------------------------------------------------
> 
> Setting
> GUILE_LOAD_PATH=C:\Programme\Denemo\usr\share\guile;C:\Programme\Denemo\
> usr\share\guile\1.8;C:\Programme\Denemo\usr\share\lilypond\current\scm
> Setting PANGO_PREFIX=C:\Programme\Denemo\usr
> Setting GTK_PREFIX=C:\Programme\Denemo\usr
> Setting FONTCONFIG_PATH=C:\Programme\Denemo\usr\etc\fonts
> Setting FONTCONFIG_FILE=C:\Programme\Denemo\usr\etc\fonts\fonts.conf
> PATH set to
> C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Programme
> \Gemeinsame Dateien\Ulead
> Systems\MPEG;C:\Programme\Denemo\usr\bin;C:\Programme\
> Denemo\usr\bin;C:\Programme\Denemo\usr\bin;C:\Programme\Denemo\usr\lib
> LILYPOND_DATA_PATH will be
> C:\Programme\Denemo\usr\share\lilypond\current if not
>  already setGUILE_LOAD_PATH is
> C:\Programme\Denemo\usr\share\guile;C:\Programme\
> Denemo\usr\share\guile\1.8;C:\Programme\Denemo\usr\share\lilypond\current\scm;C:
> \Programme\Denemo\usr\share\denemo
> rootdir=C:\Programme\Denemo\usr
> bindir=C:\Programme\Denemo\usr\bin
> rootdir=C:\Programme\Denemo\usr
> datadir=C:\Programme\Denemo\usr\share\denemo
> 
> systemwide == C:\Programme\Denemo\usr\etc\denemo\denemo.conf
> 
> xmlsource == C:\Programme\Denemo\usr\etc\denemo\denemo.conf
> 
> xmlsource == C:\Dokumente und
> Einstellungen\video\.denemo-1.0.0~rc7\denemorcV2
> 
> GNU Denemo, a free and open music notation editor
> (c) 1999-2005, 2009 Matthew Hiller, Adam Tee, and others, 2010-2011
> Richard Shann, Jeremiah Benham, Nils Gey and others.
> 
> 
> This program is provided with absolutely NO WARRANTY; see
> the file COPYING for details.
> 
> This software may be redistributed and modified under the
> terms of the GNU General Public License; again, see the file
> COPYING for details.
> 
> audio driver is 'portaudio' 0
> initializing PortAudio backend
> opening output device 'MME: Microsoft Soundmapper - Input'
> 
> ** (denemo-console.exe:1372): WARNING **: couldn't open output stream
> 
> 
> ** (denemo-console.exe:1372): WARNING **: initializing audio backend
> 'portaudio'
>  failed, falling back to dummy
> initializing dummy audio backend
> MIDI driver is 'portmidi'
> initializing PortMidi backend
> registered pm_exit with atexit()
> 
> ** (denemo-console.exe:1372): WARNING **: no input device
> 
> destroying PortMidi backend
> pm_winmm_term called
> pm_winmm_term exiting
> 
> ** (denemo-console.exe:1372): WARNING **: initializing MIDI backend
> 'portmidi' failed, falling back to dummy
> initializing dummy MIDI backend
> 
> (denemo-console.exe:1372): Gtk-WARNING **: Error loading icon from file
> 'C:\Programme\Denemo\usr\share\denemo\icons\denemo.png':
>         Datei +C:\Programme\Denemo\usr\share\denemo\icons\denemo.png½
> konnte nicht geöffnet werden: No such file or directory
> 
> (denemo-console.exe:1372): GLib-CRITICAL **: g_utf8_to_utf16: assertion
> `str !=
> NULL' failed
> recent (null)
> Version 1_0_0_WinArranger Profile
> Gtk version 2.17.9
> Created temp dir C:\DOKUME~1\video\LOKALE~1\Temp\Denemo834846173
> 
> (denemo-console.exe:1372): GLib-CRITICAL **: g_dir_open_utf8: assertion
> `path != NULL' failed
> 
> (denemo-console.exe:1372): Pango-WARNING **: couldn't load font "Denemo
> Bold Italic Condensed 9", falling back to "Sans Bold Italic Condensed
> 9", expect ugly output.
> 
> (denemo-console.exe:1372): Pango-WARNING **: couldn't load font "Sans
> Bold Italic Condensed 9", falling back to "Sans 9", expect ugly output.
> registered pm_exit with atexit()
> pm_winmm_term called
> pm_winmm_term exiting
> registered pm_exit with atexit()
> pm_winmm_term called
> pm_winmm_term exiting
> 
> (denemo-console.exe:1372): Pango-WARNING **: Invalid UTF-8 string passed
> to pang
> o_layout_set_text()
> 
> (denemo-console.exe:1372): Pango-WARNING **: Invalid UTF-8 string passed
> to pang
> o_layout_set_text()
> 
> (denemo-console.exe:1372): Pango-WARNING **: Invalid UTF-8 string passed
> to pang
> o_layout_set_text()
> 
> (denemo-console.exe:1372): Pango-WARNING **: Invalid UTF-8 string passed
> to pang
> o_layout_set_text()
> 
> (denemo-console.exe:1372): Pango-WARNING **: Invalid UTF-8 string passed
> to pang
> o_layout_set_text()
> 
> (denemo-console.exe:1372): Pango-WARNING **: Invalid UTF-8 string passed
> to pang
> o_layout_set_text()
> 
> (denemo-console.exe:1372): Pango-WARNING **: Invalid UTF-8 string passed
> to pang
> o_layout_set_text()
> 
> (denemo-console.exe:1372): Pango-WARNING **: Invalid UTF-8 string passed
> to pang
> o_layout_set_text()
> 
> (denemo-console.exe:1372): Pango-WARNING **: Invalid UTF-8 string passed
> to pang
> o_layout_set_text()
> 
> (denemo-console.exe:1372): Pango-WARNING **: Invalid UTF-8 string passed
> to pang
> o_layout_set_text()
> 
> (denemo-console.exe:1372): Pango-WARNING **: Invalid UTF-8 string passed
> to pango_layout_set_text()
> 
> (denemo-console.exe:1372): Pango-WARNING **: Invalid UTF-8 string passed
> to pango_layout_set_text()
> 
> (denemo-console.exe:1372): Pango-WARNING **: Invalid UTF-8 string passed
> to pango_layout_set_text()
> 
> (denemo-console.exe:1372): Pango-WARNING **: Invalid UTF-8 string passed
> to pango_layout_set_text()
> 
> (denemo-console.exe:1372): Pango-WARNING **: Invalid UTF-8 string passed
> to pango_layout_set_text()
> 
> (denemo-console.exe:1372): Pango-WARNING **: Invalid UTF-8 string passed
> to pango_layout_set_text()
> 
> (denemo-console.exe:1372): Pango-WARNING **: Invalid UTF-8 string passed
> to pango_layout_set_text()
> 
> (denemo-console.exe:1372): Pango-WARNING **: Invalid UTF-8 string passed
> to pango_layout_set_text()
> 
> (denemo-console.exe:1372): Pango-WARNING **: Invalid UTF-8 string passed
> to pango_layout_set_text()
> 
> (denemo-console.exe:1372): Pango-WARNING **: Invalid UTF-8 string passed
> to pango_layout_set_text()
> 
> (denemo-console.exe:1372): Pango-WARNING **: Invalid UTF-8 string passed
> to pango_layout_set_text()
> 
> (denemo-console.exe:1372): Pango-WARNING **: Invalid UTF-8 string passed
> to pango_layout_set_text()
> stopping playback
> that's it, i quit!
> destroying dummy audio backend
> destroying dummy MIDI backend
> 
> ------------------------------------------------------------------------
> 
> At 25 Jan 2013 11:42:02 +0000, Richard Shann wrote:
> > Did you try playing notes in on your controller *before* clicking on
> > MIDI in? I realize that I haven't tried setting the Input to MIDI-in
> > (because it worked straight away).
> > Also - I presume you haven't installed/run the dreaded PmDefaults
> > program - which is really good news, it means that Denemo can detect
> > the devices itself.
> 
> 
> At 25 Jan 2013 12:01:58 +0000, Richard Shann wrote:
> > I just tested selecting MIDI in on a vista box and it worked ok (well,
> > caution, this is with my own denemo.exe not the one Jeremiah has
> > uploaded, but it should be relevant).
> > Can you run the executable denemo-console.exe (in the same place as
> > denemo.exe) and tell me what you see in the console?
> > I cannot get it to run on a windows xp box at all at the moment (my home
> > grown denemo.exe that is) it fails trying to determine the size of a
> > drawable. It runs fine on the vista box.
> > 
> > Richard
> > 
> > 
> > 
> > The current windows .exe will hang on quitting the program I think
> 
> _______________________________________________
> Denemo-devel mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/denemo-devel





reply via email to

[Prev in Thread] Current Thread [Next in Thread]