Re: [Tuxpaint-devel] Crash of Tuxpaint
An award-winning drawing program for children of all ages
Brought to you by:
wkendrick
|
From: Bill K. <nb...@so...> - 2021-11-05 23:37:54
|
Hrm! The "sysfonts" option is used to allow Tux Paint to search around and try to open other fonts (TTF files) you've installed on your OS. If any of them cause problems, the ability to disable it is provided (or, on some platforms, is the default, I think?) I wonder if you could try re-instating that file, but with "sysfonts=yes" removed (or set to "no"), and see whether it still crashes. This doesn't appear to be a case of a bogus line in the config file causing a crash (which was a bag bug on our part, but I imagine very uncommon to come across! :) ) Thanks, -bill! On Fri, Nov 05, 2021 at 12:33:03PM +0100, Marie Verdeil wrote: > Hello, > find attached the config file which was faulty. > Here are the actions i took before noticing the crash: > - downloaded Tux-paint 0.9.26 for Mac OS Big Sur + the config software and stamps. > -opened tuxpaint config and change some settings like bigger window, full screen, print, etc. (settings changed for “all users”, though there is anyway only one user on my laptop) > -opened and installed the stamps. > -opened Tuxpaint and realise the crash. > -reset the settings to default. still crashing. > -dis-installed and reinstalled TUx paint. still crashing. > -installed the 0.9.25 version: still crashing. > -deleted tux paint config file (there was only one: /Library/Application Support/TuxPaint/tuxpaint.cfg) > -everything works again! > > best > M > > On 5 Nov 2021, at 05:34, Bill Kendrick <nb...@so...> wrote: > > > > On Thu, Nov 04, 2021 at 10:32:32PM +0900, TOYAMA Shin-ichi wrote: > >> Thank you Marie for reporting back! > >> > >> By the way, could you shere the config file which caused this > >> crash? > > > > Yes, it'd be very interesting to see what's in there, and how it > > got there! > > > > > >> Seeing your report, I reproduced crash just by adding meeningless > >> text in the config file. > >> So, your case might be something like this, but I am not sure why > >> such error has contaminated in your config file. > >> > >> Of course we should review the code to avoid this kind of crash by > >> ignoring unexpected data in the config file, your sample will be > >> great help for us to fix the problem. > > > > I've made an attempt to do so. Unlike the config parsing part > > of the code, where it aborts when it sees an unknown "whatever=something" > > combo, it currently just emits a warning to STDERR, and proceeds. > > > > Here's what I put in mine, for example: > > > > # Generated by tuxpaint-config version 0.0.18 <<< ignored, as a comment (as before) > > sysconfig=no <<< accepted (as before) > > _roor=oror <<< ignored (as before), now with a warning > > roro=roro <<< eventually quits with an error (as before) > > roror <<< ignored, with a warning (rather than crashing) > > > > https://sourceforge.net/p/tuxpaint/tuxpaint/ci/0a529cea96548f1609981ea17073a780d45f8389/ <https://sourceforge.net/p/tuxpaint/tuxpaint/ci/0a529cea96548f1609981ea17073a780d45f8389/> > > > > -bill! > > > > > >> Thanks. > >> > >> > >> Marie Verdeil wrote in <F4E...@gm...> > >>> Hello, > >>> I have done this and it worked! Thank you :) > >>> Marie Verdeil > >>> mar...@gm... > >>> http://verdeil.net/ > >>> > >>> > >>> > >>>> On 1 Nov 2021, at 15:54, Mark K. Kim <mar...@gm...> wrote: > >>>> > >>>> Hi Marie, > >>>> > >>>> Can you try deleting the config files? > >>>> > >>>> There are two config files: > >>>> /Users/<Username>/Library/Application Support/TuxPaint/tuxpaint.cfg > >>>> /Library/Application Support/TuxPaint/tuxpaint.cfg > >>>> Thanks! > >>>> > >>>> > >>>> On Mon, Nov 1, 2021 at 5:30 AM Marie Verdeil <mar...@gm... > >>> <mailto:mar...@gm...>> wrote: > >>>> hello, > >>>> > >>>> I am running it in english, right out of the download, with default presets > >>> (i did try to change some config with tuxpaint config but as it was crashing, i > >>> disinstalled it and downloaded it again). It launches and crashes after 2 > >>> seconds on the loading screen. > >>>> > >>>> > >>>> > >>>>> On 31 Oct 2021, at 19:24, Mark K. Kim <mar...@gm... > >>> <mailto:mar...@gm...>> wrote: > >>>>> > >>>>> > >>>>> Hi Marie, > >>>>> > >>>>> I noticed it crashes sometimes in Japanese or Korean mode. In what language > >>> are you running Tux Paint in? > >>>>> > >>>>> > >>>>> On Sun, Oct 31, 2021 at 12:25 PM Marie Verdeil <mar...@gm... > >>> <mailto:mar...@gm...>> wrote: > >>>>> Hello, > >>>>> I just download the latest version of Tux paint 0.9.26 for Mac OS Big Sur > >>> but it crashes immediately when I launch it…Has anyone had the same issue? I > >>> used no config and no added stamps… Any lead as of what could the issue be? > >>>>> > >>>>> Thankyou > >>>>> Marie > >>>>> > >>>>> > >>>>> _______________________________________________ > >>>>> Tuxpaint-devel mailing list > >>>>> Tux...@li... > >>> <mailto:Tux...@li...> > >>>>> https://lists.sourceforge.net/lists/listinfo/tuxpaint-devel > >>> <https://lists.sourceforge.net/lists/listinfo/tuxpaint-devel> > >>>>> _______________________________________________ > >>>>> Tuxpaint-devel mailing list > >>>>> Tux...@li... > >>> <mailto:Tux...@li...> > >>>>> https://lists.sourceforge.net/lists/listinfo/tuxpaint-devel > >>> <https://lists.sourceforge.net/lists/listinfo/tuxpaint-devel> > >>>> _______________________________________________ > >>>> Tuxpaint-devel mailing list > >>>> Tux...@li... > >>> <mailto:Tux...@li...> > >>>> https://lists.sourceforge.net/lists/listinfo/tuxpaint-devel > >>> <https://lists.sourceforge.net/lists/listinfo/tuxpaint-devel> > >>>> _______________________________________________ > >>>> Tuxpaint-devel mailing list > >>>> Tux...@li... > >>>> https://lists.sourceforge.net/lists/listinfo/tuxpaint-devel > >>> ---- inline file > >>> ---- inline file > >>> _______________________________________________ > >>> Tuxpaint-devel mailing list > >>> Tux...@li... > >>> https://lists.sourceforge.net/lists/listinfo/tuxpaint-devel > >> > >> -- > >> TOYAMA Shin-ichi mailto:sh...@wm... > >> > >> > >> _______________________________________________ > >> Tuxpaint-devel mailing list > >> Tux...@li... > >> https://lists.sourceforge.net/lists/listinfo/tuxpaint-devel > > > > -- > > -bill! > > Sent from my computer > > > > > > _______________________________________________ > > Tuxpaint-devel mailing list > > Tux...@li... <mailto:Tux...@li...> > > https://lists.sourceforge.net/lists/listinfo/tuxpaint-devel <https://lists.sourceforge.net/lists/listinfo/tuxpaint-devel> > _______________________________________________ > Tuxpaint-devel mailing list > Tux...@li... > https://lists.sourceforge.net/lists/listinfo/tuxpaint-devel -- -bill! Sent from my computer |