AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [Solved] Cannot access memory at address 0xb7f618f0 (https://forums.alliedmods.net/showthread.php?t=170767)

.Dare Devil. 10-28-2011 17:38

[Solved] Cannot access memory at address 0xb7f618f0
 
Hi,

I got this error here

PHP Code:

Cannot access memory at address 0xb7f618f0
Cannot access memory at address 0xbfce2108 

I know what plugin do that,
I cant disable that plugin, its main mod.

I want to fix that.

But i want to know first what do that crash.
I mean what script.


Message
or just a flood


Need help guys.

Arkshine 10-28-2011 17:47

Re: Cannot access memory at address 0xb7f618f0
 
You give so much informations.

.Dare Devil. 10-28-2011 17:56

Re: Cannot access memory at address 0xb7f618f0
 
Quote:

Originally Posted by Arkshine (Post 1585243)
You give so much informations.

I copy all logs here.

BFD: Warning: /home/rentviis/server/core.13592 is truncated: expected core file size >= 150777856, found: 1081344.
Cannot access memory at address 0xb7f618f0
Cannot access memory at address 0xbfce2108
/home/rentviis/server/debug.cmds:3: Error in sourced command file:
Cannot access memory at address 0xb7f618f0

in oblivion.log

Quote:

[AMXBans] Loaded 10 admins from database
Dropped k8psis from server
Reason: Client sent 'drop'
90.191.234.230:63976:reconnect
Dropped k8psis from server
Reason: Server shutting down
Dropped Vil3u from server
Reason: Server shutting down
ipcserver.cpp (956) : Assertion Failed: FD_ISSET( fd, (fd_set *)m_pfdset )
Sat Oct 29 00:35:13 EEST 2011: Server Quit

when i start the server.

Server run 5 sec and then get crashed.
Its a memory bug i think :)


I have tested this plugin in window.
Working fine, no error logs, no crash, no nohting.

This is very strange.

If you need more informations tell me what i must tell more.


Edit, got all logs now

Quote:

Using breakpad crash handler
Setting breakpad minidump AppID = 10
Forcing breakpad minidump interfaces to load
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Installing breakpad exception handler for appid(10)/version(5382)
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Uploading dump (in-process) [proxy '']
/tmp/dumps/crash_20111029015935_1.dmp
success = yes
response: CrashID=bp-954d7027-5b1b-4838-bfbf-bccc82111028
Segmentation fault (core dumped)
BFD: Warning: /home/rentviis/server/core.15466 is truncated: expected core file size >= 126431232, found: 1081344.
Cannot access memory at address 0xb7f338f0
Cannot access memory at address 0xbfd63558
/home/rentviis/server/debug.cmds:3: Error in sourced command file:
Cannot access memory at address 0xb7f338f0
Using breakpad crash handler
Setting breakpad minidump AppID = 10
Forcing breakpad minidump interfaces to load
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Installing breakpad exception handler for appid(10)/version(5382)
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
exit
Assert( Assertion Failed: FD_ISSET( fd, (fd_set *)m_pfdset ) ):/home/VALVE/alfred/valve/steam3_rel_client/src/clientdll/../common/ipcserver.cpp:956
CAsyncIOManager: 0 threads terminating. 0 reads, 0 writes, 0 deferrals.
CAsyncIOManager: 0 single object sleeps, 0 multi object sleeps
CAsyncIOManager: 0 single object alertable sleeps, 0 multi object alertable sleeps
Uploading dump (in-process) [proxy '']
/tmp/dumps/crash_20111029015948_1.dmp




.Dare Devil. 10-28-2011 19:26

Re: Cannot access memory at address 0xb7f618f0
 
I got it working.

My code is correct. no bugs.

But i have question.


Is that possible :

I edit sma notepad++
and save it utf8 - whitout Bom

And the script corrupted.

Like i can compile it, and in window working fine.
I think when i compile it

there are like some sympols what compile.exe dont read correct and
compile that sympol high byte hex or whatever

in windows c++ reader just dont do nothing
but in linux does not undestand it and he will try and try and make flood

then come memory leak

the max memory is exceeded and server crash.



So yeah, i am not so smart and i think it is that what i sayd.




How i fix it.

I open first sma in AMX Mod X Studio
I found sympol and i deleted it.

( I think that was that bom symbol )


And then i open it in notepad
saved it to ansi

compiled

All working fine.








Stange.

PS: sorry my bad english :D :D

Arkshine 10-29-2011 05:00

Re: [Solved] Cannot access memory at address 0xb7f618f0
 
"and save it utf8 - whitout Bom"

If you have seen symbols, you have saved as utf8.

.Dare Devil. 10-29-2011 08:44

Re: [Solved] Cannot access memory at address 0xb7f618f0
 
Quote:

Originally Posted by Arkshine (Post 1585512)
"and save it utf8 - whitout Bom"

If you have seen symbols, you have saved as utf8.

I always save whitout bom

if i dont save whitout bom then i cant compile.

.Dare Devil. 10-29-2011 12:14

Re: [Solved] Cannot access memory at address 0xb7f618f0
 
Server crash again.

But now server can run 5-20 minutes

Quote:

Segmentation fault (core dumped)
BFD: Warning: /home/rentviis/server/core.32581 is truncated: expected core file size >= 185872384, found: 1081344.
Cannot access memory at address 0xb7f858f0
Cannot access memory at address 0xbfab8b18
/home/rentviis/server/debug.cmds:3: Error in sourced command file:
Cannot access memory at address 0xb7f858f0
email debug.log to [email protected]
Sat Oct 29 19:06:27 EEST 2011: Server restart in 10 seconds

Is that possible, there are too many messages that create too many sprites?

dFF 10-29-2011 12:47

Re: [Solved] Cannot access memory at address 0xb7f618f0
 
In hlds_run
Code:

ulimit -c 2000
change to
Code:

ulimit -c unlimited
Reopen youre server now.

.Dare Devil. 10-29-2011 14:03

Re: [Solved] Cannot access memory at address 0xb7f618f0
 
Quote:

Originally Posted by dFF (Post 1585771)
In hlds_run
Code:

ulimit -c 2000
change to
Code:

ulimit -c unlimited
Reopen youre server now.

Do you know what this means?


When i have memory leak plugin and memory geos so up.
then full vps crash.

Backstabnoob 10-29-2011 15:53

Re: [Solved] Cannot access memory at address 0xb7f618f0
 
What about showing the code?


All times are GMT -4. The time now is 14:28.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.