-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
NotDashEscaped: You need GnuPG to verify this message

Hello, wow, you're fast.

On Tue, Nov 03, 2015 at 09:38:04PM -0500, Jason Pleau wrote:
> Hi,
> 
> Do you have any rofi settings in $HOME/.Xresources you can provide in
> this bug report?
`rofi -dump-xresources` also segfaults, so: 

$ xrdb -query | grep rofi

rofi.bg:              #000000
rofi.bw:              0
rofi.eh:              2
rofi.fixed-num-lines: true
rofi.font:            Cousine 10
rofi.hide-scrollbar:  true
rofi.hlbg:            #000000
rofi.hlfg:            #ffb96a
rofi.lines:           3
rofi.opacity:         85
rofi.padding:         700
rofi.terminal:        urxvtcd
rofi.width:           100


> What desktop environment and/or window manager are you running rofi with ?
I run bspwm https://github.com/baskerville/bspwm compiled with defaults.
(https://github.com/guyhughes/dots -- includes full .Xresources). 
> 
> I cannot reproduce #256, but can easily reproduce #258 (with a high
> enough 'padding' in arguments or in .Xresources)
> 
> It looks like a patch that attempts to fix #256 was commited:
> https://github.com/DaveDavenport/rofi/commit/f9e7bc0775724a348e14c32437eeaffc255a6ffd
> 
> But I cannot test whether or not it fixes the problem since I can't
> reproduce it =/
> 
> Are you able to test if the above commit fixes the issue for you ? I can
> provide a temporary patched package if you cannot build rofi yourself.
Sad news. This is the latest commit, failing. Including debugging
symbols.

$ git rev-parse HEAD
d01afc53032b52c07bdf33330f77701534305eea

$ which rofi
/usr/local/bin/rofi

$ rofi -show window
(process:1632): GLib-CRITICAL **: g_strchug: assertion 'string != NULL' failed
(process:1632): GLib-CRITICAL **: g_strchomp: assertion 'string != NULL' failed
zsh: segmentation fault  rofi -show window

$ ulimit -c unlimited; rofi -show window; echo "thread apply all bt"|gdb rofi 
core
(process:7321): GLib-CRITICAL **: g_strchug: assertion 'string != NULL' failed
(process:7321): GLib-CRITICAL **: g_strchomp: assertion 'string != NULL' failed
zsh: segmentation fault (core dumped)  rofi -show window
GNU gdb (Debian 7.10-1) 7.10
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from rofi...done.
[New LWP 7321]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `rofi -show window'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x000000000040e53f in color_get (display=display@entry=0x25f69d0, 
name=<optimized out>,
    defn=defn@entry=0x4136f8 "white") at ../source/x11-helper.c:527
527         if ( strncmp ( cname, "argb:", 5 ) == 0 ) {
(gdb)
Thread 1 (Thread 0x7f5c90fad880 (LWP 7321)):
#0  0x000000000040e53f in color_get (display=display@entry=0x25f69d0, 
name=<optimized out>,
    defn=defn@entry=0x4136f8 "white") at ../source/x11-helper.c:527
#1  0x000000000040a99e in parse_color (display=display@entry=0x25f69d0, 
bg=<optimized out>,
    col=col@entry=0x61a740 <colors+64>) at ../source/textbox.c:586
#2  0x000000000040bc19 in textbox_setup (display=0x25f69d0) at 
../source/textbox.c:634
#3  0x00000000004072f0 in setup () at ../source/rofi.c:1564
#4  0x0000000000409561 in show_error_message (
---Type <return> to continue, or q <return> to quit---    msg=0x26058f0 
"<big><b>The configuration failed to 
validate:</b></big>\n\t<b>config.padding+config.menu_bw</b>=700 is to big for 
the minimum size of the monitor: 1080.\nPlease update your configuration.", 
markup=markup@entry=1)
    at ../source/rofi.c:1667
#5  0x000000000040a877 in config_sanity_check (display=0x25f69d0) at 
../source/helper.c:610
#6  0x000000000040523c in main (argc=<optimized out>, argv=0x7ffdc7cf4388) at 
../source/rofi.c:2201
(gdb) quit

> 
> As for #258 I have ran a git bisect and updated the bug upstream, I'm
> sure it will help the developer fix it :)
Wow. ♥
> 
> 
> Thanks for bringing this up !
> 
> -- 
> Jason Pleau

Thanks again,

Guy Hughes
-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJWOXirAAoJEP5VHtX/6ko8XBsQAI53w5EuSBohKD8gA9LgkhcS
0/reDRCoUX2sO+G5EoENpeihGh2fzY4hSJFR32uidl5xIqWLx/YcTh47VLmfLRbZ
HYS6zB27E80/uexAc48RZMbnoyiguxNwd09dRm1n1/WAbkHlQpdkHmfbv+HcmZfI
caykJBFSrHIn4Nb97KFxJso3OomXGX7erUd8lmvHrGWyrmDR/p3fesKODwXWTSiI
kpAULTJOPcAd/sx0SMAt9Z6leoppTvwW55nZQqbabbMDp4Cbm+0Mb/wJbGBUTDXH
/9/1g7ZxSbHyWXFX/PqtLuodjC0eeiydAfCajP58JYi9hqk69Vo/VyxrWkpQ76Tm
tOW+XGTNJBVTAvzUONygWg+XawotIRPRmZKt58KJlbFgVnNt2YAfv/sltQ2bCT22
KFfGyXTqeSloVc7EKbnBN2lSp1f+AQZQe7tL8f1lYJ/+V6ZZPQKJQfiZpnTC5Vht
rBl0/yKTYh5Lzqa17k4I1k3cenP3WQOz5qqOJB1tRZXWJDySRhukSWKYrndTY6zW
wgTieOrmXR4KS32y6RMV6Kagy9ZVI9AvfVEc0IuUgFRdHNOeUnq6LIf9bfCHeB3J
drJ+Go6McWluampoLN+meKGgpe3LV+j8a8j9cKjqYmR5abi5dzfJWWLg38q3dUWq
Cn8wJRnyQVMnNpYSbWRh
=6kb7
-----END PGP SIGNATURE-----

Reply via email to