zonyitoo / doubanfm-qt

A DoubanFM client
Other
511 stars 99 forks source link

segmentation fault #3

Closed windix closed 9 years ago

windix commented 11 years ago

Hi,

我按照你的步骤编译完成后:

$ ./doubanfm-qt
"Load Language: Australia_English" 
QLayout: Attempting to add QLayout "" to UserLoginWidget "userLoginWidget", which already has a layout
void Douban::onReceivedChannels(QNetworkReply*) channels.size() = 0 
void ChannelWidget::onRecvChannels(const QList<DoubanChannel>&) 
[1]    23029 segmentation fault  ./doubanfm-qt

我的系统:

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 12.04.2 LTS
Release:    12.04
Codename:   precise

按你的说明我安装了以下package:

sudo aptitude install libqt4-network libqt4-gui libqt4-core libphonon libphonon-dev phonon phonon-backend-gstreamer libqjson libqjson-dev gstreamer0.10-fluendo-mp3
zonyitoo commented 11 years ago

这个问题在gitcafe上被讨论了很久,我测试后发现可能是豆瓣的API有时候会返回空列表或不能访问所致