hyrise / hyrise-v1

HYRISE In-Memory Hybrid Storage Engine (archived, now developed in hyrise/hyrise repo)
https://github.com/hyrise/hyrise
MIT License
89 stars 44 forks source link

Loading binary tables not working properly anymore in master #338

Open JWUST opened 10 years ago

JWUST commented 10 years ago

Loading binary tables seg faults, apparently since the big commit of last week (9ab5d8bf04a9619b68c61787075ccd2ad968fac5); at least I tried the commit before and it worked. Whoever takes this, pl contact me to get test data to reproduce the issue in case you cannot reproduce it. Backtrace attached:

Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7ffff2209700 (LWP 15193)] 0x00000000005b5357 in hyrise::storage::write_to_dict_functor_mmap::operator() (this=) at /begram/home/Johannes.Wust/hyrise/src/lib/io/TableDump.cpp:210 210 dict->addValue(*(ptr++)); (gdb) bt

0 0x00000000005b5357 in hyrise::storage::write_to_dict_functor_mmap::operator() (this=) at /begram/home/Johannes.Wust/hyrise/src/lib/io/TableDump.cpp:210

1 0x00000000005af3d8 in operator()hyrise::storage::write_to_dict_functor_mmap (this=, f=..., i=) at /begram/home/Johannes.Wust/hyrise/src/lib/storage/meta_storage.h:52

2 operator()hyrise::storage::write_to_dict_functor_mmap (this=, f=..., i=) at /begram/home/Johannes.Wust/hyrise/src/lib/storage/meta_storage.h:55

3 operator()hyrise::storage::write_to_dict_functor_mmap (this=, f=..., i=) at /begram/home/Johannes.Wust/hyrise/src/lib/storage/meta_storage.h:55

4 operator()hyrise::storage::write_to_dict_functor_mmap (this=, f=..., i=) at /begram/home/Johannes.Wust/hyrise/src/lib/storage/meta_storage.h:55

5 operator()hyrise::storage::write_to_dict_functor_mmap (this=, f=..., i=) at /begram/home/Johannes.Wust/hyrise/src/lib/storage/meta_storage.h:55

6 operator()hyrise::storage::write_to_dict_functor_mmap (this=, f=..., i=) at /begram/home/Johannes.Wust/hyrise/src/lib/storage/meta_storage.h:55

7 operator()hyrise::storage::write_to_dict_functor_mmap (this=, f=..., i=) at /begram/home/Johannes.Wust/hyrise/src/lib/storage/meta_storage.h:55

8 hyrise::io::TableDumpLoader::loadDictionary (this=this@entry=0x7fffec0048b0, name=..., col=col@entry=0, intable=...) at /begram/home/Johannes.Wust/hyrise/src/lib/io/TableDump.cpp:542

9 0x00000000005b0a37 in hyrise::io::TableDumpLoader::load (this=0x7fffec0048b0, intable=..., meta=, args=...) at /begram/home/Johannes.Wust/hyrise/src/lib/io/TableDump.cpp:648

10 0x00000000005c3686 in hyrise::io::Loader::load (args=...) at /begram/home/Johannes.Wust/hyrise/src/lib/io/Loader.cpp:129

11 0x00000000004a07c4 in hyrise::access::LoadDumpedTable::executePlanOperation (this=0x7fffec006308) at /begram/home/Johannes.Wust/hyrise/src/lib/access/storage/TableIO.cpp:47

12 0x00000000004f5499 in hyrise::access::PlanOperation::execute (this=this@entry=0x7fffec006308) at /begram/home/Johannes.Wust/hyrise/src/lib/access/system/PlanOperation.cpp:175

13 0x00000000004f63da in hyrise::access::PlanOperation::operator() (this=0x7fffec006308) at /begram/home/Johannes.Wust/hyrise/src/lib/access/system/PlanOperation.cpp:142

14 0x00000000005cd6b0 in hyrise::taskscheduler::WSThreadLevelQueuehyrise::taskscheduler::BasicQueueType::executeTasks (this=0x99ec40)

at /begram/home/Johannes.Wust/hyrise/src/lib/taskscheduler/WSThreadLevelQueue.h:110

15 0x00007ffff637bc80 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6

16 0x00007ffff5b99f8e in start_thread (arg=0x7ffff2209700) at pthread_create.c:311

17 0x00007ffff58c3a0d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

martinfaust commented 10 years ago

Did you regenerate your binary dumps? Which dictionary are you using?

On Wed, Apr 2, 2014 at 12:50 PM, JWUST notifications@github.com wrote:

Loading binary tables seg faults, apparently since the big commit of last week (9ab5d8bhttps://github.com/hyrise/hyrise/commit/9ab5d8bf04a9619b68c61787075ccd2ad968fac5); at least I tried the commit before and it worked. Whoever takes this, pl contact me to get test data to reproduce the issue in case you cannot reproduce it. Backtrace attached:

Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7ffff2209700 (LWP 15193)] 0x00000000005b5357 in hyrise::storage::write_to_dict_functor_mmap::operator() (this=) at /begram/home/Johannes.Wust/hyrise/src/lib/io/TableDump.cpp:210 210 dict->addValue(*(ptr++)); (gdb) bt

0 0x00000000005b5357 in

hyrise::storage::write_to_dict_functor_mmap::operator() (this=) at /begram/home/Johannes.Wust/hyrise/src/lib/io/TableDump.cpp:210

1 https://github.com/hyrise/hyrise/issues/1 0x00000000005af3d8 in

operator()hyrise::storage::write_to_dict_functor_mmap (this=, f=..., i=) at /begram/home/Johannes.Wust/hyrise/src/lib/storage/meta_storage.h:52

2 https://github.com/hyrise/hyrise/issues/2 operator()

hyrise::storage::write_to_dict_functor_mmap (this=, f=..., i=) at /begram/home/Johannes.Wust/hyrise/src/lib/storage/meta_storage.h:55

3 https://github.com/hyrise/hyrise/issues/3 operator()

hyrise::storage::write_to_dict_functor_mmap (this=, f=..., i=) at /begram/home/Johannes.Wust/hyrise/src/lib/storage/meta_storage.h:55

4 https://github.com/hyrise/hyrise/issues/4 operator()

hyrise::storage::write_to_dict_functor_mmap (this=, f=..., i=) at /begram/home/Johannes.Wust/hyrise/src/lib/storage/meta_storage.h:55

5 https://github.com/hyrise/hyrise/issues/5 operator()

hyrise::storage::write_to_dict_functor_mmap (this=, f=..., i=) at /begram/home/Johannes.Wust/hyrise/src/lib/storage/meta_storage.h:55

6 https://github.com/hyrise/hyrise/pull/6 operator()

hyrise::storage::write_to_dict_functor_mmap (this=, f=..., i=) at /begram/home/Johannes.Wust/hyrise/src/lib/storage/meta_storage.h:55

7 https://github.com/hyrise/hyrise/issues/7 operator()

hyrise::storage::write_to_dict_functor_mmap (this=, f=..., i=) at /begram/home/Johannes.Wust/hyrise/src/lib/storage/meta_storage.h:55

8 https://github.com/hyrise/hyrise/issues/8hyrise::io::TableDumpLoader::loadDictionary (this=this@entry=0x7fffec0048b0,

name=..., col=col@entry=0, intable=...) at /begram/home/Johannes.Wust/hyrise/src/lib/io/TableDump.cpp:542

9 https://github.com/hyrise/hyrise/issues/9 0x00000000005b0a37 in

hyrise::io::TableDumpLoader::load (this=0x7fffec0048b0, intable=..., meta=, args=...) at /begram/home/Johannes.Wust/hyrise/src/lib/io/TableDump.cpp:648

10 https://github.com/hyrise/hyrise/issues/10 0x00000000005c3686 in

hyrise::io::Loader::load (args=...) at /begram/home/Johannes.Wust/hyrise/src/lib/io/Loader.cpp:129

11 https://github.com/hyrise/hyrise/pull/11 0x00000000004a07c4 in

hyrise::access::LoadDumpedTable::executePlanOperation (this=0x7fffec006308) at /begram/home/Johannes.Wust/hyrise/src/lib/access/storage/TableIO.cpp:47

12 https://github.com/hyrise/hyrise/pull/12 0x00000000004f5499 in

hyrise::access::PlanOperation::execute (this=this@entry=0x7fffec006308) at /begram/home/Johannes.Wust/hyrise/src/lib/access/system/PlanOperation.cpp:175

13 https://github.com/hyrise/hyrise/pull/13 0x00000000004f63da in

hyrise::access::PlanOperation::operator() (this=0x7fffec006308) at /begram/home/Johannes.Wust/hyrise/src/lib/access/system/PlanOperation.cpp:142

14 https://github.com/hyrise/hyrise/issues/14 0x00000000005cd6b0 in

hyrise::taskscheduler::WSThreadLevelQueue hyrise::taskscheduler::BasicQueueType::executeTasks (this=0x99ec40) at /begram/home/Johannes.Wust/hyrise/src/lib/taskscheduler/WSThreadLevelQueue.h:110

15 https://github.com/hyrise/hyrise/pull/15 0x00007ffff637bc80 in ??

() from /usr/lib/x86_64-linux-gnu/libstdc++.so.6

16 https://github.com/hyrise/hyrise/issues/16 0x00007ffff5b99f8e in

start_thread (arg=0x7ffff2209700) at pthread_create.c:311

17 https://github.com/hyrise/hyrise/pull/17 0x00007ffff58c3a0d in

clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

— Reply to this email directly or view it on GitHubhttps://github.com/hyrise/hyrise/issues/338 .