$ gdb --args omxregister-bellagio -v GNU gdb (GDB) 7.6.1-ubuntu Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". For bug reporting instructions, please see: ... Reading symbols from /usr/bin/omxregister-bellagio...Reading symbols from /usr/lib/debug/usr/bin/omxregister-bellagio...done. done. (gdb) run Starting program: /usr/bin/omxregister-bellagio -v warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7ffff7ffa000 [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Scanning directory /usr/lib/libomxil-bellagio0/ Scanning library /usr/lib/libomxil-bellagio0/libomxvideosched.so Component OMX.st.video.scheduler registered with 2 quality levels Specific role OMX.st.video.scheduler registered Scanning library /usr/lib/libomxil-bellagio0/libomx_mesa.so Component OMX.mesa.video_decoder registered with 0 quality levels Specific role OMX.mesa.video_decoder.mpeg2 registered Specific role OMX.mesa.video_decoder.avc registered Component OMX.mesa.video_encoder registered with 0 quality levels Specific role OMX.mesa.video_encoder.avc registered *** Error in `/usr/bin/omxregister-bellagio': munmap_chunk(): invalid pointer: 0x00007ffff6d48dab *** ======= Backtrace: ========= /lib/x86_64-linux-gnu/libc.so.6(+0x7f4c6)[0x7ffff76714c6] /usr/bin/omxregister-bellagio[0x401add] /usr/bin/omxregister-bellagio[0x4011c6] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)[0x7ffff7613de5] /usr/bin/omxregister-bellagio[0x4014f9] ======= Memory map: ======== 00400000-00403000 r-xp 00000000 08:02 411851 /usr/bin/omxregister-bellagio 00603000-00604000 r--p 00003000 08:02 411851 /usr/bin/omxregister-bellagio 00604000-00605000 rw-p 00004000 08:02 411851 /usr/bin/omxregister-bellagio 00605000-00626000 rw-p 00000000 00:00 0 [heap] 7ffff2ef3000-7ffff2f18000 r-xp 00000000 08:02 135457 /lib/x86_64-linux-gnu/libtinfo.so.5.9 7ffff2f18000-7ffff3117000 ---p 00025000 08:02 135457 /lib/x86_64-linux-gnu/libtinfo.so.5.9 7ffff3117000-7ffff311b000 r--p 00024000 08:02 135457 /lib/x86_64-linux-gnu/libtinfo.so.5.9 7ffff311b000-7ffff311c000 rw-p 00028000 08:02 135457 /lib/x86_64-linux-gnu/libtinfo.so.5.9 7ffff311c000-7ffff3123000 r-xp 00000000 08:02 403484 /usr/lib/x86_64-linux-gnu/libffi.so.6.0.1 7ffff3123000-7ffff3322000 ---p 00007000 08:02 403484 /usr/lib/x86_64-linux-gnu/libffi.so.6.0.1 7ffff3322000-7ffff3323000 r--p 00006000 08:02 403484 /usr/lib/x86_64-linux-gnu/libffi.so.6.0.1 7ffff3323000-7ffff3324000 rw-p 00007000 08:02 403484 /usr/lib/x86_64-linux-gnu/libffi.so.6.0.1 7ffff3324000-7ffff3329000 r-xp 00000000 08:02 403247 /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0 7ffff3329000-7ffff3528000 ---p 00005000 08:02 403247 /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0 7ffff3528000-7ffff3529000 r--p 00004000 08:02 403247 /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0 7ffff3529000-7ffff352a000 rw-p 00005000 08:02 403247 /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0 7ffff352a000-7ffff352c000 r-xp 00000000 08:02 403236 /usr/lib/x86_64-linux-gnu/libXau.so.6.0.0 7ffff352c000-7ffff372c000 ---p 00002000 08:02 403236 /usr/lib/x86_64-linux-gnu/libXau.so.6.0.0 7ffff372c000-7ffff372d000 r--p 00002000 08:02 403236 /usr/lib/x86_64-linux-gnu/libXau.so.6.0.0 7ffff372d000-7ffff372e000 rw-p 00003000 08:02 403236 /usr/lib/x86_64-linux-gnu/libXau.so.6.0.0 7ffff372e000-7ffff3743000 r-xp 00000000 08:02 131117 /lib/x86_64-linux-gnu/libgcc_s.so.1 7ffff3743000-7ffff3942000 ---p 00015000 08:02 131117 /lib/x86_64-linux-gnu/libgcc_s.so.1 7ffff3942000-7ffff3943000 r--p 00014000 08:02 131117 /lib/x86_64-linux-gnu/libgcc_s.so.1 7ffff3943000-7ffff3944000 rw-p 00015000 08:02 131117 /lib/x86_64-linux-gnu/libgcc_s.so.1 7ffff3944000-7ffff3a47000 r-xp 00000000 08:02 135367 /lib/x86_64-linux-gnu/libm-2.17.so 7ffff3a47000-7ffff3c46000 ---p 00103000 08:02 135367 /lib/x86_64-linux-gnu/libm-2.17.so 7ffff3c46000-7ffff3c47000 r--p 00102000 08:02 135367 /lib/x86_64-linux-gnu/libm-2.17.so 7ffff3c47000-7ffff3c48000 rw-p 00103000 08:02 135367 /lib/x86_64-linux-gnu/libm-2.17.so 7ffff3c48000-7ffff3d2e000 r-xp 00000000 08:02 421089 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.18 7ffff3d2e000-7ffff3f2d000 ---p 000e6000 08:02 421089 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.18 7ffff3f2d000-7ffff3f35000 r--p 000e5000 08:02 421089 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.18 7ffff3f35000-7ffff3f37000 rw-p 000ed000 08:02 421089 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.18 7ffff3f37000-7ffff3f4c000 rw-p 00000000 00:00 0 7ffff3f4c000-7ffff5748000 r-xp 00000000 08:02 394983 /usr/lib/x86_64-linux-gnu/libLLVM-3.4.so.1 7ffff5748000-7ffff58d6000 r--p 017fb000 08:02 394983 /usr/lib/x86_64-linux-gnu/libLLVM-3.4.so.1 7ffff58d6000-7ffff58d8000 rw-p 01989000 08:02 394983 /usr/lib/x86_64-linux-gnu/libLLVM-3.4.so.1 7ffff58d8000-7ffff58eb000 rw-p 00000000 00:00 0 7ffff58eb000-7ffff58f7000 r-xp 00000000 08:02 395140 /usr/lib/x86_64-linux-gnu/libdrm_radeon.so.1.0.1 7ffff58f7000-7ffff5af6000 ---p 0000c000 08:02 395140 /usr/lib/x86_64-linux-gnu/libdrm_radeon.so.1.0.1 7ffff5af6000-7ffff5af7000 r--p 0000b000 08:02 395140 /usr/lib/x86_64-linux-gnu/libdrm_radeon.so.1.0.1 7ffff5af7000-7ffff5af8000 rw-p 0000c000 08:02 395140 /usr/lib/x86_64-linux-gnu/libdrm_radeon.so.1.0.1 7ffff5af8000-7ffff5b0d000 r-xp 00000000 08:02 397542 /usr/lib/x86_64-linux-gnu/libelf-0.157.so 7ffff5b0d000-7ffff5d0c000 ---p 00015000 08:02 397542 /usr/lib/x86_64-linux-gnu/libelf-0.157.so 7ffff5d0c000-7ffff5d0d000 r--p 00014000 08:02 397542 /usr/lib/x86_64-linux-gnu/libelf-0.157.so 7ffff5d0d000-7ffff5d0e000 rw-p 00015000 08:02 397542 /usr/lib/x86_64-linux-gnu/libelf-0.157.so 7ffff5d0e000-7ffff5d14000 r-xp 00000000 08:02 393866 /usr/lib/x86_64-linux-gnu/libdrm_nouveau.so.2.0.0 7ffff5d14000-7ffff5f13000 ---p 00006000 08:02 393866 /usr/lib/x86_64-linux-gnu/libdrm_nouveau.so.2.0.0 7ffff5f13000-7ffff5f14000 r--p 00005000 08:02 393866 /usr/lib/x86_64-linux-gnu/libdrm_nouveau.so.2.0.0 7ffff5f14000-7ffff5f15000 rw-p 00006000 08:02 393866 /usr/lib/x86_64-linux-gnu/libdrm_nouveau.so.2.0.0 7ffff5f15000-7ffff5f20000 r-xp 00000000 08:02 393445 /usr/lib/x86_64-linux-gnu/libdrm.so.2.4.0 7ffff5f20000-7ffff611f000 ---p 0000b000 08:02 393445 /usr/lib/x86_64-linux-gnu/libdrm.so.2.4.0 7ffff611f000-7ffff6120000 r--p 0000a000 08:02 393445 /usr/lib/x86_64-linux-gnu/libdrm.so.2.4.0 7ffff6120000-7ffff6121000 rw-p 0000b000 08:02 393445 /usr/lib/x86_64-linux-gnu/libdrm.so.2.4.0 7ffff6121000-7ffff613e000 r-xp 00000000 08:02 394407 /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0 7ffff613e000-7ffff633e000 ---p 0001d000 08:02 394407 /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0 7ffff633e000-7ffff633f000 r--p 0001d000 08:02 394407 /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0 7ffff633f000-7ffff6340000 rw-p 0001e000 08:02 394407 /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0 7ffff6340000-7ffff6343000 r-xp 00000000 08:02 395420 /usr/lib/x86_64-linux-gnu/libxcb-dri2.so.0.0.0 7ffff6343000-7ffff6543000 ---p 00003000 08:02 395420 /usr/lib/x86_64-linux-gnu/libxcb-dri2.so.0.0.0 7ffff6543000-7ffff6544000 r--p 00003000 08:02 395420 /usr/lib/x86_64-linux-gnu/libxcb-dri2.so.0.0.0 7ffff6544000-7ffff6545000 rw-p 00004000 08:02 395420 /usr/lib/x86_64-linux-gnu/libxcb-dri2.so.0.0.0 7ffff6545000-7ffff6675000 r-xp 00000000 08:02 403232 /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0 7ffff6675000-7ffff6875000 ---p 00130000 08:02 403232 /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0 7ffff6875000-7ffff6876000 r--p 00130000 08:02 403232 /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0 7ffff6876000-7ffff687a000 rw-p 00131000 08:02 403232 /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0 7ffff687a000-7ffff687b000 r-xp 00000000 08:02 403230 /usr/lib/x86_64-linux-gnu/libX11-xcb.so.1.0.0 7ffff687b000-7ffff6a7a000 ---p 00001000 08:02 403230 /usr/lib/x86_64-linux-gnu/libX11-xcb.so.1.0.0 7ffff6a7a000-7ffff6a7b000 r--p 00000000 08:02 403230 /usr/lib/x86_64-linux-gnu/libX11-xcb.so.1.0.0 7ffff6a7b000-7ffff6a7c000 rw-p 00001000 08:02 403230 /usr/lib/x86_64-linux-gnu/libX11-xcb.so.1.0.0 7ffff6a7c000-7ffff6dcb000 r-xp 00000000 08:02 411854 /usr/lib/libomxil-bellagio0/libomx_mesa.so 7ffff6dcb000-7ffff6fcb000 ---p 0034f000 08:02 411854 /usr/lib/libomxil-bellagio0/libomx_mesa.so 7ffff6fcb000-7ffff700b000 r--p 0034f000 08:02 411854 /usr/lib/libomxil-bellagio0/libomx_mesa.so 7ffff700b000-7ffff7013000 rw-p 0038f000 08:02 411854 /usr/lib/libomxil-bellagio0/libomx_mesa.so 7ffff7013000-7ffff71d9000 rw-p 00000000 00:00 0 7ffff71d9000-7ffff71ec000 r-xp 00000000 08:02 399958 /usr/lib/libomxil-bellagio.so.0.0.0 7ffff71ec000-7ffff73ec000 ---p 00013000 08:02 399958 /usr/lib/libomxil-bellagio.so.0.0.0 7ffff73ec000-7ffff73ed000 r--p 00013000 08:02 399958 /usr/lib/libomxil-bellagio.so.0.0.0 7ffff73ed000-7ffff73ee000 rw-p 00014000 08:02 399958 /usr/lib/libomxil-bellagio.so.0.0.0 7ffff73ee000-7ffff73f1000 r-xp 00000000 08:02 411882 /usr/lib/libomxil-bellagio0/libomxvideosched.so.0.0.0 7ffff73f1000-7ffff75f0000 ---p 00003000 08:02 411882 /usr/lib/libomxil-bellagio0/libomxvideosched.so.0.0.0 7ffff75f0000-7ffff75f1000 r--p 00002000 08:02 411882 /usr/lib/libomxil-bellagio0/libomxvideosched.so.0.0.0 7ffff75f1000-7ffff75f2000 rw-p 00003000 08:02 411882 /usr/lib/libomxil-bellagio0/libomxvideosched.so.0.0.0 7ffff75f2000-7ffff77af000 r-xp 00000000 08:02 135316 /lib/x86_64-linux-gnu/libc-2.17.so 7ffff77af000-7ffff79af000 ---p 001bd000 08:02 135316 /lib/x86_64-linux-gnu/libc-2.17.so 7ffff79af000-7ffff79b3000 r--p 001bd000 08:02 135316 /lib/x86_64-linux-gnu/libc-2.17.so 7ffff79b3000-7ffff79b5000 rw-p 001c1000 08:02 135316 /lib/x86_64-linux-gnu/libc-2.17.so 7ffff79b5000-7ffff79ba000 rw-p 00000000 00:00 0 7ffff79ba000-7ffff79d1000 r-xp 00000000 08:02 135431 /lib/x86_64-linux-gnu/libpthread-2.17.so 7ffff79d1000-7ffff7bd1000 ---p 00017000 08:02 135431 /lib/x86_64-linux-gnu/libpthread-2.17.so 7ffff7bd1000-7ffff7bd2000 r--p 00017000 08:02 135431 /lib/x86_64-linux-gnu/libpthread-2.17.so 7ffff7bd2000-7ffff7bd3000 rw-p 00018000 08:02 135431 /lib/x86_64-linux-gnu/libpthread-2.17.so 7ffff7bd3000-7ffff7bd7000 rw-p 00000000 00:00 0 7ffff7bd7000-7ffff7bda000 r-xp 00000000 08:02 135331 /lib/x86_64-linux-gnu/libdl-2.17.so 7ffff7bda000-7ffff7dd9000 ---p 00003000 08:02 135331 /lib/x86_64-linux-gnu/libdl-2.17.so 7ffff7dd9000-7ffff7dda000 r--p 00002000 08:02 135331 /lib/x86_64-linux-gnu/libdl-2.17.so 7ffff7dda000-7ffff7ddb000 rw-p 00003000 08:02 135331 /lib/x86_64-linux-gnu/libdl-2.17.so 7ffff7ddb000-7ffff7dfc000 r-xp 00000000 08:02 1056064 /lib64/ld-2.17.so 7ffff7fd8000-7ffff7fdc000 rw-p 00000000 00:00 0 7ffff7ff6000-7ffff7ffa000 rw-p 00000000 00:00 0 7ffff7ffa000-7ffff7ffc000 r-xp 00000000 00:00 0 [vdso] 7ffff7ffc000-7ffff7ffd000 r--p 00021000 08:02 1056064 /lib64/ld-2.17.so 7ffff7ffd000-7ffff7fff000 rw-p 00022000 08:02 1056064 /lib64/ld-2.17.so 7ffffffde000-7ffffffff000 rw-p 00000000 00:00 0 [stack] ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall] Program received signal SIGABRT, Aborted. 0x00007ffff7628f77 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. (gdb) bt full #0 0x00007ffff7628f77 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 resultvar = 0 pid = 31885 selftid = 31885 #1 0x00007ffff762c5e8 in __GI_abort () at abort.c:90 save_stage = 2 act = {__sigaction_handler = {sa_handler = 0x7fffffffd79a, sa_sigaction = 0x7fffffffd79a}, sa_mask = {__val = {6, 140737345191820, 2, 140737488345006, 2, 140737345180788, 1, 140737345191816, 3, 140737488344980, 12, 140737345191820, 2, 140737488345792, 6, 140737488347552}}, sa_flags = 102, sa_restorer = 0x7} sigs = {__val = {32, 0 }} #2 0x00007ffff76664fb in __libc_message (do_abort=do_abort@entry=2, fmt=fmt@entry=0x7ffff777a240 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:199 ap = {{gp_offset = 40, fp_offset = 48, overflow_arg_area = 0x7fffffffe1b0, reg_save_area = 0x7fffffffe0c0}} ap_copy = {{gp_offset = 16, fp_offset = 48, overflow_arg_area = 0x7fffffffe1b0, reg_save_area = 0x7fffffffe0c0}} fd = 9 on_2 = list = nlist = cp = written = #3 0x00007ffff76714c6 in malloc_printerr (action=3, str=0x7ffff777a5b8 "munmap_chunk(): invalid pointer", ptr=) at malloc.c:4923 buf = "00007ffff6d48dab" cp = #4 0x0000000000401add in buildComponentsList (omxregistryfp=0x605090, componentspath=0x4026fb "w", verbose=1) at omxregister.c:329 lib_absolute_path = 0x7fff00000002
len = dirp = 0x6082f0 dp = handle = i = num_of_comp = 2 k = qi = num_of_libraries = 2 j = buffer = fptr = stComponents = 0x61d400 ncomponents = 3 nroles = pathconsumed = 1 ---Type to continue, or q to quit--- currentgiven = 1 index = currentpath = 0x4026fb "w" actual = 0x605010 "/usr/lib/libomxil-bellagio0/" allNames = 0x6112c0 currentName = 0x61da00 tempName = qualityString = 0x6052d0 "" index_string = #5 0x00000000004011c6 in main (argc=, argv=0x7fffffffe438) at omxregister.c:482 found = err = i = verbose = omxregistryfp = 0x605090 registry_filename = 0x605010 "/usr/lib/libomxil-bellagio0/" dir = dirp = buffer = isListOnly =