Got a question. The command you asked to run
- Code: Select all
strace -f -o output.log sh setcolor.py 6
If I run this command, with the 'sh' in front of the setcolor.py; I get a symbol on the command line, looking for me to draw an elastic box around something. If I do, then I do not see the program run to completion, or the segfault error. I do not understand what the 'sh' is doing. I ran this command as root.
I ran the command without the sh and get the expected output.log file created. It Segfaults in Magia. I ran the same command on my slack system, and created an output file there also. I can not point at anything that I see as a problem. I' going to include the last 20 or so lines from each run. My hope is someone hear can point me in the right direction.
First the Magia run.
- Code: Select all
7246 open("/dev/bus/usb/002/003", O_RDONLY) = 7
7246 lseek(7, 18, SEEK_SET) = 18
7246 read(7, "\t\2\261\0\2\1\0\300\0\t\4\0\0\3\340\1\1\0\7\5\201\3\20\0\1\7\5\2\2@\0\1"..., 177) = 177
7246 close(7) = 0
7246 open("/dev/bus/usb/002/003", O_RDONLY) = 7
7246 lseek(7, 18, SEEK_SET) = 18
7246 read(7, "\t\2\261\0\2\1\0\300", 8) = 8
7246 close(7) = 0
7246 open("/dev/bus/usb/002/003", O_RDONLY) = 7
7246 lseek(7, 18, SEEK_SET) = 18
7246 read(7, "\t\2\261\0\2\1\0\300\0\t\4\0\0\3\340\1\1\0\7\5\201\3\20\0\1\7\5\2\2@\0\1"..., 177) = 177
7246 close(7) = 0
7246 open("/dev/bus/usb/002/002", O_RDWR) = 7
7246 write(4, "\1", 1) = 1
7246 read(3, "\1", 1) = 1
7246 ioctl(7, SNDRV_CTL_IOCTL_ELEM_READ or USBDEVFS_IOCTL or USBDEVFS_IOCTL32, {ifno=0x0, ioctl_code=0x5516}) = -1 ENODATA (No data available)
7246 ioctl(7, SNDRV_CTL_IOCTL_ELEM_LOCK or USBDEVFS_RESET, 0) = 0
7246 write(4, "\1", 1) = 1
7246 read(3, "\1", 1) = 1
7246 close(7) = 0
7246 --- {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x40} (Segmentation fault) ---
7246 +++ killed by SIGSEGV +++
Now, from the Slackware run.
- Code: Select all
3321 read(3, "\t\2\31\0\1\1\0\340", 8) = 8
3321 close(3) = 0
3321 open("/dev/bus/usb/002/001", O_RDONLY) = 3
3321 lseek(3, 18, SEEK_SET) = 18
3321 read(3, "\t\2\31\0\1\1\0\340\0\t\4\0\0\1\t\0\0\0\7\5\201\3\2\0\377", 25) = 25
3321 close(3) = 0
3321 open("/dev/bus/usb/002/002", O_RDWR) = 3
3321 write(5, "\1", 1) = 1
3321 read(4, "\1", 1) = 1
3321 ioctl(3, USBDEVFS_IOCTL or USBDEVFS_IOCTL32, 0x7fff057fe170) = -1 ENODATA (No data available)
3321 ioctl(3, USBDEVFS_RESET, 0) = 0
3321 ioctl(3, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x6a2900) = 0
3321 timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={367, 381043000}}, NULL) = 0
3321 poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=3, events=POLLOUT}], 3, 60000) = 1 ([{fd=3, revents=POLLOUT}])
3321 ioctl(3, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff057fe658) = 0
3321 timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
3321 write(5, "\1", 1) = 1
3321 read(4, "\1", 1) = 1
3321 close(3) = 0
3321 rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x7fe5c3e0ac50}, {0x7fe5c4138090, [], SA_RESTORER, 0x7fe5c3e0ac50}, 8) = 0
3321 exit_group(0)
If needed, I can post the entire output.log from each system. The only other thing I noticed from the trace is Slack is running Python 2.6, and Mag is running 2.7. No idea if this is significant or not.
Thank-you for your continued help.