Insync 3.8.4.50481 segfault on RHEL 9.1

Hello,

I’m trying to use insync on a RHEL 9.1 machine, but I’m getting a segfault and core dump on start.

I’ve tried insync RPMs for a few different Fedora versions, fc33 - fc36, and they all fail to start. I’ve seen other threads where people have had problems with Wayland on RHEL 9, but I’m running X11.

Here’s what happens:

$ insync start --debug 9 --no-daemon                                                                                                                                                                 
Segmentation fault (core dumped)

Here is information about the core dump from coredumpctl:

$ coredumpctl debug                                                                                                                                                                                  
           PID: 889673 (insync)                     
           UID: 1000 (username)                         
           GID: 1000 (username)                                                                              
        Signal: 11 (SEGV)                     
     Timestamp: Mon 2023-01-16 10:41:54 CST (4s ago)      
  Command Line: /usr/lib/insync/insync start --debug 9 --no-daemon             
    Executable: /usr/lib/insync/insync              
 Control Group: /user.slice/user-1000.slice/user@1000.service/app.slice/app-org.gnome.Terminal.slice/vte-spawn-0d4574fa-8be2-4d25-ba07-98c03bb3f6e1.scope                                                          
          Unit: user@1000.service                                                                                                                                                                                  
     User Unit: vte-spawn-0d4574fa-8be2-4d25-ba07-98c03bb3f6e1.scope                                                                                                                                               
         Slice: user-1000.slice                                                                                                                                                                                    
     Owner UID: 1000 (username)                                                                                                                                                                                        
       Boot ID: 324b223d966545e4ad1d5b57c8409793                                                                                                                                                                   
    Machine ID: afcbfcf67e294ecca50b5d4f0dc93f2f
      Hostname: hostname
       Storage: /var/lib/systemd/coredump/core.insync.1000.324b223d966545e4ad1d5b57c8409793.889673.1673887314000000.zst (present)
     Disk Size: 29.4K
       Message: Process 889673 (insync) of user 1000 dumped core.
                 
                Module linux-vdso.so.1 with build-id 41ada1ba656c6fd3ad2afaac7d5798df7e29138b
                Module ld-linux-x86-64.so.2 with build-id df9c6b298bf5e3c1d0eb6a0911f3f561908a704d
                Module libc.so.6 with build-id b439a356c78dfa4bd24c75a16f564540db2a30ad
                Module libpthread.so.0 with build-id e5bba712202b322f3d81ee39bb83af63a9b14bf9
                Module libz.so.1 with build-id f3d999799f183753842b16d4b510e983a1aba620
                Module libdl.so.2 with build-id 2da844464181264507602b119382ff73db5104d8
                Module insync with build-id 24675b0091f38f45c5c1c5484cf24925b439b164
                Stack trace of thread 889673:
                #0  0x00007f398219154c __pthread_kill_implementation (libc.so.6 + 0xa154c)
                #1  0x00007f3982144ce6 raise (libc.so.6 + 0x54ce6)
                #2  0x0000555c5e505213 n/a (insync + 0x6213)
                #3  0x0000555c5e50315d n/a (insync + 0x415d)
                #4  0x00007f398212feb0 __libc_start_call_main (libc.so.6 + 0x3feb0)
                #5  0x00007f398212ff60 __libc_start_main@@GLIBC_2.34 (libc.so.6 + 0x3ff60)
                #6  0x0000555c5e50150a n/a (insync + 0x250a)
                ELF object binary architecture: AMD x86-64

I don’t see a debuginfo RPM for insync, so I can’t provide much more information about the core dump.

Here is some strace leading up to the segfault.

[pid 898510] 12:52:30.159056 futex(0x7ffc208c0638, FUTEX_WAKE_PRIVATE, 1) = 1                                                                                                                                      
[pid 898504] 12:52:30.159065 <... futex resumed>) = 0                                                                                                                                                              [pid 898510] 12:52:30.159068 poll([{fd=5, events=POLLIN}], 1, -1 <unfinished ...>                                                                                                                                  
[pid 898504] 12:52:30.159074 futex(0x5630b5736708, FUTEX_WAKE_PRIVATE, 1) = 0                                                                                                                                      [pid 898504] 12:52:30.159086 poll([{fd=5, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=5, revents=POLLOUT}])
[pid 898504] 12:52:30.159099 writev(5, [{iov_base="\21\0\2\0\306\0\0\0", iov_len=8}], 1) = 8                                                                                                                       [pid 898510] 12:52:30.159113 <... poll resumed>) = 1 ([{fd=5, revents=POLLIN}])                          
[pid 898504] 12:52:30.159118 futex(0x7ffc208c0638, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, NULL, FUTEX_BITSET_MATCH_ANY <unfinished ...>                                                                [pid 898510] 12:52:30.159122 recvmsg(5, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\1\0\333\0\2\0\0\0\5\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., iov_len=4096}], msg_iovlen=1, msg_controllen=0, 
msg_flags=0}, 0) = 40                                                                                                                                                                                              [pid 898510] 12:52:30.159137 futex(0x7ffc208c0638, FUTEX_WAKE_PRIVATE, 1) = 1                            
[pid 898504] 12:52:30.159149 <... futex resumed>) = 0                                                                                                                                                              [pid 898510] 12:52:30.159153 poll([{fd=5, events=POLLIN}], 1, -1 <unfinished ...>                        
[pid 898504] 12:52:30.159158 futex(0x5630b5736708, FUTEX_WAKE_PRIVATE, 1) = 0                                                                                                                                      [pid 898504] 12:52:30.159171 poll([{fd=5, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=5, revents=POLLOUT}])                                                                                                          
[pid 898504] 12:52:30.159184 writev(5, [{iov_base="\21\0\2\0\307\0\0\0", iov_len=8}], 1) = 8                                                                                                                       [pid 898510] 12:52:30.159197 <... poll resumed>) = 1 ([{fd=5, revents=POLLIN}])
[pid 898504] 12:52:30.159202 futex(0x7ffc208c0638, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, NULL, FUTEX_BITSET_MATCH_ANY <unfinished ...>                                                                [pid 898510] 12:52:30.159206 recvmsg(5, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\1\0\334\0\2\0\0\0\5\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., iov_len=4096}], msg_iovlen=1, msg_controllen=0, 
msg_flags=0}, 0) = 40                                                                                                                                                                                              [pid 898510] 12:52:30.159221 futex(0x7ffc208c0638, FUTEX_WAKE_PRIVATE, 1) = 1
[pid 898504] 12:52:30.159229 <... futex resumed>) = 0                                                                                                                                                              [pid 898510] 12:52:30.159233 poll([{fd=5, events=POLLIN}], 1, -1 <unfinished ...>
[pid 898504] 12:52:30.159238 futex(0x5630b5736708, FUTEX_WAKE_PRIVATE, 1) = 0                                                                                                                                      [pid 898504] 12:52:30.159250 poll([{fd=5, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=5, revents=POLLOUT}])
[pid 898504] 12:52:30.159263 writev(5, [{iov_base="\207\10\7\0\0\1@\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", iov_len=28}], 1) = 28                                                                              [pid 898510] 12:52:30.159278 <... poll resumed>) = 1 ([{fd=5, revents=POLLIN}])
[pid 898504] 12:52:30.159282 futex(0x7ffc208c06e8, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, NULL, FUTEX_BITSET_MATCH_ANY <unfinished ...>                                                                [pid 898510] 12:52:30.159287 recvmsg(5, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\1\3\335\0\6\0\0\0\0\0\10\377@\0\0\0\34\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., iov_len=4096}], msg_iovlen=1, msg_controllen=
0, msg_flags=0}, 0) = 56                                                                                                                                                                                           [pid 898510] 12:52:30.159301 futex(0x7ffc208c06e8, FUTEX_WAKE_PRIVATE, 1) = 1
[pid 898504] 12:52:30.159311 <... futex resumed>) = 0                                                                                                                                                              [pid 898510] 12:52:30.159314 poll([{fd=5, events=POLLIN}], 1, -1 <unfinished ...>                                                                                                                                  
[pid 898504] 12:52:30.159319 futex(0x5630b5736708, FUTEX_WAKE_PRIVATE, 1) = 0                                                                                                                                      [pid 898504] 12:52:30.159348 --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x110362830c} ---                                                                                                         
[pid 898510] 12:52:30.159373 <... poll resumed> <unfinished ...>) = ?                                                                                                                                              [pid 898510] 12:52:30.593294 +++ killed by SIGSEGV (core dumped) +++                                                                                                                                               
[pid 898504] 12:52:30.597533 +++ killed by SIGSEGV (core dumped) +++

Any ideas about what might be the problem? Thanks.

@kdknigga Hi! Just wanted to check with you and see if this is a related thread.

I don’t think so. That thread is specific to people using Wayland. I use X11 instead.

@kdknigga I have escalated this to our Linux Team and I’ll get back to you once I know more!

1 Like

I’m getting the same issue. I’ve tried the things mentioned in the previous thread but just get "Segmentation fault (core dumped) message.

Hello! My apologies, RHEL is not an officially supported OS. I’d be happy to raise this as a feature request so we can cater to more OSes for our Linux community. Let me know!

Yes please! If we had RHEL support then it would also give support to all the clones like ALMA and Rocky.

BTW, I tried FC29 and it seems to work just fine in RHEL 9.1. Not sure why FC35 didn’t work. When I get more time I’ll try the tweeners to see how high I can get without the error.

1 Like

I went ahead and tried the versions between 29 and 35 and found that it breaks at fc34. So fc33 seems to be the highest version compatible with RHEL 9.1

2 Likes