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: 274
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: 274
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: 274
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: 274
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: 274
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

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: 18th April 2014 - 10:32 AM