dmitrysmagin / dmenu

Automatically exported from code.google.com/p/dmenu
3 stars 4 forks source link

Got Segmentation Fault when the theme.cfg doesn't includes any font-color settings. #21

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Copied the new dmenu-0.4-r47 binary over the old
2. Start up dingux

What is the expected output? What do you see instead?
DMenu should start. But i got a "Segmentation Fault"

What version of the product are you using? On what operating system?
dmenu-0.4-r47 on actual dingux rootfs

Please provide any additional information below.
0.4 started well

Original issue reported on code.google.com by codiak@gmail.com on 11 Oct 2009 at 5:49

GoogleCodeExporter commented 9 years ago
It should not cause "Segmentation Fault", it works well in my Dingux now. 

Original comment by bossninja on 11 Oct 2009 at 6:14

GoogleCodeExporter commented 9 years ago
I hear from others that it works, but not for me :(
Even reformated my SD with no result..

Original comment by codiak@gmail.com on 11 Oct 2009 at 8:30

GoogleCodeExporter commented 9 years ago
Hi, codiak.
This is 1@qbQD4T5Z0949.

I'm sorry for my bug again.

Version r47 includes r40&r41 changes.
So, please test to write these code after "Font" setting in your theme.cfg .
FontColor-R = "255"
FontColor-B = "255"
FontColor-G = "255"

Now, I'm checking about font-color-setting code and fix this problem.

Thank you.

Original comment by leo.5xl.bigfat on 12 Oct 2009 at 9:30

GoogleCodeExporter commented 9 years ago
Changes at r40 is not enough.
Dmenu doesn't use the default color when the theme.cfg doesn't include all 
font-color 
settings, and get "Segmentation fault".

I fixed it at r48.
Now, dmenu uses the default value(=255) when the theme.cfg has no font-color 
settings 
about each of R / G / B.

Please check Downloads. I put the dmenu binary in there.

Original comment by leo.5xl.bigfat on 12 Oct 2009 at 10:52