This does not only affect asterisk. Also other programs with handcrafted DATA_B3_REQ crash on amd64. My workaround was a little bit different to indicate an unsigned value to gcc-4.4.1
#define CAPIMSG_U32(m, off) ((_cdword) (m[off]|(m[(off)+1]<<8)|(m[(off)+2]<<16)|(m[(off)+3]<<24))) This seems to be compiler dependent. It does not occurr with gcc-4.8.1. Of course fixing #420918 would make this bug obsolete. ** Attachment added: "Simple bug demonstration" https://bugs.launchpad.net/ubuntu/+source/isdnutils/+bug/522699/+attachment/3916676/+files/printerror.c -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/522699 Title: asterisk 1.6 crash at incoming isdn call on 64 bit system To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/isdnutils/+bug/522699/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs