Cool VL Viewer forum

View unanswered posts | View active topics It is currently 2024-03-28 17:03:30



Reply to topic  [ 8 posts ] 
Possible race condition in conjunction with media filter? 
Author Message

Joined: 2010-04-07 08:23:18
Posts: 210
Reply with quote
Hello Henri,

nothing important really, but something that happened today and makes me wonder. I've been a bad girl and sim hopping at the speed of light (even though I am aware I should probably be spanked for that, considering the load that it causes on the sims and all ...).

So at one place I decide to TP away from immediately, and before I even left the sim the media filter dialog pops up, then I'm whisked away to the destination, and once there I decided to hit "Deny". The viewer promptly crashed.

Could be coincidence, but I'm wary. Super-low imporance, though. Logs attached.

Love,
Lia


Attachments:
201602280947.tar.bz2 [24.55 KiB]
Downloaded 297 times
2016-02-28 15:37:22
Profile

Joined: 2009-03-17 18:42:51
Posts: 5523
Reply with quote
That would be an interesting issue to investigate (as all crash cases), but alas, the stack trace is quite unhelpful:
Code:
CoolVLViwer.log:
.../...
2016-02-28T09:47:51Z INFO: do_elfio_glibc_backtrace: Could not initialize ELF symbol reading - doing basic backtrace.
.../...

stacktrace.log:
0   unknown                            0x116667f ./bin/cool_vl_viewer-bin() [0x116667f]
1   unknown                            0x193555e ./bin/cool_vl_viewer-bin() [0x193555e]
2   unknown                            0x7f6cc37bccd0 /lib/x86_64-linux-gnu/libpthread.so.0(+0x10cd0) [0x7f6cc37bccd0]
3   unknown                            0xed402b ./bin/cool_vl_viewer-bin() [0xed402b]
.../...

No symbol at all to know where the crash occurred... Did you compile the viewer yourself ?... If yes, then please, use the -g option in the CXX_FLAGS, so that symbols get retained in the binary and listed in the stack trace logs...


2016-02-28 15:43:55
Profile WWW

Joined: 2010-04-07 08:23:18
Posts: 210
Reply with quote
Hello again Henri,

you wrote:
Henri Beauchamp wrote:
That would be an interesting issue to investigate (as all crash cases), but alas, the stack trace is quite unhelpful: [...] No symbol at all to know where the crash occurred... Did you compile the viewer yourself ?... If yes, then please, use the -g option in the CXX_FLAGS, so that symbols get retained in the binary and listed in the stack trace logs...
Yes, been using the buildlinux64 script. I'll add the option in the future then. I was already wondering about the rather nondescriptive stack trace.

Love,
Lia


2016-02-28 16:23:01
Profile

Joined: 2009-03-17 18:42:51
Posts: 5523
Reply with quote
Amalia Illios wrote:
Yes, been using the buildlinux64 script.
The -g flag should have been used then... Look at the compilation options in the About floater (and remember to post that info with each bug report...). In that case, are you missing the libELFIO.so file in the viewer's lib/ sub-directory ?...


2016-02-28 18:04:43
Profile WWW

Joined: 2010-04-07 08:23:18
Posts: 210
Reply with quote
Hello again Henri,

you wrote:
Henri Beauchamp wrote:
The -g flag should have been used then... Look at the compilation options in the About floater (and remember to post that info with each bug report...). In that case, are you missing the libELFIO.so file in the viewer's lib/ sub-directory ?...
:oops: Whoops, sorry about that, I kinda was thinking it was all in the log directory stuff anyway.
Code:
Cool VL Viewer 1.26.17 (12) Feb 27 2016 15:38:16 (Cool VL Viewer)
RestrainedLove viewer v2.09.15.21
Release Notes

You are at 153741.2, 260181.0, 23.3 in Evil Happenings located at sim9800.agni.lindenlab.com (216.82.45.134:13028)
Second Life Server 16.02.17.311120
Release Notes

CPU: AMD FX(tm)-8350 Eight-Core Processor (4400 MHz)
Memory: 32157 MB
OS version: Linux 4.4.0-7-generic #22-Ubuntu SMP Thu Feb 18 20:50:38 UTC 2016 x86_64
Memory manager: OS native
Graphics card vendor: NVIDIA Corporation
Graphics card: GeForce GTX TITAN X/PCIe/SSE2
OpenGL version: 4.5.0 NVIDIA 361.28

J2C decoder: OpenJPEG: 1.4.0.635b, Runtime: 1.4.0.635b
Audio driver: FMOD Ex 4.44.61
Networking backend: libcurl/7.47.0 OpenSSL/1.0.1i zlib/1.2.8
Embedded browser: CEF3 plugin v1.5.3-(CEF-LIN-3.2526.1371-64)
Packets lost: 861/332573 (0.3%)

Built with GCC version 4.6.3

Compile flags used for this build:
-O3 -fno-ipa-cp-clone -frename-registers -fweb -DNDEBUG -pipe -g -fexceptions -fno-strict-aliasing -fvisibility=hidden -fsigned-char -m64 -msse2 -mfpmath=sse -fno-math-errno -fno-trapping-math -pthread -fno-stack-protector -Wall -Wno-reorder -Werror -DLL_LINUX=1 -D_REENTRANT -DAPPID=secondlife -DLL_IGNORE_SIGCHLD -DXML_STATIC -DLL_DBUS_ENABLED=1 -DLL_ELFBIN=1 -DOV_EXCLUDE_STATIC_CALLBACKS -DLL_SDL=1 -DLIB_NDOF=1 -DLL_X11=1
Hmmm, libELFIO.so is there, too ...

Love,
Lia


2016-02-28 20:26:07
Profile

Joined: 2009-03-17 18:42:51
Posts: 5523
Reply with quote
In fact, it's normal... ELFIO v1.0.3, used by the viewer, seems unable to read 64 bits ELF binaries... I'll have to migrate the code to ELFIO v2...


2016-02-28 23:13:22
Profile WWW

Joined: 2009-03-17 18:42:51
Posts: 5523
Reply with quote
I migrated to ELFIO v3.1 (which is a header-only "library", so it doesn't even need a libELFIO.so shared library any more): tested and working for both 32 and 64 bits builds.

I also found the probable cause for the crash you got (missing check for agent parcel against the parcel pointer passed to the callback of the media filter dialog, the latter pointer possibly pointing to a destroyed parcel instance).

The fix will be part of next releases.


2016-02-29 16:14:57
Profile WWW

Joined: 2010-04-07 08:23:18
Posts: 210
Reply with quote
Hello again Henri,

you wrote:
Henri Beauchamp wrote:
I migrated to ELFIO v3.1 (which is a header-only "library", so it doesn't even need a libELFIO.so shared library any more): tested and working for both 32 and 64 bits builds.
Oh. Phew, glad it wasn't something wonky at my end, then.

Henri Beauchamp wrote:
I also found the probable cause for the crash you got (missing check for agent parcel against the parcel pointer passed to the callback of the media filter dialog, the latter pointer possibly pointing to a destroyed parcel instance).

The fix will be part of next releases.

:o Wow, you never seize to amaze me. Thank you once again for all the awesome work you do!

Love,
Lia


2016-02-29 19:28:14
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 8 posts ] 

Who is online

Users browsing this forum: No registered users and 33 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.