Archive for the 'Bugs' Category

Kokua project status update and request of testers.

We updated Kokua to upstream version 4.0.2 on March 29, 2016. Since then SecondLife (SL) updated to:

An HTTP Client Release

A Maintenance Release

The QuickGraphics Release

The HTTP Client Release is mainly under the hood, but is significant in the amount of code touched. In addition to SL code merges, Kokua over time has taken in code from Firestorm. For those changes we have taken in additional code from Firestorm to provide the HTTP Client updates. Nicky Dasmijn led Firestorm’s efforts and Kokua would likely be stuck in the poke-at-it stage if not for her work. Thank you Nicky D.

The Maintenance Release is just that, a series of bug fixes and minor enhancements.

QuickGraphics provides two features; Graphics Presets and Avatar Rendering Complexity Controls. These features come with User Interface (UI) changes that will require a learning curve to master. Inara Pey, ( @InaraPey), and Nalates Urriah, (@Nalates) have blogged about QuickGraphics since its inception as an SL project viewer. Linked to their names are Inara’s and Nalates’ posts. Please review their posts.

Our downloads location has installers with RLV and NORLV in the file names. The RLV build can be used in RLV mode or vanilla mode. In “vanilla mode” the RLV build acts just like the NORLV build by skipping over RLV-specific logic or by executing corresponding plain SL upstream logic instead. The logic of the skipping mechanism (for the technically inclined: “if”-statements wrapping RLV-specific code sections) itself has to be executed in either mode, but should be negligible in performance. NORLV installers deliver viewers that are ~99% free of RLV viewer specific code. There is some code developed by Marine Kelley in her RLV viewer that is not specific to RLV features. Those non-RLV-feature related changes in the RLV viewer make up the remaining ~1% of code from RLV viewer included in both our builds and enabled whether in RLV or vanilla mode. NORLV builds provide a fallback in case of illness or other unexpected events that prevent timely updates to RLV. At present NORLV is not delivered as a release viewer. Users may use test viewers in those cases where there is moral objection to RLV or for any other reason. NORLV is where all developmemt first takes place. For Kokua-4.0.5 RLV code remains at upstream version 2.09.17.

Kokua has no formal Quality Assurance (QA) and we rely on our users to run test viewers and report back and, depending on the problem, file a Ticket. The lack of formal QA is a blessing of frequent releases and a curse of buggy releases.

We need testers for this release. Especially for RLV viewers in both RLV on and vanilla modes. We need to know if Avatar Complexity interferes with RLV visibility restrictions.

For OpenSim (OS) users we have found that HTTP Client code crashes with teleport (TP) on grids that use unmodified OpenSim code. These crashes seem not present on OSGrid and 3rdRock grids that make use of HTTP for asset delivery. This concern and the pending Inventory Message changes in both the viewer and SL server have us considering a split from the one viewer for all approach.
Geir Nøklebye is lead on this split and all can monitor his work on Bitbucket . Kokua-opensim does not rely on upstream merges. Most all changes are cherry-picked from various repositories. As we progress test viewer installers will begin to appear with “_OS_” in the installer name. We haven’t determined a version number scheme yet, but we will not have the version number match the SL version for the same functionally. For now, the version begins with 4.0.2 our branch off point. As we progress, we will provide follow-up blog posts. This is a work in progress and if we are able to solve the TP issue and the Inventory Message changes are not as difficult to make as expected we may decide to stick with the “one viewer for all” approach.

Known SL appearance bugs that affect all versions of Kokua code.
Swapping between different wearables too quickly using “Wear” causes old wearables not to be removed from being worn when they should be – only reproduces on the Attachment fix/AIS3 viewers.

Appearance update is STILL broken after recent changes in 4.0.4 (314579)

Kokua and SecondLife Auto Updater

Some of you may have experienced file write errors or several errors when Kokua starts the auto update windows installer. This problem is intermittent. I’m thinking it is a timing issue with writing binary files from the installer. I found that the Retry button in the error message box can be used to obtain a complete install. It may take several Retries to get the installer to complete. Below linked are two Second Life jira issues that document the problem.

Kokua- Test

Kokua- Test is ready for download and testing. Normally, we don’t announce test viewer availability but, this viewer fixes Experience Profiles for SL users and handles the My Suitcase folder for OpenSim users. The My Suitcase patch was submitted to Kokua and other OpenSim viewer projects by Cinder Roxley. Since this Kokua Test viewer effects potentially more than just a few users I felt the blog announcement appropriate.

Download links:

MD5 011ee3d92f4da87496de20f580019d5f *Kokua_Test_3_8_3_38326_i386.dmg

Linux 32 bit
MD5 63a5ba91078c6c8480bba8d623a62a19 Kokua_Test_3_8_3_38326_i686.tar.bz2

Linux 64 bit
MD5 83eef049db3474cd080b3eed1447a3a5 *Kokua_NT_64_Test_3_8_3_38326_x86_64.tar.bz2

MD5 6611b2f890942e6ddbe4db66bd675098 *Kokua_Test_3_8_3_38326_i686_Setup.exe

Subscribe or Monitor the Test viewer download folder for additional test viewer updates.

Avination grid and Kokua

Below is from Kokua Ticket #349.

Reports from several sources that Kokua crashes after a short while of operation on Avination Grid are confirmed. These crashes are actually excessive memory leaks that are related to HTTP Texture pipe lining as implemented in Kokua and its interaction with Avination servers. With Develop->HTTP Textures, debug setting httpPipelining, unchecked Kokua operates correctly and doesn’t crash. Avination gird is the only grid known to have this problem. As such the work around for Avination users is to un-check Develop->HTTP Textures or set the httpPipelining debug setting to FALSE.

Testing was on Windows. Request users of other platforms test and comment about results in the ticket which is linked above.

Kokua-3.7.22 is released

This is a bug fix release. For SecondLife users this will be a required update for all.

Ticket #292: Selection of the TELEPORT button from inside an SL search response resulted in failed teleport notices.

Ticket #322: If an automatic update failed, a notification presented and a link would be highlighted for manual
download of the update. This link referenced a location that was no longer maintained. The latest updates were not at this location. Both old and new locations now have current files. This release corrects the notification link to reference the new File downloads.

Changed the default for region coordinates to always be present in the location bar.

Merged up the current SL viewer. This was only a couple changesets to maintain sync with SL’s viewer release. The bulk of that release was already in Kokua.

Kokua-3.7.22 Release Notes


Linux users of Kokua.

Issues with starting Kokua have been reported on some distributions that did not show up while testing the viewer on debian or ubuntu.

Slackware and Linux Mint 17 seem to be affected.

Slackware did not tolerate the absence of gridargs.dat.

Mint script commands did not interpret library paths.

Attached file kokua.txt at ticket #305 is a replacement ./kokua script. This is in a .txt file so it would be best to use as a guide to edit or copy/paste into
your live ./kokua script. The file is also in Files->Weekly on Sourceforge.

This change will be in the Weekly viewer downloads next week.

Kokua Test 3.7.10

There will not be a release version this month. The test versions are just not ready for release due to AISv3 merge.
First, AISv3 places Kokua ahead of RLVa and Kokua Test will not have RLVa until later. Second, there are issues with OpenSim grid configurations that are not handled handled correctly. SL grids, OSgrid, 3d Rock Grid, and jOpenSimWorld are not affected. Avination, InWorldz, Kitely, Metropolis Metaversum and several others have configurations that are triggering a Kokua main loop memory exception crash. From the grid operator point of view I understand that it will be considered a viewer issue and Kokua needs patched to handle whatever is thrown at it. If I knew what was being thrown, it would be fixed. It is not an OpenSim version problem as both good and crashed share OpenSim versions.

On to the positive. Kokua Test 3.7.10 seems solid and has SL features from:
3.7.7 Interesting Viewer
3.7.8 Maintenance Release
3.7.9 MemPlugs(memory leak fixes), Sunshinev2 and AISv3
3.7.10 Social (Facebook, Twitter, Flickr) for Kokua these are accessed under top menu “View” and tool box Icons are defaulted to the bottom of the left tool bar.

Kokua Test viewers are available in the Nightly files area on SourceForge.

Black screen at start — fix

There is a fix to correct this intermittent crash that mostly affected Linux 64 bit users and to a lesser degree Mac and Windows users. The symptom was a black screen that required killing the program from the operating system.

The fixed version, 31948, is in nightly builds so please review best practices for testing.

Nightly build downloads are here.

Or, directly from the platform links listed below.


Linux 32 bit

Linux 64 bit


Kokua Test / Linux

A reported Linux viewer issue that stream titles were spamming local chat and notifications is resolved in this test version.

This fix was applied during development for the next release and includes from Catznip / Kitty Barnett’s features RLVa and Edit items from Inventory features. These features have not been thoroughly tested in Kokua and users are encouraged to review Kokua’s Best Practices for Testing wiki before using.

Corrected Kokua linux 64 bit media plugin webkit failed to load at viewer start.

On newer Debian derived distributions in the class of Debian testing (aka Jessie) there have been complaints of web kit plugin failure to load at viewer start and also no voice and no audio streams. This has also affected Ubuntu 13.xx distributions. Some time back there were issues with not being found at viewer start. Users where applying symbolic links from the viewer’s lib64 directory to the system pcre. At that time Kokua started packaging the build system pcre with the viewer to save on user hassle of finding the system pcre and applying symbolic links. This no longer works correctly as modern distributions have updated. A test viewer is available that removes the four libpcre* libraries / links from packaging with the viewer. This has been tested and works correctly on Debian Jessie and Ubuntu 13.10. This may affect non-Debian distributions and a return to applying a symbolic link to may be needed.

The test viewer may be downloaded from Kokua viewer nightly folder on sourceforge.