Status: New
Owner: ----
Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any  
Desktop-Any GUI-Any

New issue 477 by uale...@gmail.com: String.InStr with an empty pattern,  
causes a signal 11
http://code.google.com/p/gambas/issues/detail?id=477

1) Describe the problem.

Gambas stops with a signal 11, if the pattern in string.instr function is  
empty.

Example code:
Print String.InStr("Test", "")

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

Version: TRUNK
Revision: r5971 & 3.5.1
Operating system: Linux
Distribution: Ubuntu
Architecture: x86_64
GUI component: QT3 / QT4 / GTK+
Desktop used: Gnome / KDE ...

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

Just execute:
Print String.InStr("Test", "")

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!

-- 
You received this message because this project is configured to send all  
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to