Previous Thread
Next Thread
Print Thread
SIGSEGV in 6.5.1716.9 #35274 31 May 22 03:52 PM
Joined: Nov 2006
Posts: 2,223
S
Stephen Funkhouser Offline OP
Member
OP Offline
Member
S
Joined: Nov 2006
Posts: 2,223
I just received a segmentation fault. I've attached the corelog file and LSX file of the program.

Attached Files
6.5.1716.9_sigsegv.zip.gpg (243.98 KB, 61 downloads)
SHA1: 6a633b36f9531ddc516853048716bdc4f6b6e2a2

Stephen Funkhouser
Diversified Data Solutions
Re: SIGSEGV in 6.5.1716.9 [Re: Stephen Funkhouser] #35275 31 May 22 04:01 PM
Joined: Nov 2006
Posts: 2,223
S
Stephen Funkhouser Offline OP
Member
OP Offline
Member
S
Joined: Nov 2006
Posts: 2,223
Forgot to include one of the LSX files.

Attached Files
errmsg.zip.gpg (103.68 KB, 55 downloads)
SHA1: 3991fd00720c9438df824fe9869faa595e6f2996

Stephen Funkhouser
Diversified Data Solutions
Re: SIGSEGV in 6.5.1716.9 [Re: Stephen Funkhouser] #35278 31 May 22 04:38 PM
Joined: Jun 2001
Posts: 11,794
J
Jack McGregor Offline
Member
Offline
Member
J
Joined: Jun 2001
Posts: 11,794
The SEGV is a secondary consequence of things spinning out of control after the initial triggering error which is a stack overflow on a file open statement. The core dump suggests that there are 301 files open at that point (after 2443 opens and closes), which leads me to suspect that your FILES= allocation in the miame.ini might only be set to 300? In that case, the error is legitimate (for better or worse, that is the official error for overflowing the file allocation table, even though it's a bit confusing since that doesn't sound like "stack overflow").

That doesn't justify the SEGV during the error trapping, but the fact that the error trapping is also trying to open files is leading to a kind of death spiral. I'll study that to look for a more elegant way to handle it, but first let's confirm the diagnosis of the initial stack overflow.

Re: SIGSEGV in 6.5.1716.9 [Re: Stephen Funkhouser] #35279 31 May 22 04:51 PM
Joined: Nov 2006
Posts: 2,223
S
Stephen Funkhouser Offline OP
Member
OP Offline
Member
S
Joined: Nov 2006
Posts: 2,223
FILES=300,300.

Sorry for not catching that one.


Stephen Funkhouser
Diversified Data Solutions

Moderated by  Jack McGregor, Ty Griffin 

Powered by UBB.threads™ PHP Forum Software 7.7.3