Roundcube Community Forum

Release Support => Pending Issues => Topic started by: dweimer on June 08, 2015, 10:03:09 AM

Title: 1.1.2 Update, Unable to attach Files.
Post by: dweimer on June 08, 2015, 10:03:09 AM
After the 1.1.2 Update I appear to be unable to attach files. The uploading file just spins forever, I don't get any errors in the logs to indicate what's going on. I did verify the temp directory was writable. I can upload via PHP to other applications on the server so I don't believe it is a PHP upload issue.
Title: Re: 1.1.2 Update, Unable to attach Files.
Post by: SKaero on June 08, 2015, 12:05:29 PM
Are there any errors in the js console?
Title: Re: 1.1.2 Update, Unable to attach Files.
Post by: dweimer on June 08, 2015, 01:03:11 PM
hmm, the console log just shows a post was done. the debugger does show that the connection was reset.

Title: Re: 1.1.2 Update, Unable to attach Files.
Post by: SKaero on June 08, 2015, 02:28:14 PM
Look at the web server logs and see if there is any info in there.
Title: Re: 1.1.2 Update, Unable to attach Files.
Post by: dweimer on June 08, 2015, 02:48:03 PM
Well I found sort of what's happening, looks like its triggering a segmentation fault.

[Mon Jun 08 13:31:37.903133 2015] [core:notice] [pid 74464] AH00052: child pid 76950 exit signal Segmentation fault (11)

It only showed in the http error logs instead of the https error logs so I didn't see it when I first looked before posting.

Not sure why yet, its consistent though every attempt to upload a file whether its a tiny text file or a large image and instantaneously the Apache child process faults.
I have rebuilt apache, php and all its modules and rebooted the server no change. Guess its time to enable some Apache debugging to see if I can find out whats happening.
Title: Re: 1.1.2 Update, Unable to attach Files.
Post by: dweimer on June 08, 2015, 10:16:36 PM
It appears to have been a corrupted library somewhere within the system, went route of crash and burn as debugging didn't lead anywhere.

Complete removal and reinstall of all applications, and now I can attach files without a problem.

Thankfully, the system was running on a FreeBSD jail, and has heavy use of ZFS was able to rebuild system in a replica of the data set, in a test jail while production system was up and running minus the ability to email attachments.