Gentoo Archives: gentoo-user

From: Godzil <godzil@××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] openscad seg fault
Date: Sat, 12 Mar 2016 15:43:07
Message-Id: C28377AA-53A9-4C6E-B4D3-A9C93354C554@godzil.net
In Reply to: [gentoo-user] openscad seg fault by Adam Carter
1 If it's build using debug options, looking with GDB where it fail would be much more useful than a random dependency graph.
2
3 It's intriguing that it default just after doing a mmap:
4
5 mmap(NULL, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f50a7949000
6
7
8 What options did you pass to strace to get this log? Have you set the "follow child" option?
9
10 > Le 10 mars 2016 à 05:55, Adam Carter <adamcarter3@×××××.com> a écrit :
11 >
12 > I can open the program ok, but when I click on New it seg faults. Strace of its death below.
13 >
14 > I tried recompiling it and all its immediate dependencies. How do i troubleshoot this?
15 >
16 > Cheers.
17 >
18 >
19 > ioctl(10, 0xc020645e, 0x7ffc4f7bd9c0) = 0
20 > mmap(NULL, 65536, PROT_READ|PROT_WRITE, MAP_SHARED, 10, 0x1380a1000) = 0x7f50a6adc000
21 > brk(0x2ed6000) = 0x2ed6000
22 > ioctl(10, 0xc020645d, 0x7ffc4f7bd960) = 0
23 > ioctl(10, 0xc020645e, 0x7ffc4f7bda00) = 0
24 > mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_SHARED, 10, 0x1380b1000) = 0x7f50a794a000
25 > ioctl(10, 0xc020645d, 0x7ffc4f7bd800) = 0
26 > ioctl(10, 0xc008646a, 0x7ffc4f7bd930) = 0
27 > ioctl(10, 0x40086464, 0x7ffc4f7bd930) = 0
28 > ioctl(10, 0xc020645e, 0x7ffc4f7bd950) = 0
29 > mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_SHARED, 10, 0x1380b2000) = 0x7f50a7949000
30 > munmap(0x7f50a7949000, 4096) = 0
31 > ioctl(10, 0xc020645d, 0x7ffc4f7bd800) = 0
32 > ioctl(10, 0xc008646a, 0x7ffc4f7bd930) = 0
33 > ioctl(10, 0x40086464, 0x7ffc4f7bd930) = 0
34 > ioctl(10, 0xc020645e, 0x7ffc4f7bd950) = 0
35 > mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_SHARED, 10, 0x1380b3000) = 0x7f50a7949000
36 > munmap(0x7f50a7949000, 4096) = 0
37 > futex(0x2aea9f4, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x2aea9f0, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
38 > futex(0x2aea9c8, FUTEX_WAKE_PRIVATE, 1) = 1
39 > futex(0x2c652dc, FUTEX_WAIT_PRIVATE, 1, NULL) = -1 EAGAIN (Resource temporarily unavailable)
40 > futex(0x2c652b0, FUTEX_WAKE_PRIVATE, 1) = 0
41 > ioctl(10, 0xc020645d, 0x7ffc4f7bdbe0) = 0
42 > futex(0x35a6a2c168, FUTEX_WAKE_PRIVATE, 2147483647) = 0
43 > mmap(NULL, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f50a7949000
44 > --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x968} ---
45 > +++ killed by SIGSEGV +++
46 > Segmentation fault
47 >

Replies

Subject Author
Re: [gentoo-user] openscad seg fault Adam Carter <adamcarter3@×××××.com>