SIGBUS(BUS_ADRALN)无法理解

时间:2016-01-15 04:45:19

标签: ios objective-c uibutton ibaction

我正面临SIGBUS的奇怪问题我试图调试但无法这样做。

当我点击UIButton,即使没有代码,viewController的所有其他控件正常工作时,也会发生这种情况。

我到目前为止调试问题的步骤

  1. 我认为可能存在内存问题,但事实并非如此。

  2. 我在那个函数中注释掉了它甚至存在的代码。

  3. 与视图控制器保留问题无关,因为与其他UIButton相关的其他操作效果很好。

  4. 我将该功能分离到UIButton,仍然点击该崩溃。

  5. 发生在发布模式而非调试模式。

  6. 以下是崩溃日志:

    Exception Type:  EXC_CRASH (SIGBUS)
    Exception Codes: 0x0000000000000000, 0x0000000000000000
    Exception Note:  EXC_CORPSE_NOTIFY
    Triggered by Thread:  0
    
    Filtered syslog:
    None found
    
    Global Trace Buffer (reverse chronological seconds):
    12.067089    CFNetwork                  0x00000000247ab1a5 TCP Conn 0x1c08f900 complete. fd: 46, err: 0
    12.067751    CFNetwork                  0x00000000247ac2a7 TCP Conn 0x1c08f900 event 1. err: 0
    12.453127    CFNetwork                  0x00000000247ac325 TCP Conn 0x1c08f900 started
    15.122654    CFNetwork                  0x000000002472be45 TCP Conn 0x17e05970 SSL Handshake DONE
    15.644697    CFNetwork                  0x000000002472bd7f TCP Conn 0x17e05970 starting SSL negotiation
    15.645127    CFNetwork                  0x00000000247ab1a5 TCP Conn 0x17e05970 complete. fd: 44, err: 0
    15.646451    CFNetwork                  0x00000000247ac2a7 TCP Conn 0x17e05970 event 1. err: 0
    34.035038    CFNetwork                  0x00000000247ab1a5 TCP Conn 0x17db2ba0 complete. fd: 32, err: 0
    34.036185    CFNetwork                  0x00000000247ac2a7 TCP Conn 0x17db2ba0 event 1. err: 0
    34.365038    CFNetwork                  0x00000000247ac325 TCP Conn 0x17db2ba0 started
    34.684175    CFNetwork                  0x000000002472be45 TCP Conn 0x17e988d0 SSL Handshake DONE
    34.893697    CFNetwork                  0x000000002472be45 TCP Conn 0x17e93b20 SSL Handshake DONE
    34.994917    CFNetwork                  0x000000002472bd7f TCP Conn 0x17e988d0 starting SSL negotiation
    34.995444    CFNetwork                  0x00000000247ab1a5 TCP Conn 0x17e988d0 complete. fd: 29, err: 0
    34.996935    CFNetwork                  0x00000000247ac2a7 TCP Conn 0x17e988d0 event 1. err: 0
    35.065026    CFNetwork                  0x00000000247ab1a5 TCP Conn 0x17da6510 complete. fd: 27, err: 0
    35.066004    CFNetwork                  0x00000000247ac2a7 TCP Conn 0x17da6510 event 1. err: 0
    35.136351    CFNetwork                  0x00000000247ac325 TCP Conn 0x17e988d0 started
    35.157776    CFNetwork                  0x000000002472be45 TCP Conn 0x17e7ab10 SSL Handshake DONE
    35.224726    CFNetwork                  0x000000002472bd7f TCP Conn 0x17e93b20 starting SSL negotiation
    35.225286    CFNetwork                  0x00000000247ab1a5 TCP Conn 0x17e93b20 complete. fd: 19, err: 0
    35.226874    CFNetwork                  0x00000000247ac2a7 TCP Conn 0x17e93b20 event 1. err: 0
    35.421109    CFNetwork                  0x00000000247ac325 TCP Conn 0x17da6510 started
    35.421548    CFNetwork                  0x00000000247ac325 TCP Conn 0x17e93b20 started
    35.632792    CFNetwork                  0x000000002472be45 TCP Conn 0x17e6beb0 SSL Handshake DONE
    35.785237    CFNetwork                  0x000000002472bd7f TCP Conn 0x17e7ab10 starting SSL negotiation
    35.785632    CFNetwork                  0x00000000247ab1a5 TCP Conn 0x17e7ab10 complete. fd: 12, err: 0
    35.785958    CFNetwork                  0x00000000247ac2a7 TCP Conn 0x17e7ab10 event 1. err: 0
    35.830428    CFNetwork                  0x00000000247ab1a5 TCP Conn 0x17d5c550 complete. fd: 25, err: 0
    35.832020    CFNetwork                  0x00000000247ac2a7 TCP Conn 0x17d5c550 event 1. err: 0
    35.995985    CFNetwork                  0x000000002472bd7f TCP Conn 0x17e6beb0 starting SSL negotiation
    35.996763    CFNetwork                  0x00000000247ab1a5 TCP Conn 0x17e6beb0 complete. fd: 15, err: 0
    35.998519    CFNetwork                  0x00000000247ac2a7 TCP Conn 0x17e6beb0 event 1. err: 0
    36.201810    CFNetwork                  0x00000000247ac325 TCP Conn 0x17e6beb0 started`
    

0 个答案:

没有答案