[Gambas-user] Issue 477 in gambas: String.InStr with an empty pattern, causes a signal 11

gambas at ...2524... gambas at ...2524...
Sat Nov 23 20:46:11 CET 2013


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

New issue 477 by uAle... at ...626...: 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




More information about the User mailing list