Hi, I am using Ubuntu 8.04 and have just installed avast. The install seemed to go perfectly as did the registration. When i registered, It ran an immediate scan and upon finishing said there was one infection, but it did not give me any options to deal with it. Oh well. Following directions from a web page, I set up a start menu item for the avast gui. Now two odd things happen when I start the gui. First, I get a message that says “Deleted stale lock file '/home/sanford/avast/lockfile-sanford.” I have no idea what that means. I press okay and the gui comes up. I start a scan and it shuts down after about a minute. I cannot see the exact file since it flashes so fast, but it is in my documents and is in a section where I have some ebooks. Another thing: I tried starting the gui from the command line: avastgui. I get an error message in the terminal box that said: (process:12746): Gdk-WARNING **: locale not supported by Xlib (process:12746): Gdk-WARNING **: can not set locale modifiers Segmentation fault. Then the error message about the lockfile appears and the gui then starts. When I scan it still crashes in much the same spot. What is happening? I appreciate any help people can provide. Sanford
An update to my post. I decided that I did not need those ebooks so I just deleted that folder. I still get the same error messages when starting avast but the scan ran through and found no infections. Can someone help with the error messages? Also, since the automatic scan when I registered said there was one infection, and since there are now no infections, it makes me wonder whether avast crashed when it hit the infection! If so, it is not very useful, sigh. Again, any advice would be much appreciated. Sanford
if test uname -m = “x86_64” ; then
# use all included libraries when running on 64bit platform
AVAST_FAILSAFE=1
fi
You can force the app to use its own libraries (FAILSAFE=1), OR to use the system onesn (has_xxx=1). The segfault probably comes from those mini-tests:
if test “x$AVAST_FAILSAFE” != “x1” ; then
if test “x$AVAST_PREFIX/bin/testlibs-avastengine 2>/dev/null” = xOK ; then
has_avastengine=1
fi
if test “x$AVAST_PREFIX/bin/testlibs-esmtp 2>/dev/null” = xOK ; then
has_esmtp=1
fi
if test “x$AVAST_PREFIX/bin/testlibs-x11 2>/dev/null” = xOK ; then
has_x11=1
fi
if test “x$AVAST_PREFIX/bin/testlibs-gtk 2>/dev/null” = xOK ; then
has_gtk=1
fi
fi
and might be caused by ld-linux.so.
The third flaw, with a file, causing avast to crash, is the most interesting - could you, please, identify the particular file which causes this effect? We’d like to analyse it.
I’ve been using Avast! for about 2 years without problems (windows and Linux). With Ubuntu 8.04, I get a similar error. This time it is the following:
Oct 19 13:49:08 wiglaf kernel: [ 499.326344] avastgui[6994]: segfault at fffffffc eip b7a131f5 esp b0ad7d40 error 4
Oct 19 14:01:49 wiglaf kernel: [ 1164.927727] avastgui[7427]: segfault at fffffffc eip b7a021f5 esp b0ac6d40 error 4
Oct 19 14:23:13 wiglaf kernel: [ 1889.702591] avastgui[8390]: segfault at 00000067 eip b7a241f5 esp b0ae8a70 error 4
These are 3 attempts at running a scan. I don’t know if it matters but each time I scanned a virus was found in security software folders I brought backedup from my previous Windows installations.
Hallo,
this looks strange - non-deterministic segfault. let’s reboot the machine (or, stop all avast apps, and clear the SHM memory using ipcrm), and try to run bare “avast /etc/passwd”, for example. will it work?
if so, try to locate the exact file which causes this crash (iof not the case, give me additional info - what was executed and how, what action was leading to this state?)