Re: 2.2.4 Bugs?

David Hough <[email protected]>
Newsgroups gmane.comp.audio.zinf.devel
Message-ID <[email protected]>
this surprisingly short patch fixes the most obvious first boot bug, no 
idea about the seg faults though i'm afraid. It's quite unfortunate this 
wasn't noticed till after 2.2.4 was released cause its going to give a bad 
impression to first time users, but hey, it shouldn't be too much of 
problem.

--- zinfunpatched/base/unix/src/unixprefs.cpp	2003-03-17 19:24:56.000000000 
+0000
+++ zinf/base/unix/src/unixprefs.cpp	2003-08-05 17:51:17.000000000 +0000
@@ -456,13 +456,13 @@
         SetPrefString(kWatchThisDirectoryPref, tempdir);
     }

-    // Initialize the library path structures
-    GetLibPath();
-
 #define ZINF_PREF(T,V) setDefault(k##T##Pref,V);
 #include "prefs.def"
 #undef ZINF_PREF

+    // Initialize the library path structures
+    GetLibPath();
+
     return kError_NoErr;




On 05 Aug 2003 11:18:24 -0700, Kristian Kvilekval <[email protected]> wrote:

> Yes,  this is unfortunate.   I always do a
> rm -rf ~/.zinf after a new installation to clean up any old
> plugins and/or changes.
>
>
> On Tue, 2003-08-05 at 07:25, Robert Davis wrote:
>> Updating Gentoo ebuild had two things weird happen.
>>
>> 1.  Zinf in /usr/bin and plugins in /usr/lib/zinf/plugins.  Start
>> without preferences in .zinf and get:
>> No UI plugin in '.:~/.zinf:/usr/lib/zinf' matched 'plugins/zinf.ui' or
>> 'plugins/zinf.ui.ui.'
>> Zinf will quit.
>> Start again and works fine.
>>
>> 2.  Ran for a while.  Tried to start again and got main screen and then
>> seg fault with the following strace.
>>
>> brk(0)                                  = 0x91c8000
>> brk(0x91c9000)                          = 0x91c9000
>> write(6, "8\30\4\0@\0\300\3\0\0\10\0009\0\300\0038\0\5\0@\0\300\3"...,
>> 112) = 112
>> read(6, 0xbfffeb50, 32)                 = -1 EAGAIN (Resource
>> temporarily unavailable)
>> select(7, [6], NULL, NULL, NULL)        = 1 (in [6])
>> read(6, "\1\30\245\2\0\0\0\0\214\0\0\0\0\0\0\0G\1\241\0\0\0\0\0"..., 32)
>> = 32
>> write(6, "+\30\1\0", 4)                 = 4
>> read(6, 0xbfffeb90, 32)                 = -1 EAGAIN (Resource
>> temporarily unavailable)
>> etc...
>>
>> Deleted preferences and after number 1 above it is working now.
>>
>> System
>> Gentoo Linux 1.4
>> GCC 3.2.3
>>
>> Thanks
>> Robert Davis
>>
>>
>>
>> -------------------------------------------------------
>> This SF.Net email sponsored by: Free pre-built ASP.NET sites including
>> Data Reports, E-commerce, Portals, and Forums are available now.
>> Download today and enter to win an XBOX or Visual Studio .NET.
>> http://aspnet.click- 
>> url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
>> _______________________________________________
>> Zinf-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/zinf-devel





-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.