Cool VL Viewer forum

View unanswered posts | View active topics It is currently 2020-03-31 12:13:55



Reply to topic  [ 9 posts ] 
Region Info Floater: Crash when clicking an avatar name. 
Author Message

Joined: 2018-07-14 07:17:42
Posts: 12
Reply with quote
Segmentation fault when clicking an avatar name in Region/estate, Access tab.

Code:
Cool VL Viewer v1.26.22.44, 64 bits, Apr 27 2019 10:42:46
RestrainedLove viewer v2.09.25.20
Release Notes

CPU: AMD FX-8320E Eight-Core Processor (3470.52 MHz)
Memory: 32132MB
OS version: Linux-x86_64 v5.0.9-1-ck #1 SMP PREEMPT Sun Apr 21 17:37:15 CEST 2019
Memory manager: jemalloc v5.2.0-20190418
Graphics card vendor: NVIDIA Corporation
Graphics card: GeForce GTX 1060 6GB/PCIe/SSE2
OpenGL version: 4.6.0 NVIDIA 418.56
Detected VRAM: 6144MB
J2C decoder: OpenJPEG: 1.4.0.635e
Audio driver: FMOD Studio v2.00.00 (PulseAudio)
Networking backend: libcurl/7.47.0 OpenSSL/1.0.2q zlib/1.2.11
Embedded browser: CEF3 plugin v3.3626.1895.g7001d56

Built with: GCC v4.8.5

Compile flags used for this build:
-O3 -fno-delete-null-pointer-checks -fno-align-labels -fno-align-loops -fno-ipa-cp-clone -fsched-pressure -frename-registers -fweb -DNDEBUG -std=c++98 -pipe -g -gdwarf-2 -gstrict-dwarf -fno-var-tracking-assignments -fexceptions -fno-strict-aliasing -fvisibility=hidden -fsigned-char -m64 -mfpmath=sse -fno-math-errno -fno-trapping-math -pthread -fno-stack-protector -Wall -Wno-reorder -Wno-unused-local-typedefs -Werror -DLL_LINUX=1 -D_REENTRANT -D_GLIBCXX_USE_C99_MATH=1 -DXML_STATIC -DLL_USE_JEMALLOC=1 -DLL_ELFBIN=1 -DLL_LUA=1 -DOV_EXCLUDE_STATIC_CALLBACKS -DLL_FMODSTUDIO=1 -DLL_OPENAL=1 -DLL_SDL=1 -DLIB_NDOF=1 -DLL_X11=1


Attachments:
CoolVLViewer_15594.log.gz [17.08 KiB]
Downloaded 83 times
stack_trace.log [2.83 KiB]
Downloaded 62 times
2019-04-27 15:38:36
Profile

Joined: 2009-03-17 18:42:51
Posts: 4180
Reply with quote
Please, provide more details, since I am not the owner of a region or estate and cannot reproduce this bug here...

What list did you click into (there are four lists) ?
Is the crash happening for one list, several, all ?

Thank you.


2019-04-27 16:02:11
Profile WWW

Joined: 2018-07-14 07:17:42
Posts: 12
Reply with quote
I am also not an owner of a region or estate, but I have estate management rights for a rented region ;) .

Already opening the Region/estate floater causes:
Code:
2019-04-27T16:59:40Z WARNING: LLFloaterRegionInfo::processEstateOwnerRequest: Mismatched Estate message: estateupdateinfo
2019-04-27T16:59:40Z WARNING: LLFloaterRegionInfo::processEstateOwnerRequest: Mismatched Estate message: setaccess
2019-04-27T16:59:40Z WARNING: LLFloaterRegionInfo::processEstateOwnerRequest: Mismatched Estate message: setaccess (repeated 5 times)
but maybe not related to the segfault.

The segmentation fault happens when I click anywhere in all four lists in the access tab.

I tried to add an avatar with the add-button (in the allowed list), that worked without any issue, no crash and the avatar got listed.


2019-04-27 17:16:47
Profile

Joined: 2009-03-17 18:42:51
Posts: 4180
Reply with quote
The warning messages are unrelated and harmless.

I tried to (artificially) add my own avatar in the lists at floater build time, but clicking on the entry does not cause a crash here.

The stack trace you posted also lets me clueless.

Could you please try and run the viewer in debug mode (typing './cool_vl_viewer --debug' in a terminal pointing inside the viewer installation directory) ?
You will of course need to have gdb installed (but all Linux distros provide a package for it).
When the crash happens, please type "bt" in the terminal and post the stack trace you get there.


2019-04-27 17:27:47
Profile WWW

Joined: 2018-07-14 07:17:42
Posts: 12
Reply with quote
gdb complained it can't find debugging symbols, however here it is the output:
Code:
#0  0x00000000016f7627 in LLPanel::~LLPanel() ()
#1  0x0000000001708558 in LLScrollListCtrl::selectFirstItem() ()
#2  0x00000000017075dc in LLScrollListCtrl::setFocus(bool) ()
#3  0x000000000170e811 in LLScrollListCtrl::handleMouseDown(int, int, unsigned int) ()
#4  0x00000000017613be in LLView::childrenHandleMouseDown(int, int, unsigned int) ()
#5  0x0000000001761496 in LLView::handleMouseDown(int, int, unsigned int) ()
#6  0x00000000017613be in LLView::childrenHandleMouseDown(int, int, unsigned int) ()
#7  0x0000000001761496 in LLView::handleMouseDown(int, int, unsigned int) ()
#8  0x000000000172b13f in LLTabContainer::handleMouseDown(int, int, unsigned int) ()
#9  0x00000000017613be in LLView::childrenHandleMouseDown(int, int, unsigned int) ()
#10 0x0000000001761496 in LLView::handleMouseDown(int, int, unsigned int) ()
#11 0x00000000017613be in LLView::childrenHandleMouseDown(int, int, unsigned int) ()
#12 0x0000000001761496 in LLView::handleMouseDown(int, int, unsigned int) ()
#13 0x000000000172b13f in LLTabContainer::handleMouseDown(int, int, unsigned int) ()
#14 0x00000000017613be in LLView::childrenHandleMouseDown(int, int, unsigned int) ()
#15 0x0000000001761496 in LLView::handleMouseDown(int, int, unsigned int) ()
#16 0x00000000017613be in LLView::childrenHandleMouseDown(int, int, unsigned int) ()
#17 0x0000000001761496 in LLView::handleMouseDown(int, int, unsigned int) ()
#18 0x00000000017613be in LLView::childrenHandleMouseDown(int, int, unsigned int) ()
#19 0x0000000001761496 in LLView::handleMouseDown(int, int, unsigned int) ()
#20 0x0000000000f772b4 in LLViewerWindow::handleAnyMouseClick(LLWindow*, LLCoordGL, unsigned int, LLMouseHandler::EClickType, bool) ()
#21 0x0000000000f77c1b in LLViewerWindow::handleMouseDown(LLWindow*, LLCoordGL, unsigned int) ()
#22 0x00000000017a43e8 in LLWindowSDL::gatherInput() ()
#23 0x000000000069bbff in LLAppViewer::frame(LLEventPump&) ()
#24 0x000000000069f8ad in LLAppViewer::mainLoop() ()
#25 0x00000000005ef893 in main ()


2019-04-27 18:05:12
Profile

Joined: 2009-03-17 18:42:51
Posts: 4180
Reply with quote
OK, I think I found what the bug comes from. If you can compile the viewer yourself (it's easy under Linux), get the sources for the current release, untar them, and in the linden/indra/newview/llfloaterregioninfo.cpp file, around line 1041, amend the code to read:
Code:
//static
void LLPanelRegionInfo::onChangeChildCtrl(LLUICtrl* ctrl, void* user_data)
{
   LLPanelRegionInfo* self = (LLPanelRegionInfo*)user_data;
   if (self && ctrl)
   {
      self->updateChild(ctrl);
   }
}
Then save the file, and from a terminal pointing to linden/indra/ type ./buildlinux.sh to compile the viewer. It should cure the crash (if it does, I will publish a fixed release tomorrow).


2019-04-27 18:12:58
Profile WWW

Joined: 2018-07-14 07:17:42
Posts: 12
Reply with quote
Thank you for your fast reply :)

I compile anyway the viewer by my own. I preferred to use your binary for reporting the bug.

I recompile and report if it will be fixed.


2019-04-27 18:21:06
Profile

Joined: 2018-07-14 07:17:42
Posts: 12
Reply with quote
Fixed!

It works like it should, no crash anymore, selecting and removing works now.

Thank you :)


2019-04-27 18:54:17
Profile

Joined: 2009-03-17 18:42:51
Posts: 4180
Reply with quote
Thank you for your report and testing. I will publish a fixed version tomorrow (I found another bug too, that would cause OpenSIM access lists display to get messed up)...


2019-04-27 18:57:05
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 9 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


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.