From: Joe P. <joe...@sn...> - 2001-05-02 18:52:36
|
On Wednesday 02 May 2001 04:09 am, Alexander Zimmermann wrote: > Hi, > > I just (May 2) updated my CVS sandbox of hpoj and had to recognize that > xojpanel crashes. The missing extension "RENDER" doesn't harm in the > previous CVS version. > > Gdb output follows: > (gdb) run mlc:par:0 > Starting program: xojpanel mlc:par:0 > Qt: gdb: -nograb added to command-line options. > Use the -dograb option to enforce grabbing. > Xlib: extension "RENDER" missing on display "host:10.0". > > Program received signal SIGSEGV, Segmentation fault. > 0x4020260a in QPixmap::operator= () at eval.c:41 > 41 eval.c: No such file or directory. > in eval.c > (gdb) where > #0 0x4020260a in QPixmap::operator= () at eval.c:41 > #1 0x0804e245 in XojPanel::createLCD (this=0x80a8a40) at ojstatus.cpp:256 > #2 0x0804dfd3 in XojPanel::createInterface (this=0x80a8a40, > deviceName=0xbfffee64) at ojstatus.cpp:239 > #3 0x0804db54 in XojPanel::XojPanel (this=0x80a8a40, argc=2, > argv=0xbfffef5c, parent=0x0, name=0x0) at ojstatus.cpp:180 > #4 0x0804f494 in main (argc=2, argv=0xbfffef5c) at ojmanager.cpp:48 > #5 0x40544177 in __libc_start_main (main=0x804f450 <main>, argc=2, > ubp_av=0xbfffef5c, init=0x804cca4 <_init>, fini=0x8053554 <_fini>, > rtld_fini=0x4000e184 <_dl_fini>, stack_end=0xbfffef4c) > at ../sysdeps/generic/libc-start.c:129 > (gdb) up > #1 0x0804e245 in XojPanel::createLCD (this=0x80a8a40) at ojstatus.cpp:256 > 256 *lcdPixmap = (QPixmap)hpojlcd_xpm; > Current language: auto; currently c++ > (gdb) print hpojlcd_xpm > $1 = {0x8053717 "254 40 79 1", 0x80535aa " \tc None", > 0x8053723 ".\tc #000000", 0x805372f "+\tc #B89E2B", > ... (deleted) > > I'm using gcc 2.95.2 with glibc 2.2.2 on a RedHat 7.1 system. > > Any hints? Unfortunately, I don't know enough about using gdb to make much sense of the output. If the previous CVS xojpanel ran for you, then the most recent changes are probably to blame. They would be changes I made to apps/xojpanel/ojstatus.cpp that specify a particular font that would be used in the "LCD". You could try changing the font specified by #define DEFAULT_FONT "Courier" to one that your system has installed. Any fixed-width font probably would be a good choice. You could also try commenting the line out, which would likely cause your system to choose a font. If none of the above works, could you post a little more information, such as which was the latest CVS you tried where xojpanel did not crash, and the version numbers of your XFree86 and Qt? If you decide to try changing the code, please post back with the results. -- Joe |