Gentoo Archives: gentoo-user

From: Adam Carter <adamcarter3@×××××.com>
To: "gentoo-user@l.g.o" <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] openscad seg fault
Date: Tue, 15 Mar 2016 05:31:46
Message-Id: CAC=wYCG0xBgNV66NhaHD6pco5x7jB1o9ADDoYtoLqZ2Y8czbpA@mail.gmail.com
In Reply to: Re: [gentoo-user] openscad seg fault by Godzil
1 >
2 > If it's build using debug options, looking with GDB where it fail would be
3 > much more useful than a random dependency graph.
4 >
5
6 Its not at the moment, but i can try that.
7
8 >
9 > It's intriguing that it default just after doing a mmap:
10 >
11 > mmap(NULL, 4096, PROT_READ|PROT_WRITE|PROT_EXEC,
12 > MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f50a7949000
13 >
14 >
15 > What options did you pass to strace to get this log? Have you set the
16 > "follow child" option?
17 >
18
19 No options. With follow child (-f) it looks similar tho;
20
21 [pid 31585] ioctl(10, 0xc008646a, 0x7ffe4fbcfb50) = 0
22 [pid 31585] ioctl(10, 0x40086464, 0x7ffe4fbcfb50) = 0
23 [pid 31585] ioctl(10, 0xc020645e, 0x7ffe4fbcfb70) = 0
24 [pid 31585] mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_SHARED, 10,
25 0x136821000) = 0x7f3f1a735000
26 [pid 31585] munmap(0x7f3f1a735000, 4096) = 0
27 [pid 31585] futex(0x201aba4, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x201aba0,
28 {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
29 [pid 32475] <... futex resumed> ) = 0
30 [pid 31585] futex(0x208d0ec, FUTEX_WAIT_PRIVATE, 1, NULL <unfinished ...>
31 [pid 32475] futex(0x201ab78, FUTEX_WAKE_PRIVATE, 1) = 0
32 [pid 32475] ioctl(10, 0xc0206466, 0x207bf50) = 0
33 [pid 32475] futex(0x208d0ec, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x208d0e8,
34 {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
35 [pid 31585] <... futex resumed> ) = 0
36 [pid 32475] futex(0x201aba4, FUTEX_WAIT_PRIVATE, 3, NULL <unfinished ...>
37 [pid 31585] futex(0x208d0c0, FUTEX_WAKE_PRIVATE, 1) = 0
38 [pid 31585] ioctl(10, 0xc020645d, 0x7ffe4fbcfe00) = 0
39 [pid 31585] futex(0x35a6a2c168, FUTEX_WAKE_PRIVATE, 2147483647) = 0
40 [pid 31585] mmap(NULL, 4096, PROT_READ|PROT_WRITE|PROT_EXEC,
41 MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3f1a735000
42 [pid 31585] --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR,
43 si_addr=0x968} ---
44 [pid 32475] +++ killed by SIGSEGV +++
45 +++ killed by SIGSEGV +++
46 Segmentation fault