Bug 17381 - Не запускается на x86_64
Summary: Не запускается на x86_64
Status: CLOSED FIXED
Alias: None
Product: Branch 4.1
Classification: Distributions
Component: kiki (show other bugs)
Version: unspecified
Hardware: x86_64 Linux
: P2 normal
Assignee: Ilya Mashkin
QA Contact: qa-4.1@altlinux.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-29 13:24 MSD by Aleksey Borisenkov
Modified: 2008-11-23 17:09 MSK (History)
2 users (show)

See Also:


Attachments
std::string::size_type (патч для 64-битных систем) (19.37 KB, patch)
2008-09-29 13:26 MSD, Aleksey Borisenkov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Aleksey Borisenkov 2008-09-29 13:24:02 MSD
Из-за неправильной работы с поиском в строках программа не запускается на 64-битных системах.

$ kiki
terminate called after throwing an instance of 'std::out_of_range'
  what():  basic_string::erase
/usr/games/kiki: line 3:  8235 Аварийный останов         /usr/games/kiki.bin

Предложеный патч решает проблему.
Comment 1 Aleksey Borisenkov 2008-09-29 13:26:40 MSD
Created attachment 2964 [details]
std::string::size_type (патч для 64-битных систем)
Comment 2 Anton Farygin 2008-11-17 21:40:57 MSK
проверьте, должен работать:
http://git.altlinux.org/people/rider/packages/kiki.git
Comment 3 Aleksey Borisenkov 2008-11-23 17:09:37 MSK
Да, 1.0.2 работает. Спасибо.