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

SimpleDisplay #8

Closed
dcanelhas opened this issue Aug 9, 2012 · 0 comments
Closed

SimpleDisplay #8

dcanelhas opened this issue Aug 9, 2012 · 0 comments

Comments

@dcanelhas
Copy link
Contributor

Maybe not a bug in Pangolin itself, but the example program crashes.

steps:
1 run (...)/example/SimpleDisplay/SimpleDisplay
2 click to highlight the text '0 1.2 Hello'
3 press enter
4 press any alphanumeric key

terminal output:

terminate called after throwing an instance of 'std::out_of_range'
what(): basic_string::substr
Aborted (core dumped)

debug output:
(gdb) bt
#0 0x00007ffff6969445 in __GI_raise (sig=)

at ../nptl/sysdeps/unix/sysv/linux/raise.c:64

#1 0x00007ffff696cbab in __GI_abort () at abort.c:91
#2 0x00007ffff72b769d in __gnu_cxx::__verbose_terminate_handler() ()

from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#3 0x00007ffff72b5846 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4 0x00007ffff72b5873 in std::terminate() ()

from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#5 0x00007ffff72b596e in __cxa_throw ()

from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#6 0x00007ffff7262987 in std::__throw_out_of_range(char const*) ()

from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#7 0x0000000000432a2c in pangolin::TextInput::Keyboard(pangolin::View&, unsigned char, int, int, bool) ()
#8 0x00000000004243d2 in pangolin::process::Keyboard(unsigned char, int, int)

()

#9 0x00007ffff7520adf in glutMainLoopEvent () from /usr/lib/libglut.so.3
#10 0x0000000000412dd0 in main ()

System:
3.2.0-27-generic #43-Ubuntu (12.04) x86_64

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