• Announcements

    • cpucean

      Bitdefender Business Support Forum Rules - Read carefully before posting   09/13/2016

      Bitdefender Business Support Forum Rules (PLEASE READ BEFORE POSTING) In order to post to the Official Bitdefender Support Forums, you will need to register using a valid email address, and following the instructions to validate your membership. If you like to register, click here. GENERAL RULES Understand that once you have registered as a new user, you consequently agree with ALL THE FORUM RULES written below. These rules were designed to ensure you get the most from interacting with other users in a pleasant and constructive manner and to prevent any sort of abuse. 1. First and foremost, this is a support forum for Bitdefender. Do NOT post comparative tests for security software for they are unrelated to the main character of the forum. Also, the support process can take many forms: a troubleshooting routine is meant to locate the cause of the issue not offer a permanent solution –do NOT post replies in the form of "I need a fix now" instead of the information requested for without locating the cause there isn't any way to implement a fix. 2. Once an official position has been posted concerning a bug in Bitdefender and the ETA for the fix, the topic will be closed down. Do not ask for the topic to be reopened unless you still have the bug after the update targeted to handle this issue. 3. Users that have reached a 50% warn level will have their posts subjected to moderator approval and if they continue to ignore forum rules their account will be banned. 4. Users are not allowed to use clones(using more than one account by a single person). Breaking this rule will lead to a permanent IP ban. 5. Users are not allowed to use anonymous proxy. Breaking this rule will first result in a warning, followed by subjecting the user's posts to moderator approval/banning of the account. 6. When reporting an issue concerning Bitdefender make sure to offer the following basic information: - name and version of your Bitdefender product; - name and version of your Operating System; - the complete error message (if any) that you receive and, if possible, attach a screenshot with it; - name of other security solutions that you are running; - when asking questions about (un)detected files (false alarms, or files that you suspect to be infected, but aren't detected), please attach a complete Bitdefender scan log. Be sure to keep Bitdefender fully updated so the log contains accurate info – on the support forum we only accept the posting of scan logs, for sample submission of false positive/false negative samples please upload them onto a web based platform where we can retrieve and analyze them. 7. Topics related to the lack of response from the support department need to be backed up by as much information as possible concerning the issue that you have been facing. When you send an e-mail to support a Ticket ID will automatically be created - make sure to mention it in the forum post for it will speed up the entire process. 8. Moderators do NOT offer support by PM. Do not send personal messages to moderators unless they expressly request it from your side/ you wish to have a closed topic re-opened/ you wish to report a forum member or topic for abusive language or spam/ you are unsure as to posting a possible solution and you wish to consult with a moderator first. All users are treated as equal on this forum and by sending a PM to a moderator you will not be entitled to faster support. In case of rule violation reports, you can also use the built-in Report button to announce all moderators that there's a topic/post/user that violated the posting rules. Please do NOT use this function to ask for help, or announce the moderating team that you need urgent support! As said, all issues are handled as fast as possible, and none has priority over another. 9. Any form of aggressive language, directed at other forum members or at the Bitdefender Moderating Team or staff is completely forbidden. Continuous attacks will result in an account suspension or BAN. Also, any form of explicit, antisemitic or racial language, or social attacks (by images, text, PMs, signature, or any other form of communication on Bitdefender forum) will NOT be tolerated and will result in an immediately account BAN. Take into consideration that this forum a public place. Treat everyone else just like you want to be treated. 10. Users are not allowed to open polls on the Bitdefender Support Forum. The only members that are allowed to open polls are the moderators. FORUM SIGNATURES, AVATARS AND DISPLAY NAMES The signature is optional on the forum, and should be a personal message of the user that chooses it. Moderators are obliged to include a link for the Bitdefender Forum Rules in their signature. Users will only be allowed to display a custom signature after having completed 15 posts on the forum. The following will NOT be tolerated: 1. Any type of explicit reference to the brand name and symbols of other security solutions available on the international market today, except Bitdefender. This is a support forum dedicated only to Bitdefender and advertising competitor products will lead to editing out the advertisement and a 20% increase in the warn level. 2. The use of images higher than 300 pixels width and/or 100 pixels height. 3. The use of images or text containing the words "Moderator", "Administrator" or "Admin" in the signatures. These will only confuse other users. 4. The use of images taken from other users of this forum. Please use unique avatars. 5. Use of signatures pointing to external links,they will be removed without any notice. WARNINGS Those who repeatedly violate these rules will receive a warn/suspend/ban. POSTING RULES 1. Topic titles must be as concise as possible, and starting posts must provide relevant information on the issues included, to ensure a fast and precise response from those who are willing to help. For example: avoid titles such as "Heeeeeelp!" but instead write "Question about the Bitdefender Antivirus". The last title has a lot more chances of receiving fast responses. Also, topic titles such as "Program X ######! " together with the lack of any constructive arguments will not be tolerated, the topic will be deleted and the user will receive a 20% warning. 2. Post new topics in the correct sections. The forum is structured by Product type (Home/Office or Business protection) and by product version (2008, 2009, 2010 or older versions). If you post the question in the correct section, you have a higher chance of getting a correct answer for your problems. 3. Bumps/Topic advertisements or any other attempts to make a topic more visible without adding any new or relevant information will NOT be tolerated and the post will be DELETED. 4. When posting a reply on a topic try to keep the suggestion within a relevant range – for example, when there is a post concerning an error message in Bitdefender 2009 do not recommend downgrading to Bitdefender 2008 for this suggestion does not address the original issue. Multiple posting of this type will lead to an increase of the warn level with 20%. 5. Off-topic replies (those that have nothing to do with the topic) will be deleted, and users will also receive a written warning . Repeated posting of off-topic replies will lead to an increase in the warn level with 10%. 6. Keep text color, fonts and letter casing within a normal and pleasant range - any post that contains only upper case text will automatically be subjected to editing, the same applies to posts containing characters larger than size 20. 7. Before opening a new topic, we strongly suggest that you use the SEARCH button, to be sure that the problem was not already discussed. In case you start a new topic with an issue that was already discussed, the new topic will be closed down, redirected and merged into the initial one. 8. Do not ask the same thing on more sections of the forum. Do not post the same topic more than once. Twin topics will be removed and redirected to the original one in order to avoid confusion. 9. Do NOT request/post warez software, cracks, serial numbers or any other actions which involve software piracy. Topics and replies related to cracking security software, advice on breaching security systems, cracking security protocols, flood attacks or posts that promote cracking or Internet attacks in any way will be deleted at once and the users that posted them will have their accounts suspended at once. Also, no support will be offered for users that are using a cracked version of BitDefender on their systems. 10. Please avoid topic titles such as "URGENT" since all cases are treated as soon as possible. 11. Be patient – there are a lot of issues on the forum and we are doing the best we can to answer them all. Therefore, you may receive your answer immediately, but it may also take several days just as well. 12. We do not allow people to post threads that advertise or solicit any products, services, funds or donations – all topics of this type will be automatically DELETED . Explicit advertising is also prohibited. FORUM RULES ARE SUBJECTED TO CONTINUOUS MODERATION AND CAN BE CHANGED AT ANY GIVEN TIME WITHOUT PRIOR NOTIFICATION. ANY TOPIC DEBATING FORUM RULES WILL BE CLOSED DOWN AND AUTOMATICALLY DELETED FOR THESE RULES ARE NOT SUBJECTED TO DEBATE. Bitdefender Business Support Forum Team
algifford

Bdscan Segmentation Fault

18 posts in this topic

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?

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

Hello Algifford,

Thanks for your posts.

If you have any questions please do not hesitate to contact us.

Regards,

Andrei

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Hi algifford,

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

Regards,

Andi

Share this post


Link to post
Share on other sites

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.

 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

Share this post


Link to post
Share on other sites

Great,

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

Regards,

Andi

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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 ]

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

$ 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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now