Menu

#159 Crash on Open File or recover file

open
Salsaman
unknown (12)
8
2012-09-15
2011-03-03
Doug Webb
No

Hi Gabriel,

Here is the output, which doesn't tell you much. Tell me exactly what to do to produce some useful output for you. I'm using Ubuntu 10.10 amd64.

doug@doug-desktop:~$ lives

LiVES 1.4.1
Copyright 2002-2010 Gabriel Finch (salsaman@xs4all.nl) and others.
LiVES comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details.

Unfortunately LiVES crashed.
Please report this bug at http://sourceforge.net/tracker/?group_id=64341&atid=507139
Thanks. Recovery should be possible if you restart LiVES.

When reporting crashes, please include details of your operating system, distribution, and the LiVES version (1.4.1)
Please try running LiVES with the -debug option to collect more information.

doug@doug-desktop:~$

Discussion

  • Salsaman

    Salsaman - 2011-03-03

    Please run lives with the -debug option. Then when it crashes, type "bt" to get a backtrace.

     
  • Doug Webb

    Doug Webb - 2011-03-03

    Running with -debug option it crashes and goes back to the command prompt so bt does nothing. Oddly running lives in gdb works fine. Files lives loaded under gdb are corrupt when loaded normally. If I rerun lives under gdb the files that were just corrupt load correctly. Without gdb the first frame is corrupt, with gdb it's fine. I get the same result with File Open and File Open Selection.

     
  • Salsaman

    Salsaman - 2011-03-03

    That is strange. I've not changed anything to do with file opening for a long time (several months at least).
    Certainly nothing was changed in the last release.

    A couple of things you can try:

    • start lives with: lives -nothreaddialog
      also does it make a difference if you switch between jpeg and png image formats in Preferences/Decoding ?
     
  • Doug Webb

    Doug Webb - 2011-03-14

    I switched to .mjpeg and got a little farther before it died. I had been playing with some outside video libraries so I thought that might be why my system appears broken. I rebooted to an install disk and cleaned all the configuration files from my home directory and reformatted my / partition so I have a clean install. I'm using ubuntu 10.10 amd64. The packaged version from Synaptic Package Manager runs fine and the compiled version runs fine under gdb but by itself it gives the following.

    doug@doug-desktop:~$ lives

    LiVES 1.4.1
    Copyright 2002-2010 Gabriel Finch (salsaman@xs4all.nl) and others.
    LiVES comes with ABSOLUTELY NO WARRANTY
    This is free software, and you are welcome to redistribute it
    under certain conditions; see the file COPYING for details.

    *** glibc detected *** lives: munmap_chunk(): invalid pointer: 0x0000000002956860 ***
    ======= Backtrace: =========
    /lib/libc.so.6(+0x774b6)[0x7f0b89dc84b6]
    /usr/lib/libgdk_pixbuf-2.0.so.0(+0x56e7)[0x7f0b8d2386e7]
    /usr/lib/libgobject-2.0.so.0(g_object_unref+0x174)[0x7f0b8c410e14]
    /usr/lib/libgtk-x11-2.0.so.0(+0x11644d)[0x7f0b8e17444d]
    /usr/lib/libgtk-x11-2.0.so.0(gtk_image_clear+0x20)[0x7f0b8e174590]
    /usr/lib/libgtk-x11-2.0.so.0(gtk_image_set_from_pixbuf+0xba)[0x7f0b8e1751fa]
    lives[0x416cc0]
    lives[0x417058]
    lives[0x41c01d]
    lives[0x4f1195]
    lives[0x4b409c]
    lives[0x42331b]
    /lib/libglib-2.0.so.0(g_main_context_dispatch+0x1f2)[0x7f0b8bd55342]
    /lib/libglib-2.0.so.0(+0x442a8)[0x7f0b8bd592a8]
    /lib/libglib-2.0.so.0(g_main_loop_run+0x195)[0x7f0b8bd597b5]
    /usr/lib/libgtk-x11-2.0.so.0(gtk_main+0xa7)[0x7f0b8e1923e7]
    lives[0x41f621]
    /lib/libc.so.6(__libc_start_main+0xfe)[0x7f0b89d6fd8e]
    lives[0x413329]
    ======= Memory map: ========
    00400000-005a0000 r-xp 00000000 08:01 19715 /usr/bin/lives-exe
    007a0000-007a1000 r--p 001a0000 08:01 19715 /usr/bin/lives-exe
    007a1000-007a3000 rw-p 001a1000 08:01 19715 /usr/bin/lives-exe
    007a3000-00e77000 rw-p 00000000 00:00 0
    01d91000-02a22000 rw-p 00000000 00:00 0 [heap]
    7f0b6c000000-7f0b6c021000 rw-p 00000000 00:00 0
    7f0b6c021000-7f0b70000000 ---p 00000000 00:00 0
    7f0b732b3000-7f0b732d6000 r-xp 00000000 08:01 3416 /usr/lib/libjpeg.so.62.0.0
    7f0b732d6000-7f0b734d5000 ---p 00023000 08:01 3416 /usr/lib/libjpeg.so.62.0.0
    7f0b734d5000-7f0b734d6000 r--p 00022000 08:01 3416 /usr/lib/libjpeg.so.62.0.0
    7f0b734d6000-7f0b734d7000 rw-p 00023000 08:01 3416 /usr/lib/libjpeg.so.62.0.0
    7f0b734d7000-7f0b734db000 r-xp 00000000 08:01 6409 /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-jpeg.so
    7f0b734db000-7f0b736da000 ---p 00004000 08:01 6409 /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-jpeg.so
    7f0b736da000-7f0b736db000 r--p 00003000 08:01 6409 /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-jpeg.so
    7f0b736db000-7f0b736dc000 rw-p 00004000 08:01 6409 /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-jpeg.so
    7f0b736dc000-7f0b736dd000 ---p 00000000 00:00 0
    7f0b736dd000-7f0b73edd000 rw-p 00000000 00:00 0
    7f0b73edd000-7f0b76187000 r--p 00000000 08:01 156417 /usr/share/icons/gnome/icon-theme.cache
    7f0b76187000-7f0b76188000 ---p 00000000 00:00 0
    7f0b76188000-7f0b76988000 rw-p 00000000 00:00 0
    7f0b76988000-7f0b7a989000 rw-s 00000000 00:10 43097 /dev/shm/pulse-shm-1374170808
    7f0b7a989000-7f0b7a98a000 r-xp 00000000 08:01 269714 /usr/lib/nvidia-current/tls/libnvidia-tls.so.260.19.06
    7f0b7a98a000-7f0b7ab8a000 ---p 00001000 08:01 269714 /usr/lib/nvidia-current/tls/libnvidia-tls.so.260.19.06
    7f0b7ab8a000-7f0b7ab8b000 rw-p 00001000 08:01 269714 /usr/lib/nvidia-current/tls/libnvidia-tls.so.260.19.06
    7f0b7ac17000-7f0b7b0f2000 r--p 00000000 08:01 134383 /usr/share/icons/hicolor/icon-theme.cache
    7f0b7b0f2000-7f0b7b102000 rw-p 00000000 00:00 0
    7f0b7b2b2000-7f0b7b2cb000 r--s 00000000 08:01 131186 /usr/share/mime/mime.cache
    7f0b7b2cb000-7f0b7b307000 rw-p 00000000 00:00 0
    7f0b7b307000-7f0b7b343000 r-xp 00000000 08:01 3756 /usr/lib/libvisual-0.4.so.0.0.0
    7f0b7b343000-7f0b7b542000 ---p 0003c000 08:01 3756 /usr/lib/libvisual-0.4.so.0.0.0
    7f0b7b542000-7f0b7b543000 r--p 0003b000 08:01 3756 /usr/lib/libvisual-0.4.so.0.0.0
    7f0b7b543000-7f0b7b544000 rw-p 0003c000 08:01 3756 /usr/lib/libvisual-0.4.so.0.0.0
    7f0b7b544000-7f0b7b54b000 r-xp 00000000 08:01 19892 /usr/lib/lives/plugins/effects/realtime/weed/libvisual/libvis.so
    7f0b7b54b000-7f0b7b74a000 ---p 00007000 08:01 19892 /usr/lib/lives/plugins/effects/realtime/weed/libvisual/libvis.so
    7f0b7b74a000-7f0b7b74b000 r--p 00006000 08:01 19892 /usr/lib/lives/plugins/effects/realtime/weed/libvisual/libvis.so
    7f0b7b74b000-7f0b7b74c000 rw-p 00007000 08:01 19892 /usr/lib/lives/plugins/effects/realtime/weed/libvisual/libvis.so
    7f0b7b74c000-7f0b7b752000 r-xp 00000000 08:01 19889 /usr/lib/lives/plugins/effects/realtime/weed/xeffect.so
    7f0b7b752000-7f0b7b951000 ---p 00006000 08:01 19889 /usr/lib/lives/plugins/effects/realtime/weed/xeffect.so
    7f0b7b951000-7f0b7b952000 r--p 00005000 08:01 19889 /usr/lib/lives/plugins/effects/realtime/weed/xeffect.so
    7f0b7b952000-7f0b7b953000 rw-p 00006000 08:01 19889 /usr/lib/lives/plugins/effects/realtime/weed/xeffect.so
    7f0b7b953000-7f0b7b959000 r-xp 00000000 08:01 19887 /usr/lib/lives/plugins/effects/realtime/weed/warpTV.so
    7f0b7b959000-7f0b7bb58000 ---p 00006000 08:01 19887 /usr/lib/lives/plugins/effects/realtime/weed/warpTV.so
    7f0b7bb58000-7f0b7bb59000 r--p 00005000 08:01 19887 /usr/lib/lives/plugins/effects/realtime/weed/warpTV.so
    7f0b7bb59000-7f0b7bb5a000 rw-p 00006000 08:01 19887 /usr/lib/lives/plugins/effects/realtime/weed/warpTV.so
    7f0b7bb5a000-7f0b7bb60000 r-xp 00000000 08:01 19883 /usr/lib/lives/plugins/effects/realtime/weed/vertigo.so
    7f0b7bb60000-7f0b7bd5f000 ---p 00006000 08:01 19883 /usr/lib/lives/plugins/effects/realtime/weed/vertigo.so
    7f0b7bd5f000-7f0b7bd60000 r--p 00005000 08:01 19883 /usr/lib/lives/plugins/effects/realtime/weed/vertigo.so
    7f0b7bd60000-7f0b7bd61000 rw-p 00006000 08:01 19883 /usr/lib/lives/plugins/effects/realtime/weed/vertigo.so
    Unfortunately LiVES crashed.
    Please report this bug at http://sourceforge.net/tracker/?group_id=64341&atid=507139
    Thanks. Recovery should be possible if you restart LiVES.

    When reporting crashes, please include details of your operating system, distribution, and the LiVES version (1.4.1)
    Please try running LiVES with the -debug option to collect more information.

    Preserving set.
    doug@doug-desktop:~$

     
  • Salsaman

    Salsaman - 2011-03-15

    Looks like some kind of memory error on your system. It is strange to see nvidia-tls in use - this is the nvidia thread library. I have had similar crashes when the graphics card is doing something else (like running a second copy of xwindows) due to instability in the nvidia drivers. Are you doing anything unusual with the graphics card ?

     
  • Nobody/Anonymous

    It's the graphics driver . How do I force lives to use the correct thread library? I don't want to stop using the proprietary driver.

     
  • Salsaman

    Salsaman - 2011-03-16

    No idea. I'm using the nvidia drivers and normally it does not crash for me, except occasionally when I run a second xserver in a framebuffer.

     

Log in to post a comment.