Tag Archives: system

BUG: Bad page map in process XXX pte:800000036fae6227 pmd:35be8c067

First of all, given the kernel printing information, the serial port will have some, dmesg will see a little bit more.

BUG: Bad page map in process XXX pte:800000036fae6227 pmd:35be8c067
addr:00007f3fa75c0000 vm_flags:00200070 anon_vma:(null) mapping:(null) index:7f3fa75c0
Pid: 1312, comm: XXX Not tainted 2.6.32.27 #1
Call Trace:
 [<ffffffff815a3570>] print_bad_pte+0x1e2/0x1fb
 [<ffffffff811063ee>] vm_normal_page+0x6e/0x80
 [<ffffffff81107117>] unmap_vmas+0x5b7/0x9f0
 [<ffffffff8106edba>] ?dequeue_signal+0xda/0x170
 [<ffffffff8110cb5c>] unmap_region+0xcc/0x170
 [<ffffffff8110e405>] do_munmap+0x305/0x3a0
 [<ffffffff8110f183>] sys_munmap+0x53/0x80
 [<ffffffff8100c082>] system_call_fastpath+0x16/0x1b
Disabling lock debugging due to kernel taint

Don’t worry about the kernel version number on the stack, because switching to a 3.16.44 kernel will also cause this problem.
The stack seemed to provide a lot of information, but not much help in locating the problem, and at one point led in the wrong direction.
Stack analysis: this stack is obviously a system call, the interface function of the system call is munmap(), in the program code search, only find a few, the analysis of the code seems to see nothing wrong. So in the process to hang up the point, since the stack each time appears in the business thread, so all the business threads in munmap() hang the breakpoint: break munmap thread idx, and then break munmap thread idy… Not every time a breakpoint is triggered, the stack will be triggered several times before it occurs. This phenomenon began to suspect that the kernel memory problem. Until a display *(0x00007f3fa75c0000) is set, each time the munmap() breakpoint is triggered, an attempt is made to read the value of *(0x00007f3fa75c0000). After an interrupt is triggered, The stack above is printed directly (without setting display, continue and munmap() triggers printing), which is more certain that there is a kernel memory problem.
In the first believe the kernel, doubt their own mentality, the first location of the driver problem, the first thought is netmap driver. View process XXX memory map: cat /proc/1312/maps

...
7f4020021000 default
7f40275c0000 default file=/dev/Vnetmap
7f40a8000000 default anon=3 dirty=3 N0=3
7f40a8021000 default
...

Any surprise to find that 0x7f40275c0000-0x00007f3fa75c0000 = 0x80000000, which is netmap minus the mapping address of the problem (that’s the one on the top display) is equal to 2G. Every time. One face muddleheaded, think of this matter what mechanism caused by the kernel, then walked to read the kernel memory management code, focused on the mmap() system call flow. I’ll probably think about it first. mmap() system call flow is simple as follows:

do_mmap_pgoff
   |
   |--get_unmapped_area
   |--...
   |--mmap_region
        |
        |--find_vma_repare
        |--...
        |--file->f_op->mmap
        |--...

The above file - & gt; f_op-> Mmap is specific to the file function, also note the above device file /dev/Vnetmap when the user program opens it and puts its file descriptor fd to mmap() then it can be tuned to Vnetmap custom file-> f_op-> Mmap . He is in the Vnetmap driver implementation, the problem is here.
Analysis: The running environment is 64-bit X86 platform. Vnetmap is the driver module, running in kernel state, it maps the memory applied in the kernel bit by bit to the user virtual address space. It USES a variable of type int as the cumulative count of the virtual address offset, after the offset exceeds 2G, int has a sign flip and becomes negative, and the offset becomes -2g , which seems to be associated with the above.
Understand: (this part didn't source, pure analysis is only for convince yourself that it is not much time, but also does other, have the time to analyze) beyond 2 g memory of kernel space, actual associated with a page table (error), but not visible in the area of the page (eara), errors associated with user mode space is redistributed, find a page table is associated with the page frame, print the above error.


Contact: [email protected]

How to Perfectly Uninstall ZoneAlarm Free Firewall

ZoneAlarm Free Firewall includes most of the common functions available in modern internet security programs. However, sometimes for some reason, the program may not meet your expectation and you just need to remove ZoneAlarm Free Firewall.
When you want to uninstall ZoneAlarm Free Firewall, the most common used tool which pops up in your mind comes to the Add/ Remove programs on Control Panel. But you should keep in mind that by this method, you can’t completely delete all the useless registry entries, related files and traces left by previously removed program. 
Rogueware infection?Click here.
What’s the harm for a failed ZoneAlarm Free Firewall removal?
1. The leftover of ZoneAlarm Free Firewall will take up valuable disk space and slow down your PC.
2. Mass traces left over by an incomplete ZoneAlarm Free Firewall removal can stuff Windows registry.
3. A failed uninstall by manual or other unsure uninstall tool may cause blue screen or system crash.
In this case, you may be trapped in various troubles from then on, such as computer freezing, runtime errors, system looping and so on.
So what is the best and safest way to uninstall ZoneAlarm Free Firewall?You can get multiple solutions by searching on the Internet; there are various tutorials, instructions and the introduction of all kinds of uninstallers and so on. However, sometimes, they don’t really work as they claim.
Among so many uninstallers, there is an uninstall tool is highly recommended by many computer experts and common PC users. Why can it stand out in a large group of uninstallers advertised on the internet?To clear it out, please have a look atthe benefits uninstall tool provides:
1. Much faster and more reliable than standard Windows Add/Remove programs.
2. Easily remove any stubborn programs that Windows Add/Remove Program can’t remove.
3. Completely remove ZoneAlarm Free Firewall and any other unwanted programs.
4. Forcibly uninstall applications that are even corrupted, and half-installed/uninstalled.
5. Clear registry entries and drivers that the programs leave over.
6. Show detailed information of a certain program installed in your computer.
7. Easy tpo use and effective with its unique features.
8. Is it amazing?Can’t wait to have a try? And do you want to completely uninstall ZoneAlarm Free Firewall immediately?
Download this uninstall tool here at to help you fully remove ZoneAlarm Free Firewall with great success and make sure all the now-defunct Registry entries and related files are eliminated automatically with a few clicks. Aside from this software, it can also completely remove other programs like Authentium, Norton, Trend Micro antivirus, Internet Explorer, Microsoft Office, and similar programs. Clickhere for video guide.

how to install chrome in kali linux

Download Google Chrome
To start, use wget command to download a latest Google Chrome debian package:

# wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb

Install Google Chrome
The easiest way to install google chrome on you Kali Linux is to by use of gdebi which will automatically download all depended packages. First, install gdebi:

# apt install gdebi-core

Once ready, install the actual google chrome package:

# gdebi google-chrome-stable_current_amd64.deb

Start Google Chrome
To start Google Chrome, open up a terminal and run google-chrome command:

$ google-chrome –no-sandbox

C + + pauses the black window system (“pause”); (get ch(), getchar(), system (pause)’s connection and difference

In a c++ program, if it is a window, sometimes it will disappear with a flash. If you don’t want it to disappear, add:

system(“pause”);

Note: Do not add after the return statement, it will not be executed.

Analysis:

System () is a call to the system command;

pause pause command;

When run here, it will say “Press any key to continue…” or “Press any key to continue…” ;

In VS2008, can be called directly

VC 6.0, to add the following header file!

#include < stdlib.h>  
The

Supplement: http://bbs.csdn.net/topics/390231844

http://www.gidnetwork.com/b-61.html (the answer), 9/f,

1:

I don’t know why I often see people declare “void main” on CSDN

is not a standard entry point for C++

standard supports only two kinds of announcements

first type “int main”

int main(int argc, char *argv[]))

declares “void main” may have unexpected results

this doesn’t just apply to C++, C works as well

is this the textbook’s fault?Or is it the professors’ fault?

2:

do not use system(“pause”) to pause. Use STD ::cin. Get or getchar() instead.

why don’t you use system(“pause”)?

for two reasons

1: not portable
Two: it’s very expensive

where is it important?Let’s look at the process of system(“pause”)

1: pause your program

2: start the OS in the sub-process

3: finds the command to execute and allocates the memory for it

4: wait for input

5: recycle memory

6: end OS

7: continue your program

Getch () :
header file: conio. H
function purpose: read a character from the console, but not displayed on the screen
e.g. :
char ch; Or int ch;
getch (); Or ch = getch ();
with getch (); It waits for you to press any key before continuing with the following statement;
with ch = getch (); It waits for you to press any key, assigns the ASCII character to ch, and then executes the following statement.

getchar():
Extract characters from IO stream!
this function is declared in the stdio.h header file and used to include the stdio.h header file. Such as:
# include< stdio.h>
int getchar (void);
getch has the same basic functions as getchar, except that getch gets the key value directly from the keyboard and does not wait for the user to press enter. As soon as the user presses a key,
getch returns immediately. Getch returns the ASCII code entered by the user and returns -1 on error. The
getch function is commonly used in program debugging. During debugging, the relevant results are displayed in a critical position for viewing, and then the getch function is used to pause the program,
when any key is pressed after the program continues to run.

the first is that the two functions exist in different header files, this one basically you write #include< stdio.h> Getchar (), can accept a character, press enter to end, and display on the screen, and can clear forward just write
2. Getch (), receive a character, on the screen does not show
you write more, practice should be understood
Getchar () gets a character from the input device that is displayed on the screen, getch gets a character from the input device,
but the character is not displayed on the screen, for example:
#include < stdio.h>
int main()
{
printf(“%c”,getchar()); Suppose you get a character f from the keyboard here and press enter and you’ll see something like this
f
f
the first f is the f that you typed in, the second f is the f that printf gets
#include < stdio.h>

int main () {
printf (” % c “, getchar ());
}
suppose you enter an f and the result is
f this f is the printf output f
getchar is optimized,
getchar input character, until you press enter, then execute the code
getch without hitting enter
System (“pause”) can freeze the screen to observe the execution results of the program.
getch can not only pause the program
but also get a character
system(“pause”) is just a simple pause
the difference is the mechanism of action, although the effect looks the same. The
system return value is the result after you call the Shell command, and the getch() function will return the result provided by the function.
usually, the return value of Shell command may be unexpected and uncertain. Sometimes, it is impossible to judge whether the command
is executed successfully through the return value, which will have an impact on the program that conducts subsequent processing according to the return value. The return value of the function determines whether the
line is held successfully. But you don’t judge the return value at all, and you don’t process it, so you don’t have to worry about these differences.

Unable to open the physical file “d:\***.mdf”. Operating system error 5: “5(Access is denied.)”.

SQL SERVER2008 is installed under Windows 7. An error occurred trying to attach an existing database MDF file,
Unable to open the physical file “d:\***.mdf”. Operating system error 5: “5(Access is denied.)”.
Is to set the SQL Server related account access to the file
Let Management Studio run as an administrator
 

ERROR 0210: Stuck Key 36

Saturday, December 28, 2002 at 12:02 am
Windows Me Annoyances Discussion Forum
Posted by Jack Gulley (5917 messages posted)

This is a system board POST/BIOS error code (nothing to do with Windows). The ERROR 210: is a standard POST (Power On Self Test) error message that indicates an error with the keyboard. The error condition is that a keyboard scan code was received from the keyboard when none was expected, after the keyboard was Reset. The “Stuck key 36” indicates that scancode 36 was received, indicating that the Right Shift key was stuck down or was pressed when it should not have been.
If this occurs most of the time when you power on your system, then it indicates that this key is sticking down or the key mechanical or electrical parts are broken. Some times blowing out and cleaning out around the keys will resolve this problem. Some times holding the keboard vertical with the front edge down and droping several inches will clear up the problem. Otherwise, you need to replace your keyboard with a new (or at least a working) one.
 

Flex Error #2032 Stream Error

Question:
The machine in CCBN exhibition visited the PAGE of OSS system, Error #2032 Stream Error occurred, and the SWF file could not be viewed.

Environment:
The biggest difference is that the second way of compiling the files that depend on the Flex framework is Merged into the SWF of the source. It is much larger than the first SWF file that is compiled using the RSL.
Compiling with the RSL requires the Flex framework file to be placed in the same directory as the source SWF.
Flex frame files are divided into two types: framework_swz (for example, framework_4.0.0.14159.swz) at compile time and frame_swf (for example, framework_4.0.0.14159.swf) at run time. According to analysis, framework_4.0.0.14159.SWz is priority to load framework_4.0.0.14159.SWz when client machine access, it will be put into the Flash Player’s cache directory after successful loading. Flash Player automatically downloads framework _4.0.0.14159.swF (either of these files can be downloaded and displayed properly).

Problem analysis:
In the flash directory of the OSs_system_web_page project of our current OSS system, there are only Flex framework related SWF files (6 in total), and no related SWZ files. When the machine of the exhibition visited the system, the SWZ file of the frame could not be found, and the SWF file of the frame was not found automatically, so the access error occurred. In our company, the desktop machine automatically finds the SWF file of the frame, so there is no problem.

Solutions:
SWZ, OSMF_flex. 4.0.0.13495.SWz, RPC_4.0.0.14159.SWz, SPARk_4.0.0.14159.SWz, SPARkskins_4.0.0.14159.SWz, SPARkskins_4.0.0.14159.SWz, SPARkskins_4.0.14159.SWz, SPARkskins_4.0.14159.SWz, SPARkskins_4.0.14159.SWz, SPARkskins_4.0.14159.SWz, Textlayout_1.0.0.595.swz) in the FLASH directory of the OSs_system_web_page project, and then configure the web.xml file of the project, so that the Tomcat server can recognize the SWZ file:

<mime-mapping>

  <extension>swz</extension>

  <mime-type>application/octet-stream</mime-type>

</mime-mapping>

This way, when the exhibition machine accesses the system, it will find the Flex frame-related SWZ files and will be able to access the system SWF files correctly. Problem solving.

Refer to http://blog.csdn.net/hanxing0/article/details/5556042
http://www.blogjava.net/aiaiwoo/articles/338454.html

Windows Visual C + + 2005 redistributable error 1935 solution

The reason: in the control panel, the wrong operation has deleted the vcredist_x86 2005
phenomenon: QQ2010 cannot be used, Nero 10 cannot be used, installation Arcgis10 failed!
solution, downloaded the vcredist_x86 sp1 installation on the Internet, the problem then appeared, the installation process is also very slow ~~~ finally appeared “Error 1935. PublicKeytoken =”1fc8b3b9a1e18e3b”,processirArchitecture=”x86″

, it turned out that the Windows service “Windows Installer service” did not start properly.
solve “Windows Installer service” launch exception, “error 1450: system resources insufficient, unable to complete the requested service”,
After analysis and search, it was found that it was caused by the residual installation of Arcgis9.3. The main reason was that the registration space was limited
error modification method after installation of Arcgis9.3:
1, in the run enter regedit to open registry editor
2, find HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control
3, change the RegistrySizeLimit (REG_DWORD type) value to FFFFFFFF (base 10 is 4294967295)
4, restart the computer
Start the “Windows Installer Service” again, OK
Run vcredist_x86 2005 SP1 as administrator again (be careful not to put it in the Chinese directory and clear the contents of the TEMP folder), OK
QQ, Nero, Arcgis and other software, due to the VCR caused by abnormal start, need to delete clean (use makeup removal software to clear the cache), and then install it is OK

Solve the problem that Windows 7 cannot be updated automatically_ Prompt error code 80246008

Windows 7 cannot automatically update the error code 80246008
Since yesterday, Windows Update Update encountered an error, unable to download and install the Update patch, error code 80246008.
As shown in figure

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Click “Get Help information about the error” in the figure to get the following:
You must log in as an administrator to perform these steps.
If you receive a Windows Update error 80246008 while downloading the Update, you may need to change the backend Smart Transfer Service (BITS) or Windows Event log service Settings, and then restart each service.
The steps to change or restart the backend intelligent Transport Service (BITS)

1.
By clicking the Start button


, then click Control Panel to open Administration Tools. In the search box, type Administrative Tools, and then click Administrative Tools.

2.
Double-click Services.

Error code is 2502 / 2503 when installing MSI format installation package under win10 or win8

An error was reported when installing SVN (MSI format) under Win10:

The installer has encountered an unexpected error installing this package.this may indicate a problem with package.the error code is 2502.

The installer has encountered an unexpected error installing this package.this may indicate a problem with package.the error code is 2503.

finally found that usually in win8 or win10 under the installation of msi format package may appear when the error.

this is the permission problem of the system, the solution is as follows:
1. Combine the keys win+x and select “command prompt (administrator)”

2, run command: msiexec /package “install package path”

Solution to msxml3.dll error ‘800c0008’ the system cannot locate the resource specified

msxml3.dll ?펳 ‘800 c0005’

The system always locate The resource specified.

/plugins. Asp??А 165

this is usually used when collecting information or statically updating a web page with XMLHTTP, and I’ve used similar errors before

set objXmlHttp = server.createobject (” microsoft.xmlhttp “) ‘is generally used in versions below msxml2.6

‘ set objXmlHttp = server.createobject (” msxml2.xmlhttp “) ‘supported by msxml3.dll+

is used instead of
, but now every error is reported.

has searched all the technical forums and search engines I know on the Internet, and there may be a variety of situations that could cause such a problem. Here is a summary:

(a) that is the most basic, your server does not support XMLHTTP or component version low, you need to download the corresponding component. This is not required by the average server, and XMLHTTP is supported in most cases, so this is a rare case.

(2) msxml3.dll file may be corrupted or the file is not authorized enough (this case is less likely), if the file is corrupted, you can download the corresponding system environment’s msxml3.dll file to replace (2003 system seems to be under c:// Windows /system32), need to close the corresponding service such as iis and so on to overwrite.

(three) fireproof or anti-virus software has disabled the corresponding port, the specific how to set it depends on different software, you can try to close the firewall or anti-virus software and then test to determine whether it is the problem.

(4) try re-registering the component. Start & gt; > Run: RegsvR32 MSxml3.DLL

(5) DNS resolution error, check your network Settings or correct DNS access

(6) check your IP filter Settings (this is not very clear)

(7) resource failure of the other party. For example, when collecting some information, the other party does not have the error that leads to program termination, which may also be the case. This error occurs when the XMLHTTP component’s Open method is called, followed by the Send method. An 8000005 error occurs when the URL parameter of the open method is not accessible. And if such an error occurs, the application terminates and cannot continue. Most programs are written like this:

Function functionName(pararm …)

Dim Http

= Set Http Server. CreateObject (” MSXML2. XMLHTTP. 4.0 “)

With Http

.open “GET”,HttpUrl,False

.Send

End With

If Http.Readystate< > 4 then

Set Http=Nothing

……

Exit function

End if

End Function

most programs use the XMLHTTP Readystate property to determine the return status from the server. This is not always the case, and many times using the ReadyState property does not actually detect errors in the program flow. When an error is encountered, the program will still be terminated. In fact, modify the above code, it is possible to achieve the process of skipping the execution of the program encountered errors, so that the program continues to run. The modified code is as follows:

Function functionName(pararm …)

Dim Http

= Set Http Server. CreateObject (” MSXML2. XMLHTTP. 4.0 “)

With Http

.open “GET”,HttpUrl,False

.Send

End With

On Error Resume Next

If Http.Status< > 200 then

Set Http=Nothing

……

Exit function

End if

End Function
When the
Send method produces an error, the ReadyState value may be 4, but the Status value must not be 200. Well, I’ve tracked ReadyState and Status’s worth to previous results many times. There may be mistakes. I haven’t found them so far.

hope the above program solution can help you!! If you have a better solution, please let me know.

, which I illustrate with msxml2.xmlhttp.4.0, is also suitable for other versions of the XMLHTTP component. To check which versions of the XMLHTTP component you have installed on your system, look under HKEY_CLASSES_ROOT in the registry.

(8) go to the server and set your IE security options (try setting the level to medium or low). Just add the domain name you want in the trusted website.

(9) I have tried all of the above methods after looking at them, but none of them worked out. So I went to Microsoft and downloaded MSXML4.0 Service Pack 2 (Microsoft XML Core Services) and Hotfix for MSXML4.0 Service Pack 2 – KB832414 – Simplified Chinese (KB832414_MSxml4.0_x86.exe) and installed it. The problem was finally solved!!

(10) if your case, I can solve the above methods, it is back, you continue to look for other possible to online, if you don’t want to continue to find you reinstall your iis or simply reshipment system (do this before you can try to restart the system to see, may probably as if lucky can use again

Network card problem: Unable to initialize Windows Sockets interface

Yesterday, I had a problem with a computer in my company, which could not surf the Internet and could be Shared on Windows. Using the Ping gateway in the command window and 127.0.0.1 both showed the same results
Unable to initialize Windows Sockets interface, error code 0.
Other network Settings are normal, and there are unusually long waits in the “network connection” area when you log in to Windows.
search on the Internet to know that this is a configuration or other software caused by the improper use of Windows system file is destroyed, download winsockfix.exe run to solve the problem
The above method cannot be used for Win2003. Later, I found a method on the Microsoft website. However, this method is manual repair, which I have not tested:
1. Backup and delete winsock. DLL Wsock. DLL under % Winroot % System32
2. Backup, delete the registry key HKEY_LOCAL_MACHINE/System/CurrentControlSet/Services/Winsock2
3. Delete the TCP/IP protocol and then uninstall the network card
4. Reinstall the network card and TCP/IP protocol.
Microsoft has a solution for http://support.microsoft.com/kb/288133/en-us