Created attachment 779441 [details] Output of emerge --info media-libs/xine-lib-1.2.12-r1 Upon initializing xine in terminal window, with or without a file to play, a splash screen is briefly shown and then crashes (fails to run) as shown below: $ xine /scratch/mp3/alleluia2.mp3 This is xine (X11 gui) - a free video player v0.99.12. (c) 2000-2019 The xine Team. xiTK received SIGSEGV signal, RIP. Aborted Downgrade to xine-lib-1.2.11 solves the problem. Multiple instances reported in forums at: https://forums.gentoo.org/viewtopic.php?p=8709470 emerge --info for xine-lib-1.2.12-r1 (x86) (crashes) can be found in the following wgetpaste url: http://dpaste.com/2RKHJBFCJ emerge --info for xine-lib-1.2.11 (x86) (working) found in the following wgetpaste url: http://dpaste.com/AQ2LWDXPA Both files also attached.
Created attachment 779444 [details] Output of emerge --info media-libs/xine-lib-1.2.11 (working)
Thanks for forwarding & attaching files. No need to CC arch teams (they have a different purpose). Could you try running it under gdb, like... $ gdb --args xine /scratch/mp3/alleluia2.mp3 [...] r bt (type 'r', then 'bt' when it crashes) We might need to pass some magic arguments to xine as it seems like it might try catch it internally ("xiTK received ..." seems like some sort of internal handler).
Thanks, Sam. With xine-lib-1.2.11 installed I confirmed that the newmouse.wmv video runs fine. Then I unmasked xine-lib-1.2.12-r2 and re-emerged it. Here is the run with gdb as requested: $ gdb --args xine Videos/newmouse.wmv GNU gdb (Gentoo 11.2 vanilla) 11.2 Copyright (C) 2022 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> 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-pc-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <https://bugs.gentoo.org/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from xine... (No debugging symbols found in xine) (gdb) r Starting program: /usr/bin/xine Videos/newmouse.wmv [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". This is xine (X11 gui) - a free video player v0.99.12. (c) 2000-2019 The xine Team. [New Thread 0x7ffff7065640 (LWP 9676)] [New Thread 0x7ffff6864640 (LWP 9677)] [New Thread 0x7ffff6063640 (LWP 9678)] [New Thread 0x7ffff5755640 (LWP 9679)] [New Thread 0x7ffff4e4b640 (LWP 9680)] [New Thread 0x7fffeffff640 (LWP 9681)] [New Thread 0x7fffef7fe640 (LWP 9682)] [New Thread 0x7fffeeffd640 (LWP 9683)] [New Thread 0x7fffee6f3640 (LWP 9684)] [New Thread 0x7fffedef2640 (LWP 9685)] [New Thread 0x7fffed2f2640 (LWP 9686)] [New Thread 0x7fffecaf1640 (LWP 9687)] [New Thread 0x7fffdfc00640 (LWP 9688)] [New Thread 0x7fffd5fdb640 (LWP 9689)] [New Thread 0x7fffd57da640 (LWP 9690)] Thread 1 "xine" received signal SIGSEGV, Segmentation fault. 0x00007ffff7a9d2f5 in ?? () from /lib64/libc.so.6 (gdb) bt #0 0x00007ffff7a9d2f5 in () at /lib64/libc.so.6 #1 0x00007ffff7f6539c in () at /usr/lib64/libxine.so.2 #2 0x00007ffff7f53085 in _x_demux_read_header () at /usr/lib64/libxine.so.2 #3 0x00007ffff400e5be in () at /usr/lib64/xine/plugins/2.10/xineplug_inp_network.so #4 0x00007ffff7f39515 in _x_find_input_plugin () at /usr/lib64/libxine.so.2 #5 0x00007ffff7f2c12f in () at /usr/lib64/libxine.so.2 #6 0x00007ffff7f2c76a in xine_open () at /usr/lib64/libxine.so.2 #7 0x0000555555568760 in () #8 0x0000555555569217 in () #9 0x000055555556e624 in () #10 0x000055555556eaed in () #11 0x00005555555cf676 in () #12 0x0000555555570073 in () #13 0x0000555555563972 in () #14 0x00007ffff7a1336a in () at /lib64/libc.so.6 #15 0x00007ffff7a1341c in __libc_start_main () at /lib64/libc.so.6 #16 0x0000555555564d9a in () (gdb) q
Nice, exactly what we need. Could you enable debugging symbols (and installsources if you feel kind) for sys-libs/glibc and media-libs/xine-lib? You'll need to emerge -v1 afterwards. See https://wiki.gentoo.org/wiki/Debugging for some instructions but let me know if you get stuck. Then get the backtrace again. It should fill in some of the gaps. (I'm no expert on xine-lib, been years since I last used it, and even then only fleetingly, so this may well end up with us just forwarding it upstream, but in any case, it'll give them something tangible to actually fix).
Sam, I believe I did as requested; way over my head, but I can read. Output was somewhat different, pasted in below. $ gdb --args xine Videos/newmouse.wmv GNU gdb (Gentoo 11.2 vanilla) 11.2 Copyright (C) 2022 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> 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-pc-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <https://bugs.gentoo.org/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from xine... (No debugging symbols found in xine) (gdb) r Starting program: /usr/bin/xine Videos/newmouse.wmv [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". This is xine (X11 gui) - a free video player v0.99.12. (c) 2000-2019 The xine Team. [New Thread 0x7ffff7065640 (LWP 5742)] [New Thread 0x7ffff6864640 (LWP 5743)] [New Thread 0x7fffefebc640 (LWP 5745)] [New Thread 0x7fffef6bb640 (LWP 5746)] [New Thread 0x7fffeedb1640 (LWP 5747)] [New Thread 0x7fffee1b1640 (LWP 5748)] [New Thread 0x7fffed833640 (LWP 5749)] [New Thread 0x7fffed032640 (LWP 5750)] [New Thread 0x7fffdffff640 (LWP 5751)] [New Thread 0x7fffdf7fe640 (LWP 5752)] [New Thread 0x7fffdeffd640 (LWP 5753)] [New Thread 0x7fffde7fc640 (LWP 5754)] [New Thread 0x7fffddbfc640 (LWP 5755)] [New Thread 0x7fffdd3fb640 (LWP 5757)] [New Thread 0x7fffdcbfa640 (LWP 5758)] Thread 1 "xine" received signal SIGSEGV, Segmentation fault. 0x00007ffff7a9d2f5 in ?? () from /lib64/libc.so.6 (gdb) bt #0 0x00007ffff7a9d2f5 in () at /lib64/libc.so.6 #1 0x00007ffff7f6539c in memcpy (__len=2047, __src=<optimized out>, __dest=0x7fffffff6fc0) at /usr/include/bits/string_fortified.h:29 #2 file_input_read (this_gen=0x5555559f2d90, buf=0x7fffffff6fc0, len=<optimized out>) at ../input/input_file.c:186 #3 0x00007ffff7f53085 in _x_demux_read_header (input=0x5555559f2d90, buffer=0x7fffffff6fc0, size=2047) at demux.c:667 #4 0x00007ffff5eb95be in mpd_input_get_instance (cls_gen= 0x55555597fae0, stream=0x5555558a7590, mrl=0x5555557eccd0 "Videos/newmouse.wmv") at input_mpegdash.c:1371 #5 0x00007ffff7f39515 in _x_find_input_plugin (stream=stream@entry=0x5555558a7590, mrl=mrl@entry=0x5555557eccd0 "Videos/newmouse.wmv") at load_plugins.c:2006 #6 0x00007ffff7f2c12f in open_internal (stream=stream@entry=0x5555558a7590, mrl=mrl@entry=0x555555686770 "Videos/newmouse.wmv", input=input@entry=0x0) at xine.c:1779 #7 0x00007ffff7f2c76a in xine_open (s=0x5555558a7590, mrl=0x555555686770 "Videos/newmouse.wmv") at xine.c:2131 #8 0x0000555555568760 in () #9 0x0000555555569217 in () #10 0x000055555556e624 in () --Type <RET> for more, q to quit, c to continue without paging--c #11 0x000055555556eaed in () #12 0x00005555555cf676 in () #13 0x0000555555570073 in () #14 0x0000555555563972 in () #15 0x00007ffff7a1336a in () at /lib64/libc.so.6 #16 0x00007ffff7a1341c in __libc_start_main () at /lib64/libc.so.6 #17 0x0000555555564d9a in () (gdb) q A debugging session is active. Inferior 1 [process 5738] will be killed. Quit anyway? (y or n) n Not confirmed. (gdb) c Continuing. xiTK received SIGSEGV signal, RIP. Thread 1 "xine" received signal SIGABRT, Aborted. 0x00007ffff7a7364c in ?? () from /lib64/libc.so.6 (gdb) q A debugging session is active. Inferior 1 [process 5738] will be killed. Quit anyway? (y or n) y
Thanks! Looking good. Did you definitely enable debugging symbols for glibc too? emerge --info sys-libs/glibc? (
Oh, no, I didn't. I too slavishly followed the instructions on the wiki/Debugging page. Rebuilding now, including glibc. It will take a bit, with a dinner interruption. Will follow up in 3-4 hours.
Got lucky and finished early. Here it is again, hopefully better: $ gdb --args xine Videos/newmouse.wmv GNU gdb (Gentoo 11.2 vanilla) 11.2 Copyright (C) 2022 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> 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-pc-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <https://bugs.gentoo.org/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from xine... (No debugging symbols found in xine) (gdb) r Starting program: /usr/bin/xine Videos/newmouse.wmv [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". This is xine (X11 gui) - a free video player v0.99.12. (c) 2000-2019 The xine Team. [New Thread 0x7ffff7065640 (LWP 25938)] [New Thread 0x7ffff6864640 (LWP 25939)] [New Thread 0x7fffefebc640 (LWP 25944)] [New Thread 0x7fffef6bb640 (LWP 25945)] [New Thread 0x7fffeedb1640 (LWP 25946)] [New Thread 0x7fffee1b1640 (LWP 25947)] [New Thread 0x7fffed833640 (LWP 25948)] [New Thread 0x7fffed032640 (LWP 25949)] [New Thread 0x7fffdffff640 (LWP 25950)] [New Thread 0x7fffdf7fe640 (LWP 25951)] [New Thread 0x7fffdeffd640 (LWP 25952)] [New Thread 0x7fffde7fc640 (LWP 25953)] [New Thread 0x7fffddbfc640 (LWP 25954)] [New Thread 0x7fffdd3fb640 (LWP 25955)] [New Thread 0x7fffdcbfa640 (LWP 25956)] Thread 1 "xine" received signal SIGSEGV, Segmentation fault. __memmove_sse2_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:524 524 ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: No such file or directory. (gdb) bt #0 __memmove_sse2_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:524 #1 0x00007ffff7f6539c in memcpy (__len=2047, __src=<optimized out>, __dest=0x7fffffff6fc0) at /usr/include/bits/string_fortified.h:29 #2 file_input_read (this_gen=0x5555559f2fb0, buf=0x7fffffff6fc0, len=<optimized out>) at ../input/input_file.c:186 #3 0x00007ffff7f53085 in _x_demux_read_header (input=0x5555559f2fb0, buffer=0x7fffffff6fc0, size=2047) at demux.c:667 #4 0x00007ffff5eb95be in mpd_input_get_instance (cls_gen= 0x55555597fd00, stream=0x5555558a77b0, mrl=0x5555557ecef0 "Videos/newmouse.wmv") at input_mpegdash.c:1371 #5 0x00007ffff7f39515 in _x_find_input_plugin (stream=stream@entry=0x5555558a77b0, mrl=mrl@entry=0x5555557ecef0 "Videos/newmouse.wmv") at load_plugins.c:2006 #6 0x00007ffff7f2c12f in open_internal (stream=stream@entry=0x5555558a77b0, mrl=mrl@entry=0x55555568e940 "Videos/newmouse.wmv", input=input@entry=0x0) at xine.c:1779 #7 0x00007ffff7f2c76a in xine_open (s=0x5555558a77b0, mrl=0x55555568e940 "Videos/newmouse.wmv") at xine.c:2131 #8 0x0000555555568760 in () #9 0x0000555555569217 in () --Type <RET> for more, q to quit, c to continue without paging--c #10 0x000055555556e624 in () #11 0x000055555556eaed in () #12 0x00005555555cf676 in () #13 0x0000555555570073 in () #14 0x0000555555563972 in () #15 0x00007ffff7a1336a in __libc_start_call_main (main=main@entry=0x555555561c40, argc=argc@entry=2, argv=argv@entry=0x7fffffffde38) at ../sysdeps/nptl/libc_start_call_main.h:58 #16 0x00007ffff7a1341c in __libc_start_main_impl (main=0x555555561c40, argc=2, argv=0x7fffffffde38, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffde28) at ../csu/libc-start.c:392 #17 0x0000555555564d9a in () (gdb) q A debugging session is active. Inferior 1 [process 25933] will be killed. Quit anyway? (y or n) y
Thanks! Reported upstream as https://sourceforge.net/p/xine/tickets/12/. (Can't reproduce myself, sadly.)
(In reply to Sam James from comment #9) > Thanks! Reported upstream as https://sourceforge.net/p/xine/tickets/12/. > > (Can't reproduce myself, sadly.) Oh, we might be able to get a tiny bit more info if you build media-video/xine-ui with debugging symbols too (and installsources).
(In reply to Sam James from comment #10) > (In reply to Sam James from comment #9) > > Thanks! Reported upstream as https://sourceforge.net/p/xine/tickets/12/. > > > > (Can't reproduce myself, sadly.) > > Oh, we might be able to get a tiny bit more info if you build > media-video/xine-ui with debugging symbols too (and installsources). ... also, can you share a BT *without* a file? ('gdb xine' should work for that). Just in case.
(In reply to Sam James from comment #10) > (In reply to Sam James from comment #9) > > Thanks! Reported upstream as https://sourceforge.net/p/xine/tickets/12/. > > > > (Can't reproduce myself, sadly.) > > Oh, we might be able to get a tiny bit more info if you build > media-video/xine-ui with debugging symbols too (and installsources). I believe I did that. I have: # cat /etc/portage/package.env media-libs/xine-lib debugsyms installsources sys-libs/glibc debugsyms installsources and: # cat /etc/portage/env/installsources FEATURES="${FEATURES} installsources" and: # cat /etc/portage/env/debugsyms CFLAGS="${CFLAGS} -ggdb3" CXXFLAGS="${CXXFLAGS} -ggdb3" FEATURES="${FEATURES} splitdebug compressdebug -nostrip"
(In reply to Sam James from comment #11) > (In reply to Sam James from comment #10) > > (In reply to Sam James from comment #9) > > > Thanks! Reported upstream as https://sourceforge.net/p/xine/tickets/12/. > > > > > > (Can't reproduce myself, sadly.) > > > > Oh, we might be able to get a tiny bit more info if you build > > media-video/xine-ui with debugging symbols too (and installsources). > > ... also, can you share a BT *without* a file? ('gdb xine' should work for > that). Just in case. Here it is. (And, if I've missed anything, I can fix and redo. Does this line from below indicate that I've muffed something? "(No debugging symbols found in xine)") $ gdb --args xine GNU gdb (Gentoo 11.2 vanilla) 11.2 Copyright (C) 2022 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> 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-pc-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <https://bugs.gentoo.org/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from xine... (No debugging symbols found in xine) (gdb) r Starting program: /usr/bin/xine [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". This is xine (X11 gui) - a free video player v0.99.12. (c) 2000-2019 The xine Team. [New Thread 0x7ffff7065640 (LWP 8703)] [New Thread 0x7ffff6864640 (LWP 8704)] [New Thread 0x7ffff6063640 (LWP 8705)] [New Thread 0x7ffff5755640 (LWP 8706)] [New Thread 0x7ffff4e4b640 (LWP 8707)] [New Thread 0x7fffeffff640 (LWP 8708)] [New Thread 0x7fffef7fe640 (LWP 8709)] [New Thread 0x7fffeeffd640 (LWP 8710)] [New Thread 0x7fffee6f3640 (LWP 8711)] [New Thread 0x7fffedef2640 (LWP 8712)] [New Thread 0x7fffed2f2640 (LWP 8713)] [New Thread 0x7fffecaf1640 (LWP 8714)] [New Thread 0x7fffdfc00640 (LWP 8715)] [New Thread 0x7fffd5fdb640 (LWP 8717)] [New Thread 0x7fffd57da640 (LWP 8718)] Thread 1 "xine" received signal SIGSEGV, Segmentation fault. __memmove_sse2_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:524 524 ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: No such file or directory. (gdb) bt #0 __memmove_sse2_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:524 #1 0x00007ffff7f6539c in memcpy (__len=2047, __src=<optimized out>, __dest=0x7fffffff7180) at /usr/include/bits/string_fortified.h:29 #2 file_input_read (this_gen=0x5555559cb8a0, buf=0x7fffffff7180, len=<optimized out>) at ../input/input_file.c:186 #3 0x00007ffff7f53085 in _x_demux_read_header (input=0x5555559cb8a0, buffer=0x7fffffff7180, size=2047) at demux.c:667 #4 0x00007ffff400e5be in mpd_input_get_instance (cls_gen= 0x555555905eb0, stream=0x55555582c0f0, mrl=0x5555559685c0 "/usr/share/xine/skins/xine-ui_logo.mpg") at input_mpegdash.c:1371 #5 0x00007ffff7f39515 in _x_find_input_plugin (stream=stream@entry=0x55555582c0f0, mrl=mrl@entry=0x5555559685c0 "/usr/share/xine/skins/xine-ui_logo.mpg") at load_plugins.c:2006 #6 0x00007ffff7f2c12f in open_internal (stream=stream@entry=0x55555582c0f0, mrl=mrl@entry=0x5555558ac6a0 "/usr/share/xine/skins/xine-ui_logo.mpg", input=input@entry=0x0) at xine.c:1779 #7 0x00007ffff7f2c76a in xine_open (s=0x55555582c0f0, mrl=0x5555558ac6a0 "/usr/share/xine/skins/xine-ui_logo.mpg") at xine.c:2131 #8 0x0000555555568760 in () --Type <RET> for more, q to quit, c to continue without paging--c #9 0x0000555555568d36 in () #10 0x000055555556eaf5 in () #11 0x00005555555cf676 in () #12 0x0000555555570073 in () #13 0x0000555555563972 in () #14 0x00007ffff7a1336a in __libc_start_call_main (main=main@entry=0x555555561c40, argc=argc@entry=1, argv=argv@entry=0x7fffffffde58) at ../sysdeps/nptl/libc_start_call_main.h:58 #15 0x00007ffff7a1341c in __libc_start_main_impl (main=0x555555561c40, argc=1, argv=0x7fffffffde58, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffde48) at ../csu/libc-start.c:392 #16 0x0000555555564d9a in () (gdb) q A debugging session is active. Inferior 1 [process 8696] will be killed. Quit anyway? (y or n) y
(In reply to Andy Figueroa from comment #13) > (In reply to Sam James from comment #11) > > (In reply to Sam James from comment #10) > > > (In reply to Sam James from comment #9) > > > > Thanks! Reported upstream as https://sourceforge.net/p/xine/tickets/12/. > > > > > > > > (Can't reproduce myself, sadly.) > > > > > > Oh, we might be able to get a tiny bit more info if you build > > > media-video/xine-ui with debugging symbols too (and installsources). > > > > ... also, can you share a BT *without* a file? ('gdb xine' should work for > > that). Just in case. > > Here it is. (And, if I've missed anything, I can fix and redo. Does this > line from below indicate that I've muffed something? "(No debugging symbols > found in xine)") > xine-lib != xine-ui, so yep, a problem! Can you add them for xine-ui?
(In reply to Sam James from comment #14) > (In reply to Andy Figueroa from comment #13) > > (In reply to Sam James from comment #11) > > > (In reply to Sam James from comment #10) > > > > (In reply to Sam James from comment #9) > > > > > Thanks! Reported upstream as https://sourceforge.net/p/xine/tickets/12/. > > > > > > > > > > (Can't reproduce myself, sadly.) > > > > > > > > Oh, we might be able to get a tiny bit more info if you build > > > > media-video/xine-ui with debugging symbols too (and installsources). > > > > > > ... also, can you share a BT *without* a file? ('gdb xine' should work for > > > that). Just in case. > > > > Here it is. (And, if I've missed anything, I can fix and redo. Does this > > line from below indicate that I've muffed something? "(No debugging symbols > > found in xine)") > > > > xine-lib != xine-ui, so yep, a problem! Can you add them for xine-ui? I should have caught that. I added media-video/xine-ui to package.env and rebuilt it. Here is the (hopefully meaningful) results: $ gdb --args xine GNU gdb (Gentoo 11.2 vanilla) 11.2 Copyright (C) 2022 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> 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-pc-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <https://bugs.gentoo.org/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from xine... Reading symbols from /usr/lib/debug//usr/bin/xine.debug... (gdb) r Starting program: /usr/bin/xine [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". This is xine (X11 gui) - a free video player v0.99.12. (c) 2000-2019 The xine Team. [New Thread 0x7ffff7065640 (LWP 6091)] [New Thread 0x7ffff6864640 (LWP 6092)] [New Thread 0x7ffff6063640 (LWP 6093)] [New Thread 0x7ffff5762640 (LWP 6094)] [New Thread 0x7ffff4e58640 (LWP 6095)] [New Thread 0x7fffefff2640 (LWP 6096)] [New Thread 0x7fffef7f1640 (LWP 6097)] [New Thread 0x7fffeeff0640 (LWP 6098)] [New Thread 0x7fffee6e6640 (LWP 6099)] [New Thread 0x7fffedee5640 (LWP 6100)] [New Thread 0x7fffed2e5640 (LWP 6101)] [New Thread 0x7fffecae4640 (LWP 6102)] [New Thread 0x7fffdfc00640 (LWP 6103)] [New Thread 0x7fffd5fdb640 (LWP 6105)] [New Thread 0x7fffd57da640 (LWP 6106)] Thread 1 "xine" received signal SIGSEGV, Segmentation fault. __memmove_sse2_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:524 524 ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: No such file or directory. (gdb) bt #0 __memmove_sse2_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:524 #1 0x00007ffff7f6539c in memcpy (__len=2047, __src=<optimized out>, __dest=0x7fffffff7180) at /usr/include/bits/string_fortified.h:29 #2 file_input_read (this_gen=0x5555559ccbe0, buf=0x7fffffff7180, len=<optimized out>) at ../input/input_file.c:186 #3 0x00007ffff7f53085 in _x_demux_read_header (input=0x5555559ccbe0, buffer=0x7fffffff7180, size=2047) at demux.c:667 #4 0x00007ffff401b5be in mpd_input_get_instance (cls_gen= 0x555555907d10, stream=0x55555582df50, mrl=0x5555559697d0 "/usr/share/xine/skins/xine-ui_logo.mpg") at input_mpegdash.c:1371 #5 0x00007ffff7f39515 in _x_find_input_plugin (stream=stream@entry=0x55555582df50, mrl=mrl@entry=0x5555559697d0 "/usr/share/xine/skins/xine-ui_logo.mpg") at load_plugins.c:2006 #6 0x00007ffff7f2c12f in open_internal (stream=stream@entry=0x55555582df50, mrl=mrl@entry=0x5555558ae500 "/usr/share/xine/skins/xine-ui_logo.mpg", input=input@entry=0x0) at xine.c:1779 #7 0x00007ffff7f2c76a in xine_open (s=0x55555582df50, mrl=mrl@entry=0x5555558ae500 "/usr/share/xine/skins/xine-ui_logo.mpg") at xine.c:2131 #8 0x00005555555688a9 in gui_xine_open_and_play --Type <RET> for more, q to quit, c to continue without paging--c (_mrl=<optimized out>, _sub=_sub@entry=0x0, start_pos=start_pos@entry=0, start_time=start_time@entry=0, av_offset=av_offset@entry=0, spu_offset=spu_offset@entry=0, report_error=1) at actions.c:629 #9 0x0000555555568f1e in gui_display_logo () at actions.c:260 #10 0x000055555556eec5 in on_start (data=data@entry=0x7fffffff95d0) at event.c:2019 #11 0x00005555555d1de8 in xitk_run (cb=cb@entry=0x55555556ee00 <on_start>, data=data@entry=0x7fffffff95d0) at xitk.c:2155 #12 0x0000555555570433 in gui_run (session_opts=session_opts@entry=0x0) at event.c:2190 #13 0x000055555556390a in main (argc=<optimized out>, argv=<optimized out>) at main.c:2333 (gdb) q A debugging session is active. Inferior 1 [process 6083] will be killed. Quit anyway? (y or n) y
Created attachment 779465 [details] emerge --info media-video/xine-ui > xine-ui-info.txt Added as a third attachment the output to emerge --info media-video/xine-ui > xine-ui-info.txt
Thanks a lot - perfect! Cheers for throwing in the --info on xine-ui too. The diff between .11 and .12 is pretty big. Some of it is whitespace & cleanups but if I just look at it with 'diff', it's not very easy to read. It might be easier with meld or something. It doesn't help that apparently a bunch of the code around what breaks for us is what got rewritten! I don't have much knowledge of xine at all and given .11 works and we've reported this upstream (https://sourceforge.net/p/xine/tickets/12/), I'm going to just p.mask .12 for now, until they reply or someone has the motivation to poke into this a bit more to find out why.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2114900ce65a8fe7ccffdf653462864be8ebe13e commit 2114900ce65a8fe7ccffdf653462864be8ebe13e Author: Sam James <sam@gentoo.org> AuthorDate: 2022-05-19 03:00:11 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-05-19 03:00:52 +0000 media-libs/xine-lib: mask crashing version (1.2.12) Bug: https://bugs.gentoo.org/845396 Signed-off-by: Sam James <sam@gentoo.org> media-libs/xine-lib/xine-lib-1.2.12-r1.ebuild | 2 +- profiles/package.mask | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-)
Created attachment 779501 [details, diff] xine-lib 1.2.12 mmap segfault patch
mmap_base should be declated as a pointer, not an integer. See my patch to correct this breaking change introduced in 1.2.12. aloe
The compiler also warns about it: ../input/input_file.c: In function ‘file_input_open’: ../input/input_file.c:458:15: warning: assignment to ‘uint8_t’ {aka ‘unsigned char’} from ‘void *’ makes integer from pointer without a cast [-Wint-conversion] 458 | mmap_base = mmap (NULL, tmp_size, PROT_READ, MAP_SHARED, this->fh, 0); | ^
I can confirm that aloe's patch corrects this for me on amd64.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9983d4ae3ee5a688bd77b17e2a99ba33074b8a2f commit 9983d4ae3ee5a688bd77b17e2a99ba33074b8a2f Author: Sam James <sam@gentoo.org> AuthorDate: 2022-05-19 22:43:57 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-05-19 22:45:42 +0000 media-libs/xine-lib: apply mmap crash fix Applied upstream too! \o/ Closes: https://bugs.gentoo.org/845396 Thanks-to: aloe <aloebbert@gmx.de> Signed-off-by: Sam James <sam@gentoo.org> .../files/xine-lib-1.2.12-fix-mmap-crash.patch | 15 ++ media-libs/xine-lib/xine-lib-1.2.12-r2.ebuild | 234 +++++++++++++++++++++ 2 files changed, 249 insertions(+) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad5cf5c7b05b0d6834a5620b5dcb1d9dd8506ec1 commit ad5cf5c7b05b0d6834a5620b5dcb1d9dd8506ec1 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-05-19 22:45:00 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-05-19 22:45:43 +0000 media-libs/xine-lib: drop 1.2.12-r1 Bug: https://bugs.gentoo.org/845396 Signed-off-by: Sam James <sam@gentoo.org> media-libs/xine-lib/xine-lib-1.2.12-r1.ebuild | 233 -------------------------- profiles/package.mask | 6 - 2 files changed, 239 deletions(-) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be42b487bdbb8acdb5c3765710a3a785f2e38c9e commit be42b487bdbb8acdb5c3765710a3a785f2e38c9e Author: Sam James <sam@gentoo.org> AuthorDate: 2022-05-19 22:40:15 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-05-19 22:45:42 +0000 media-libs/xine-lib: disable dav1d for 1.2.11 1.2.12 has dav1d support enabled properly (and a patch for >= 1.0.0) but in 1.2.11, it was automagic. Let's just disable it entirely in 1.2.11 given that it fails to build and we've had to mask (for now) 1.2.12 because of crashes. Closes: https://bugs.gentoo.org/846398 Bug: https://bugs.gentoo.org/835791 Bug: https://bugs.gentoo.org/845396 Signed-off-by: Sam James <sam@gentoo.org> .../xine-lib/{xine-lib-1.2.11.ebuild => xine-lib-1.2.11-r1.ebuild} | 5 +++-- media-libs/xine-lib/xine-lib-1.2.9999.ebuild | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-)