Cool VL Viewer forum

View unanswered posts | View active topics It is currently 2025-08-26 15:00:26



Reply to topic  [ 52 posts ]  Go to page 1, 2, 3, 4, 5, 6  Next
sporadic crash on file dialogue 
Author Message

Joined: 2012-08-08 17:51:35
Posts: 90
Reply with quote
Hi Henry, I have gotten sporadic crashes since a few weeks with the stable branch viewer. :(

I can't say exactly since when, but it was somewhere around 1.26.4.3* I think. Definitively including both 34 and the fixed 35. Funny though, it's been rock stable a month back or so.

Also, there is an issue with some icons that doesn't appear in the viewer file dialogs any more.

Tonight I ran from a console and could see that we are at this point:
Code:
2012-10-24T20:48:16Z INFO: beforeDialog: LLWindowSDL::beforeDialog()

(<unknown>:7859): GdkPixbuf-WARNING **: Bug! gdk-pixbuf loader 'png' didn't set an error on failure.

(<unknown>:7859): Gtk-WARNING **: Error loading icon: Failed to load image '/usr/share/icons//oxygen/16x16/actions/edit-find.png': reason not known, probably a corrupt image file

(<unknown>:7859): GdkPixbuf-WARNING **: Bug! gdk-pixbuf loader 'png' didn't set an error on failure.


FYI the icon is located at /usr/share/icons/oxygen/16x16/actions/edit-find.png (same as in the error, just single slashed) and looks just fine in all other programs as far as I can see.

List of affected files:
  • edit-find.png
  • dialog-cancel.png
  • document-save.png
  • list-add.png
  • edit-delete.png

Now, the viewer crashes on me when opening a file dialogue, but not every time and not in a reproducible manner unfortunately. It just happens when a great snapshot opportunity seems to come around :roll:

Running from within a console shows that it writes a stack trace, but there is no stack_trace.log written on disk. Nor is the error_maker. :(
Code:
2012-10-24T20:48:16Z INFO: do_elfio_glibc_backtrace: Opening stack trace file /home/jessica/.secondlife/logs/stack_trace.log
2012-10-24T20:48:18Z INFO: do_elfio_glibc_backtrace: Finished generating stack trace.
2012-10-24T20:48:18Z INFO: handleViewerCrash: Handle viewer crash entry.
2012-10-24T20:48:18Z INFO: logMemoryInfo: System memory information: Max physical memory: 4148688KB - Allocated physical memory: 1459KB - Available physical memory: 4148688KB - Allocated virtual memory: 1240209KB
2012-10-24T20:48:18Z INFO: handleViewerCrash: Creating crash marker file /home/jessica/.secondlife/logs/CoolVLViewer.error_marker
2012-10-24T20:48:18Z INFO: handleViewerCrash: Created crash marker file /home/jessica/.secondlife/logs/CoolVLViewer.error_marker
2012-10-24T20:48:18Z INFO: handleViewerCrash: Handle viewer crash generating stats log.
2012-10-24T20:48:18Z INFO: writeDebugInfo: Opening debug file /home/jessica/.secondlife/logs/debug_info.log
*** Bad shutdown. ***

I'm not good at tracing crashes and I haven't been able to find a correlation to time spent online, memory usage, time of day or similar, and with no stack_trace.log written it's hard to find out more without a bit of help here.

Any ideas?
Would it help if I reverted back a bunch of versions to see if I can find where the icons disappeared?
Or do you think it's not related to that issue at all?
How can I get a backtrace on the crash when the viewer doesn't save anything?
And oh yeah, Debian stable here so not the newest system libs in case that matters. :roll:
I have this funny feeling this will be one of these "learning moments" somehow again ;)


2012-10-24 21:41:28
Profile

Joined: 2009-03-17 18:42:51
Posts: 6043
Reply with quote
Jessica Hultcrantz wrote:
Code:
2012-10-24T20:48:16Z INFO: beforeDialog: LLWindowSDL::beforeDialog()

(<unknown>:7859): GdkPixbuf-WARNING **: Bug! gdk-pixbuf loader 'png' didn't set an error on failure.

(<unknown>:7859): Gtk-WARNING **: Error loading icon: Failed to load image '/usr/share/icons//oxygen/16x16/actions/edit-find.png': reason not known, probably a corrupt image file

(<unknown>:7859): GdkPixbuf-WARNING **: Bug! gdk-pixbuf loader 'png' didn't set an error on failure.
Obviously, the crash is caused by gdk-pixbuf loader (which is one of the many component of GTK+), not by the viewer...

Check what updates occurred on your system since the crash appeared (look into GTK+ conponents, or possibly libpng since these are PNG files) and you will find the culprit (a buggy library, most probably).

Quote:
I'm not good at tracing crashes and I haven't been able to find a correlation to time spent online, memory usage, time of day or similar, and with no stack_trace.log written it's hard to find out more without a bit of help here.
The way to trace a crash is described in the rules for this forum....


2012-10-24 23:16:49
Profile WWW

Joined: 2012-08-08 17:51:35
Posts: 90
Reply with quote
My very embarrassed apologies for missing the sticky instructions *facepalms* :oops:

But that was the info I was hoping to get help with finding. I'll get back if/when I can get a decent trace.


2012-10-25 17:09:32
Profile

Joined: 2012-08-08 17:51:35
Posts: 90
Reply with quote
I'm confused right now :roll:

The sporadic crashes mostly happens when I take a snapshot and are about to save the file that I crash.
But I tried for a few hours this afternoon without success. (If you can call it that when you don't crash...)
Then later tonight It was immediate crashing doing the same thing.

OK, so I tried to figure over differences, and one thing came to mind which was particle sources.
Yesterday and today I was close to a particle source when crashing on saving a snapshot, but earlier I was not near one.
Would that make crashing reproducible?
So i tried a snapshot near particle source and crashed.
I then restarted the computer in case it was something that had to do with it being on for hours, but no change in behaviour.
Still crashing.
Then I turned off the particles, and no crash.

So then I thought, is this reproducible? And no... it's not. Turning particles on again did not make me crash.
So it's still way to random for my taste, and for being reliably reproducible :(

Attached are two logs (I hope they have everything needed now), that happened when I was trying to save a snapshot to disk. (Both comes from before the restart.)

I'll update if I find something that can pinpoint this issue, unless you have any ideas from the logs.

No updates to anything GTK or PNG related on the OS. Only Kernel, basefiles, libtiff and libc that would affect the system in general.


Attachments:
File comment: Crash when clicking entering file name (would equal clicking ok)
20121025-savecrash.3.txt [11.71 KiB]
Downloaded 201 times
File comment: Crash when file save dialogue appears
20121025-savecrash.2.txt [19.37 KiB]
Downloaded 208 times
2012-10-25 20:51:37
Profile

Joined: 2009-03-17 18:42:51
Posts: 6043
Reply with quote
What version of the viewer are you using (please, provide the full SecondLife.log like required in the rules !) ?... It looks like you are using the version that had the aligned memory bug and that has since be fixed. If so, please update !


2012-10-25 22:41:47
Profile WWW

Joined: 2012-08-08 17:51:35
Posts: 90
Reply with quote
Meh, I thought I had uploaded everything... apparently I can't read. :roll:

Attaching two fresh crashlogs from gdb + secondlife.log corresponding to the first one.
I have just logged on, taken a snapshot (ctrl-shift-s) and crashed on the save file dialogue.
First time as soon as dialogue opens, last time just as it had closed.
(I'm not sure, but at the moment it seems more likely that a crash happens if the camera is aimed so that a particle source is in "what you see", but it is not reliably reproducible.)

About viewer says:
Code:
Cool VL Viewer 1.26.4 (35) Oct 21 2012 17:20:57 (Cool VL Viewer)
RestrainedLove viewer v2.08.03.25
Release Notes

CPU: Intel(R) Core(TM)2 Duo CPU     E4500  @ 2.20GHz (2199.93 MHz)
Memory: 4051 MB
OS Version: Linux 2.6.32-5-686-bigmem #1 SMP Sun Sep 23 10:27:25 UTC 2012 i686
Graphics Card Vendor: NVIDIA Corporation
Graphics Card: GeForce 8600 GT/PCI/SSE2
OpenGL Version: 3.3.0 NVIDIA 275.21

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_LINUX=1 -D_REENTRANT -DAPPID=secondlife -DLL_IGNORE_SIGCHLD -DLL_DBUS_ENABLED=1 -DLL_ELFBIN=1 -DOV_EXCLUDE_STATIC_CALLBACKS -DCARES_STATICLIB -DCARES_STATICLIB -DLL_SDL=1 -DLIB_NDOF=1 -DLL_GTK=1 -DLL_X11=1


Any more info I can share to help?


Attachments:
20121026-savecrash.2.txt.gz [12.42 KiB]
Downloaded 206 times
20121026-SecondLife.1.log.gz [9.56 KiB]
Downloaded 205 times
File comment: gdb log
20121026-savecrash.1.txt.gz [12.84 KiB]
Downloaded 200 times
2012-10-26 18:19:48
Profile

Joined: 2012-08-08 17:51:35
Posts: 90
Reply with quote
I downloaded 1.26.5.15 and it seems that version doesn't show any gdk/gtk errors in the console even if the graphics is still missing in the file dialogue.

Too early to say if 1.26.5.15 is more stable as the crashes isn't reliably reproducible, but I'll report if that branch is affected or not after a bit of mileage with it.

Btw, do you think it would be a good idea to reinstall the 1.26.4 version of the viewer?
(Oh and before you ask, I run 1.26.5.15 with a separate cache)


2012-10-26 19:50:02
Profile

Joined: 2009-03-17 18:42:51
Posts: 6043
Reply with quote
From the logs, it is obvious that the crash occurs in one of the many GTK+ components libraries and not in the viewer code itself (it's a GTK+ bug). I can do nothing for you, I'm afraid; as I already suggested, check for which updates made their way to your system (if any GTK+ related update occurred, just revert back to the previous version and the crash will likely go away).


2012-10-27 12:43:14
Profile WWW

Joined: 2012-08-08 17:51:35
Posts: 90
Reply with quote
Thanks for the help, no GTK-related updates has taken place though. (At least nothing with GTK or GDK in the name!)

I saw Amalia Illios message about file dialogue related issues with the non-tcmalloc viewer version in the feedback for render 3.3 thread, and as I crash with 1.26.5.16 as well tonight (hanged that bad I couldn't even get a backtrace out) I've reverted down to last tcmalloc-enabled version of your viewer (1.24.6.32) now just in the rare case I face something similar like she did here.

I'll let you know if I find anything out.


2012-10-27 19:06:46
Profile

Joined: 2009-03-17 18:42:51
Posts: 6043
Reply with quote
Jessica Hultcrantz wrote:
Thanks for the help, no GTK-related updates has taken place though. (At least nothing with GTK or GDK in the name!)

I saw Amalia Illios message about file dialogue related issues with the non-tcmalloc viewer version in the feedback for render 3.3 thread, and as I crash with 1.26.5.16 as well tonight (hanged that bad I couldn't even get a backtrace out) I've reverted down to last tcmalloc-enabled version of your viewer (1.24.6.32) now just in the rare case I face something similar like she did here.

I'll let you know if I find anything out.
It's not a tcmalloc(-less) issue (see the stack trace...), so I doubt very much that downgrading to 1.24.6.32 will do any difference.


2012-10-27 22:40:42
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 52 posts ]  Go to page 1, 2, 3, 4, 5, 6  Next

Who is online

Users browsing this forum: Bing [Bot] and 187 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.