WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: gedit, bluefish, geany all fail on "typedef" on corepure64 6.3  (Read 9941 times)

Offline PeterNorth

  • Newbie
  • *
  • Posts: 9
Using core pure 6.3 + intel video with Basic editing on text files works for all 3 editors.
I guess that all use common rendering calls to highlight the C++ keyword "typedef".
All produce a log similar to
Code: [Select]
(gedit:12488): Gdk-ERROR **: The program 'gedit' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadValue (integer parameter out of range for operation)'.
  (Details: serial 666 error_code 2 request_code 139 (RENDER) minor_code 34)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the GDK_SYNCHRONIZE environment
   variable to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

The backtrace is not too informative, the error is still reported several "interrupts" deep.
Code: [Select]
tc@box:~$ [/i][b]tce-status -i
Xfbdev
Xlibs
Xorg-7.7
Xorg-7.7-3d
Xorg-7.7-3d-dev
Xorg-7.7-bin
Xorg-7.7-dev
Xorg-7.7-lib
Xorg-fonts
Xprogs
adwaita-icon-theme
at-spi2-atk
at-spi2-atk-dev
at-spi2-core
at-spi2-core-dev
at-spi2-core-gir
aterm
atk
atk-dev
atk-gir
bash
bzip2
bzip2-dev
bzip2-lib
cairo
cairo-dev
dbus
dbus-dev
dbus-glib
dconf
elfutils
elfutils-dev
expat2
expat2-dev
firefox-official
fltk-1.3
flwm
fontconfig
fontconfig-dev
freetype
freetype-dev
gamin
gawk
gdbm
gdbm-dev
gdk-pixbuf2
gdk-pixbuf2-dev
gdk-pixbuf2-gir
gedit
glamor-egl
glamor-egl-dev
glib2
glib2-dev
glib2-python
glibc_apps
glu
glu-dev
gmp
gobject-introspection
graphics-3.16.6-tinycore64
gsettings-desktop-schemas
gtk2
gtk3
gtk3-dev
gtk3-gir
gtksourceview
harfbuzz
harfbuzz-dev
hicolor-icon-theme
i2c-3.16.6-tinycore64
imlib2
imlib2-bin
kmaps
libEGL
libEGL-dev
libFS
libFS-dev
libGL
libGL-dev
libGLESv2
libGLESv2-dev
libICE
libICE-dev
libSM
libSM-dev
libX11
libX11-dev
libXau
libXau-dev
libXaw
libXaw-dev
libXcomposite
libXcomposite-dev
libXcursor
libXcursor-dev
libXdamage
libXdamage-dev
libXdmcp
libXdmcp-dev
libXext
libXext-dev
libXfixes
libXfixes-dev
libXfont
libXfont-dev
libXft
libXft-dev
libXi
libXi-dev
libXinerama
libXinerama-dev
libXmu
libXmu-dev
libXpm
libXpm-dev
libXrandr
libXrandr-dev
libXrender
libXrender-dev
libXres
libXres-dev
libXss
libXss-dev
libXt
libXt-dev
libXtst
libXtst-dev
libXv
libXv-dev
libXvmc
libXvmc-dev
libXxf86dga
libXxf86dga-dev
libXxf86vm
libXxf86vm-dev
libasound
libcroco
libdmx
libdmx-dev
libdrm
libdrm-dev
libepoxy
libepoxy-dev
libevdev
libffi
libffi-dev
libfontenc
libfontenc-dev
libgcrypt
libgpg-error
libjpeg-turbo
libjpeg-turbo-bin
libjpeg-turbo-dev
libpciaccess
libpciaccess-dev
libpeas
libpng
libpng-bin
libpng-dev
librsvg
libssh2
libtiff
libvdpau
libvdpau-dev
libxcb
libxcb-dev
libxkbfile
libxkbfile-dev
libxml2
libxshmfence
libxshmfence-dev
llvm-bin
llvm-dev
llvm-lib
makedepend
mc
mpfr
mtdev
ncurses
ncurses-dev
openssl-1.0.0
openssl-1.0.0-dev
pango
pango-dev
pango-gir
pcre
pcre-dev
pixman
pixman-dev
python
python-dev
readline
readline-dev
shared-mime-info
slang
sqlite3
sqlite3-bin
sqlite3-dev
tcl
tcl-dev
tiff-bin
tiff-dev
tk
tk-dev
tzdata
udev-lib
udev-lib-dev
util-macros
wbar
xbitmaps
xcursor-themes
xf86-input-evdev
xf86-video-fbdev
xf86-video-intel
xf86-video-intel-dev
xf86-video-vesa
xkeyboard-config
xorg-proto
xorg-server
xorg-server-dev
xtrans

    [EDIT]: Added code tags.  Rich
« Last Edit: July 11, 2015, 07:48:43 AM by Rich »

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: gedit, bluefish, geany all fail on "typedef" on corepure64 6.3
« Reply #1 on: July 04, 2015, 04:10:55 AM »
What text did you enter exactly into, say, geany to generate the error - starting a couple of lines before and including the line containing "typedef"?

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10957
Re: gedit, bluefish, geany all fail on "typedef" on corepure64 6.3
« Reply #2 on: July 04, 2015, 12:20:27 PM »
34 is X_RenderCreateLinearGradient, which returns BadValue if the gradient has invalid parameters. Ie, bug in those apps or in gtk, or perhaps they use some shared component.
The only barriers that can stop you are the ones you create yourself.

Offline PeterNorth

  • Newbie
  • *
  • Posts: 9
Re: gedit, bluefish, geany all fail on "typedef" on corepure64 6.3
« Reply #3 on: July 05, 2015, 07:38:28 PM »
What text did you enter exactly into, say, geany to generate the error - starting a couple of lines before and including the line containing "typedef"?
Initially I created the file below in geany (with correct highlighting, but excluding the line typedef below).
Then I typed "typedef " ... as soon as I hit the space geany died (presumably trying to render a change from general text highlighting to keyword highlighting.
I then added the typedef line as you see below with TCL's system editor (compiled) and tried geany again from the bash.
Now all of geany, bluefish and gedit die as soon as they come up from the command line - I never see anything except a flash, I never hit any key.
(gedit now dies when I enter a large amount of text... but initial display comes up
(gedit:10216): Gdk-ERROR **: The program 'gedit' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadValue (integer parameter out of range for operation)'.
  (Details: serial 14232 error_code 2 request_code 139 (RENDER) minor_code 34)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the GDK_SYNCHRONIZE environment
   variable to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
Trace/breakpoint trap)
bluefish and geany still die on startup without displaying a screen.
Illegal values have no pattern that I can discern ... 7398 14232 2907 6807

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: gedit, bluefish, geany all fail on "typedef" on corepure64 6.3
« Reply #4 on: July 06, 2015, 03:47:07 AM »
Initially I created the file below in geany...

Sorry, but what file (nothing attached)?

Offline PeterNorth

  • Newbie
  • *
  • Posts: 9
Re: gedit, bluefish, geany all fail on "typedef" on corepure64 6.3
« Reply #5 on: July 06, 2015, 07:54:25 PM »
this file fails in bluefish and geany

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: gedit, bluefish, geany all fail on "typedef" on corepure64 6.3
« Reply #6 on: July 07, 2015, 05:06:58 AM »
neither bluefish nor geany fail for me when opening t.cpp?

see attached

Offline PeterNorth

  • Newbie
  • *
  • Posts: 9
Re: gedit, bluefish, geany all fail on "typedef" on corepure64 6.3
« Reply #7 on: July 10, 2015, 08:36:05 PM »
Quote
neither bluefish nor geany fail for me when opening t.cpp?
As I expected, I was trying not to bias anyone's thinking, but I suspect an abreaction between
Xfbdev
Xlibs
Xorg-7.7
Xorg-7.7-3d
Xorg-7.7-3d-dev
Xorg-7.7-bin
Xorg-7.7-dev
Xorg-7.7-lib
Xorg-fonts
Xprogs

and

graphics-3.16.6-tinycore64

and

xbitmaps
xcursor-themes
xf86-input-evdev
xf86-video-fbdev
xf86-video-intel
xf86-video-intel-dev
xf86-video-vesa
xkeyboard-config
xorg-proto
xorg-server
xorg-server-dev
xtrans


Juanito ... would you mind posting your tce-status, please ?

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: gedit, bluefish, geany all fail on "typedef" on corepure64 6.3
« Reply #8 on: July 11, 2015, 01:01:48 AM »
Xlibs
Xorg-7.7
Xorg-7.7-3d
Xorg-7.7-bin
Xorg-7.7-lib
Xorg-fonts
Xprogs

graphics-3.16.6-tinycore64

xcursor-themes
xf86-input-evdev
xf86-video-intel
xkeyboard-config
xorg-server

Offline PeterNorth

  • Newbie
  • *
  • Posts: 9
Re: gedit, bluefish, geany all fail on "typedef" on corepure64 6.3
« Reply #9 on: July 13, 2015, 11:03:18 PM »
Partial fix... use Xorg
I had not appreciated til your discussion with Rich on file-roller problems that Xorg and Xfbdev (and Xvesa) are mutually exclusive alternatives.  Unintentionally I ended up with a mixed installation.  Using xbase.lst, as you suggested to Rich, (and numerous random additional .tcz s) I have now got geany to show typedef as a different font .  My current problems may be related to lack of Intel native display accelerator support (no window controls ... I can neither move nor minimize nor cancel Firefox, 800 x 600, no smileys, ...)

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: gedit, bluefish, geany all fail on "typedef" on corepure64 6.3
« Reply #10 on: July 14, 2015, 01:10:41 AM »
Xorg and Xfbdev are not exactly mutually exlcusive, but obviously you can only run one at once - edit /etc/sysconfig/Xserver to change between them if both are loaded.

I guess Xorg loads something that geany et al need as compared to Xfbdev (and perhaps Xvesa in x86).

You can get native intel support from xf86-video-intel with Xorg - what window manager are you using?

Offline PeterNorth

  • Newbie
  • *
  • Posts: 9
Re: gedit, bluefish, geany all fail on "typedef" on corepure64 6.3
« Reply #11 on: July 14, 2015, 08:50:48 PM »
I am using flwm - not for a positive reason - merely because it seemed easiest to start with.
xf86-video-intel gets me slightly further ... I can now see
EITHER
pretty small fonts with ...intel... Xfbdev and all except bluefish / geany
OR
ugly large fonts without ...intel...with Xorg and bluefish / geany
..
still trying :-\

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: gedit, bluefish, geany all fail on "typedef" on corepure64 6.3
« Reply #12 on: July 14, 2015, 11:41:11 PM »
What about Xorg with Intel?

Here's a most basic onboot.lst that works well for me. Subsitute xf86-video-intel with the driver you require (check via lspci). Substitute Fluxbox with the window manager of your choice. Via terminal run 'desktop=fluxbox' or whatever window manager you want. Create an /etc/X11/xorg.conf file if needed to refine resolution. Add 'etc/X11/xorg.conf' to /opt/.filetool.lst for persistent backup. Your system may/not require Xorg-3d. Reboot for changes to take effect. Hope this helps.
Code: [Select]
xf86-video-intel.tcz
Xorg-7.7.tcz
Xprogs.tcz
fluxbox.tcz
aterm.tcz

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: gedit, bluefish, geany all fail on "typedef" on corepure64 6.3
« Reply #13 on: July 14, 2015, 11:48:06 PM »
the xf86-video-* extensions will only work with Xorg-7.7 and not Xfbdev

gordon64

  • Guest
Re: gedit, bluefish, geany all fail on "typedef" on corepure64 6.3
« Reply #14 on: July 20, 2015, 04:49:35 PM »
Hi PeterNorth

If you get a chance, can you post the section-for VGA--- of this command pls 
Code: [Select]
lspci -vvv
I am on another distro at the moment but I am referring to
Quote
lspci -vvv
(snip)
00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller (rev 06) (prog-if 00 [VGA controller])
   Subsystem: ASUSTeK Computer Inc. Device 8534
   Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
   Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
   Latency: 0
   Interrupt: pin A routed to IRQ 44
   Region 0: Memory at f7800000 (64-bit, non-prefetchable) [size=4M]
   Region 2: Memory at e0000000 (64-bit, prefetchable) [size=256M]
   Region 4: I/O ports at f000 [size=64]
   Expansion ROM at <unassigned> [disabled]
   Capabilities: <access denied>
   Kernel driver in use: i915

and for me kernel module i915 if you had similar hardware comes from Xorg-7.7-3d.tcz

good luck

offtopic I have some graphic issues myself which is why I am interested in this post and tips etc.