google-code-export / gambas

Automatically exported from code.google.com/p/gambas
1 stars 0 forks source link

Gambas3 r5027 segmentation fault signal 11 (0x02072ecd in Reader::ClearReader (this=0x83e7890) at reader.cpp:59) #304

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
1) Describe the problem.
gambas3 r5027 (and r5025 and r5026) segmentation fault signal 11
Attached is the backtrace of gdb

gambas3 3.2.1 works fine with the same code.

2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate):

Version: TRUNK
Revision: r5027
Operating system: Linux
Distribution: Lubuntu 10.04
Architecture: x86
GUI component: QT4
Desktop used: LXDE

3) Provide a little project that reproduces the bug or the crash.
Backtrace is attached

4) If your project needs a database, try to provide it, or part of it.

5) Explain clearly how to reproduce the bug or the crash.

6) By doing that carefully, you have done 50% of the bug fix job!

IMPORTANT NOTE: if you encounter several different problems or bugs, (for
example, a bug in your project, and an interpreter crash while debugging
it), please create distinct issues!

Original issue reported on code.google.com by uAle...@gmail.com on 11 Aug 2012 at 2:25

Attachments:

GoogleCodeExporter commented 9 years ago
OK, we have the backtrace. But we have no idea of what does the code you run!

Original comment by benoit.m...@gmail.com on 11 Aug 2012 at 2:32

GoogleCodeExporter commented 9 years ago

Original comment by benoit.m...@gmail.com on 11 Aug 2012 at 2:32

GoogleCodeExporter commented 9 years ago
Hi Benoit, i am running DomotiGa (www.domotiga.nl) 0.1.209 under gambas3.

The issue seems to be in the XMLRPC (server) component. I will try to find a 
better reproduction scenario.

Original comment by uAle...@gmail.com on 11 Aug 2012 at 2:35

GoogleCodeExporter commented 9 years ago
(this reply can be duplicate)

Hi Benoit,

I found a reproduction scenario, this is attached to the reply (DS.tar.gz).

It seems the XMLRPC component can't handle "incorrect" XML formatted requests. 
In the previous gambas2 and gambas3 3.2.1 is didn't segmentation fault, but 
gave a proper error message.

Regards,
Alex

Original comment by uAle...@gmail.com on 11 Aug 2012 at 3:33

Attachments:

GoogleCodeExporter commented 9 years ago
I found another reproduction scenario, it is in the attach "XMLParser.tar.gz". 
If you run the XMLParser3 project under Gambas3 r5025 and up, it segmentation 
faults. It works fine under gambas2 and gambas3 3.2.1

I also found the "new" gb.xml isn't compatible with gambas2 and neither with 
the XML specs, i will open another issue for this.

Original comment by uAle...@gmail.com on 11 Aug 2012 at 6:56

Attachments:

GoogleCodeExporter commented 9 years ago
Hi,

This is (finally!) fixed in revision #5032.

Original comment by adrien.p...@gmail.com on 11 Aug 2012 at 9:56

GoogleCodeExporter commented 9 years ago
Hi,

This is (finally!) fixed in revision #5032.

Original comment by adrien.p...@gmail.com on 11 Aug 2012 at 9:56

GoogleCodeExporter commented 9 years ago
Thanks, it doesn't segmentation fault anymore. With the XMLParse-example.tar.gz 
i noticed that i got more warning messages from gbx3 now. I will append them in 
Issue 305.

Original comment by uAle...@gmail.com on 12 Aug 2012 at 6:37