memeco / osd-lyrics

Automatically exported from code.google.com/p/osd-lyrics
GNU General Public License v3.0
1 stars 0 forks source link

Segmentation fault #173

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
version: git to newest master branch

system: Arch64

log: see attachment.

Original issue reported on code.google.com by zhangn1...@gmail.com on 12 Mar 2011 at 12:30

Attachments:

GoogleCodeExporter commented 8 years ago
would you please attach a log with `osd-lyrics -d debug'?
the output of bt command in gdb will be better.

Original comment by tigerso...@gmail.com on 12 Mar 2011 at 12:54

GoogleCodeExporter commented 8 years ago
*Debug*: in function ol_player_exaile03_get: ol_player_exaile03.c[393]
ol_player_exaile03_get
*Debug*: in function ol_player_listen_get: ol_player_listen.c[349]
ol_player_listen_get
*Debug*: in function ol_player_gmusicbrowser_get: ol_player_gmusicbrowser.c[365]
ol_player_gmusicbrowser_get
*Debug*: in function ol_config_class_init: ol_config.c[194]
id of changed signal is: 142
*Debug*: in function ol_config_get_path: ol_config.c[400]
config path: /home/zhangn1985/.config/osd-lyrics/osd-lyrics.conf
*Debug*: in function ol_config_init: ol_config.c[80]
active-lrc-color
*Debug*: in function ol_config_init: ol_config.c[80]
inactive-lrc-color
*Debug*: in function ol_config_init: ol_config.c[80]
lrc-path
*Debug*: in function ol_config_init: ol_config.c[80]
lrc-filename
*Debug*: in function ol_config_get_string: ol_config.c[373]
[General]display-mode:OSD
*Debug*: in function ol_osd_render_update_font: ol_osd_render.c[220]
serif 30
*Debug*: in function ol_osd_window_set_bg: ol_osd_window.c[1764]
bg: 0x1ef0630
*Debug*: in function config_change_handler: ol_osd_module.c[184]
config_change_handler:[OSD]width
*Debug*: in function ol_config_get_int: ol_config.c[347]
[OSD]width:1280
*Debug*: in function config_change_handler: ol_osd_module.c[184]
config_change_handler:[OSD]visible
*Debug*: in function ol_config_get_bool: ol_config.c[334]
[General]visible:1
*Debug*: in function ol_image_button_size_request: ol_image_button.c[49]
request: 22 x 22
*Debug*: in function ol_image_button_size_request: ol_image_button.c[49]
request: 22 x 22
*Debug*: in function ol_image_button_size_request: ol_image_button.c[49]
request: 22 x 22
*Debug*: in function ol_image_button_size_request: ol_image_button.c[49]
request: 22 x 22
*Debug*: in function ol_image_button_size_request: ol_image_button.c[49]
request: 22 x 22
*Debug*: in function ol_osd_window_update_child_allocation: ol_osd_window.c[891]
set child allocation
*Debug*: in function ol_image_button_size_allocate: ol_image_button.c[59]
allocation: (585, 26) 22 x 22
*Debug*: in function ol_image_button_size_allocate: ol_image_button.c[59]
allocation: (607, 26) 22 x 22
*Debug*: in function ol_image_button_size_allocate: ol_image_button.c[59]
allocation: (629, 26) 22 x 22
*Debug*: in function ol_image_button_size_allocate: ol_image_button.c[59]
allocation: (651, 26) 22 x 22
*Debug*: in function ol_image_button_size_allocate: ol_image_button.c[59]
allocation: (673, 26) 22 x 22
*Debug*: in function config_change_handler: ol_osd_module.c[184]
config_change_handler:[OSD]locked
*Debug*: in function ol_config_get_bool: ol_config.c[334]
[OSD]locked:1
*Debug*: in function config_change_handler: ol_osd_module.c[194]
  locked: 1
*Debug*: in function ol_config_get_bool: ol_config.c[334]
[OSD]locked:1
*Debug*: in function config_change_handler: ol_osd_module.c[184]
config_change_handler:[OSD]line-count
*Debug*: in function ol_config_get_int: ol_config.c[347]
[OSD]line-count:1
*Debug*: in function config_change_handler: ol_osd_module.c[184]
config_change_handler:[OSD]osd-window-mode
*Debug*: in function ol_config_get_string: ol_config.c[373]
[OSD]osd-window-mode:dock
*Debug*: in function config_change_handler: ol_osd_module.c[184]
config_change_handler:[OSD]font-family
*Debug*: in function ol_config_get_string: ol_config.c[373]
[OSD]font-family:Sans
*Debug*: in function ol_osd_render_update_font: ol_osd_render.c[220]
Sans 30
*Debug*: in function config_change_handler: ol_osd_module.c[184]
config_change_handler:[OSD]font-size
*Debug*: in function ol_config_get_double: ol_config.c[360]
[OSD]font-size:30.000000
*Debug*: in function ol_osd_render_update_font: ol_osd_render.c[220]
Sans 30
*Debug*: in function config_change_handler: ol_osd_module.c[184]
config_change_handler:[OSD]x
*Debug*: in function ol_config_get_int: ol_config.c[347]
[OSD]y:0
*Debug*: in function ol_config_get_int: ol_config.c[347]
[OSD]x:0
*Debug*: in function config_change_handler: ol_osd_module.c[184]
config_change_handler:[OSD]lrc-align-0
*Debug*: in function ol_config_get_double: ol_config.c[360]
[OSD]lrc-align-0:0.500000
*Debug*: in function ol_osd_window_set_line_alignment: ol_osd_window.c[1206]
ol_osd_window_set_line_alignment:0-0.500000
*Debug*: in function config_change_handler: ol_osd_module.c[184]
config_change_handler:[OSD]lrc-align-1
*Debug*: in function ol_config_get_double: ol_config.c[360]
[OSD]lrc-align-1:0.500000
*Debug*: in function ol_osd_window_set_line_alignment: ol_osd_window.c[1206]
ol_osd_window_set_line_alignment:1-0.500000
*Debug*: in function config_change_handler: ol_osd_module.c[184]
config_change_handler:[OSD]active-lrc-color
*Debug*: in function config_change_handler: ol_osd_module.c[235]
len = 3
*Debug*: in function config_change_handler: ol_osd_module.c[184]
config_change_handler:[OSD]inactive-lrc-color
*Debug*: in function config_change_handler: ol_osd_module.c[184]
config_change_handler:[OSD]translucent-on-mouse-over
*Debug*: in function config_change_handler: ol_osd_module.c[184]
config_change_handler:[OSD]outline-width

Original comment by zhangn1...@gmail.com on 13 Mar 2011 at 11:08

GoogleCodeExporter commented 8 years ago
我这里是显示找不到歌词后段错误。

特别是锁定位置后,如果当前播放歌曲找得到歌词,不锁定��
�置,那么下一首找不到歌词的时候还有可能不崩溃。

如果锁定位置后,没有找到歌词的一定崩溃。而且不能记住os
d屏幕位置。总是出现在屏幕左上角。

我的环境是gnome 2.32.1,gtk 2.24.3,libnotify 
0.7(自己修改那个函数使其通过编译。不知道这样有没有问��
�)

Original comment by jason5...@gmail.com on 18 Mar 2011 at 5:56

GoogleCodeExporter commented 8 years ago
我这里是启动时侯就段错误,不知道是不是某个库就出问题��
�。

我这里gtk才2.22

Original comment by zhangn1...@gmail.com on 19 Mar 2011 at 3:49

GoogleCodeExporter commented 8 years ago
gdb 调core打出来的,但不会调核:
#0  ol_osd_module_init_osd (module=<value optimized out>)
    at ol_osd_module.c:335
335   g_signal_connect (osd->window, "moved",

Original comment by zhangn1...@gmail.com on 26 Mar 2011 at 5:37

GoogleCodeExporter commented 8 years ago
把这大段g_signal_connect注掉后能运行,就不再core 
dump。但是功能不正常。

Original comment by zhangn1...@gmail.com on 26 Mar 2011 at 6:42

GoogleCodeExporter commented 8 years ago
具体怎么不正常?
注释这段的效果应该只会影响位置信息的保存而已

Original comment by tigerso...@gmail.com on 26 Mar 2011 at 7:58

GoogleCodeExporter commented 8 years ago
之前的配置被我删掉了,然后OSD跑左上角了,把上面板覆盖��
�。

但这是次要的啦,加把劲把core dump解了吧。

我今天下午看了半天代码,才只是知道这个程序的框架,而��
�不懂gtk,没法自己解。

Original comment by zhangn1...@gmail.com on 26 Mar 2011 at 9:15

GoogleCodeExporter commented 8 years ago
现在最麻烦的是我无法重现这个崩溃问题,我想应该不是64位
系统的问题吧
今天更新了一下osd 
window,试试还有没有崩溃?虽然我觉得应该还是没解决

Original comment by tigerso...@gmail.com on 28 Mar 2011 at 1:03

GoogleCodeExporter commented 8 years ago
很有可能哦。

Original comment by zhangn1...@gmail.com on 28 Mar 2011 at 1:44

GoogleCodeExporter commented 8 years ago
一樣的問題
kde 4.6.1, 64-bit

Original comment by ppc52...@gmail.com on 28 Mar 2011 at 1:47

GoogleCodeExporter commented 8 years ago
确定是64位的问题,开始修复作业

Original comment by tigerso...@gmail.com on 29 Mar 2011 at 11:05

GoogleCodeExporter commented 8 years ago
thank you !

Original comment by zhangn1...@gmail.com on 29 Mar 2011 at 12:36

GoogleCodeExporter commented 8 years ago
fixed, 二位看看还有没有问题

Original comment by tigerso...@gmail.com on 29 Mar 2011 at 1:20

GoogleCodeExporter commented 8 years ago
已經正常了
謝謝

Original comment by ppc52...@gmail.com on 1 Apr 2011 at 8:20