Logo

CS.RIN.RU - Steam Underground Community

IRC: #cs.rin.ru at irc.rizon.net
It is currently Friday, 17 Apr 2015, 10:05

English | Русский




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 19 posts ] 
Author Message

Post Post subject: Re: Debugin crashes on linux unbutu   
Posted: Friday, 24 Dec 2010, 20:11   
A+
User avatar
Joined: Wednesday, 26 Dec 2007, 00:42
Posts: 7317
I'd get metamod-p, it includes the required HL SDK. You download the source code for it then, unpack it, run make and hope it builds with your newer GCC.

Of course, if it is Ubuntu x64, you need to pay attention that it builds as 32-bit binary and not as 64-bit one.

By the way, did you try to run metamod and dproto alone? I mean if metamod without dproto doesn't crash or dproto crashes even if metamod isn't present then this error would be comeing frome elsewhere.

The __kernel_vsyscall() trace is not revealing any information, only that the dynamic linker was loaded.

Lastly, are these crashes instant or do they happen occasionally?

_________________
Game Industry Guardian (1K+).


Top
 Profile  

Post Post subject: Re: Debugin crashes on linux unbutu   
Posted: Saturday, 25 Dec 2010, 16:35   
Advanced forumer Завсегдатай
User avatar
Joined: Wednesday, 25 Feb 2009, 03:16
Posts: 98
Location: Romania/Petrosani
the crashes happent regula once at two hours
I am using 32bit sistem
and the make command doesent compile.I think that i didnt install something for the server to compile the metamod.
Do you have an tutorial on how to compile an .so ?

EDIT: Y downloaded the source of metamod-p and run make in the folder and this is wath i got
  1. mreg.h:185: warning: âvisibilityâ attribute ignored on non-class types
  2. mreg.h:186: warning: âvisibilityâ attribute ignored on non-class types
  3. mreg.h:187: warning: âvisibilityâ attribute ignored on non-class types
  4. In file included from osdep.cpp:49:
  5. osdep.h:130: warning: âvisibilityâ attribute ignored on non-class types
  6. osdep.h:165: warning: âvisibilityâ attribute ignored on non-class types
  7. osdep.h:183: warning: âvisibilityâ attribute ignored on non-class types
  8. In file included from osdep.cpp:49:
  9. osdep.h:296: warning: âvisibilityâ attribute ignored on non-class types
  10. In file included from osdep.cpp:53:
  11. support_meta.h:110: warning: âvisibilityâ attribute ignored on non-class types
  12. support_meta.h:152: warning: âvisibilityâ attribute ignored on non-class types
  13. osdep.cpp:87: warning: âvisibilityâ attribute ignored on non-class types
  14. osdep.cpp:250: warning: âvisibilityâ attribute ignored on non-class types
  15. gcc -ggdb3 -Wall -Wno-unknown-pragmas   -DOPT_TYPE="\"debugging\"" -D__METAMOD_BUILD__  -fPIC -I. -I../metamod -I../hlsdk/engine -I../hlsdk/common -I../hlsdk/pm_shared -I../hlsdk/dlls -I../hlsdk -o debug.linux_i386/osdep_p.o -c osdep_p.cpp
  16. In file included from osdep.h:48,
  17.                  from osdep_p.h:36,
  18.                  from osdep_p.cpp:42:
  19. mreg.h:108: warning: âvisibilityâ attribute ignored on non-class types
  20. mreg.h:109: warning: âvisibilityâ attribute ignored on non-class types
  21. mreg.h:150: warning: âvisibilityâ attribute ignored on non-class types
  22. mreg.h:151: warning: âvisibilityâ attribute ignored on non-class types
  23. mreg.h:185: warning: âvisibilityâ attribute ignored on non-class types
  24. mreg.h:186: warning: âvisibilityâ attribute ignored on non-class types
  25. mreg.h:187: warning: âvisibilityâ attribute ignored on non-class types
  26. In file included from osdep_p.h:36,
  27.                  from osdep_p.cpp:42:
  28. osdep.h:130: warning: âvisibilityâ attribute ignored on non-class types
  29. osdep.h:165: warning: âvisibilityâ attribute ignored on non-class types
  30. osdep.h:183: warning: âvisibilityâ attribute ignored on non-class types
  31. In file included from osdep_p.h:36,
  32.                  from osdep_p.cpp:42:
  33. osdep.h:296: warning: âvisibilityâ attribute ignored on non-class types
  34. In file included from osdep_p.cpp:42:
  35. osdep_p.h:73: warning: âvisibilityâ attribute ignored on non-class types
  36. In file included from osdep_p.cpp:43:
  37. support_meta.h:110: warning: âvisibilityâ attribute ignored on non-class types
  38. support_meta.h:152: warning: âvisibilityâ attribute ignored on non-class types
  39. gcc -ggdb3 -Wall -Wno-unknown-pragmas   -DOPT_TYPE="\"debugging\"" -D__METAMOD_BUILD__  -fPIC -I. -I../metamod -I../hlsdk/engine -I../hlsdk/common -I../hlsdk/pm_shared -I../hlsdk/dlls -I../hlsdk -o debug.linux_i386/reg_support.o -c reg_support.cpp
  40. In file included from osdep.h:48,
  41.                  from meta_eiface.h:45,
  42.                  from enginecallbacks.h:51,
  43.                  from sdk_util.h:50,
  44.                  from reg_support.cpp:48:
  45. mreg.h:108: warning: âvisibilityâ attribute ignored on non-class types
  46. mreg.h:109: warning: âvisibilityâ attribute ignored on non-class types
  47. mreg.h:150: warning: âvisibilityâ attribute ignored on non-class types
  48. mreg.h:151: warning: âvisibilityâ attribute ignored on non-class types
  49. mreg.h:185: warning: âvisibilityâ attribute ignored on non-class types
  50. mreg.h:186: warning: âvisibilityâ attribute ignored on non-class types
  51. mreg.h:187: warning: âvisibilityâ attribute ignored on non-class types
  52. In file included from meta_eiface.h:45,
  53.                  from enginecallbacks.h:51,
  54.                  from sdk_util.h:50,
  55.                  from reg_support.cpp:48:
  56. osdep.h:130: warning: âvisibilityâ attribute ignored on non-class types
  57. osdep.h:165: warning: âvisibilityâ attribute ignored on non-class types
  58. osdep.h:183: warning: âvisibilityâ attribute ignored on non-class types
  59. In file included from meta_eiface.h:45,
  60.                  from enginecallbacks.h:51,
  61.                  from sdk_util.h:50,
  62.                  from reg_support.cpp:48:
  63. osdep.h:296: warning: âvisibilityâ attribute ignored on non-class types
  64. In file included from reg_support.cpp:48:
  65. sdk_util.h:79: warning: âvisibilityâ attribute ignored on non-class types
  66. sdk_util.h:89: warning: âvisibilityâ attribute ignored on non-class types
  67. sdk_util.h:99: warning: âvisibilityâ attribute ignored on non-class types
  68. sdk_util.h:116: warning: âvisibilityâ attribute ignored on non-class types
  69. In file included from mplugin.h:48,
  70.                  from mlist.h:41,
  71.                  from metamod.h:42,
  72.                  from reg_support.cpp:51:
  73. support_meta.h:110: warning: âvisibilityâ attribute ignored on non-class types
  74. support_meta.h:152: warning: âvisibilityâ attribute ignored on non-class types
  75. In file included from mlist.h:41,
  76.                  from metamod.h:42,
  77.                  from reg_support.cpp:51:
  78. mplugin.h:157: warning: âvisibilityâ attribute ignored on non-class types
  79. mplugin.h:158: warning: âvisibilityâ attribute ignored on non-class types
  80. mplugin.h:159: warning: âvisibilityâ attribute ignored on non-class types
  81. mplugin.h:178: warning: âvisibilityâ attribute ignored on non-class types
  82. mplugin.h:179: warning: âvisibilityâ attribute ignored on non-class types
  83. mplugin.h:180: warning: âvisibilityâ attribute ignored on non-class types
  84. mplugin.h:182: warning: âvisibilityâ attribute ignored on non-class types
  85. mplugin.h:183: warning: âvisibilityâ attribute ignored on non-class types
  86. mplugin.h:185: warning: âvisibilityâ attribute ignored on non-class types
  87. mplugin.h:186: warning: âvisibilityâ attribute ignored on non-class types
  88. mplugin.h:187: warning: âvisibilityâ attribute ignored on non-class types
  89. mplugin.h:189: warning: âvisibilityâ attribute ignored on non-class types
  90. mplugin.h:192: warning: âvisibilityâ attribute ignored on non-class types
  91. mplugin.h:195: warning: âvisibilityâ attribute ignored on non-class types
  92. mplugin.h:198: warning: âvisibilityâ attribute ignored on non-class types
  93. In file included from metamod.h:42,
  94.                  from reg_support.cpp:51:
  95. mlist.h:67: warning: âvisibilityâ attribute ignored on non-class types
  96. mlist.h:68: warning: âvisibilityâ attribute ignored on non-class types
  97. mlist.h:69: warning: âvisibilityâ attribute ignored on non-class types
  98. mlist.h:70: warning: âvisibilityâ attribute ignored on non-class types
  99. mlist.h:71: warning: âvisibilityâ attribute ignored on non-class types
  100. mlist.h:72: warning: âvisibilityâ attribute ignored on non-class types
  101. mlist.h:73: warning: âvisibilityâ attribute ignored on non-class types
  102. mlist.h:74: warning: âvisibilityâ attribute ignored on non-class types
  103. mlist.h:83: warning: âvisibilityâ attribute ignored on non-class types
  104. In file included from metamod.h:44,
  105.                  from reg_support.cpp:51:
  106. conf_meta.h:77: warning: âvisibilityâ attribute ignored on non-class types
  107. In file included from metamod.h:47,
  108.                  from reg_support.cpp:51:
  109. mplayer.h:67: warning: âvisibilityâ attribute ignored on non-class types
  110. mplayer.h:87: warning: âvisibilityâ attribute ignored on non-class types
  111. In file included from engine_t.h:41,
  112.                  from metamod.h:49,
  113.                  from reg_support.cpp:51:
  114. engineinfo.h:116: warning: âvisibilityâ attribute ignored on non-class types
  115. gcc -ggdb3 -Wall -Wno-unknown-pragmas   -DOPT_TYPE="\"debugging\"" -D__METAMOD_BUILD__  -fPIC -I. -I../metamod -I../hlsdk/engine -I../hlsdk/common -I../hlsdk/pm_shared -I../hlsdk/dlls -I../hlsdk -o debug.linux_i386/sdk_util.o -c sdk_util.cpp
  116. In file included from osdep.h:48,
  117.                  from meta_eiface.h:45,
  118.                  from enginecallbacks.h:51,
  119.                  from sdk_util.h:50,
  120.                  from sdk_util.cpp:34:
  121. mreg.h:108: warning: âvisibilityâ attribute ignored on non-class types
  122. mreg.h:109: warning: âvisibilityâ attribute ignored on non-class types
  123. mreg.h:150: warning: âvisibilityâ attribute ignored on non-class types
  124. mreg.h:151: warning: âvisibilityâ attribute ignored on non-class types
  125. mreg.h:185: warning: âvisibilityâ attribute ignored on non-class types
  126. mreg.h:186: warning: âvisibilityâ attribute ignored on non-class types
  127. mreg.h:187: warning: âvisibilityâ attribute ignored on non-class types
  128. In file included from meta_eiface.h:45,
  129.                  from enginecallbacks.h:51,
  130.                  from sdk_util.h:50,
  131.                  from sdk_util.cpp:34:
  132. osdep.h:130: warning: âvisibilityâ attribute ignored on non-class types
  133. osdep.h:165: warning: âvisibilityâ attribute ignored on non-class types
  134. osdep.h:183: warning: âvisibilityâ attribute ignored on non-class types
  135. In file included from meta_eiface.h:45,
  136.                  from enginecallbacks.h:51,
  137.                  from sdk_util.h:50,
  138.                  from sdk_util.cpp:34:
  139. osdep.h:296: warning: âvisibilityâ attribute ignored on non-class types
  140. In file included from sdk_util.cpp:34:
  141. sdk_util.h:79: warning: âvisibilityâ attribute ignored on non-class types
  142. sdk_util.h:89: warning: âvisibilityâ attribute ignored on non-class types
  143. sdk_util.h:99: warning: âvisibilityâ attribute ignored on non-class types
  144. sdk_util.h:116: warning: âvisibilityâ attribute ignored on non-class types
  145. sdk_util.cpp:40: warning: âvisibilityâ attribute ignored on non-class types
  146. gcc -ggdb3 -Wall -Wno-unknown-pragmas   -DOPT_TYPE="\"debugging\"" -D__METAMOD_BUILD__  -fPIC -I. -I../metamod -I../hlsdk/engine -I../hlsdk/common -I../hlsdk/pm_shared -I../hlsdk/dlls -I../hlsdk -o debug.linux_i386/studioapi.o -c studioapi.cpp
  147. gcc -ggdb3 -Wall -Wno-unknown-pragmas   -DOPT_TYPE="\"debugging\"" -D__METAMOD_BUILD__  -fPIC -I. -I../metamod -I../hlsdk/engine -I../hlsdk/common -I../hlsdk/pm_shared -I../hlsdk/dlls -I../hlsdk -o debug.linux_i386/support_meta.o -c support_meta.cpp
  148. In file included from ./osdep.h:48,
  149.                  from ./meta_eiface.h:45,
  150.                  from ./enginecallbacks.h:51,
  151.                  from ./sdk_util.h:50,
  152.                  from ./dllapi.h:40,
  153.                  from ./meta_api.h:41,
  154.                  from ./metamod.h:41,
  155.                  from support_meta.cpp:39:
  156. ./mreg.h:108: warning: âvisibilityâ attribute ignored on non-class types
  157. ./mreg.h:109: warning: âvisibilityâ attribute ignored on non-class types
  158. ./mreg.h:150: warning: âvisibilityâ attribute ignored on non-class types
  159. ./mreg.h:151: warning: âvisibilityâ attribute ignored on non-class types
  160. ./mreg.h:185: warning: âvisibilityâ attribute ignored on non-class types
  161. ./mreg.h:186: warning: âvisibilityâ attribute ignored on non-class types
  162. ./mreg.h:187: warning: âvisibilityâ attribute ignored on non-class types
  163. In file included from ./meta_eiface.h:45,
  164.                  from ./enginecallbacks.h:51,
  165.                  from ./sdk_util.h:50,
  166.                  from ./dllapi.h:40,
  167.                  from ./meta_api.h:41,
  168.                  from ./metamod.h:41,
  169.                  from support_meta.cpp:39:
  170. ./osdep.h:130: warning: âvisibilityâ attribute ignored on non-class types
  171. ./osdep.h:165: warning: âvisibilityâ attribute ignored on non-class types
  172. ./osdep.h:183: warning: âvisibilityâ attribute ignored on non-class types
  173. In file included from ./meta_eiface.h:45,
  174.                  from ./enginecallbacks.h:51,
  175.                  from ./sdk_util.h:50,
  176.                  from ./dllapi.h:40,
  177.                  from ./meta_api.h:41,
  178.                  from ./metamod.h:41,
  179.                  from support_meta.cpp:39:
  180. ./osdep.h:296: warning: âvisibilityâ attribute ignored on non-class types
  181. In file included from ./dllapi.h:40,
  182.                  from ./meta_api.h:41,
  183.                  from ./metamod.h:41,
  184.                  from support_meta.cpp:39:
  185. ./sdk_util.h:79: warning: âvisibilityâ attribute ignored on non-class types
  186. ./sdk_util.h:89: warning: âvisibilityâ attribute ignored on non-class types
  187. ./sdk_util.h:99: warning: âvisibilityâ attribute ignored on non-class types
  188. ./sdk_util.h:116: warning: âvisibilityâ attribute ignored on non-class types
  189. In file included from ./mplugin.h:48,
  190.                  from ./mlist.h:41,
  191.                  from ./metamod.h:42,
  192.                  from support_meta.cpp:39:
  193. ./support_meta.h:110: warning: âvisibilityâ attribute ignored on non-class types
  194. ./support_meta.h:152: warning: âvisibilityâ attribute ignored on non-class types
  195. In file included from ./mlist.h:41,
  196.                  from ./metamod.h:42,
  197.                  from support_meta.cpp:39:
  198. ./mplugin.h:157: warning: âvisibilityâ attribute ignored on non-class types
  199. ./mplugin.h:158: warning: âvisibilityâ attribute ignored on non-class types
  200. ./mplugin.h:159: warning: âvisibilityâ attribute ignored on non-class types
  201. ./mplugin.h:178: warning: âvisibilityâ attribute ignored on non-class types
  202. ./mplugin.h:179: warning: âvisibilityâ attribute ignored on non-class types
  203. ./mplugin.h:180: warning: âvisibilityâ attribute ignored on non-class types
  204. ./mplugin.h:182: warning: âvisibilityâ attribute ignored on non-class types
  205. ./mplugin.h:183: warning: âvisibilityâ attribute ignored on non-class types
  206. ./mplugin.h:185: warning: âvisibilityâ attribute ignored on non-class types
  207. ./mplugin.h:186: warning: âvisibilityâ attribute ignored on non-class types
  208. ./mplugin.h:187: warning: âvisibilityâ attribute ignored on non-class types
  209. ./mplugin.h:189: warning: âvisibilityâ attribute ignored on non-class types
  210. ./mplugin.h:192: warning: âvisibilityâ attribute ignored on non-class types
  211. ./mplugin.h:195: warning: âvisibilityâ attribute ignored on non-class types
  212. ./mplugin.h:198: warning: âvisibilityâ attribute ignored on non-class types
  213. In file included from ./metamod.h:42,
  214.                  from support_meta.cpp:39:
  215. ./mlist.h:67: warning: âvisibilityâ attribute ignored on non-class types
  216. ./mlist.h:68: warning: âvisibilityâ attribute ignored on non-class types
  217. ./mlist.h:69: warning: âvisibilityâ attribute ignored on non-class types
  218. ./mlist.h:70: warning: âvisibilityâ attribute ignored on non-class types
  219. ./mlist.h:71: warning: âvisibilityâ attribute ignored on non-class types
  220. ./mlist.h:72: warning: âvisibilityâ attribute ignored on non-class types
  221. ./mlist.h:73: warning: âvisibilityâ attribute ignored on non-class types
  222. ./mlist.h:74: warning: âvisibilityâ attribute ignored on non-class types
  223. ./mlist.h:83: warning: âvisibilityâ attribute ignored on non-class types
  224. In file included from ./metamod.h:44,
  225.                  from support_meta.cpp:39:
  226. ./conf_meta.h:77: warning: âvisibilityâ attribute ignored on non-class types
  227. In file included from ./metamod.h:47,
  228.                  from support_meta.cpp:39:
  229. ./mplayer.h:67: warning: âvisibilityâ attribute ignored on non-class types
  230. ./mplayer.h:87: warning: âvisibilityâ attribute ignored on non-class types
  231. In file included from ./engine_t.h:41,
  232.                  from ./metamod.h:49,
  233.                  from support_meta.cpp:39:
  234. ./engineinfo.h:116: warning: âvisibilityâ attribute ignored on non-class types
  235. support_meta.cpp:104: warning: âvisibilityâ attribute ignored on non-class types
  236. gcc -ggdb3 -Wall -Wno-unknown-pragmas   -DOPT_TYPE="\"debugging\"" -D__METAMOD_BUILD__  -fPIC -I. -I../metamod -I../hlsdk/engine -I../hlsdk/common -I../hlsdk/pm_shared -I../hlsdk/dlls -I../hlsdk -o debug.linux_i386/thread_logparse.o -c thread_logparse.cpp
  237. gcc -ggdb3 -Wall -Wno-unknown-pragmas   -DOPT_TYPE="\"debugging\"" -D__METAMOD_BUILD__  -DCOMPILE_TZ=\"EET\" -fPIC -I. -I../metamod -I../hlsdk/engine -I../hlsdk/common -I../hlsdk/pm_shared -I../hlsdk/dlls -I../hlsdk -o debug.linux_i386/vdate.o -c vdate.cpp
  238. gcc -ggdb3 -Wall -Wno-unknown-pragmas   -DOPT_TYPE="\"debugging\"" -D__METAMOD_BUILD__  -fPIC -I. -I../metamod -I../hlsdk/engine -I../hlsdk/common -I../hlsdk/pm_shared -I../hlsdk/dlls -I../hlsdk -o debug.linux_i386/osdep_linkent_linux.o -c osdep_linkent_linux.cpp
  239. osdep_linkent_linux.cpp:40: fatal error: asm/page.h: No such file or directory
  240. compilation terminated.
  241. make[1]: *** [debug.linux_i386/osdep_linkent_linux.o] Error 1
  242. make[1]: Leaving directory `/usr/Compiler/metamod-p-1.19p32/metamod'
  243. make: *** [metamod] Error 2
  244. root@storm:/usr/Compiler/metamod-p-1.19p32# \
  245.  


Top
 Profile  

Post Post subject: Re: Debugin crashes on linux unbutu   
Posted: Saturday, 25 Dec 2010, 20:18   
A+
User avatar
Joined: Wednesday, 26 Dec 2007, 00:42
Posts: 7317
You're missing asm/page.h, a part which dropped out of the linux kernel headers some time ago. What that means is, you're screwed with these headers and can't compile metamod-p with your environment. Of course you can setup a chroot with previous versions of glibc and the according kernel headers but I would doubt this helped here.

Instead I'd really try to setup metamod-p (binaries are on their site) without dproto and see if that's stable and if so, dproto without metamod-p and see if that is stable. If only the combination of the two is an issue, you should talk to crock.

_________________
Game Industry Guardian (1K+).


Top
 Profile  

Post Post subject: Re: Debugin crashes on linux unbutu   
Posted: Wednesday, 29 Dec 2010, 02:15   
Advanced forumer Завсегдатай
User avatar
Joined: Wednesday, 25 Feb 2009, 03:16
Posts: 98
Location: Romania/Petrosani
ok thanks a lot for the help untill now


Top
 Profile  
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 19 posts ]  Go to page Previous  1, 2


Who is online

Users browsing this forum: No registered users and 5 guests


Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron



Powered by phpBB® Forum Software © phpBB Group