Displaying 20 results from an estimated 21 matches for "lock_id".
2006 Jul 18
5
SQL query question
Hello,
I know it''s off-topic. But I''m sure you are using SQL and can help me ;)
I''ve a table CARS and a table KEYS and a LOCKS table.
CARS
id|name
1|audi
2|ford
3|mazda
4|porsche
...
KEYS
id|car_id|lock_id
1|1|1
2|2|1
3|2|2
4|3|1
5|3|2
6|4|1
7|4|2
8|4|3
...
LOCKS
id|name
1|main
2|spare
3|engine
...
A car can have many keys. Keys are for different locks.
How can I get the cars which have at least the keys for locks like
another car.
So in the above example...
ford and mazda have keys for the same l...
2010 Mar 08
4
Error with clvm
Hi,
I get this error when i try to start clvm (debian lenny) :
This is a clvm version with openais
# /etc/init.d/clvm restart
Deactivating VG ::.
Stopping Cluster LVM Daemon: clvm.
Starting Cluster LVM Daemon: clvmCLVMD[86475770]: Mar 8 11:25:27 CLVMD
started
CLVMD[86475770]: Mar 8 11:25:27 Our local node id is -1062730132
CLVMD[86475770]: Mar 8 11:25:27 Add_internal_client, fd = 7
2007 Jan 05
2
Dovecot rc15 crash in mbox-sync-update.c
...ed_keywords_pool = 0xc36a0, prev_msg_uid = 5494, next_uid = 5709,
idx_next_uid = 1, seq = 586, idx_seq = 587, need_space_seq = 45,
expunged_space = 0, space_diff = -27680, dest_first_mail = 0,
first_mail_crlf_expunged = 0, delay_writes = 0}
seq = 4294967295
offset = 18446744073709551615
lock_id = 3
ret = 0
changed = 1
#7 0x0003e2c8 in mbox_sync (mbox=0xb8128, flags=0) at mbox-sync.c:1312
index_sync_ctx = (struct mail_index_sync_ctx *) 0x7e9
sync_view = (struct mail_index_view *) 0x1ee3429
sync_ctx = {mbox = 0x164d, flags = MBOX_SYNC_LAST_COMMIT,
input = 0x24a, file_input = 0x24b,...
2013 Sep 10
1
Dovecot 2.0, 2.1 and 2.2.5 core dump when Quota Plugin (FS) is enabled
...ernal_fatal_handler (ctx=0x7fff1c87efa0, format=<value optimized out>, args=<value optimized out>) at failures.c:649
#4 0x0000003c78219eaa in i_panic (format=0x2c1e <Address 0x2c1e out of bounds>) at failures.c:263
#5 0x0000003c786600c0 in mbox_transaction_unlock (box=0x1a51270, lock_id=<value optimized out>) at mbox-storage.c:711
#6 0x00007f95c08c77e7 in quota_mailbox_transaction_rollback (ctx=0x1a589e0) at quota-storage.c:142
#7 0x00007f95c08c7218 in quota_mailbox_sync_notify (box=0x1a51270, uid=0, sync_type=0) at quota-storage.c:301
#8 0x0000003c7865fea8 in mbox_sync (...
2008 Mar 08
2
suspect valgrind error in mail-index-map.c
...self,
or if it is doing something useful.
Regards,
Diego Liziero.
---
1104 void mail_index_map_move_to_memory(struct mail_index_map *map)
1105 {
1106 struct mail_index_record_map *new_map;
1107
1108 if (map->rec_map->mmap_base == NULL)
1109 return;
1110
1111 i_assert(map->rec_map->lock_id != 0);
1112
1113 new_map = array_count(&map->rec_map->maps) == 1 ? map->rec_map :
1114 mail_index_record_map_alloc(map);
1115
1116 mail_index_map_copy_records(new_map, map->rec_map,
1117 map->hdr.record_size);
1118 mail_index_map_copy_header(map, map);
1119
1120 if...
2005 Sep 08
1
1.0alpha1: another imap core, no assert
...log_file_seq = 1,
log_file_int_offset = 24240, log_file_ext_offset = 24240, sync_size = 13022941,
sync_stamp = 1126108845, day_stamp = 1126065600, day_first_uid = {231, 205, 192, 192, 192,
158, 158, 158}}, log_file_seq = 1, log_file_offset = 24240, log_syncs = 0x0,
transactions = 0, lock_id = 314, inconsistent = 0, syncing = 0}
(gdb) print (*view->trans_view)
$5 = {refcount = 1, methods = {close = 0x4f448 <_tview_close>,
get_messages_count = 0x4f46c <_tview_get_message_count>,
get_header = 0x4f494 <_tview_get_header>, lookup_full = 0x4f4b0 <_tview_looku...
2006 May 22
1
beta8: cores on corrupted index file
...g_file_ext_offset = 0,
sync_size = 4, sync_stamp = 1, day_stamp = 0, day_first_uid = {0, 0,
753608, 4290770460, 753608, 771112, 4290770460, 0}},
log_file_seq = 777360, log_file_offset = 1799591297024, log_syncs = {
buffer = 0x0, element_size = 4290770300}, transactions = -4197008,
lock_id = 0, inconsistent = 0, syncing = 0, broken_counters = 0}
(gdb) up
#3 0x000631d0 in mail_cache_compress (cache=0x0, view=0xbc460)
at mail-cache-compress.c:367
367 return mail_cache_compress_locked(cache, view);
(gdb) print *view
$3 = {refcount = 1, methods = {close = 0x5d078...
2005 Aug 30
0
New imap assertion failure
...uffer = 0x80c8dc8, element_size = 8}, sync_lost_handlers = {
buffer = 0x80c8de8, element_size = 4},
filepath = 0x80c8c70 "/mailhome/new/s/b/support/.imap/Tier-2/dovecot.index", fd = 6, map = 0x0, hdr = 0x0, indexid = 0, lock_type = 2,
shared_lock_count = 0, excl_lock_count = 0, lock_id = 14,
copy_lock_path = 0x0, dotlock = 0x0, lock_method = MAIL_INDEX_LOCK_FCNTL,
sync_log_file_seq = 1, sync_log_file_offset = 24, keywords_pool = 0x80c8460,
keywords = {buffer = 0x80c8140, element_size = 4},
keywords_hash = 0x80c8658, keywords_ext_id = 0, last_grow_count = 0,
error =...
2017 Feb 03
0
Crash while reading compressed mbox: Panic: file istream-zlib.c: line 416 (i_stream_zlib_seek): assertion failed: (ret == -1)
...in mbox_sync_loop (sync_ctx=0x7fffffffe418,
mail_ctx=0x7fffffffe270, partial=false) at mbox-sync.c:1057
#12 0x0000000010b290cb in mbox_sync_do (sync_ctx=0x7fffffffe418,
flags=MBOX_SYNC_UNDIRTY) at mbox-sync.c:1642
#13 0x0000000010b28999 in mbox_sync_int (mbox=0x118ee040,
flags=MBOX_SYNC_UNDIRTY, lock_id=0x7fffffffe640) at mbox-sync.c:1969
#14 0x0000000010b280ea in mbox_sync (mbox=0x118ee040,
flags=MBOX_SYNC_UNDIRTY) at mbox-sync.c:2022
#15 0x0000000010b28c9e in mbox_storage_sync_init (box=0x118ee040,
flags=65) at mbox-sync.c:2071
#16 0x0000000010acc280 in mailbox_sync_init (box=0x118ee040, flags...
2005 Dec 14
0
Assertion Failure in Current CVS Version
...log_file_seq = 16, log_file_int_offset = 22028,
log_file_ext_offset = 22028, sync_size = 101978714,
sync_stamp = 1134159156, day_stamp = 1134277200, day_first_uid = {4781,
4779, 4779, 0, 0, 0, 0, 0}}, log_file_seq = 16, log_file_offset = 22028,
log_syncs = 0x0, transactions = 1, lock_id = 0, inconsistent = 0,
syncing = 0}
(gdb) p *t
$3 = {refcount = 1, view = 0x80e3668, appends = {buffer = 0x80e9320,
element_size = 8}, first_new_seq = 1914, last_new_seq = 2478, expunges = {
buffer = 0x80e8000, element_size = 8}, updates = {buffer = 0x80e8020,
element_size = 12},...
2014 Oct 29
2
2.2.15 Panic in mbox_sync_read_next_mail()
...alue = 0, last_uid_value_start_pos = 0, have_eoh = 0, need_rewrite = 0,
seen_imapbase = 0, updated = 0, recent = 0, dirty = 0, imapbase_rewrite = 0, imapbase_updated = 0}
st = (const struct stat *) 0x80c0060
i = 0
ret = 52
partial = 1
#10 0xfeea4363 in mbox_sync_int (mbox=0x80b4868, flags=0, lock_id=0x8047988)
at ../../../../src/lib/array.h:158
index_sync_ctx = (struct mail_index_sync_ctx *) 0x80b62e0
sync_view = (struct mail_index_view *) 0x80b6320
trans = (struct mail_index_transaction *) 0x80c5890
sync_ctx = {mbox = 0x80b4868, flags = 0, input = 0x80c0180, file_input = 0x80c0040,...
2006 Dec 14
2
604995471 7500 routers / upgrade issue
Hi Benjamin:
I think that the following link will give you an idea for what you need to
know:
http://www.cisco.com/warp/customer/620/roadmap_b.shtml
This is for the naming:
http://www.cisco.com/en/US/products/sw/iosswrel/ps1818/products_tech_note09186a0080101cda.shtml
In this case 11.1CC goes to 12.0T and 12.0T migrate to 12.1 mainline. Do not
you worry you will not loose anything with the new
2009 Nov 12
1
Bug report
...f6 in mbox_sync_loop (sync_ctx=0x7fffffffe290, mail_ctx=0x7fffffffe0b0, partial=false) at mbox-sync.c:1004
#8 0x0000000000465c00 in mbox_sync_do (sync_ctx=0x7fffffffe290, flags=MBOX_SYNC_UNDIRTY) at mbox-sync.c:1535
#9 0x00000000004667b8 in mbox_sync_int (mbox=0x40d23848, flags=MBOX_SYNC_UNDIRTY, lock_id=0x7fffffffe4b8) at mbox-sync.c:1842
#10 0x0000000000466a26 in mbox_sync (mbox=0x40d23848, flags=MBOX_SYNC_UNDIRTY) at mbox-sync.c:1894
#11 0x0000000000466b8a in mbox_storage_sync_init (box=0x40d23848, flags=65) at mbox-sync.c:1936
#12 0x0000000000488d34 in mailbox_sync_init (box=0x40d23848, flags=6...
2008 Dec 04
1
assertion failed in 1.1.7 file mbox-sync.c: line 1305 (mbox_sync_handle_eof_updates)
...dx_seq =
2, need_space_seq = 0, last_nonrecent_uid = 0,
expunged_space = 243, space_diff = 0, dest_first_mail = 1,
first_mail_crlf_expunged = 0, delay_writes = 1, renumber_uids = 0,
moved_offsets = 0, ext_modified = 0, index_reset = 0, errors = 0}
sync_flags = MAIL_INDEX_SYNC_FLAG_DROP_RECENT
lock_id = 23
ret = 1
changed = 1
delay_writes = true
__PRETTY_FUNCTION__ = "mbox_sync_int"
#9 0x08092a0a in mbox_sync (mbox=0x97f0c28, flags=0) at mbox-sync.c:1873
ret = 1
#10 0x08092ad8 in mbox_storage_sync_init (box=0x97f0c28,
flags=MAILBOX_SYNC_FLAG_FIX_INCONSISTENT) at mbox-sync.c:1897...
2006 Nov 23
1
rc15 dumped core
...tion.c:44
t = (struct index_transaction_context *) 0x14ef28
seq = 1331256
offset = 5097129749334968
ret = 1395248
#5 0x0004e478 in mbox_transaction_commit (_t=0x14ef28, flags=0) at mbox-transaction.c:35
t = (struct mbox_transaction_context *) 0x14ef28
mbox = (struct mbox_mailbox *) 0x14bd98
lock_id = 2
mbox_modified = false
ret = 0
#6 0x000b4ddc in mailbox_transaction_commit (_t=0x14715c, flags=0) at mail-storage.c:504
t = (struct mailbox_transaction_context *) 0x14ef28
#7 0x0002b24c in imap_fetch_deinit (ctx=0x147150) at imap-fetch.c:340
handlers = (const struct imap_fetch_context_hand...
2008 Mar 10
2
dovecot 1.1.rc3 assertion failed at index_mailbox_set_recent_uid while deleting message with thunderbird.
...504
ret = <value optimized out>
#8 0x08079cf9 in mbox_transaction_commit (t=0x88c5550,
log_file_seq_r=0xbfd8cbc8, log_file_offset_r=0xbfd8cbc0) at
mbox-transaction.c:45
mt = (struct mbox_transaction_context *) 0x88cb1c0
mbox = (struct mbox_mailbox *) 0x88ca768
lock_id = 3
ret = 0
#9 0x0809c69e in index_transaction_commit (_t=0x88cb1c0,
uid_validity_r=0xbfd8cc48, first_saved_uid_r=0xbfd8cc44,
last_saved_uid_r=0xbfd8cc40) at index-transaction.c:105
itrans = (struct mail_index_transaction *) 0x0
seq = 7
offset = 20544
#10 0x0805...
2010 Oct 10
1
Dovecot 2.0 lock upgrade assertion failure
...ormat=<value optimized out>)
at failures.c:244
args = {{gp_offset = 40, fp_offset = 48,
overflow_arg_area = 0x7fff71f8cc40, reg_save_area = 0x7fff71f8cb80}}
#5 0x00007fe8060ff244 in mail_index_lock (index=0x1cf0f80,
lock_type=1,
timeout_secs=<value optimized out>, lock_id_r=0x7fff71f8cdac)
at mail-index-lock.c:62
ret = <value optimized out>
__FUNCTION__ = "mail_index_lock"
#6 0x00007fe8060ff2d0 in mail_index_try_lock_exclusive (index=0x4c10,
lock_id_r=<value optimized out>) at mail-index-lock.c:146
ret = <va...
2007 Mar 05
1
new crashes: is the index/mail cache endian neutral?
...le size (1768)
dovecot: Mar 01 09:20:44 Warning: IMAP(foobar): fscking index file /home/foobar/
Mail/imapd-indices/Mail/.imap/NDMP/dovecot.index
dovecot: Mar 01 09:20:44 Error: child 111112 (imap) killed with signal 11
-dp
#0 0x0809eaa1 in mail_index_lock_exclusive (index=0x8117c70,
lock_id_r=0x8047490) at mail-index-lock.c:326
ret = 0
__PRETTY_FUNCTION__ = "mail_index_lock_exclusive"
#1 0x0809e15e in mail_index_fsck (index=0x8117c70) at mail-index-fsck.c:169
error = 0x80e9498 ""
lock_id = 135173240
file_seq = 16777216...
2007 Jan 25
1
X-UID gaps cause Dovecot/IMAP to hang
...t mbox-lock.c:492
ctx = {mbox = 0xdd100, lock_status = {1, 0, 0, 0},
checked_file = false, lock_type = 2, dotlock_last_stale = true}
max_wait_time = -4263232
ret = 905472
i = 1169749509
drop_locks = false
#6 0x3932c in mbox_lock (mbox=0xdd100, lock_type=2, lock_id_r=0xffbef3ec)
at mbox-lock.c:534
ret = 905472
#7 0x3ef14 in mbox_sync (mbox=0xdd100, flags=44) at mbox-sync.c:1642
lock_type = 2
index_sync_ctx = (struct mail_index_sync_ctx *) 0x156e1302
sync_view = (struct mail_index_view *) 0x395c0
sync_ctx = {mbox =...
2009 Sep 30
3
Some issues in Dovecot 1.2.5 after upgrade from 1.0.15
...) at mbox-sync.c:1586
> #9 0x62d28 in mbox_sync_has_changed_full (mbox=0x1272d8, leave_dirty=true, empty_r=0xffbeeab7) at mbox-sync.c:1644
> #10 0x62cb4 in mbox_sync_has_changed (mbox=0xffffffff, leave_dirty=true) at mbox-sync.c:1611
> #11 0x63428 in mbox_sync_int (mbox=0x1272d8, flags=0, lock_id=0xffbeee04) at mbox-sync.c:1701
> #12 0x634f4 in mbox_sync (mbox=0x1272d8, flags=0) at mbox-sync.c:1894
> #13 0x63674 in mbox_storage_sync_init (box=0x1272d8, flags=65) at mbox-sync.c:1936
> #14 0x7ebf4 in mailbox_sync_init (box=0x1272d8, flags=65) at mail-storage.c:562
> #15 0x7ecb8 in...