Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Bdscan Segmentation Fault
algifford
post Nov 21 2011, 08:56 PM
Post #1


Newbie


Group: Members
Posts: 3
Joined: 21-November 11
Member No.: 82,203



after recent update, when I run "bdscan --info" I get the following:

#bdscan --info
BitDefender Antivirus Scanner for Unices v7.90123 Linux-amd64
Copyright © 1996-2009 BitDefender. All rights reserved.

Loading plugins, please wait / Segmentation fault
#

How should I proceed to determine which plug-in is tanking me?
Go to the top of the page
 
+Quote Post
algifford
post Nov 21 2011, 09:08 PM
Post #2


Newbie


Group: Members
Posts: 3
Joined: 21-November 11
Member No.: 82,203



QUOTE (algifford @ Nov 21 2011, 11:56 AM) *
after recent update, when I run "bdscan --info" I get the following:

#bdscan --info
BitDefender Antivirus Scanner for Unices v7.90123 Linux-amd64
Copyright © 1996-2009 BitDefender. All rights reserved.

Loading plugins, please wait / Segmentation fault
#

How should I proceed to determine which plug-in is tanking me?


I ran the command I found in another response (see below) but it could not create the symbolic link because the file bdcore.so already existed. So, I deleted bdcore.so and reran and now it works...

cat /opt/BitDefender-scanner/var/lib/scan/versions.dat.* |awk '/bdcore.so.linux/{print $3}'|while read bdcore_so;do touch /opt/BitDefender-scanner/var/lib/scan/$bdcore_so;bdscan --update;ln -s /opt/BitDefender-scanner/var/lib/scan/$bdcore_so /opt/BitDefender-scanner/var/lib/scan/bdcore.so;done
Go to the top of the page
 
+Quote Post
Andionescu
post Nov 23 2011, 11:17 AM
Post #3


Regular Poster
**

Group: Technical Support
Posts: 278
Joined: 24-August 11
Member No.: 71,793



Hello Algifford,


Thanks for your posts.
If you have any questions please do not hesitate to contact us.

Regards,

Andrei
Go to the top of the page
 
+Quote Post
JanJ
post Dec 29 2011, 05:13 AM
Post #4


Newbie


Group: Members
Posts: 1
Joined: 29-December 11
Member No.: 85,896



QUOTE (algifford @ Nov 21 2011, 09:08 PM) *
I ran the command I found in another response (see below) but it could not create the symbolic link because the file bdcore.so already existed. So, I deleted bdcore.so and reran and now it works...

cat /opt/BitDefender-scanner/var/lib/scan/versions.dat.* |awk '/bdcore.so.linux/{print $3}'|while read bdcore_so;do touch /opt/BitDefender-scanner/var/lib/scan/$bdcore_so;bdscan --update;ln -s /opt/BitDefender-scanner/var/lib/scan/$bdcore_so /opt/BitDefender-scanner/var/lib/scan/bdcore.so;done



Hi.

I can confirm that this method works. Bitdefender works now under Unbuntu 11.10.

Thanks
Go to the top of the page
 
+Quote Post
onzevil
post Jan 2 2012, 08:20 PM
Post #5


Newbie


Group: Members
Posts: 1
Joined: 2-January 12
Member No.: 86,114



The new knowledge of good and post it.
Go to the top of the page
 
+Quote Post
algifford
post Feb 13 2012, 05:35 PM
Post #6


Newbie


Group: Members
Posts: 3
Joined: 21-November 11
Member No.: 82,203



I am still interested in learning if a method exists for figuring out which plugin is seg faulting, short of removing them one by one until it works...Is there a log/trace file or some other method of determining what loaded last before the seg fault?

I appreciate your encouragement Andrei, but you did not answer the question in the post...

Thanks,

Al
Go to the top of the page
 
+Quote Post
Andionescu
post Feb 20 2012, 11:49 AM
Post #7


Regular Poster
**

Group: Technical Support
Posts: 278
Joined: 24-August 11
Member No.: 71,793



Hi algifford,

There is no log file. The issue was with a lib not a plugin.

Regards,

Andi
Go to the top of the page
 
+Quote Post
whotwagner
post Feb 28 2012, 04:30 PM
Post #8


Newbie


Group: Members
Posts: 2
Joined: 28-February 12
Member No.: 96,558



Hi,

I have a similar problem. When i install BitDefender-Antivirus-Scanner-7.6.4(amd64) it works, but as soon as i run bdscan --update the scanner segfaults.

CODE
bdscan info
BitDefender Antivirus Scanner for Unices v7.90123 Linux-amd64
Copyright (C) 1996-2009 BitDefender. All rights reserved.
Trial key found. 23 days remaining.

Infected file action: ignore
Suspected file action: ignore
Loading plugins, please wait | Segmentation fault


I have no idea how to solve this problem, maybe someone can help me?

greets
Wolfgang
Go to the top of the page
 
+Quote Post
Andionescu
post Feb 28 2012, 06:15 PM
Post #9


Regular Poster
**

Group: Technical Support
Posts: 278
Joined: 24-August 11
Member No.: 71,793



Hi,

Thank you for your post.
Please read more about the issue and also the fix from the forum link below:
http://forum.bitdefender.com/index.php?showtopic=30005

Regards,

Andi
Go to the top of the page
 
+Quote Post
whotwagner
post Feb 29 2012, 11:17 AM
Post #10


Newbie


Group: Members
Posts: 2
Joined: 28-February 12
Member No.: 96,558



I already ran the comand, but i also had to remove /opt/BitDefender-scanner/var/lib/scan/bdcore.so first. Now it works

Thank You

QUOTE (andionescu @ Feb 28 2012, 06:15 PM) *
Hi,

Thank you for your post.
Please read more about the issue and also the fix from the forum link below:
http://forum.bitdefender.com/index.php?showtopic=30005

Regards,

Andi

Go to the top of the page
 
+Quote Post
Andionescu
post Feb 29 2012, 11:24 AM
Post #11


Regular Poster
**

Group: Technical Support
Posts: 278
Joined: 24-August 11
Member No.: 71,793



Great,

If you have any questions please feel free to contact us.

Regards,
Andi
Go to the top of the page
 
+Quote Post
loshakova
post Mar 2 2012, 07:07 AM
Post #12


Newbie


Group: Members
Posts: 1
Joined: 2-March 12
Member No.: 97,199



QUOTE (andionescu @ Nov 23 2011, 12:17 PM) *
Hello Algifford,


Thanks for your posts.
If you have any questions please do not hesitate to contact us.

Regards,

Andrei


Hello Andrei,
I am having a similar problem, getting segmentation fault errors whenever I try to scan root directory using bdgui or bd command line. I went through a procedure described on one of these help pages, and generated a core program crash data file. Can you tell me where to send it to you?
Thanks
Heidi
Go to the top of the page
 
+Quote Post
Andionescu
post Mar 22 2012, 10:17 AM
Post #13


Regular Poster
**

Group: Technical Support
Posts: 278
Joined: 24-August 11
Member No.: 71,793



Hi loshakova,

Sorry for the late reply.
Have you followed the steps from my previous post and you still have the segmentation error ?
Please can you provide an update status?

I await your reply.

Regards,

Andi
Go to the top of the page
 
+Quote Post
terminator14
post Feb 22 2013, 02:56 AM
Post #14


Newbie


Group: Members
Posts: 3
Joined: 19-February 13
Member No.: 130,803



I realize this is an inactive thread, but this problem still exists with the latest version of Linux BitDefender and this is the first link people see when they google "bit defender segmentation fault" (at least it was for me). Here's a script that will fix it, and it's easier to use than the "cat /opt/BitDefe..." line:

http://forum.bitdefender.com/index.php?showtopic=42676
Go to the top of the page
 
+Quote Post
desdic
post May 31 2013, 02:15 PM
Post #15


Newbie


Group: Members
Posts: 1
Joined: 31-May 13
Member No.: 145,948



I have the same issue. Running a strace on it shows that it tries to load a .dll file (and its not there)

lseek(7, 0, SEEK_CUR) = 0
Loading plugins, please wait - "\300\1\300\336\t\0\0\0004\0\7\0\235\1\0\0\4\0\7\0\3\0\0\0\321\1\7\0%\0\0\0"..., 193499) = 193499
lseek(7, 193499, SEEK_SET) = 193499
close(7) = 0
mmap(NULL, 478760, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4039b58000
mprotect(0x7f4039b58000, 424416, PROT_READ|PROT_EXEC) = 0
mprotect(0x7f4039bc0000, 52776, PROT_READ|PROT_WRITE) = 0
munmap(0x7f4039b58000, 478760) = 0
stat("kernel32.dll", 0x7fff7570bed8) = -1 ENOENT (No such file or directory)
stat("kernel32.dll", 0x7fff7570bed8) = -1 ENOENT (No such file or directory)
stat("kernel32.dll", 0x7fff7570bed8) = -1 ENOENT (No such file or directory)
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Segmentation fault

(gdb) r /root/invoice\ copy.exe
Starting program: /opt/BitDefender-scanner/bin/bdscan /root/invoice\ copy.exe
[Thread debugging using libthread_db enabled]
BitDefender Antivirus Scanner for Unices v7.90123 Linux-amd64
Copyright © 1996-2009 BitDefender. All rights reserved.
Trial key found. 30 days remaining.

Infected file action: ignore
Suspected file action: ignore
[New Thread 0x7ffff659f700 (LWP 3099)]
Loading plugins, please wait /
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff65ae01b in ?? () from /opt/BitDefender-scanner/var/lib/scan/bdcore.so
(gdb) where
#0 0x00007ffff65ae01b in ?? () from /opt/BitDefender-scanner/var/lib/scan/bdcore.so
#1 0x00007ffff65ad4ea in ?? () from /opt/BitDefender-scanner/var/lib/scan/bdcore.so
#2 0x0000000000000000 in ?? ()
(gdb) info reg
rax 0x7fffffff7fb8 140737488322488
rbx 0x0 0
rcx 0x54 84
rdx 0x0 0
rsi 0x0 0
rdi 0x7fffffff8048 140737488322632
rbp 0x0 0x0
rsp 0x7fffffff7fb8 0x7fffffff7fb8
r8 0x90 144
r9 0x101010101010101 72340172838076673
r10 0x7ffff65adff0 140737326538736
r11 0x7ffff74597c0 140737341921216
r12 0x0 0
r13 0x7fffffff8130 140737488322864
r14 0x0 0
r15 0x0 0
rip 0x7ffff65ae01b 0x7ffff65ae01b
eflags 0x10206 [ PF IF RF ]
cs 0x33 51
ss 0x2b 43
ds 0x0 0
es 0x0 0
fs 0x0 0
gs 0x7 7
fctrl 0x37f 895
fstat 0x0 0
ftag 0xffff 65535
fiseg 0x0 0
fioff 0x0 0
foseg 0x0 0
fooff 0x0 0
fop 0x0 0
mxcsr 0x1fa0 [ PE IM DM ZM OM UM PM ]

Go to the top of the page
 
+Quote Post
Cachorro Podre
post Jun 10 2014, 11:01 PM
Post #16


Newbie


Group: Members
Posts: 1
Joined: 10-June 14
Member No.: 181,608



root@debian:/home/fabio# bdgui

(bdgui:19328): GVFS-RemoteVolumeMonitor-WARNING **: cannot connect to the session bus: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

root@debian:/home/fabio# bdscan --info
BitDefender Antivirus Scanner for Unices v7.90123 Linux-amd64 (debian)
Copyright © 1996-2009 BitDefender. Todos os direitos reservados.

-----------------------------------------

Those errors only occur after the first update, before that i could scan my windows partition (that is the main reason for me to have AV on Linux).
I can see the main panel of the BitDefender, update it, change it's configuration, i can select the path to scan but right after the start of the scan i have the first message.
Go to the top of the page
 
+Quote Post
NoOp
post Jun 17 2014, 08:12 AM
Post #17


Newbie


Group: Members
Posts: 1
Joined: 17-June 14
Member No.: 181,916



$ bdscan --info
BitDefender Antivirus Scanner for Unices v7.90123 Linux-amd64
Copyright © 1996-2009 BitDefender. All rights reserved.
This program is licensed for home or personal use only.
Usage in an office or production environment represents
a violation of the license terms

Loading plugins, please wait
Plugins loaded.

Engine signatures: 11902502
Scan engines: 15
Archive engines: 52
Unpack engines: 10
Mail engines: 8
System engines: 5
Update time GMT: Mon Jun 16 16:27:12 2014
Version: 7.55366
License expire date: Jun 16 2015

Ubuntu 14.04 gnome-fallback mode
Linux g 3.13.0-30-generic #54-Ubuntu SMP Mon Jun 9 22:45:01 UTC 2014 x86_64 x86_64 x86_64 GNU/Linu
$ apt-cache policy bitdefender-scanner-gui
bitdefender-scanner-gui:
Installed: 1.0-3

I can reliably segfault when running as a regular user:

mmap(NULL, 2118280, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 17, 0) = 0x7fb8f5f84000
mprotect(0x7fb8f5f88000, 2097152, PROT_NONE) = 0
mmap(0x7fb8f6188000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 17, 0x4000) = 0x7fb8f6188000
close(17) = 0
mprotect(0x7fb8f6188000, 4096, PROT_READ) = 0
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x4e} ---
+++ killed by SIGSEGV (core dumped) +++
Segmentation fault (core dumped)

To trigger the segfault all I need to do is select a directory with many subdirectories (on my linux ext4 /home) and quickly scroll up and down the direcory/file list. If I do not scroll quickly, but instead simply select a directory, I can generally run the scan with only the expected file permission issues.

However, if I run using:

$ gksu bdgui

the scanner works properly.
Go to the top of the page
 
+Quote Post
John Smith 2014
post Jul 17 2014, 01:33 AM
Post #18


Newbie


Group: Members
Posts: 2
Joined: 17-July 14
Member No.: 182,700



QUOTE (andionescu @ Nov 23 2011, 06:17 AM) *
Hello Algifford,


Thanks for your posts.
If you have any questions please do not hesitate to contact us.

Regards,

Andrei


I recently installed BitDefender-Antivirus-Scanner-7.6-4.linux-gcc4x.amd64.deb.run in Linux Mint 17 KDE x64. I (as most users) encountered the Segmentation Fault error when trying to run Update and Scan after installation. After applying the BitDefender patch, I again ran bdgui from Terminal (as root) and the program returned:

*** Error in `bdgui': free(): invalid pointer: 0x00007fd6ef7147e8 ***
Aborted


I previously ran BitDefender Antivirus Scanner for Unices in another distro of Linux without any problems and would very much like to continue using this excellent program.

Please advise.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 28th August 2014 - 11:14 AM