Your message dated Sat, 28 Dec 2024 03:35:09 +0000
with message-id <[email protected]>
and subject line Bug#1090783: Removed package(s) from unstable
has caused the Debian Bug report #742403,
regarding bird: Hangs upon startup, at least on armel
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
742403: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=742403
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: bird
Version: 1.3.7-1
Severity: important
Tags: patch

Hello,

Installing bird 1.3.7-1 (wheezy aka stable) on a DockStar (CPU ARM5TE,
Debian architecture armel) led to a hang: The bird process ran into an
endless loop, eating 100% CPU. Before detaching, so bird.postinst was
stuck.

This exists in wheezy (1.3.7-1) only, squeeze, wheezy-backports and
jessie are fine.

Reverse-bisecting led to

efd6d12b975441c7e1875a59dd9e0f3db7e958cb is the first bad commit
commit efd6d12b975441c7e1875a59dd9e0f3db7e958cb
Author: Ondrej Zajicek <[email protected]>
Date:   Wed Apr 17 15:09:50 2013 +0200

    Adds two new default GCC options.

    Adds two new default GCC options related to optimizations
    (-fno-strict-aliasing and -fno-strict-overflow). This
    should fix some hyperaggressive GCC optimizations.

    Also updates autoconf option detection.

but simply adding that one to the patch queue does not alter the
compile options actually used, therefore a bird executable from
a newly built Debian package still shows the problem.


The patch below adds a memory barrier to the place where the optimizer
goes wild, and solves the issue. This was found by coincidence when
using debug print statements. This code path is rarely used so the
performance penalty should be impossible to notice.

Let me know if you're interested in fixing this via a point release,
I'll do more tests then. For the time being and/or for other people
affected by this: Patch your package and give feedback, or use the
wheezy-backports version of bird.

    Christoph


--- a/nest/iface.c
+++ b/nest/iface.c
@@ -478,6 +478,7 @@
     {
       a->flags |= IA_PRIMARY;
       rem_node(&a->n);
+      asm volatile("": : :"memory");
       add_head(&i->addrs, &a->n);
     }


-- System Information:
Debian Release: 7.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: armel (armv5tel)

Kernel: Linux 3.10.33
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages bird depends on:
ii  libc6         2.13-38+deb7u1
ii  libncurses5   5.9-10
ii  libreadline6  6.2+dfsg-0.1+~jj1
ii  libtinfo5     5.9-10

Versions of packages bird recommends:
pn  bird6  <none>

bird suggests no packages.

-- no debconf information

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Version: 1.6.8-2.1+rm

Dear submitter,

as the package bird has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1090783

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].

Debian distribution maintenance software
pp.
Paul Richards Tagliamonte (the ftpmaster behind the curtain)

--- End Message ---

Reply via email to