Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#65 xvidcap crashes on ubuntu 6.10

closed-duplicate
None
5
2007-03-05
2007-02-16
The Verb
No

I downloaded the latest .deb package which is the RC1 ..and there appears to be a problem...

If I capture little area (the default area) it runs quite well , but the problem is ....when I enlarge the area that I want to record and and start recording....it also runs well but when I press the stop button to stop the recording it crashes and I don't get the result window ...I tried several times but there seems to be no use and it's the same problem ....

little area == working
larger area != working

It may be worth noting that when it crashes and I go to my home folder , I can see the video file but it's empty and nothing is really recorded to it.

My system specs are:

Pentium III 800 MHz
256 RAM

what's the solution ?
and thanks in advance

The Verb

Discussion

1 2 3 > >> (Page 1 of 3)
  • The Verb
    The Verb
    2007-02-16

    • assigned_to: nobody --> charly4711
     
  • Logged In: YES
    user_id=782084
    Originator: NO

    Hmm, considering that (before xdamage) I could not capture 800x600 on my P4 3Ghz 1GB RAM laptop, your machine may prove to be somewhat underpowered. But, let's try to understand the situation better first:
    - how large is your large area?
    - what are your settings? (format, codec, fps etc.)
    - what's your window manager? (compiz, beryl, metacity, kde one)
    - what message are you seeing on crash when you start xvidcap from a terminal?

     
  • The Verb
    The Verb
    2007-02-17

    Logged In: YES
    user_id=1721152
    Originator: YES

    OK

    1- it's almost the half of the screen.

    2-They are all set on the default settings....I have never changed anything.

    3-It's metacity.

    4-From the Terminal it says: "Segmentation fault (core dumped)"

    And sometimes I also get a GUI bug report saying " Sorry,the program xvidcap closed unexpectedly"

    but I'll tell you something....I tried a lot of screen recording program for Linux ..but in fact this xvidcap really rocks...If only this bug disappears.

    Thanks Charly for responding quickly and for this great program.
    Keep up the good work ^_-

    The Verb

     
  • Logged In: YES
    user_id=782084
    Originator: NO

    blimey bert, look what I've copped ... a seg-a-fault ...
    anyway:
    1) "almost the half of the screen" would help more, if I knew how large your entire screen is (and that in pixels, not inch, please ;) )
    2) do this:
    - open terminal
    - ulimit -c unlimited
    - xvidcap
    - make it crash
    - find the core dump
    - gdb <absolute-filename-of-xvidcap-binary> <corefilename>
    - type "bt" and hit enter
    - info threads
    - post the output of each here

    TIA,
    Karl.

     
    • status: open --> open-accepted
     
  • The Verb
    The Verb
    2007-02-17

    Logged In: YES
    user_id=1721152
    Originator: YES

    For the First:

    (gdb) bt
    #0 0xb77255d7 in pthread_join () from /lib/tls/i686/cmov/libpthread.so.0
    #1 0x080742ce in xvc_ffmpeg_clean ()
    #2 0x0805ff66 in xvc_appdata_set_defaults ()
    #3 0x08065c24 in do_record_thread ()
    #4 0xb7724504 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
    #5 0xb75e751e in clone () from /lib/tls/i686/cmov/libc.so.6

    For the Second:

    (gdb) info threads
    3 process 4897 0xffffe410 in __kernel_vsyscall ()
    2 process 4905 0xb3e715a0 in _Unwind_FindEnclosingFunction () from /lib/libgcc_s.so.1
    * 1 process 4904 0xb77255d7 in pthread_join () from /lib/tls/i686/cmov/libpthread.so.0

    Thanks,

    The Verb

     
  • Logged In: YES
    user_id=782084
    Originator: NO

    from the backtrace I would guess that the crash happens on pressing stop or when the capture stops through some other means (--time, --frames).
    This looks very much like a duplicate of bug # 1656983 .
    To try the fix, you would need to take the source tarball and replace the original file with the one attached to the other bug.
    Please try and let me know of your results.

     
  • The Verb
    The Verb
    2007-02-17

    Logged In: YES
    user_id=1721152
    Originator: YES

    You mean bug No. 1656899 ?
    I couldn't find a bug with an ID of 1656983

     
  • The Verb
    The Verb
    2007-02-17

    Logged In: YES
    user_id=1721152
    Originator: YES

    Also....I am new to ubuntu and linux in general ...I don't want to do things I can't undo because I don't know much about them ...could you please explain the steps more clearly? I would appreciate it.

     
  • Logged In: YES
    user_id=782084
    Originator: NO

    there is a bug # 1656983 ... just make sure your filter does not only show open bugs. That one's marked pending.
    What you should do is:
    - dl the tarball (tar.gz source for 1.1.5rc1)
    - extract the tarball somewhere (like: cd ; tar xvzf xvidcap-....tar.gz )
    - dl the file xtoffmpeg.c attached to the other bug
    - put the file to <extracted-xvidcap-src>/src/xtoffmpeg.c
    - cd <extracted-xvidcap-src>
    - ./configure --prefix=<your-home-dir>/xvidcap (then wait)
    - make
    - make install
    - ${HOME}/xvidcap/bin/xvidcap

    You might want to get somebody who's compiled a program before to assist you, though.

     
1 2 3 > >> (Page 1 of 3)