{"action":"created","issue":{"url":"https://api.github.com/repos/libyal/libesedb/issues/37","repository_url":"https://api.github.com/repos/libyal/libesedb","labels_url":"https://api.github.com/repos/libyal/libesedb/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/libyal/libesedb/issues/37/comments","events_url":"https://api.github.com/repos/libyal/libesedb/issues/37/events","html_url":"https://github.com/libyal/libesedb/issues/37","id":273736204,"node_id":"MDU6SXNzdWUyNzM3MzYyMDQ=","number":37,"title":"get_number_of_records fails","user":{"login":"azerg","id":8020510,"node_id":"MDQ6VXNlcjgwMjA1MTA=","avatar_url":"https://avatars2.githubusercontent.com/u/8020510?v=4","gravatar_id":"","url":"https://api.github.com/users/azerg","html_url":"https://github.com/azerg","followers_url":"https://api.github.com/users/azerg/followers","following_url":"https://api.github.com/users/azerg/following{/other_user}","gists_url":"https://api.github.com/users/azerg/gists{/gist_id}","starred_url":"https://api.github.com/users/azerg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azerg/subscriptions","organizations_url":"https://api.github.com/users/azerg/orgs","repos_url":"https://api.github.com/users/azerg/repos","events_url":"https://api.github.com/users/azerg/events{/privacy}","received_events_url":"https://api.github.com/users/azerg/received_events","type":"User","site_admin":false},"labels":[{"id":651015519,"node_id":"MDU6TGFiZWw2NTEwMTU1MTk=","url":"https://api.github.com/repos/libyal/libesedb/labels/needs%20a%20closer%20look","name":"needs a closer look","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":{"login":"joachimmetz","id":3888750,"node_id":"MDQ6VXNlcjM4ODg3NTA=","avatar_url":"https://avatars2.githubusercontent.com/u/3888750?v=4","gravatar_id":"","url":"https://api.github.com/users/joachimmetz","html_url":"https://github.com/joachimmetz","followers_url":"https://api.github.com/users/joachimmetz/followers","following_url":"https://api.github.com/users/joachimmetz/following{/other_user}","gists_url":"https://api.github.com/users/joachimmetz/gists{/gist_id}","starred_url":"https://api.github.com/users/joachimmetz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joachimmetz/subscriptions","organizations_url":"https://api.github.com/users/joachimmetz/orgs","repos_url":"https://api.github.com/users/joachimmetz/repos","events_url":"https://api.github.com/users/joachimmetz/events{/privacy}","received_events_url":"https://api.github.com/users/joachimmetz/received_events","type":"User","site_admin":false},"assignees":[{"login":"joachimmetz","id":3888750,"node_id":"MDQ6VXNlcjM4ODg3NTA=","avatar_url":"https://avatars2.githubusercontent.com/u/3888750?v=4","gravatar_id":"","url":"https://api.github.com/users/joachimmetz","html_url":"https://github.com/joachimmetz","followers_url":"https://api.github.com/users/joachimmetz/followers","following_url":"https://api.github.com/users/joachimmetz/following{/other_user}","gists_url":"https://api.github.com/users/joachimmetz/gists{/gist_id}","starred_url":"https://api.github.com/users/joachimmetz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joachimmetz/subscriptions","organizations_url":"https://api.github.com/users/joachimmetz/orgs","repos_url":"https://api.github.com/users/joachimmetz/repos","events_url":"https://api.github.com/users/joachimmetz/events{/privacy}","received_events_url":"https://api.github.com/users/joachimmetz/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2017-11-14T10:15:54Z","updated_at":"2018-12-28T12:04:56Z","closed_at":null,"author_association":"NONE","body":"[Sample db file](https://1drv.ms/u/s!AuhnFrP2vsuDxCHmmgRsEw714mj_)\r\n\r\nHow to reproduce:\r\n\r\n```\r\nimport pyesedb\r\n\r\ndb = pyesedb.open(...)\r\ntable0 = db.get_table_by_name(\"Container_21\")\r\n\r\nnum = table0.get_number_of_records()\r\nprint table0.get_name(), \" records: \", num\r\n```\r\n\r\nThe result ( on table \"Container_21\") is:\r\n\r\n>  libesedb_table_get_number_of_records: unable to retrieve number of leaf values from table values tree.values: unsupported page tags value size value out of bounds.\r\n\r\nesedbinfo output - dont see any troubles with Container_21:\r\n\r\n> Table: 34\t\t\tContainer_21 (58)\r\n> \tNumber of columns:\t25\r\n> \tColumn\tIdentifier\tName\tType\r\n> \t1\t1\tEntryId\tInteger 64-bit signed\r\n> \t2\t2\tContainerId\tInteger 64-bit signed\r\n> \t3\t3\tCacheId\tInteger 64-bit signed\r\n> \t4\t4\tUrlHash\tInteger 64-bit signed\r\n> \t5\t5\tSecureDirectory\tInteger 32-bit unsigned\r\n> \t6\t6\tFileSize\tInteger 64-bit signed\r\n> \t7\t7\tType\tInteger 32-bit unsigned\r\n> \t8\t8\tFlags\tInteger 32-bit unsigned\r\n> \t9\t9\tAccessCount\tInteger 32-bit unsigned\r\n> \t10\t10\tSyncTime\tInteger 64-bit signed\r\n> \t11\t11\tCreationTime\tInteger 64-bit signed\r\n> \t12\t12\tExpiryTime\tInteger 64-bit signed\r\n> \t13\t13\tModifiedTime\tInteger 64-bit signed\r\n> \t14\t14\tAccessedTime\tInteger 64-bit signed\r\n> \t15\t15\tPostCheckTime\tInteger 64-bit signed\r\n> \t16\t16\tSyncCount\tInteger 32-bit unsigned\r\n> \t17\t17\tExemptionDelta\tInteger 32-bit unsigned\r\n> \t18\t256\tUrl\tLarge text\r\n> \t19\t257\tFilename\tLarge text\r\n> \t20\t258\tFileExtension\tLarge text\r\n> \t21\t259\tRequestHeaders\tLarge binary data\r\n> \t22\t260\tResponseHeaders\tLarge binary data\r\n> \t23\t261\tRedirectUrl\tLarge text\r\n> \t24\t262\tGroup\tLarge binary data\r\n> \t25\t263\tExtraData\tLarge binary data\r\n> \r\n> \tNumber of indexes:\t1\r\n> \tIndex: 1\t\tHashEntryIdIndex (58)\r\n> \r\n> Index: 1\t\t\tHashEntryIdIndex (58)"},"comment":{"url":"https://api.github.com/repos/libyal/libesedb/issues/comments/450349164","html_url":"https://github.com/libyal/libesedb/issues/37#issuecomment-450349164","issue_url":"https://api.github.com/repos/libyal/libesedb/issues/37","id":450349164,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MDM0OTE2NA==","user":{"login":"joachimmetz","id":3888750,"node_id":"MDQ6VXNlcjM4ODg3NTA=","avatar_url":"https://avatars2.githubusercontent.com/u/3888750?v=4","gravatar_id":"","url":"https://api.github.com/users/joachimmetz","html_url":"https://github.com/joachimmetz","followers_url":"https://api.github.com/users/joachimmetz/followers","following_url":"https://api.github.com/users/joachimmetz/following{/other_user}","gists_url":"https://api.github.com/users/joachimmetz/gists{/gist_id}","starred_url":"https://api.github.com/users/joachimmetz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joachimmetz/subscriptions","organizations_url":"https://api.github.com/users/joachimmetz/orgs","repos_url":"https://api.github.com/users/joachimmetz/repos","events_url":"https://api.github.com/users/joachimmetz/events{/privacy}","received_events_url":"https://api.github.com/users/joachimmetz/received_events","type":"User","site_admin":false},"created_at":"2018-12-28T12:04:56Z","updated_at":"2018-12-28T12:04:56Z","author_association":"MEMBER","body":"esedbexport -v -T Container_21 8281.dat\r\n\r\n```\r\nlibesedb_page_read_tags: invalid number of page tags value out of bounds.\r\nlibesedb_page_read: unable to read page tags.\r\nlibesedb_io_handle_read_page: unable to read page.\r\nlibfdata_vector_get_element_value_by_index: unable to read element data at offset: 0x015e8000.\r\nlibfdata_vector_get_element_value_at_offset: unable to retrieve element: 699 value.\r\nlibesedb_page_tree_read_page: unable to retrieve page: 700 at offset: 0x015d8000.\r\nlibesedb_page_tree_read_node: unable to read page: 700 at offset: 0x015d8000.\r\nlibfdata_btree_read_node: unable to read node at offset: 22904832.\r\nlibfdata_btree_read_sub_tree: unable to read node.\r\nlibfdata_btree_read_sub_tree: unable to read sub node: 11 sub tree.\r\nlibfdata_btree_get_number_of_leaf_values: unable to read root node sub tree.\r\nlibesedb_table_get_number_of_records: unable to retrieve number of leaf values from table values tree.\r\nexport_handle_export_table: unable to retrieve number of records.\r\nexport_handle_export_file: unable to export table: 33.\r\n```"}}
{"actor":{"display_login":"joachimmetz"}}