[haiku-bugs] Re: [Haiku] #10774: Debugger crashes while debugging a Qt app

  • From: "waddlesplash" <trac@xxxxxxxxxxxx>
  • Date: Wed, 23 Apr 2014 03:28:10 -0000

#10774: Debugger crashes while debugging a Qt app
-------------------------------------+----------------------------
   Reporter:  waddlesplash           |      Owner:  anevilyak
       Type:  bug                    |     Status:  new
   Priority:  normal                 |  Milestone:  R1
  Component:  Applications/Debugger  |    Version:  R1/Development
 Resolution:                         |   Keywords:
 Blocked By:                         |   Blocking:
Has a Patch:  0                      |   Platform:  All
-------------------------------------+----------------------------

Comment (by waddlesplash):

 Replying to [comment:1 anevilyak]:
 > Is the crash consistently in the same location? At a glance, the
 backtrace indicates possible heap corruption, where the crashing code is
 more typically the victim, and as such not so helpful at tracking down the
 cause. It'd be potentially interesting to see the resulting crash report
 if Debugger is started with {{{ LD_PRELOAD=libroot_debug.so }}}.

 No. It happens after having the debugger attached to the process for any
 significant length of time (~10-15s). It doesn't matter if the app was
 already running or if it was launched with the debugger.

 > Otherwise, I also note that your VM is getting relatively near to using
 all of its memory, with >1GB of heap in the Debugger team itself, so it
 may simply be running out of memory, which isn't necessarily handled
 gracefully everywhere in the system libraries. As such, it'd also be
 interesting to know if increasing the amount of memory given to the VM
 makes a difference.

 Will try later.

 > On the other hand, another possibility is address space exhaustion, as
 would occur when trying to debug e.g. WebKit on a 32-bit system (it's
 difficult to tell for certain from the given information). If that one's
 the case, then the only real solution would be to use a 64-bit build.

 Nope, not debugging WebKit here -- I'm debugging Qt Designer, which does
 not even link to QtWebKit.

--
Ticket URL: <https://dev.haiku-os.org/ticket/10774#comment:2>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: