I updated media-libs/jpeg, ran the revdep-rebuild command and deleted the preserved lib. Then I reran a plain revdep-rebuild to check if nothing is broken: Everything was fine. But motion still segfaults. I then rebuilt both packages but nothing changed. So I rebuilt the lib with debug infos (because it segfaults in the library) and attached gdb (It segfaults when it tries to save a snapshot.) So I came to: 0x00007fc492d00181 in nanosleep () from /lib/libpthread.so.0 (gdb) c Continuing. Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fc48ece3950 (LWP 335)] jpeg_fdct_16x16 (data=0x7fc48ecdf200, sample_data=0x7fc48ecdf790, start_col=<value optimized out>) at jfdctint.c:2188 2188 tmp0 = GETJSAMPLE(elemptr[0]) + GETJSAMPLE(elemptr[15]); (gdb) print ctr $1 = <value optimized out> Unfortunatelly I am not very used to debug. So any further hints are appreciated.
Created attachment 205922 [details] emerge --info
A bit more from gdb: (gdb) print elemptr $2 = (JSAMPROW) 0x0 (gdb) bt #0 jpeg_fdct_16x16 (data=0x7fc48ecdf200, sample_data=0x7fc48ecdf790, start_col=<value optimized out>) at jfdctint.c:2188 #1 0x00007fc492ac330e in forward_DCT (cinfo=<value optimized out>, compptr=0x1b626c8, sample_data=0x7fc48ecdf790, coef_blocks=<value optimized out>, start_row=<value optimized out>, start_col=0, num_blocks=1) at jcdctmgr.c:82 #2 0x00007fc492ac29de in compress_data (cinfo=0x7fc48ecdf420, input_buf=0x7fc48ecdf890) at jccoefct.c:180 #3 0x00007fc492ac07c6 in jpeg_write_raw_data (cinfo=0x7fc48ecdf420, data=0x7fc48ecdf890, num_lines=16) at jcapistd.c:153 #4 0x000000000041ac12 in ?? () #5 0x000000000041b04a in ?? () #6 0x000000000041b2b4 in ?? () #7 0x0000000000419f33 in ?? () #8 0x000000000041920d in ?? () #9 0x000000000040583d in ?? () #10 0x000000000040708e in ?? () #11 0x00007fc492cf9007 in start_thread () from /lib/libpthread.so.0 #12 0x00007fc49129448d in clone () from /lib/libc.so.6 #13 0x0000000000000000 in ?? () And it worked with media-libs/jpeg-6b-r8.
Upstream has a new bug-fix-release. http://www.lavrsen.dk/foswiki/bin/view/Motion/ReleaseNoteMotion3x2x11x1
+*motion-3.2.11.1 (09 Oct 2009) + + 09 Oct 2009; Samuli Suominen <ssuominen@gentoo.org> + +motion-3.2.11.1.ebuild: + Version bump wrt #287506, thanks to Markus for reporting.