Bug#647992: same bug on chromium 14 backport on squeeze

Vincent Bernat bernat at debian.org
Thu Nov 10 22:27:14 UTC 2011


OoO La  nuit ayant déjà recouvert  d'encre ce jour du  jeudi 10 novembre
2011, vers 23:17, je disais:

> This thread contains some interesting stuff.  There seems to be a lot of
> way to debug Chromium. --wait-for-debugger-children=render does not seem
> to work. --wait-for-debugger only waits  a debugger for the browser, not
> for  the renderer.  Moreover, the  documentation  says it  will wait  60
> seconds. This is not true on Linux. It waits for a USR1 signal.

> `chromium --renderer-startup-dialog  --allow-sandbox-debugging` seems to
> give some interesting results. We don't  have a dialog box and the given
> PID  is not really  a PID  but it  is possible  to find  the appropriate
> processes  with `ps`  and  attach to  them  with gdb.  Then, unpause  by
> sending a USR1 signal and you can start to debug.

> Unfortunately,  in my  case, I  get a  lot of  `Program  received signal
> SIGTRAP, Trace/breakpoint trap.`.  If I try to ignore  them with `handle
> SIGTRAP nostop  noprint`, it seems to  loop forever. I am  never able to
> get back into the renderer code.

> Maybe someone  more experienced with  debugging C++ code could  take the
> lead from here?

I have tried a second time and got more luck. Now I am able to step into
RendererMain() until the following code:

#if defined(OS_POSIX) && !defined(OS_MACOSX)
    RenderProcessImpl render_process;
    render_process.set_main_thread(new RenderThread());
#endif

Here, I am greeted with:
  waiting for new child: No child processes.

Dunno what to do.
-- 
Vincent Bernat ☯ http://vincent.bernat.im

Replace repetitive expressions by calls to a common function.
            - The Elements of Programming Style (Kernighan & Plauger)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20111110/e37da153/attachment.pgp>


More information about the Pkg-games-devel mailing list