Samp03svr with debugging symbols?
#5

Quote:
Originally Posted by nemesis-
View Post
Kal,

An update on this:

I ran samp03svr under gdb with no success. The output from a 'bt' showed an array of memory addresses with nothing attached to them, just question marks. I decided to compile all the plugins that I use (8 in total) with debug symbols (compiled with -g -O0 -rdynamic) and run the server under gdb.

These 8 plugins are:

G-Stylez MySQL R5
Incognito Plugins (Streamer v2.5, DNS v2.4, IRC v1.3.6 SSL, GVars v1.3)
****** Plugins (Sscanf 2.0, Whirlpool 64-bit version)
Kalcor's MapAndreas v1.0 beta
I am using:

Adrenaline's MySQL plugin (that has been working for over a year)
A custom checkpoint streamer (been working for months)
Incognito's IRC plugin

All the plugins are compiled with -g -O0 -rdynamic.

Quote:
Originally Posted by nemesis-
View Post
Additionally, I added logging to every function, every callback, and every command (in-game and irc, both Zcmd-driven command systems). When the server does the libc segfault, it is always on a different function. This would lead me to believe the issue stems from something outside the script.
I also tried this, got the same result (no consistency).

Quote:
Originally Posted by nemesis-
View Post
My server's specs are:
Kimsufi/OVH dedicated server
Intel Q6600 Quad-core CPU
4GB DDR2 Ram
1TB SATA2 (non-RAID)
100MB up/down
OS: Ubuntu Linux v9.04 64-bit
Kimsufi/OVH dedicated server
Intel i7 Quad-core CPU
8GB DDR2 Ram
1TB SATA2 (non-RAID)
100MB up/down
OS: Debian Lenny v5.06 32-bit

Quote:
Originally Posted by nemesis-
View Post
This is the output I got from the 'bt' output. With all plugins under debug, this is what I got after 2 successful 'bt' captures under gdb:

http://pawn.pastebin.com/N675w5ss
http://pastebin.com/mcquK8qp

Quote:
Originally Posted by nemesis-
View Post
I initially assumed it was the streamer plugin though under debug I would have expected more output from gdb so I ran the server again under gdb.

My understanding is that Blacklite from SACNR has this exact same issue with libc segfaults under completely random functions. We've both run similar tests with little useful output from gdb/bt.
!
Reply


Messages In This Thread
Samp03svr with debugging symbols? - by nemesis- - 16.08.2010, 06:45
Re: Samp03svr with debugging symbols? - by Kalcor - 16.08.2010, 07:01
Re: Samp03svr with debugging symbols? - by nemesis- - 16.08.2010, 16:07
Re: Samp03svr with debugging symbols? - by nemesis- - 19.09.2010, 15:47
Re: Samp03svr with debugging symbols? - by Blacklite - 20.09.2010, 08:27
Re: Samp03svr with debugging symbols? - by nemesis- - 23.09.2010, 00:35
Re: Samp03svr with debugging symbols? - by Blacklite - 27.09.2010, 09:33
Re: Samp03svr with debugging symbols? - by nemesis- - 25.11.2010, 16:33

Forum Jump:


Users browsing this thread: 2 Guest(s)