Author Topic: Solved: 2.6.10 1131a23 Crash  (Read 5534 times)

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 6051
Solved: 2.6.10 1131a23 Crash
« on: September 11, 2015, 05:37:55 AM »
Solved:
Quote
Only enable SDL2 on windows, more problems than its worth on linux

display: xvideo(best), no HW Accel, load mpeg-ts and save as MKV:
Info Window:
Code: [Select]
Segfault
at line 0, file ??ADM_backTrack

pthread_mutex_lock
XrmQGetResource
XGetDefault


cairo_surface_get_font_options


cairo_show_glyphs


pango_renderer_draw_glyphs
pango_cairo_show_glyph_string
pango_renderer_draw_glyphs
pango_renderer_draw_layout_line
pango_renderer_draw_layout
gdk_draw_layout_with_colors
gdk_draw_layout

Code: [Select]
*********** BACKTRACK **************
/usr/lib/libADM_core6.so(ADM_backTrack+0x60) [0x7ff3fac94bd0]:0:<ADM_backTrack>:-2
/lib/x86_64-linux-gnu/libc.so.6(+0x36d40) [0x7ff3f6785d40]:1:<>:-2
/lib/x86_64-linux-gnu/libpthread.so.0(pthread_mutex_lock+0x4) [0x7ff3f7d82414]:2:<pthread_mutex_lock>:-2
/usr/lib/x86_64-linux-gnu/libX11.so.6(XrmQGetResource+0x3a) [0x7ff3f35e20da]:3:<XrmQGetResource>:-2
/usr/lib/x86_64-linux-gnu/libX11.so.6(XGetDefault+0xc2) [0x7ff3f35bfa42]:4:<XGetDefault>:-2
/usr/lib/x86_64-linux-gnu/libcairo.so.2(+0x9534f) [0x7ff3e6f8334f]:5:<>:-2
/usr/lib/x86_64-linux-gnu/libcairo.so.2(+0x97690) [0x7ff3e6f85690]:6:<>:-2
/usr/lib/x86_64-linux-gnu/libcairo.so.2(cairo_surface_get_font_options+0x87) [0x7ff3e6f58447]:7:<cairo_surface_get_font_options>:-2
/usr/lib/x86_64-linux-gnu/libcairo.so.2(+0x2b734) [0x7ff3e6f19734]:8:<>:-2
/usr/lib/x86_64-linux-gnu/libcairo.so.2(+0x2f125) [0x7ff3e6f1d125]:9:<>:-2
/usr/lib/x86_64-linux-gnu/libcairo.so.2(cairo_show_glyphs+0x22) [0x7ff3e6f100a2]:10:<cairo_show_glyphs>:-2
/usr/lib/x86_64-linux-gnu/libpangocairo-1.0.so.0(+0x7e43) [0x7ff3e7422e43]:11:<>:-2
/usr/lib/x86_64-linux-gnu/libpangocairo-1.0.so.0(+0x8154) [0x7ff3e7423154]:12:<>:-2
/usr/lib/x86_64-linux-gnu/libpango-1.0.so.0(pango_renderer_draw_glyphs+0x3f) [0x7ff3e6892f0f]:13:<pango_renderer_draw_glyphs>:-2
/usr/lib/x86_64-linux-gnu/libpangocairo-1.0.so.0(pango_cairo_show_glyph_string+0x94) [0x7ff3e74233b4]:14:<pango_cairo_show_glyph_string>:-2
/usr/lib/x86_64-linux-gnu/libpango-1.0.so.0(pango_renderer_draw_glyphs+0x3f) [0x7ff3e6892f0f]:15:<pango_renderer_draw_glyphs>:-2
/usr/lib/x86_64-linux-gnu/libpango-1.0.so.0(pango_renderer_draw_layout_line+0x4a8) [0x7ff3e6893898]:16:<pango_renderer_draw_layout_line>:-2
/usr/lib/x86_64-linux-gnu/libpango-1.0.so.0(pango_renderer_draw_layout+0x115) [0x7ff3e6893bf5]:17:<pango_renderer_draw_layout>:-2
/usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0(gdk_draw_layout_with_colors+0x1e3) [0x7ff3e7653a03]:18:<gdk_draw_layout_with_colors>:-2
/usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0(gdk_draw_layout+0xf7) [0x7ff3e7653c77]:19:<gdk_draw_layout>:-2
*********** BACKTRACK **************





_____________________________________________
Avidemux v2.6.10 (1131a23)
_____________________________________________
Compiler: GCC 4.8.4
cmake: 2.8.12.2
Build Target: Linux (x86-64)
User Interface: Qt (4.8.6)
_____________________________________________
Kernel: Linux 3.13.0-63-generic (x86_64) (linux-image-3.13.0-63-generic   3.13.0-63.103)
Distribution: Linux Ubuntu 14.04.3 LTS (Trusty)

Intel Core i7-3770K @ 3.50GHz (4 Cores/8 Threads) with 32 GB ram

Desktop: Unity 7.2.5
Display Server: X Server 1.15.1
Display Driver: NVIDIA 352.39
OpenGL: 4.3.0


OpenGL Vendor: NVIDIA Corporation
OpenGL Renderer: GeForce GTX 960/PCIe/SSE2 2048MB (1227/3600MHz)
OpenGL: 4.5.0 NVIDIA 352.30


- vdpauinfo:API version: 1   NVIDIA VDPAU Driver Shared Library  352.39
- x264 0.148.2597 e86f3a1
- x265 [info]: HEVC encoder version 1.5+1-32d72a0285e0
_____________________________________________
« Last Edit: September 13, 2015, 09:49:08 AM by Jan Gruuthuse »

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 6051
2.6.10 d8fa922 Crash
« Reply #1 on: September 11, 2015, 09:21:16 AM »
Code: [Select]
Crash

Segfault
at line 0, file ??ADM_backTrack

pthread_mutex_lock
XrmQGetResource
XGetDefault


cairo_surface_get_font_options


cairo_show_glyphs


pango_renderer_draw_glyphs
pango_cairo_show_glyph_string
pango_renderer_draw_glyphs
pango_renderer_draw_layout_line
pango_renderer_draw_layout
gdk_draw_layout_with_colors
gdk_draw_layout

Code: [Select]
*********** BACKTRACK **************
/usr/lib/libADM_core6.so(ADM_backTrack+0x60) [0x7f9db52dfbd0]:0:<ADM_backTrack>:-2
/lib/x86_64-linux-gnu/libc.so.6(+0x36d40) [0x7f9db0dd0d40]:1:<>:-2
/lib/x86_64-linux-gnu/libpthread.so.0(pthread_mutex_lock+0x4) [0x7f9db23cd414]:2:<pthread_mutex_lock>:-2
/usr/lib/x86_64-linux-gnu/libX11.so.6(XrmQGetResource+0x3a) [0x7f9dadc2d0da]:3:<XrmQGetResource>:-2
/usr/lib/x86_64-linux-gnu/libX11.so.6(XGetDefault+0xc2) [0x7f9dadc0aa42]:4:<XGetDefault>:-2
/usr/lib/x86_64-linux-gnu/libcairo.so.2(+0x9534f) [0x7f9da15ce34f]:5:<>:-2
/usr/lib/x86_64-linux-gnu/libcairo.so.2(+0x97690) [0x7f9da15d0690]:6:<>:-2
/usr/lib/x86_64-linux-gnu/libcairo.so.2(cairo_surface_get_font_options+0x87) [0x7f9da15a3447]:7:<cairo_surface_get_font_options>:-2
/usr/lib/x86_64-linux-gnu/libcairo.so.2(+0x2b734) [0x7f9da1564734]:8:<>:-2
/usr/lib/x86_64-linux-gnu/libcairo.so.2(+0x2f125) [0x7f9da1568125]:9:<>:-2
/usr/lib/x86_64-linux-gnu/libcairo.so.2(cairo_show_glyphs+0x22) [0x7f9da155b0a2]:10:<cairo_show_glyphs>:-2
/usr/lib/x86_64-linux-gnu/libpangocairo-1.0.so.0(+0x7e43) [0x7f9da1a6de43]:11:<>:-2
/usr/lib/x86_64-linux-gnu/libpangocairo-1.0.so.0(+0x8154) [0x7f9da1a6e154]:12:<>:-2
/usr/lib/x86_64-linux-gnu/libpango-1.0.so.0(pango_renderer_draw_glyphs+0x3f) [0x7f9da0eddf0f]:13:<pango_renderer_draw_glyphs>:-2
/usr/lib/x86_64-linux-gnu/libpangocairo-1.0.so.0(pango_cairo_show_glyph_string+0x94) [0x7f9da1a6e3b4]:14:<pango_cairo_show_glyph_string>:-2
/usr/lib/x86_64-linux-gnu/libpango-1.0.so.0(pango_renderer_draw_glyphs+0x3f) [0x7f9da0eddf0f]:15:<pango_renderer_draw_glyphs>:-2
/usr/lib/x86_64-linux-gnu/libpango-1.0.so.0(pango_renderer_draw_layout_line+0x4a8) [0x7f9da0ede898]:16:<pango_renderer_draw_layout_line>:-2
/usr/lib/x86_64-linux-gnu/libpango-1.0.so.0(pango_renderer_draw_layout+0x115) [0x7f9da0edebf5]:17:<pango_renderer_draw_layout>:-2
/usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0(gdk_draw_layout_with_colors+0x1e3) [0x7f9da1c9ea03]:18:<gdk_draw_layout_with_colors>:-2
/usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0(gdk_draw_layout+0xf7) [0x7f9da1c9ec77]:19:<gdk_draw_layout>:-2
*********** BACKTRACK **************

mean

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 10974
Re: 2.6.10 1131a23 Crash
« Reply #2 on: September 11, 2015, 10:48:43 AM »
Might be  fixed

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 6051
2.6.10 1131a23 & d8fa922 Crash
« Reply #3 on: September 11, 2015, 02:31:57 PM »
started building
Already build and tested: approx 6 hours ago: d8fa922    [Accel] Change field name to be more verbose + initialize SDL with

Is still the same online:
Code: [Select]
cd ~/avidemux2 && git pullcd ~/avidemux2 && git pull
Quote
Already up-to-date.

Sorry, my second posting was not that obvious.
« Last Edit: September 11, 2015, 02:39:35 PM by Jan Gruuthuse »

mean

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 10974
Re: 2.6.10 1131a23 Crash
« Reply #4 on: September 11, 2015, 03:27:59 PM »
That's weird, it's coming from GDK

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 6051
Re: 2.6.10 1131a23 Crash
« Reply #5 on: September 11, 2015, 04:04:57 PM »
libgdk?gir1.2-gdkpixbuf-2.0?
Code: [Select]
dpkg -l *gdk*
Code: [Select]
un  gir1.0-gdkpixbuf-2.0        <none>             <none>             (no description available)
ii  gir1.2-gdkpixbuf-2.0        2.30.7-0ubuntu1.1  amd64              GDK Pixbuf library - GObject-Introspection
ii  libgdk-pixbuf2.0-0:amd64    2.30.7-0ubuntu1.1  amd64              GDK Pixbuf library
rc  libgdk-pixbuf2.0-0:i386     2.30.7-0ubuntu1    i386               GDK Pixbuf library
ii  libgdk-pixbuf2.0-common     2.30.7-0ubuntu1.1  all                GDK Pixbuf library - data files
ii  libgdk-pixbuf2.0-dev        2.30.7-0ubuntu1.1  amd64              GDK Pixbuf library (development files)

Or more libraries needed? Anything else you need to see?

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 6051
Re: 2.6.10 1131a23 Crash
« Reply #6 on: September 11, 2015, 04:14:25 PM »
GDK: Graphics Developers Kit <> GIMP Drawing Kit conflict?
« Last Edit: September 11, 2015, 04:21:32 PM by Jan Gruuthuse »

mean

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 10974
Re: 2.6.10 1131a23 Crash
« Reply #7 on: September 11, 2015, 04:44:35 PM »
That's weird because it should not be used
Could you get the full backtrack with gdb please ?

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 6051
Re: 2.6.10 1131a23 Crash
« Reply #8 on: September 12, 2015, 07:09:12 AM »
Not certain if this is the same crash? Happens now when opening file

mean

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 10974
Re: 2.6.10 1131a23 Crash
« Reply #9 on: September 12, 2015, 07:42:06 AM »
It is linked to this : QGtkStylePrivate::openFilename
I guess you have a GTK/Qt theme bridge ?

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 6051
Re: 2.6.10 1131a23 Crash
« Reply #10 on: September 12, 2015, 08:07:05 AM »
Unity desktop / with a wallpaper changer: not certain if this is GTK/Qt theme bridge?
update: Found razorqt and un installed

8aab083    [SDL] Brutally exit when SDL is activated on linux to avoid Deadlock …

Code: [Select]
Program received signal SIGABRT, Aborted.
0x00007ffff2083cc9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
« Last Edit: September 12, 2015, 08:14:56 AM by Jan Gruuthuse »

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 6051
Re: 2.6.10 1131a23 Crash
« Reply #11 on: September 12, 2015, 08:30:20 AM »
after uninstall razorqt (don't know/remember where that came from) avidemux is running again as it should.

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 6051
Re: 2.6.10 1131a23 Crash
« Reply #12 on: September 12, 2015, 09:03:35 AM »
I'm not out of the woods yet.
currently avidemux 2.6.10 is only running with gdb. running avidemux directly and the same crash does happen. So rebuilding now.

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 6051
Re: 2.6.10 1131a23 Crash
« Reply #13 on: September 12, 2015, 09:26:45 AM »
As soon as I try to open video file:
Code: [Select]
avidemux3_qt4: ../nptl/pthread_mutex_lock.c:350: __pthread_mutex_lock_full: Assertion `(-(e)) != 3 || !robust' failed.

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 6051
Re: 2.6.10 1131a23 Crash
« Reply #14 on: September 12, 2015, 10:32:36 AM »
Had to remove SDL2 renderer components (libsdl2-dev, libsdl2-2.0-0)