bjbarcla / mrxvt

Automatically exported from code.google.com/p/mrxvt
0 stars 1 forks source link

Segmentation fault when increasing/decreasing font size when using local X server #1

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. build mrxvt on fedora 10 with these configuration arguments - 
%configure \
                --enable-everything \
                --with-save-lines=100000000 \
                --with-max-term=1000 \
                --with-x \
                --enable-24bits \
                --enable-256colors \
                --enable-88colors \
                --enable-debug

2. Install and execute /usr/bin/mrxvt from an alternate terminal emulator
(gnome-terminal, xterm)
3. with focus on the mrxvt window press <Control>+<Shift>++, observe
segmentation fault. 

As an experiment I executed mrxvt from a remote system over a tunnelled X
session (ssh -Yqt <hostname> "mrxvt") and was able to increase and decrease
the font sizes as expected.

I am using 0.5.4 built on Fedora 10. 

The crashes occur whether I explicitly define a font, or use the system
default. In addition to debug files you'll find my preferred launch wrapper
script.

Original issue reported on code.google.com by matthew....@gmail.com on 17 Dec 2008 at 3:22

Attachments:

GoogleCodeExporter commented 8 years ago
I rebuilt without XIM support and the issue has gone away. I determined this by
diffing the mrxvt-debug.log and an mrxvt-debug-remote.log

Original comment by matthew....@gmail.com on 17 Dec 2008 at 6:48

Attachments:

GoogleCodeExporter commented 8 years ago
I altered my compile options further and seem to have suppressed the XIM error. 

 %configure \
                --with-save-lines=100000000 \
                --with-max-term=1000 \
                --with-x \
                --enable-frills \
                --enable-24bits \
                --enable-88colors \
                --enable-256colors \
                --enable-debug \
                --enable-utempter \
                --enable-menubar \
                --enable-transparency \
                --enable-tinting \
                --enable-xrender \
                --enable-sessionmgr \
                --enable-xft

Original comment by matthew....@gmail.com on 17 Dec 2008 at 7:41

GoogleCodeExporter commented 8 years ago
Hi,

I know I had some similar issue as well. Anyway the XIM option is pretty 
stupid, if I
remind, because it does not include any more external lib (so why make it 
optional if
it is the same?). So code with and without XIM enabled must be merged. In fact I
think to remember I have already removed this option on the UTF-8 branch which 
is at
work (and have no more the crash after merging right parts of codes)...

Nevertheless I don't know if I will have much time to have a look at this all 
in the
main trunk branch. So much late work on the UTF-8 branch...

Original comment by jehan.ma...@gmail.com on 16 Jan 2009 at 3:04