{"action":"opened","issue":{"url":"https://api.github.com/repos/orientechnologies/orientdb/issues/4282","labels_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/4282/labels{/name}","comments_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/4282/comments","events_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/4282/events","html_url":"https://github.com/orientechnologies/orientdb/issues/4282","id":84638851,"number":4282,"title":"Querying vertex hangs","user":{"login":"ylopotun","id":6156970,"avatar_url":"https://avatars.githubusercontent.com/u/6156970?v=3","gravatar_id":"","url":"https://api.github.com/users/ylopotun","html_url":"https://github.com/ylopotun","followers_url":"https://api.github.com/users/ylopotun/followers","following_url":"https://api.github.com/users/ylopotun/following{/other_user}","gists_url":"https://api.github.com/users/ylopotun/gists{/gist_id}","starred_url":"https://api.github.com/users/ylopotun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ylopotun/subscriptions","organizations_url":"https://api.github.com/users/ylopotun/orgs","repos_url":"https://api.github.com/users/ylopotun/repos","events_url":"https://api.github.com/users/ylopotun/events{/privacy}","received_events_url":"https://api.github.com/users/ylopotun/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-03T16:02:16Z","updated_at":"2015-06-03T16:02:16Z","closed_at":null,"body":"For one of the vertices in our DB, when we query for its edges, the DB server hangs:\n\nedges = vertex.getEdges(Direction.IN, incomingProperty.getEdgeLabel());\nfor (Edge edge : edges) {\n...\n}\n\nHere is the thread dump:\n\n\tat sun.misc.Unsafe.arrayBaseOffset(Native Method)\n\tat com.orientechnologies.common.directmemory.OUnsafeMemoryJava7.get(OUnsafeMemoryJava7.java:31)\n\tat com.orientechnologies.common.directmemory.ODirectMemoryPointer.get(ODirectMemoryPointer.java:79)\n\tat com.orientechnologies.orient.core.serialization.serializer.binary.impl.OLinkSerializer.deserializeFromDirectMemoryObject(OLinkSerializer.java:108)\n\tat com.orientechnologies.orient.core.serialization.serializer.binary.impl.OLinkSerializer.deserializeFromDirectMemoryObject(OLinkSerializer.java:43)\n\tat com.orientechnologies.orient.core.storage.impl.local.paginated.base.ODurablePage.deserializeFromDirectMemory(ODurablePage.java:127)\n\tat com.orientechnologies.orient.core.index.sbtreebonsai.local.OSBTreeBonsaiBucket.getKey(OSBTreeBonsaiBucket.java:285)\n\tat com.orientechnologies.orient.core.index.sbtreebonsai.local.OSBTreeBonsaiBucket.find(OSBTreeBonsaiBucket.java:203)\n\tat com.orientechnologies.orient.core.index.sbtreebonsai.local.OSBTreeBonsaiLocal.findBucket(OSBTreeBonsaiLocal.java:1225)\n\tat com.orientechnologies.orient.core.index.sbtreebonsai.local.OSBTreeBonsaiLocal.loadEntriesMajor(OSBTreeBonsaiLocal.java:729)\n\tat com.orientechnologies.orient.core.db.record.ridbag.sbtree.OSBTreeRidBag$SBTreeMapEntryIterator.prefetchData(OSBTreeRidBag.java:458)\n\tat com.orientechnologies.orient.core.db.record.ridbag.sbtree.OSBTreeRidBag$SBTreeMapEntryIterator.next(OSBTreeRidBag.java:440)\n\tat com.orientechnologies.orient.core.db.record.ridbag.sbtree.OSBTreeRidBag$SBTreeMapEntryIterator.next(OSBTreeRidBag.java:420)\n\tat com.orientechnologies.orient.core.db.record.ridbag.sbtree.OSBTreeRidBag.nextChangedNotRemovedSBTreeEntry(OSBTreeRidBag.java:1011)\n\tat com.orientechnologies.orient.core.db.record.ridbag.sbtree.OSBTreeRidBag.access$200(OSBTreeRidBag.java:57)\n\tat com.orientechnologies.orient.core.db.record.ridbag.sbtree.OSBTreeRidBag$RIDBagIterator.next(OSBTreeRidBag.java:329)\n\tat com.orientechnologies.orient.core.db.record.ridbag.sbtree.OSBTreeRidBag$RIDBagIterator.next(OSBTreeRidBag.java:253)\n\tat com.orientechnologies.orient.core.iterator.OLazyWrapperIterator.hasNext(OLazyWrapperIterator.java:89)\n\tat com.orientechnologies.common.collection.OMultiCollectionIterator.hasNext(OMultiCollectionIterator.java:80)\n\nThe same happens when we query this vertex from the console:\nselect from 19:2274\n\nI'll send the DB sample via e-mail."}}