ZABBIX BUGS AND ISSUES

Proxy crash on exit

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.8.10, 1.8.11, 1.9.9 (beta)
  • Fix Version/s: 1.8.12, 2.0.0rc2
  • Component/s: Proxy (P)
  • Labels:
  • Zabbix ID:
    Reviewed 2.0

Description

 25045:20120313:113415.041 Got signal [signal:15(SIGTERM),sender_pid:19161,sender_uid:1005,reason:0]. Exiting ...
 25045:20120313:113417.046 syncing history data...
 25045:20120313:113417.046 syncing history data done
 25045:20120313:113417.046 syncing trends data...
 25045:20120313:113417.048 syncing trends data done
 25045:20120313:113417.048 Got signal [signal:11(SIGSEGV),reason:1,refaddr:0x38]. Crashing ...
 25045:20120313:113417.048 ====== Fatal information: ======
 25045:20120313:113417.048 Program counter: 0x433bc9
 25045:20120313:113417.048 === Registers: ===
 25045:20120313:113417.048 r8 = 8a49e0 = 9062880 = 9062880
 25045:20120313:113417.048 r9 = 7f380fef1720 = 139878762223392 = 139878762223392
 25045:20120313:113417.048 r10 = 7fffd47e4650 = 140736758433360 = 140736758433360
 25045:20120313:113417.048 r11 = 246 = 582 = 582
 25045:20120313:113417.048 r12 = 7fffd47e48ec = 140736758434028 = 140736758434028
 25045:20120313:113417.048 r13 = 7fffd47e48e0 = 140736758434016 = 140736758434016
 25045:20120313:113417.048 r14 = 3ed = 1005 = 1005
 25045:20120313:113417.048 r15 = 14 = 20 = 20
 25045:20120313:113417.048 rdi = 0 = 0 = 0
 25045:20120313:113417.049 rsi = 46579b = 4609947 = 4609947
 25045:20120313:113417.049 rbp = 7fffd47e48e8 = 140736758434024 = 140736758434024
 25045:20120313:113417.049 rbx = 0 = 0 = 0
 25045:20120313:113417.049 rdx = 7fffd47e486f = 140736758433903 = 140736758433903
 25045:20120313:113417.049 rax = 0 = 0 = 0
 25045:20120313:113417.049 rcx = 7f380ed5ae17 = 139878743780887 = 139878743780887
 25045:20120313:113417.049 rsp = 7fffd47e48b0 = 140736758433968 = 140736758433968
 25045:20120313:113417.049 rip = 433bc9 = 4406217 = 4406217
 25045:20120313:113417.049 efl = 10202 = 66050 = 66050
 25045:20120313:113417.049 csgsfs = 33 = 51 = 51
 25045:20120313:113417.049 err = 4 = 4 = 4
 25045:20120313:113417.049 trapno = e = 14 = 14
 25045:20120313:113417.049 oldmask = 14000 = 81920 = 81920
 25045:20120313:113417.049 cr2 = 38 = 56 = 56
 25045:20120313:113417.049 === Backtrace: ===
 25045:20120313:113417.050 13: sbin/zabbix_proxy(print_fatal_info+0xcf) [0x437539]
 25045:20120313:113417.050 12: sbin/zabbix_proxy() [0x436cb3]
 25045:20120313:113417.050 11: /lib/libc.so.6(+0x33af0) [0x7f380eca5af0]
 25045:20120313:113417.050 10: sbin/zabbix_proxy(zbx_mem_destroy+0x4) [0x433bc9]
 25045:20120313:113417.050 9: sbin/zabbix_proxy(free_database_cache+0x1df) [0x42b0c6]
 25045:20120313:113417.050 8: sbin/zabbix_proxy(zbx_on_exit+0xdc) [0x40db3c]
 25045:20120313:113417.050 7: sbin/zabbix_proxy() [0x436e95]
 25045:20120313:113417.050 6: /lib/libc.so.6(+0x33af0) [0x7f380eca5af0]
 25045:20120313:113417.050 5: /lib/libc.so.6(wait+0x24) [0x7f380ed1bee4]
 25045:20120313:113417.050 4: sbin/zabbix_proxy(MAIN_ZABBIX_ENTRY+0x2d6) [0x40de62]
 25045:20120313:113417.050 3: sbin/zabbix_proxy(daemon_start+0x348) [0x436be1]
 25045:20120313:113417.050 2: sbin/zabbix_proxy(main+0x4cd) [0x40e88b]
 25045:20120313:113417.050 1: /lib/libc.so.6(__libc_start_main+0xfd) [0x7f380ec90c4d]
 25045:20120313:113417.050 0: sbin/zabbix_proxy() [0x40d579]

Issue Links

Activity

Hide
dimir added a comment -

Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-4749

Show
dimir added a comment - Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-4749
Hide
Alexander Vladishev added a comment - - edited

(1) [PS] compilation warnings should be fixed:
dbcache.c: In function ‘init_database_cache’:
dbcache.c:2823: warning: ‘trend_shm_key’ may be used uninitialized in this function

<dimir> RESOLVED in r26166
<Sasha> CLOSED

Show
Alexander Vladishev added a comment - - edited (1) [PS] compilation warnings should be fixed: dbcache.c: In function ‘init_database_cache’: dbcache.c:2823: warning: ‘trend_shm_key’ may be used uninitialized in this function <dimir> RESOLVED in r26166 <Sasha> CLOSED
Hide
Alexander Vladishev added a comment - - edited

Successfully tested! Please review my changes in r26172.

<dimir> Perfect!

Show
Alexander Vladishev added a comment - - edited Successfully tested! Please review my changes in r26172. <dimir> Perfect!
Hide
dimir added a comment -

Fixed in pre-1.8.12 r26280, pre-2.0.0 r26285.

Show
dimir added a comment - Fixed in pre-1.8.12 r26280, pre-2.0.0 r26285.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: