FLTK logo

STR #1813

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 Home  |  Articles & FAQs  |  Bugs & Features  |  Documentation  |  Download  |  Screenshots  ]

Return to Bugs & Features | Roadmap 2.0 | Post Text | Post File | SVN ⇄ GIT ]

STR #1813

Application:FLTK Library
Status:5 - New
Priority:3 - Moderate, e.g. unable to compile the software
Scope:2 - Specific to an operating system
Summary:test/image segfaults or crash Xorg
Created By:nbkolchin
Assigned To:Unassigned
Fix Version:Unassigned
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:

Post File ]

No files

Trouble Report Comments:

Post Text ]
Name/Time/Date Text  
#1 nbkolchin
09:52 Oct 18, 2007
arch: x86_64
Xorg: 7.3, xorg-server: 1.4
gcc: 4.2.2
kernel: 2.6.23
glibc: 2.6.1
fltk: 5963

With default configure settings "test/image" application crashes Xorg session. I.e. X-Windows server segfaults.

When compiled with --enable-xshm, "test/image" don't crash Xorg but segfaults self. Probably there is some nasty bug in visual select?

snob@athlon test$ gdb ./image
GNU gdb 6.7
Copyright (C) 2007 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-pc-linux-gnu"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) r
Starting program: /mnt/work/svn/fltk/test/image
warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7fff47dfe000

Program received signal SIGSEGV, Segmentation fault.
0x00002b0362f970a5 in _XData32 () from /usr/lib/libX11.so.6
(gdb) bt
#0  0x00002b0362f970a5 in _XData32 () from /usr/lib/libX11.so.6
#1  0x00002b0362f6ffe9 in XChangeProperty () from /usr/lib/libX11.so.6
#2  0x0000000000418033 in fltk::CreatedWindow::create (window=0x7fff47d75720,
    visual=0x66c0c0, colormap=32, background=-1) at x11/run.cxx:2163
#3  0x0000000000418088 in fltk::Window::create (this=0x7fff47d75720)
    at x11/run.cxx:1979
#4  0x000000000042920e in fltk::Window::show (this=0x7fff47d75720)
    at Window.cxx:483
#5  0x0000000000409099 in fltk::Window::show (this=0x7fff47d75720, argc=1,
    argv=0x7fff47d75a58) at args.cxx:229
#6  0x0000000000407a8f in main (argc=1, argv=0x7fff47d75a58) at image.cxx:420

Return to Bugs & Features | Post Text | Post File ]


Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.