bugGlobulation 2 - Bugs: bug #18721, segmentation fault after quitting...

 
 

bug #18721: segmentation fault after quitting a game when glob2 (cvs) runs without opengl

Submitted by:  Kai Antweiler <snth>
Submitted on:  Mon 08 Jan 2007 12:23:09 PM UTC  
 
Severity: 4 - ImportantStatus: None
Assigned to: NoneOpen/Closed: Closed
Release: NoneOperating System: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 08 Jan 2007 12:36:58 PM UTC, comment #1:

GNU gdb 6.6
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "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) run
Starting program: /home/snth/prog/cvs/glob2/src/glob2
[Thread debugging using libthread_db enabled]
[New Thread 47365473866656 (LWP 10275)]
[New Thread 1082132800 (LWP 10278)]
SoundMixer : No volume, audio has been disabled !
[New Thread 1090525504 (LWP 10279)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 47365473866656 (LWP 10275)]
0x000000000061ee73 in GAGCore::DrawableSurface::_drawHorzLine (this=0x844ec0,
x=21, y=329, l=2147387028, color=
{r = 229 'å', g = 45 '-', b = 45 '-', a = 255 'ÿ', static black = {r = 0 '\0', g = 0 '\0', b = 0 '\0', a = 255 'ÿ', static black = <same as static member of an already seen type>, static white = {r = 255 'ÿ', g = 255 'ÿ', b = 255 'ÿ', a = 255 'ÿ', static black = <same as static member of an already seen type>, static white = <same as static member of an already seen type>}}, static white = <same as static member of an already seen type>}) at GraphicContext.cpp:732
732 *mem++ = colorValue;

(gdb) backtrace
#0 0x000000000061ee73 in GAGCore::DrawableSurface::_drawHorzLine (
this=0x844ec0, x=21, y=329, l=2147387028, color=
{r = 229 'å', g = 45 '-', b = 45 '-', a = 255 'ÿ', static black = {r = 0 '\0', g = 0 '\0', b = 0 '\0', a = 255 'ÿ', static black = <same as static member of an already seen type>, static white = {r = 255 'ÿ', g = 255 'ÿ', b = 255 'ÿ', a = 255 'ÿ', static black = <same as static member of an already seen type>, static white = <same as static member of an already seen type>}}, static white = <same as static member of an already seen type>}) at GraphicContext.cpp:732
#1 0x000000000061f446 in GAGCore::DrawableSurface::drawLine (this=0x844ec0,
x1=21, y1=329, x2=-2147483628, y2=329, color=
{r = 229 'å', g = 45 '-', b = 45 '-', a = 255 'ÿ', static black = {r = 0 '\0', g = 0 '\0', b = 0 '\0', a = 255 'ÿ', static black = <same as static member of an already seen type>, static white = {r = 255 'ÿ', g = 255 'ÿ', b = 255 'ÿ', a = 255 'ÿ', static black = <same as static member of an already seen type>, static white = <same as static member of an already seen type>}}, static white = <same as static member of an already seen type>}) at GraphicContext.cpp:771
#2 0x000000000061fcaa in GAGCore::GraphicContext::drawLine (this=0x844ec0,
x1=21, y1=329, x2=-2147483628, y2=329, color=
{r = 229 'å', g = 45 '-', b = 45 '-', a = 255 'ÿ', static black = {r = 0 '\0', g = 0 '\0', b = 0 '\0', a = 255 'ÿ', static black = <same as static member of an already seen type>, static white = {r = 255 'ÿ', g = 255 'ÿ', b = 255 'ÿ', a = 255 'ÿ', static black = <same as static member of an already seen type>, static white = <same as static member of an already seen type>}}, static white = <---Type <return> to continue, or q <return> to quit---
same as static member of an already seen type>}) at GraphicContext.cpp:1501
#3 0x000000000061af11 in GAGCore::GraphicContext::drawLine (this=0x844ec0,
x1=21, y1=329, x2=-2147483628, y2=329, r=229 'å', g=45 '-', b=45 '-',
a=255 'ÿ') at GraphicContext.cpp:1675
#4 0x0000000000600032 in EndGameStat::paint (this=0x8839c0)
at EndGameScreen.cpp:186
#5 0x0000000000633d1b in GAGGUI::Screen::dispatchPaint (this=0x7fff8a659a90)
at GUIBase.cpp:643
#6 0x0000000000633f3f in GAGGUI::Screen::execute (this=0x7fff8a659a90,
gfx=0x844ec0, stepLength=40) at GUIBase.cpp:451
#7 0x00000000004a7e83 in Engine::run (this=0x7fff8a66d0f0) at Engine.cpp:592
#8 0x00000000004e53e2 in Glob2::run (this=0x7fff8a67b5df, argc=1,
argv=0x7fff8a67b6c8) at Glob2.cpp:307
#9 0x00000000004e5a01 in main (argc=1, argv=0x7fff8a67b6c8) at Glob2.cpp:435
(gdb)

Kai Antweiler <snth>
Project Administrator
Mon 08 Jan 2007 12:23:09 PM UTC, original submission:

When I quit a game glob2
the program crashes: "Segmentation fault"
glob2-0.8.21 works.
When I tried bradleys changes last month everything worked fine.
I think no one has changed anything after that.
I have exchanged my graphic card and now use no opengl in the glob2
settings menu. Maybe that has something to do with it.
Without X (src/glob2 -nox ...) everything works.

Ok, I have just run a game with opengl and everything worked fine.
After that without opengl and glob2 crashed.

system:
gentoo linux
amd64
gcc (GCC) 4.1.1
sdl-ttf 2.0.8
sdl-image 1.2.5
libsdl-1.2.11

Kai Antweiler <snth>
Project Administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by snth (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 24 Jan 2007 09:25:56 AM UTCsnthStatusConfirmed=>None
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1