Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loading binary tables not working properly anymore in master #338

Open
JWUST opened this issue Apr 2, 2014 · 1 comment
Open

Loading binary tables not working properly anymore in master #338

JWUST opened this issue Apr 2, 2014 · 1 comment

Comments

@JWUST
Copy link
Contributor

JWUST commented Apr 2, 2014

Loading binary tables seg faults, apparently since the big commit of last week (9ab5d8b); 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
Copy link
Contributor

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

On Wed, Apr 2, 2014 at 12:50 PM, JWUST [email protected] 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 hyrise/hyrise#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 hyrise/hyrise#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 hyrise/hyrise#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 hyrise/hyrise#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 hyrise/hyrise#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 hyrise/hyrise#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 hyrise/hyrise#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 hyrise/hyrise#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 hyrise/hyrise#10 0x00000000005c3686 in
hyrise::io::Loader::load (args=...) at
/begram/home/Johannes.Wust/hyrise/src/lib/io/Loader.cpp:129
#11 hyrise/hyrise#11 0x00000000004a07c4 in
hyrise::access::LoadDumpedTable::executePlanOperation (this=0x7fffec006308)
at /begram/home/Johannes.Wust/hyrise/src/lib/access/storage/TableIO.cpp:47
#12 hyrise/hyrise#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 hyrise/hyrise#13 0x00000000004f63da in
hyrise::access::PlanOperation::operator() (this=0x7fffec006308) at
/begram/home/Johannes.Wust/hyrise/src/lib/access/system/PlanOperation.cpp:142
#14 hyrise/hyrise#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 hyrise/hyrise#15 0x00007ffff637bc80 in ??
() from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#16 hyrise/hyrise#16 0x00007ffff5b99f8e in
start_thread (arg=0x7ffff2209700) at pthread_create.c:311
#17 hyrise/hyrise#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
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants