#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

  • The Verb

    The Verb - 2007-02-16
    • assigned_to: nobody --> charly4711
     
  • Karl H. Beckers

    Karl H. Beckers - 2007-02-16

    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

     
  • Karl H. Beckers

    Karl H. Beckers - 2007-02-17

    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.

     
  • Karl H. Beckers

    Karl H. Beckers - 2007-02-17
    • 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

     
  • Karl H. Beckers

    Karl H. Beckers - 2007-02-17

    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.

     
  • Karl H. Beckers

    Karl H. Beckers - 2007-02-17

    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.

     
  • The Verb

    The Verb - 2007-02-17

    Logged In: YES
    user_id=1721152
    Originator: YES

    I've done everything as stated but when I enter make it says that there's no make file
    why wasn't it generated?

     
  • The Verb

    The Verb - 2007-02-17

    Logged In: YES
    user_id=1721152
    Originator: YES

    It says: "make: *** No targets specified and no makefile found. Stop."

    I'm sorry for going off topic ...but I need to get this bug fixed.

     
  • Karl H. Beckers

    Karl H. Beckers - 2007-02-17

    Logged In: YES
    user_id=782084
    Originator: NO

    very probably because when you ran configure, that did not complete successfully

     
  • The Verb

    The Verb - 2007-02-17

    Logged In: YES
    user_id=1721152
    Originator: YES

    I see......You're right...

    It reports:

    No package 'gtk+-2.0' found
    No package 'libglade-2.0' found
    No package 'glib-2.0' found
    No package 'gthread-2.0' found

    How to get these packages ?

     
  • Karl H. Beckers

    Karl H. Beckers - 2007-02-18

    Logged In: YES
    user_id=782084
    Originator: NO

    do:
    apt-get install libgtk2.0-dev libgtk2.0-0 libglade2-dev libglade2-0 libglib2.0-dev libglib2.0-0 liblame-dev liblame0
    HTH,
    Karl

     
  • The Verb

    The Verb - 2007-02-18

    Logged In: YES
    user_id=1721152
    Originator: YES

    Sorry Karl , I can't go on....I installed the packages and (probably) compiled the src but I got hundreds of warnings ...I waited until it finished but no use....
    I know it's not your fault ( it's mine acutally...because I don't have what it takes to build a prog from the src)
    but I don't want to annoy you with my questions...this would be extremely off-topic

    So ...what I really hope is that I can use the final release without this bug...

    Thanks for everything and I appreciate your dedication
    Good Luck

    The Verb

     
  • The Verb

    The Verb - 2007-02-23

    Logged In: YES
    user_id=1721152
    Originator: YES

    After replacing the binary it outputs this in the terminal:

    (xvidcap:5653): libglade-WARNING **: could not find glade file '/home/kb87850/xvidcap/share/xvidcap/glade/gnome-xvidcap.glade'

    ** ERROR **: file gnome_ui.c: line 1432 (xvc_ui_create): assertion failed: (xml)
    aborting...
    Aborted (core dumped)

     
  • Karl H. Beckers

    Karl H. Beckers - 2007-02-23

    Logged In: YES
    user_id=782084
    Originator: NO

    aahh, that was a minor lapse while compiling here .... try again

     
  • Karl H. Beckers

    Karl H. Beckers - 2007-02-24

    Logged In: YES
    user_id=782084
    Originator: NO

    grmbl ... this one's still broken ... will post again when fixed.

     
  • Karl H. Beckers

    Karl H. Beckers - 2007-02-24

    Logged In: YES
    user_id=782084
    Originator: NO

    this time it should work ... same URL

     
  • The Verb

    The Verb - 2007-02-25

    Logged In: YES
    user_id=1721152
    Originator: YES

    Hey Congrats ...It works like a dream :)
    It also works on the beta version of ubuntu 7.4
    but I only achieve 2 to 4 frames per second when quality is set on 25% and the low resolution with little area ( in pixels ;) ) and when the recording is played it seems significantly faster than real time
    I am sure all of the above happens because of my machine's low specs ....but anyway , good hacking :)

    Thanks
    The Verb

     
  • Karl H. Beckers

    Karl H. Beckers - 2007-03-05

    Logged In: YES
    user_id=782084
    Originator: NO

    (closing, confirmed as duplicate of bug # 1656983)

     
  • Karl H. Beckers

    Karl H. Beckers - 2007-03-05
    • status: open-accepted --> closed-duplicate
     

Log in to post a comment.