dual screen KDE (Segmentation fault)

  • sxe

    sxe - 2007-08-01


    i'm getting an interesting effect. I used recordemydesktop many times without big problems. Now i got a secound monitor and want to use it to record the screen only on monitor two. This works so far but i get an error alwasy i touch the bottom of the secound monitor. :) Only the bottom of the secound on. Its funny to me and i don't know why this happens.

    It happens with and without gtk-recordmydesktop.

    I starte it like this:
    recordmydesktop -fps 5 -x 1280 -width 1280 -height 1024

    and got this error:

    Buffer size adjusted to 4096 from 4096 frames.
    Opened PCM device hw:0,0
    Recording on device hw:0,0 is set to:
    1 channels at 22050Hz
    Segmentation fault (core dumped)

    thx again


    • John Varouhakis

      John Varouhakis - 2007-08-01

      Well, obviously some value gets out of range, but I've never used a
      dual screen setup myself, so I can't be sure.
      Can you post a backtrace[1] of the crash here?


      P.S. I assume you are using, right?

      [1] run
      ~$ gdb /location/of/recordmydesktop
      (gdb) set args -fps 5 -x 1280 -width 1280 -height 1024
      (gdb) run

      Then make the program crash and type on gdb:
      (gdb) bt

    • sxe

      sxe - 2007-08-02

      Hi John,

      here is the output. I hope thats what you want.


      And  yes, i'm using the newest version I can try a older Version if it helps you?


    • John Varouhakis

      John Varouhakis - 2007-08-02

      >> here is the output. I hope thats what you want.

      Sorry, I forgot to mention that I want this output in a non stripped
      binary. Can you please perform these steps on the directory of
      the source tarball?

      Just download the tarball, unpack and run ./configure && make.
      Then cd to src/ and run
      ~$ gdb ./recordmydesktop
      and then the rest of the steps.

      >> I can try a older Version if it helps you?
      This won't be needed.


    • sxe

      sxe - 2007-08-03

      ok.. here is the output again.


      Thx for help

      • John Varouhakis

        John Varouhakis - 2007-08-03

        Great, I believe it's fixed now. I've replicated it,
        as the bug applies whenever --full-shots is used
        (always with compiz) and the starting x and y isn't 0.

        I've had the same issue in 0.3.5 with regular (non --full-shots)
        captures. It seems I was a bit careless in that release as I
        completely forgot to take offsets into account.

        Anyway, can you get a snapshot from CVS and verify that
        this problem no longer appears?


    • sxe

      sxe - 2007-08-03

      Hey John, you did a great job. :)

      The CVS works perfekt. I tested it on the command line and with gtk-recordmydesktop. No crashes anymore.

      Thx again and keep up the good work.

      If you need a tester in the future send me a message..




Log in to post a comment.