iphone - What does the following error mean? -


program received signal:  “exc_bad_access”. [switching process 388] kill error while killing target (killing anyway): warning: error on line 2179 of "/sourcecache/gdb/gdb-1472/src/gdb/macosx/macosx-nat-inferior.c" in function "macosx_kill_inferior_safe": (os/kern) failure (0x5x) quit  debugger has exited status 0.(gdb)  

program received signal: “exc_bad_access”. [switching process 388] kill error while killing target (killing anyway): warning: error on line 2179 of "/sourcecache/gdb/gdb-1472/src/gdb/macosx/macosx-nat-inferior.c" in function "macosx_kill_inferior_safe": (os/kern) failure (0x5x) quit

note error is; gdb has crashed. potentially due crash in application, particular messages not useful debugging real problem.

and, more not, actual crash has nothing over-release of object. maybe so, not.

typically, when gdb crashes in fashion, because trashed heap or stack in fashion gdb trips on corruption trying figure out going on. or app has entered state gdb can no longer communicate (which might case here given crash location).

in case, things try:

  • using latest dev tools? if not, , rebuild app clean, too.

  • can crash reproduced on simulator , device? if so, can debugged on 1 not other?

  • if run app without debugger, can crash , extract crash log device?

  • does behavior change between debug , non-debug builds? can impact memory corruption.

  • did start happening? if so, did change recently?

thought of trick;

  • try setting mallocscribble environment variable. scribble values memory upon allocation/deallocation , can often, @ least, cause memory corruption related crasher crash earlier or different enough catch it.

Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -