Cool VL Viewer forum

View unanswered posts | View active topics It is currently 2024-03-28 11:39:53



Reply to topic  [ 11 posts ]  Go to page 1, 2  Next
Copy/paste problem in Cool VL Viewer v1.30.0.28 on Mac. 
Author Message

Joined: 2012-01-19 03:18:40
Posts: 196
Location: Sydney, Australia (UTC +10)
Reply with quote
Having just updated from v1.30.0.22 to v1.30.0.28, I have noticed a change in copy/paste behaviour in the viewer. It now seems to be possible to copy and paste text within the viewer application, but impossible to copy text from another application and paste it into a field in the viewer. What seems to happen is that text copied in another application does not replace whatever is in the viewer's buffer. For example, if you copy the text "Fred" within Cool VL Viewer, you can paste that into any text field as expected. However, if you then go out into, say, your browser and copy a URL, and then try to paste that into a field, you'll get "Fred" again. So the paste operation works fine, but the out-of-viewer copy operation does not replace whatever is in the viewer's buffer.

I'm not sure that this is a bug in Cool VL Viewer, but could another Mac-user test this please?

Code:
Cool VL Viewer v1.30.0.28, 64 bits, Nov 21 2022 12:52:07
RestrainedLove viewer v2.09.29.27
Release notes

You are at 259497.1, 259630.3, 2501.5  in Ferox located at
simhost-0551111c03e527093.agni.secondlife.io (52.12.22.4:13013)
Alias: ec2-52-12-22-4.us-west-2.compute.amazonaws.com
Second Life Server 2022-11-11.576542
Release notes

CPU: Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz (4200 MHz)
Memory: 16384MB
OS version: Mac OS X 10.14.6 Darwin 18.7.0 Darwin Kernel Version 18.7.0: Tue Jun 22 19:37:08 PDT 2021; root:xnu-4903.278.70~1/RELEASE_X86_64 x86_64
Memory manager: OS native
Graphics card vendor: ATI Technologies Inc.
Graphics card: AMD Radeon Pro 580 OpenGL Engine
OpenGL version: 2.1 ATI-2.11.26
Detected VRAM: 8044MB
J2C decoder: OpenJPEG: 1.4.0.635f
Audio driver: FMOD Studio v2.02.10
Networking backend: libcurl 7.47.0/OpenSSL 1.0.2u/zlib 1.2.11.zlib-ng
Embedded browser: Dullahan 1.12.3/CEF 91.1.21/Chromium 91.0.4472.114
Packets lost: 0/8041 (0.0%)

Built with: Clang/LLVM v11.0.3
Compiler-generated maths: SSE4.1.

Compile flags used for this build:
-O2 -fno-delete-null-pointer-checks -mno-retpoline -mno-retpoline-external-thunk -DNDEBUG -std=c++17 -stdlib=libc++ -fno-threadsafe-statics -pipe -g -fexceptions -fno-strict-aliasing -fvisibility=hidden -fsigned-char -m64 -mfpmath=sse -fno-math-errno -fno-trapping-math -pthread -Wall -Wno-reorder -DLL_DARWIN=1 -DLL_PHMAP=1 -DLL_FMOD=1 -DXML_STATIC


Attachments:
CoolVLViewer.log.zip [16.59 KiB]
Downloaded 25 times
2022-11-22 22:49:27
Profile

Joined: 2009-03-17 18:42:51
Posts: 5523
Reply with quote
This corresponds to one of the macOS code changes that went into v1.30.0.25, backported from one of LL's maintenance viewer branches.

I will revert the clipboard-related changes for next release. Let me know if you notice any other (non-clipboard related) discrepancies...

I am also seeing a crash on exit in your log:
Code:
2022-11-22 22:43:46Z INFO: LLAppViewer::handleViewerCrash: Handle viewer crash entry.
Do you have any stack trace/crash report ?


2022-11-22 23:36:04
Profile WWW

Joined: 2012-01-19 03:18:40
Posts: 196
Location: Sydney, Australia (UTC +10)
Reply with quote
I have this. I hope it is useful.


Attachments:
Cool VL Viewer_2022-11-23-094346_Antares.crash.zip [18.81 KiB]
Downloaded 32 times
2022-11-23 03:49:38
Profile

Joined: 2009-03-17 18:42:51
Posts: 5523
Reply with quote
linyifei wrote:
I have this. I hope it is useful.
Yes, it is... The crash happens inside one of macOS' libraries, and is probably the result of one of the other changes that went into v1.30.0.25... If you can confirm you do not get any such crash on exit with former releases, I will just revert the whole set of macOS changes.


2022-11-23 08:52:51
Profile WWW

Joined: 2012-01-19 03:18:40
Posts: 196
Location: Sydney, Australia (UTC +10)
Reply with quote
I'm afraid I can't confirm that. Cool VL Viewer has been crashing on exit on my Mac for a long time. My oldest current log is from Cool VL Viewer v1.30.0.17 and it seems to exhibit the same problem. You first drew my attention to this at the end of this thread back in January: viewtopic.php?f=4&t=2245

Since the crash on exit doesn't really impact my SL experience much, except possibly causing some of my settings (position of floaters, for example) to not be saved, I never got around to following up on the problem. Sorry about that. I did exchange some private messages with Catten on this problem back in March and June this year. Apparently I found that:
Quote:
From my logs, it appears that 1.28.2.64, 1.28.2.68, and 1.28.2.72 all crash on exit.


Attachments:
Cool VL Viewer_2022-10-24-160012_Antares.crash.zip [19.45 KiB]
Downloaded 30 times
2022-11-23 11:08:15
Profile

Joined: 2009-03-17 18:42:51
Posts: 5523
Reply with quote
linyifei wrote:
I'm afraid I can't confirm that. Cool VL Viewer has been crashing on exit on my Mac for a long time. .../... Since the crash on exit doesn't really impact my SL experience much, except possibly causing some of my settings (position of floaters, for example) to not be saved, I never got around to following up on the problem. Sorry about that.
That's very unfortunate, because it makes it pretty much impossible to trace back the change in the code that is causing the crash on your system, and since I do not have a Mac to test the viewer, I cannot try and reproduce it by myself either... :(

This also badly affects the crash statistics for my viewer if you keep crashing every time (it reports the crash to the grid server on next login), and proud as I am about my crash fixing and bug hunting skills, it is quite frustrating for me...

Please, do report every single crash you get with the viewer; it should never, ever crash (the rare times it crashes for me, I immediately fix the corresponding bug). (*)


This said, I see again the same last call to LLViewerJoystick::terminate() in the other crash stack trace you gave, and I'm starting to wonder if the crash is in libndof istelf (this library is different under MacOS, Windows and Linux)...

Are you using a joystick, and if not, could you try with one (so that libndof would get initialized) ?

I added some guards in LLViewerJoystick for next release to try and work around a potential crash in terminate(); can you compile the viewer yourself (in which case I would give you the link to sources with the said fix, so that you can try it) ?


(*) On purpose, and because I deem such a feature a privacy-threatening one, I did not implement any automated crash reporting function in my viewer, so only its users and LL (at next login, as a simple crash type info) are informed about crashes, and I must rely on you, the users, to report any crash to me.


2022-11-23 14:03:43
Profile WWW

Joined: 2012-01-19 03:18:40
Posts: 196
Location: Sydney, Australia (UTC +10)
Reply with quote
Henri Beauchamp wrote:
Please, do report every single crash you get with the viewer; it should never, ever crash (the rare times it crashes for me, I immediately fix the corresponding bug). (*)
I'll do my best in future. I've been in SL since 2006 using Linden Labs' various viewers, Emerald, Phoenix, Firestorm, Singularity, but primarily Cool VL Viewer over the years. Every one of them crashed from time to time, often for no apparent reason, and I was usually more concerned to get back in world and back to what I was doing than to collect log-files for debugging. Perhaps I should write a little script to capture especially the viewer log files that are overwritten on every session.
Quote:
Are you using a joystick, and if not, could you try with one (so that libndof would get initialized)?
No, I don't use the viewer's joystick support, and indeed I have checked the "Never try to initialize (after restart)" box on the Input & camera tab of Preferences.
Quote:
I added some guards in LLViewerJoystick for next release to try and work around a potential crash in terminate(); can you compile the viewer yourself (in which case I would give you the link to sources with the said fix, so that you can try it) ?
I have never tried to compile the viewer on my own system, and I don't have any compile/make environment for any C* application on my machine. I could try to set one up, but I'd need help.


2022-11-23 21:56:10
Profile

Joined: 2009-03-17 18:42:51
Posts: 5523
Reply with quote
linyifei wrote:
could try to set one up, but I'd need help.
Well, the instructions to build the viewer are given in the linden/doc/macOSBuildHowto.txt file of the sources... I even simplified the building for next release (once the requirements installed as explained, you just need to type ./macos-build.sh in a terminal pointing in the linden/ directory, and everything is automatic from there).


2022-11-23 22:44:20
Profile WWW

Joined: 2012-01-19 03:18:40
Posts: 196
Location: Sydney, Australia (UTC +10)
Reply with quote
I think I might have found the source of the crash-on-exit problem. I thought about your remark:
Quote:
I see again the same last call to LLViewerJoystick::terminate() in the other crash stack trace you gave
and started to wonder if my having checked the box that tells my viewer to never try to initialise the joystick might cause the viewer to run into problems when it tries to terminate joystick activity. So I unchecked the "Never try to initialize" option, and the crash on exit stopped happening. To confirm I rechecked the "Never try to initialize" option, and the crash came back. Naturally I reverted to unchecking the option again.


2022-11-24 13:06:24
Profile

Joined: 2009-03-17 18:42:51
Posts: 5523
Reply with quote
linyifei wrote:
I unchecked the "Never try to initialize" option, and the crash on exit stopped happening. To confirm I rechecked the "Never try to initialize" option, and the crash came back. Naturally I reverted to unchecking the option again.
Great !
In this case, the guards I already put into place for next release should work fine as well, even with this box checked...


2022-11-24 14:17:33
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 11 posts ]  Go to page 1, 2  Next

Who is online

Users browsing this forum: No registered users and 30 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.