Cool VL Viewer forum

View unanswered posts | View active topics It is currently 2025-08-26 14:24:47



Reply to topic  [ 3 posts ] 
CoolVLViewer-1.26.4.23-Linux-x86 crashes saving snapshots 
Author Message

Joined: 2012-06-01 15:38:17
Posts: 29
Reply with quote
If I try to save a snaphot with Cool VL Viewer 1.26.4.23 as soon as the the window to select the filename and the directory of destination appears, the viewer crashes:

2012-08-05T11:27:12Z INFO: beforeDialog: LLWindowSDL::beforeDialog()
src/tcmalloc.cc:282] Attempt to free invalid pointer: 0x2da
./cool_vl_viewer: line 144: 24791 Aborted LD_LIBRARY_PATH="`pwd`""/lib:${LD_LIBRARY_PATH}" $LL_WRAPPER bin/$VIEWER_BINARY
*** Bad shutdown. ***
------------------------------------------------------------------------------------------------------------------------------------------------------------------
This is the gdb backtrace:

gdb) bt
#0 0xb7fff424 in __kernel_vsyscall ()
#1 0x4d2c493f in raise () from /lib/libc.so.6
#2 0x4d2c6293 in abort () from /lib/libc.so.6
#3 0xb75e7a12 in TCMalloc_CRASH_internal(bool, char const*, int, char const*, char*) () from /usr/local/CoolVLViewer-1.26.4/lib/libtcmalloc.so.0
#4 0xb75e7a4b in TCMalloc_CrashReporter::PrintfAndDie(char const*, ...) ()
from /usr/local/CoolVLViewer-1.26.4/lib/libtcmalloc.so.0
#5 0xb75d3c81 in (anonymous namespace)::InvalidFree(void*) ()
from /usr/local/CoolVLViewer-1.26.4/lib/libtcmalloc.so.0
#6 0xb75d6ee4 in (anonymous namespace)::do_free_with_callback(void*, void (*)(void*)) () from /usr/local/CoolVLViewer-1.26.4/lib/libtcmalloc.so.0
#7 0xb75d7059 in (anonymous namespace)::do_free(void*) ()
from /usr/local/CoolVLViewer-1.26.4/lib/libtcmalloc.so.0
#8 0xb760315c in tc_free ()
from /usr/local/CoolVLViewer-1.26.4/lib/libtcmalloc.so.0
#9 0x4f13922c in ?? () from /lib/libglib-2.0.so.0
#10 0x4f1393e8 in g_free () from /lib/libglib-2.0.so.0
#11 0x4f3aac5c in ?? () from /lib/libgdk_pixbuf-2.0.so.0
#12 0x090fe18f in png_free ()
#13 0x4d96adc8 in ?? () from /lib/libpng15.so.15
#14 0x4d95ea28 in ?? () from /lib/libpng15.so.15
#15 0x4d95f4c8 in ?? () from /lib/libpng15.so.15
#16 0x4d95f55c in png_process_data () from /lib/libpng15.so.15
#17 0x4f3ab8d5 in ?? () from /lib/libgdk_pixbuf-2.0.so.0
#18 0x4f39cbfb in ?? () from /lib/libgdk_pixbuf-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#19 0x4f39dbd8 in gdk_pixbuf_loader_write () from /lib/libgdk_pixbuf-2.0.so.0
#20 0x4f39adf0 in gdk_pixbuf_new_from_file_at_scale ()
from /lib/libgdk_pixbuf-2.0.so.0
#21 0x4f39b03c in gdk_pixbuf_new_from_file_at_size ()
from /lib/libgdk_pixbuf-2.0.so.0
#22 0x4c38c7b1 in ?? () from /lib/libgtk-x11-2.0.so.0
#23 0x4c371e6d in ?? () from /lib/libgtk-x11-2.0.so.0
#24 0x4c38ee05 in ?? () from /lib/libgtk-x11-2.0.so.0
#25 0x4c38eec8 in ?? () from /lib/libgtk-x11-2.0.so.0
#26 0x4c4f17a0 in gtk_tree_model_get_value () from /lib/libgtk-x11-2.0.so.0
#27 0x4c528185 in gtk_tree_view_column_cell_set_cell_data ()
from /lib/libgtk-x11-2.0.so.0
#28 0x4c50afac in ?? () from /lib/libgtk-x11-2.0.so.0
#29 0x4c50f8d2 in ?? () from /lib/libgtk-x11-2.0.so.0
#30 0x4c50fc85 in ?? () from /lib/libgtk-x11-2.0.so.0
#31 0x4c50fd5a in ?? () from /lib/libgtk-x11-2.0.so.0
#32 0x4c753b3c in ?? () from /lib/libgdk-x11-2.0.so.0
#33 0x4f130a01 in ?? () from /lib/libglib-2.0.so.0
#34 0x4f132fbb in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#35 0x4f133360 in ?? () from /lib/libglib-2.0.so.0
#36 0x4f1337c3 in g_main_loop_run () from /lib/libglib-2.0.so.0
#37 0x4c3e0b30 in gtk_main () from /lib/libgtk-x11-2.0.so.0
#38 0x0822ceaa in LLFilePicker::getSaveFile(LLFilePicker::ESaveFilter, std::string const&, bool) ()
#39 0x0822f6f3 in LLFilePickerThread::run() ()
---Type <return> to continue, or q <return> to quit---
#40 0x0842ea91 in LLSnapshotLivePreview::saveLocal() ()
#41 0x08430426 in LLFloaterSnapshot::Impl::onClickKeep(void*) ()
#42 0x08430605 in LLFloaterSnapshot::Impl::onCommitSave(LLUICtrl*, void*) ()
#43 0x08ec5d80 in LLUICtrl::onCommit() ()
#44 0x08df1133 in LLComboBox::onCommit() ()
#45 0x08de038d in LLButton::handleMouseUp(int, int, unsigned int) ()
#46 0x08a008ca in LLViewerWindow::handleAnyMouseClick(LLWindow*, LLCoordGL, unsigned int, LLMouseHandler::EClickType, int) ()
#47 0x08a01305 in LLViewerWindow::handleMouseUp(LLWindow*, LLCoordGL, unsigned int)
()
#48 0x08f1df67 in LLWindowSDL::gatherInput() ()
#49 0x0817f67a in LLAppViewer::mainLoop() ()
#50 0x08b85006 in main ()

----------------------------------------------------------------------------------------------------------------------------------------------------------------
Specs:
OS: Fedora 17 (Beefy Miracle)

Cool VL Viewer 1.26.4 (23) Aug 4 2012 14:26:33 (Cool VL Viewer)
Release Notes

CPU: Intel(R) Core(TM) Duo CPU T2350 @ 1.86GHz (1862 MHz)
Memory: 2017 MB
OS Version: Linux 3.5.0-1.fc17.i686 #1 SMP Thu Jul 26 22:24:18 UTC 2012 i686
Graphics Card Vendor: X.Org R300 Project
Graphics Card: Gallium 0.4 on ATI RV530
OpenGL Version: 2.1 Mesa 8.1-devel (git-2faa2b4)

libcurl Version: libcurl/7.21.1 OpenSSL/1.0.0d zlib/1.2.5 c-ares/1.7.1
J2C Decoder Version: KDU
Audio Driver Version: OpenAL, version 1.1 ALSOFT 1.11.753 / OpenAL Community / OpenAL Soft: PulseAudio Software
Qt Webkit Version: 4.7.1 (version number hard-coded)

Built with GCC version 40302

Compile flags used for this build:
-O2 -fomit-frame-pointer -frename-registers -fweb -ftree-vectorize -fexpensive-optimizations -DLL_RELEASE=1 -DLL_RELEASE_FOR_DOWNLOAD=1 -DLL_SEND_CRASH_REPORTS=1 -DNDEBUG -Wall -Wno-sign-compare -Wno-trigraphs -Werror -Wno-reorder -Wno-non-virtual-dtor -Wno-deprecated -g -fexceptions -fno-strict-aliasing -fvisibility=hidden -fsigned-char -march=pentium4 -msse2 -mfpmath=sse -fno-math-errno -fno-trapping-math -pthread -fno-stack-protector -m32 -D_FORTIFY_SOURCE=2 -DLL_USE_TCMALLOC=1 -DLL_LINUX=1 -D_REENTRANT -DAPPID=secondlife -DLL_IGNORE_SIGCHLD -DLL_DBUS_ENABLED=1 -DLL_ELFBIN=1 -DOV_EXCLUDE_STATIC_CALLBACKS -DCARES_STATICLIB -DLL_SDL=1 -DLIB_NDOF=1 -DLL_GTK=1 -DLL_X11=1


2012-08-05 11:47:39
Profile

Joined: 2009-03-17 18:42:51
Posts: 6043
Reply with quote
As shows the backtrace, the crash occurs within your system GTK library (in g_free()), not in the Cool VL Viewer code itself... I can't either reproduce this bug here.


2012-08-05 13:23:49
Profile WWW

Joined: 2012-06-01 15:38:17
Posts: 29
Reply with quote
You are right.
I recompiled glib2 from glib-2.33.6.tar.xz sources package and now Cool VL Viewer-1.26.4.23 works for saving snapshots and upload images.
Thanks.


2012-08-05 19:37:29
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 149 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:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.