Skip to content

segmentfault #258

@wooddeep

Description

@wooddeep

Cannot access memory at address 0x8
(gdb) bt
#0 0x00000000004583f3 in ngx_rbtree_min (sentinel=, node=0x0) at src/core/ngx_rbtree.h:74
#1 ngx_rbtree_delete (tree=0xdacce0 <ngx_event_timer_rbtree>, node=node@entry=0x7f1eedbd05e8) at src/core/ngx_rbtree.c:176
#2 0x00000000005220ed in ngx_event_del_timer (ev=0x7f1eedbd05c0) at src/event/ngx_event_timer.h:49
#3 ngx_http_upsync_clear_all_events (cycle=) at /home/lee/share/test/mgsgw/openresty-1.11.2.2/nginx-upsync-module/src/ngx_http_upsync_module.c:3612
#4 0x00000000005221e4 in ngx_http_upsync_need_exit () at /home/lee/share/test/mgsgw/openresty-1.11.2.2/nginx-upsync-module/src/ngx_http_upsync_module.c:3557
#5 0x0000000000527366 in ngx_http_upsync_begin_handler (event=0x7f1ef6ebda30) at /home/lee/share/test/mgsgw/openresty-1.11.2.2/nginx-upsync-module/src/ngx_http_upsync_module.c:2577
#6 0x0000000000469162 in ngx_event_expire_timers () at src/event/ngx_event_timer.c:97
#7 0x0000000000468dbb in ngx_process_events_and_timers (cycle=cycle@entry=0x7f1ef6ba22f0) at src/event/ngx_event.c:256
#8 0x000000000046f0d1 in ngx_worker_process_cycle (cycle=0x7f1ef6ba22f0, data=) at src/os/unix/ngx_process_cycle.c:753
#9 0x000000000046dae0 in ngx_spawn_process (cycle=cycle@entry=0x7f1ef6ba22f0, proc=proc@entry=0x46f050 <ngx_worker_process_cycle>, data=data@entry=0x0,
name=name@entry=0x69a985 "worker process", respawn=respawn@entry=-4) at src/os/unix/ngx_process.c:198
#10 0x000000000046f2a4 in ngx_start_worker_processes (cycle=cycle@entry=0x7f1ef6ba22f0, n=1, type=type@entry=-4) at src/os/unix/ngx_process_cycle.c:358
#11 0x000000000046fe3a in ngx_master_process_cycle (cycle=0x7f1ef6ba22f0, cycle@entry=0x7f1ef834f290) at src/os/unix/ngx_process_cycle.c:243
#12 0x000000000044bef4 in main (argc=, argv=) at src/core/nginx.c:367
(gdb) l

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions