Displaying 4 results from an estimated 4 matches for "write_to_disk".
2006 Mar 09
1
Rails File Upload w/ Ajax Update?
...:filename => file.original_filename,
:mime => file.content_type.chomp,
:user => session[:user],
:account => account,
:created_at => Time.now)
@up.write_to_disk(file)
@message = ''File uploaded: '' + file.size.to_s
finish_upload_status "''#{@message}''"
if request.xhr?
@headers[''resource-id''] = @up.id
@headers[''Content-Type''...
2005 Jul 06
1
test76 segfaults?
Hi,
I was just trying to port my dspam plugin to the latest test release but
ran into trouble so I decided to test the code itself first.
I have the following maildir:
johannes:~/.mail$ find
.
./cur
./new
./new/test
./tmp
./.SPAM
./.SPAM/cur
./.SPAM/new
./.SPAM/tmp
Now I run
$ exec /usr/sbin/dovecot --exec-mail imap
* PREAUTH [CAPABILITY IMAP4rev1 SORT THREAD=REFERENCES MULTIAPPEND UNSELECT
2005 Jun 08
2
Debugging test72
When attempting to save a message from the INBOX to a folder in a
collection (like, .projects.dovecot), I get behavior like this (in
GDB). Any clue what might be going wrong?
Here's where a SIGABRT happens:
280 return array->buffer->used / array->element_size;
This is the stack trace:
(gdb) where
#0 mail_index_map_get_ext_idx (map=0x1200c0db0, ext_id=0,
2005 Jul 18
2
Assertion failure in mail-index-transaction.c
...sion_pool = 0x80ce490, extensions = {
buffer = 0x80ce4c0, element_size = 28}, ext_id_map = {buffer = 0x80ce588,
element_size = 4}, mmap_base = 0x0, mmap_size = 0, mmap_used_size = 0,
buffer = 0x80c61b8, hdr_copy_buf = 0x80c6090, keyword_idx_map = {
buffer = 0x0, element_size = 0}, write_to_disk = 0}
(gdb) p t
$5 = (struct mail_index_transaction *) 0x80d14b8
(gdb) p *t
$6 = {refcount = 1, view = 0x80cfdc0, appends = {buffer = 0x80d4830,
element_size = 8}, first_new_seq = 930, last_new_seq = 953, expunges = {
buffer = 0x80d4810, element_size = 8}, updates = {buffer = 0x0,
ele...