<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Crash in systemd 210 when ssh is disconnected"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=81327">81327</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>systemd-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Crash in systemd 210 when ssh is disconnected
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>systemd-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>critical
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>umut@tezduyar.com
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>general
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>systemd
          </td>
        </tr></table>
      <p>
        <div>
        <pre>We started seeing frequent systemd crashes when ssh connections are closed. We
were able to get a stack trace and the signal number which is SIGSEGV. Stack
trace is telling me some kind of memory problem in systemd.

Systemd version 210.

ssh.service

[Unit]
Description=Per-Connection SSH Daemon
IgnoreOnIsolate=yes
After=sshdgenkeys.service

[Service]
ExecStart=-/usr/sbin/sshd -i
StandardInput=socket
KillMode=process

Stack trace:

#0  0x77f5daf8 in pause () from
target/mipsisa32r2el-axis-linux-gnu/lib/libpthread.so.0
#1  0x0049a480 in freeze () at
/home/antonn/axis/P3367_new/unpacked/apps/systemd-IR210-2/systemd/src/shared/util.c:3440
#2  0x0046fc30 in crash.1636 (sig=<optimized out>) at
/home/antonn/axis/P3367_new/unpacked/apps/systemd-IR210-2/systemd/src/core/main.c:207
#3  <signal handler called>
#4  0x0046ad98 in unit_unwatch_pid (u=0xd44700, pid=21222) at
/home/antonn/axis/P3367_new/unpacked/apps/systemd-IR210-2/systemd/src/core/unit.c:1734
#5  0x004472c4 in invoke_sigchld_event.2765 (m=<optimized out>, u=0xd44700,
si=0x7f9da448) at
/home/antonn/axis/P3367_new/unpacked/apps/systemd-IR210-2/systemd/src/core/manager.c:1429
#6  0x0047265c in manager_dispatch_sigchld.2770 (m=m@entry=0xcbe230) at
/home/antonn/axis/P3367_new/unpacked/apps/systemd-IR210-2/systemd/src/core/manager.c:1477
#7  0x0045990c in manager_dispatch_signal_fd.part.32 (userdata=<optimized out>)
at
/home/antonn/axis/P3367_new/unpacked/apps/systemd-IR210-2/systemd/src/core/manager.c:1723
#8  manager_dispatch_signal_fd.2718 (source=<optimized out>, fd=<optimized
out>, revents=<optimized out>, userdata=0xcbe230)
   at
/home/antonn/axis/P3367_new/unpacked/apps/systemd-IR210-2/systemd/src/core/manager.c:1508
#9  0x0046eb04 in source_dispatch (s=0xcbe770) at
/home/antonn/axis/P3367_new/unpacked/apps/systemd-IR210-2/systemd/src/libsystemd/sd-event/sd-event.c:1861
#10 0x0046f494 in sd_event_run (e=0xcbe4d8, timeout=<optimized out>) at
/home/antonn/axis/P3367_new/unpacked/apps/systemd-IR210-2/systemd/src/libsystemd/sd-event/sd-event.c:2117
#11 0x00407fb4 in manager_loop (m=0xcbe230) at
/home/antonn/axis/P3367_new/unpacked/apps/systemd-IR210-2/systemd/src/core/manager.c:1844
#12 main (argc=1, argv=0x7f9dab74) at
/home/antonn/axis/P3367_new/unpacked/apps/systemd-IR210-2/systemd/src/core/main.c:1704

Please close the bug if this has been fixed in new version of systemds.

Umut</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>