Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

SIGQUIT causes redis-server to crash #599

Open
joshuaclayton opened this Issue · 1 comment

2 participants

@joshuaclayton

Hi,

I'm trying to send a quit signal to redis-server (version 2.4.15) running the default configuration and it's causing a crash (OS X pops up the crash report screen). I'm running OS X 10.7 and have installed redis with Homebrew.

Here's the output of the report:

Process:         redis-server [93376]
Path:            /usr/local/Cellar/redis/2.4.15/bin/redis-server
Identifier:      redis-server
Version:         ??? (???)
Code Type:       X86-64 (Native)
Parent Process:  ??? [1]

Date/Time:       2012-07-23 13:30:54.585 -0400
OS Version:      Mac OS X 10.7.4 (11E53)
Report Version:  9

Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Exception Type:  EXC_CRASH (SIGQUIT)
Exception Codes: 0x0000000000000000, 0x0000000000000000

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib          0x00007fff8fc467e6 kevent + 10
1   redis-server                    0x00000001086a6764 aeProcessEvents + 408
2   redis-server                    0x00000001086a69c4 aeMain + 49
3   redis-server                    0x00000001086ab50b main + 576
4   redis-server                    0x00000001086a5c70 start + 52

Thread 1:
0   libsystem_kernel.dylib          0x00007fff8fc45bca __psynch_cvwait + 10
1   libsystem_c.dylib               0x00007fff92151274 _pthread_cond_wait + 840
2   redis-server                    0x00000001086cb70d bioProcessBackgroundJobs + 190
3   libsystem_c.dylib               0x00007fff9214d8bf _pthread_start + 335
4   libsystem_c.dylib               0x00007fff92150b75 thread_start + 13

Thread 2:
0   libsystem_kernel.dylib          0x00007fff8fc45bca __psynch_cvwait + 10
1   libsystem_c.dylib               0x00007fff92151274 _pthread_cond_wait + 840
2   redis-server                    0x00000001086cb70d bioProcessBackgroundJobs + 190
3   libsystem_c.dylib               0x00007fff9214d8bf _pthread_start + 335
4   libsystem_c.dylib               0x00007fff92150b75 thread_start + 13

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000004  rbx: 0x000000010882b7e0  rcx: 0x00007fff682a4438  rdx: 0x0000000000000000
  rdi: 0x0000000000000003  rsi: 0x0000000000000000  rbp: 0x00007fff682a44c0  rsp: 0x00007fff682a4438
   r8: 0x0000000000002800   r9: 0x00007fff682a4488  r10: 0x00000001087a3004  r11: 0xffffff80002da8d0
  r12: 0x0000000000000000  r13: 0x0000000000000000  r14: 0x000000010873d000  r15: 0x00000001087a3000
  rip: 0x00007fff8fc467e6  rfl: 0x0000000000000247  cr2: 0x0000000105699000
Logical CPU: 0

Binary Images:
       0x1086a5000 -        0x1086d9ff7 +redis-server (??? - ???) <A50D36E4-F680-392E-90C5-8CF921BF177E> /usr/local/bin/redis-server
    0x7fff682a5000 -     0x7fff682d9baf  dyld (195.6 - ???) <0CD1B35B-A28F-32DA-B72E-452EAD609613> /usr/lib/dyld
    0x7fff866db000 -     0x7fff866e1ff7  libunwind.dylib (30.0.0 - compatibility 1.0.0) <1E9C6C8C-CBE8-3F4B-A5B5-E03E3AB53231> /usr/lib/system/libunwind.dylib
    0x7fff89cee000 -     0x7fff89d30ff7  libcommonCrypto.dylib (55010.0.0 - compatibility 1.0.0) <BB770C22-8C57-365A-8716-4A3C36AE7BFB> /usr/lib/system/libcommonCrypto.dylib
    0x7fff8a2bc000 -     0x7fff8a2bdfff  libunc.dylib (24.0.0 - compatibility 1.0.0) <337960EE-0A85-3DD0-A760-7134CF4C0AFF> /usr/lib/system/libunc.dylib
    0x7fff8ad10000 -     0x7fff8ad1aff7  liblaunch.dylib (392.38.0 - compatibility 1.0.0) <6ECB7F19-B384-32C1-8652-2463C1CF4815> /usr/lib/system/liblaunch.dylib
    0x7fff8ad45000 -     0x7fff8ad47fff  libquarantine.dylib (36.6.0 - compatibility 1.0.0) <0EBF714B-4B69-3E1F-9A7D-6BBC2AACB310> /usr/lib/system/libquarantine.dylib
    0x7fff8bfb5000 -     0x7fff8bfe2fe7  libSystem.B.dylib (159.1.0 - compatibility 1.0.0) <095FDD3C-3961-3865-A59B-A5B0A4B8B923> /usr/lib/libSystem.B.dylib
    0x7fff8bfe3000 -     0x7fff8bfe8ff7  libsystem_network.dylib (??? - ???) <5DE7024E-1D2D-34A2-80F4-08326331A75B> /usr/lib/system/libsystem_network.dylib
    0x7fff8c1fe000 -     0x7fff8c205fff  libcopyfile.dylib (85.1.0 - compatibility 1.0.0) <0AB51EE2-E914-358C-AC19-47BC024BDAE7> /usr/lib/system/libcopyfile.dylib
    0x7fff8d0ac000 -     0x7fff8d0bafff  libdispatch.dylib (187.9.0 - compatibility 1.0.0) <1D5BE322-A9B9-3BCE-8FAC-076FB07CF54A> /usr/lib/system/libdispatch.dylib
    0x7fff8d4e9000 -     0x7fff8d4eafff  libdnsinfo.dylib (395.11.0 - compatibility 1.0.0) <853BAAA5-270F-3FDC-B025-D448DB72E1C3> /usr/lib/system/libdnsinfo.dylib
    0x7fff8d976000 -     0x7fff8d976fff  libkeymgr.dylib (23.0.0 - compatibility 1.0.0) <61EFED6A-A407-301E-B454-CD18314F0075> /usr/lib/system/libkeymgr.dylib
    0x7fff8dd5d000 -     0x7fff8dd5eff7  libremovefile.dylib (21.1.0 - compatibility 1.0.0) <739E6C83-AA52-3C6C-A680-B37FE2888A04> /usr/lib/system/libremovefile.dylib
    0x7fff8dd5f000 -     0x7fff8dd64fff  libcache.dylib (47.0.0 - compatibility 1.0.0) <1571C3AB-BCB2-38CD-B3B2-C5FC3F927C6A> /usr/lib/system/libcache.dylib
    0x7fff8dece000 -     0x7fff8ded2fff  libmathCommon.A.dylib (2026.0.0 - compatibility 1.0.0) <FF83AFF7-42B2-306E-90AF-D539C51A4542> /usr/lib/system/libmathCommon.A.dylib
    0x7fff8ecc3000 -     0x7fff8ecfefff  libsystem_info.dylib (??? - ???) <35F90252-2AE1-32C5-8D34-782C614D9639> /usr/lib/system/libsystem_info.dylib
    0x7fff8fc2f000 -     0x7fff8fc4ffff  libsystem_kernel.dylib (1699.26.8 - compatibility 1.0.0) <1DDC0B0F-DB2A-34D6-895D-E5B2B5618946> /usr/lib/system/libsystem_kernel.dylib
    0x7fff90235000 -     0x7fff90236ff7  libsystem_sandbox.dylib (??? - ???) <96D38E74-F18F-3CCB-A20B-E8E3ADC4E166> /usr/lib/system/libsystem_sandbox.dylib
    0x7fff91cc3000 -     0x7fff91cc9fff  libmacho.dylib (800.0.0 - compatibility 1.0.0) <165514D7-1BFA-38EF-A151-676DCD21FB64> /usr/lib/system/libmacho.dylib
    0x7fff91cca000 -     0x7fff91ccffff  libcompiler_rt.dylib (6.0.0 - compatibility 1.0.0) <98ECD5F6-E85C-32A5-98CD-8911230CB66A> /usr/lib/system/libcompiler_rt.dylib
    0x7fff91cf1000 -     0x7fff91cf9fff  libsystem_dnssd.dylib (??? - ???) <D9BB1F87-A42B-3CBC-9DC2-FC07FCEF0016> /usr/lib/system/libsystem_dnssd.dylib
    0x7fff91d86000 -     0x7fff91d8afff  libdyld.dylib (195.5.0 - compatibility 1.0.0) <380C3F44-0CA7-3514-8080-46D1C9DF4FCD> /usr/lib/system/libdyld.dylib
    0x7fff91d8b000 -     0x7fff91d94ff7  libsystem_notify.dylib (80.1.0 - compatibility 1.0.0) <A4D651E3-D1C6-3934-AD49-7A104FD14596> /usr/lib/system/libsystem_notify.dylib
    0x7fff9206d000 -     0x7fff9206eff7  libsystem_blocks.dylib (53.0.0 - compatibility 1.0.0) <8BCA214A-8992-34B2-A8B9-B74DEACA1869> /usr/lib/system/libsystem_blocks.dylib
    0x7fff920ff000 -     0x7fff921dcfef  libsystem_c.dylib (763.13.0 - compatibility 1.0.0) <41B43515-2806-3FBC-ACF1-A16F35B7E290> /usr/lib/system/libsystem_c.dylib
    0x7fff92794000 -     0x7fff927b1fff  libxpc.dylib (77.19.0 - compatibility 1.0.0) <9F57891B-D7EF-3050-BEDD-21E7C6668248> /usr/lib/system/libxpc.dylib

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 108
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 531342
    thread_create: 1
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=50.6M resident=22.9M(45%) swapped_out_or_unallocated=27.7M(55%)
Writable regions: Total=57.2M written=820K(1%) resident=880K(2%) swapped_out=0K(0%) unallocated=56.4M(98%)

REGION TYPE                      VIRTUAL
===========                      =======
MALLOC                             40.9M
MALLOC guard page                    16K
STACK GUARD                        56.0M
Stack                              16.0M
VM_ALLOCATE                           4K
__DATA                              548K
__LINKEDIT                         47.9M
__TEXT                             2692K
shared memory                        12K
===========                      =======
TOTAL                             164.1M

I've run FLUSHALL to clear out my data, as well as uninstalling and reinstalling (I'm using Homebrew and updated it to the latest formulae this morning). I've reproduced the crash inside and outside of tmux, using both zsh and bash. Any insight about where to look or what I could try next would be really helpful. If you need any more information about my system, let me know.

@jokea

"On POSIX-compliant platforms, SIGQUIT is the signal sent to a process by its controlling terminal when the user requests that the process perform a core dump."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.