Segmentation fault using Ctrl+o: libgpm related ?



Hope it helps. Latest CVS on Linux. Compiled with
--enable-charset --with-screen=ncurses --without-ext2undel

How to reproduce it. Start it on a console. It crashes as soon
as you use Ctrl+o. Is it a libgpm bug ? It works fine under
screen, but applications running under it don't have mouse
support through libgpm.

I had used --without-gpm-mouse for a very long time, but
enabled it.

#0  0x40163bf3 in strlen () at strlen:-1
#1  0x400911c9 in Gpm_Open () from /usr/lib/libgpm.so.1
#2  0x0807755c in enable_mouse () at /usr/local/src/CVS/GNU/mc/src/mouse.c:80
#3  0x08061bab in toggle_panels () at /usr/local/src/CVS/GNU/mc/src/execute.c:255
#4  0x08075141 in midnight_callback (h=0x8101630, msg=DLG_KEY, parm=1074344200) at /usr/local/src/CVS/GNU/mc/src/main.c:1573
#5  0x0805fb56 in dlg_key_event (h=0x40093108, d_key=135242600) at /usr/local/src/CVS/GNU/mc/src/dialog.c:655
#6  0x0805fca9 in dlg_process_event (h=0x80f3640, key=0, event=0xbffff630) at /usr/local/src/CVS/GNU/mc/src/dialog.c:745
#7  0x0805fe4a in run_dlg (h=0x80f3640) at /usr/local/src/CVS/GNU/mc/src/dialog.c:777
#8  0x080753e2 in setup_panels_and_run_mc () at /usr/local/src/CVS/GNU/mc/src/main.c:1669
#9  0x080755ed in do_nc () at /usr/local/src/CVS/GNU/mc/src/main.c:1742
#10 0x08076066 in main (argc=0, argv=0x0) at /usr/local/src/CVS/GNU/mc/src/main.c:2234
#11 0x400fdbf6 in __libc_start_main (main=0x8075d80 <main>, argc=1, ubp_av=0xbffff734, init=0x80b3880 <__libc_csu_init>,
    fini=0x80b38b0 <__libc_csu_fini>, rtld_fini=0x1, stack_end=0x8101630) at ../sysdeps/generic/libc-start.c:152

-- 
http://www.pervalidus.net/contact.html



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]