[Gambas-devel] System error... (42)
ron at ...572...
Fri Dec 31 11:21:47 CET 2010
trying to debug this problem, but if I follow your instructions, I get
this right away.. are you sure they are correct?
on at ...218...:~/domotiga/DomotiGaServer$ gdb gbx2
GNU gdb (GDB) 7.1-ubuntu
Copyright (C) 2010 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 "i486-linux-gnu".
For bug reporting instructions, please see:
Reading symbols from /usr/local/bin/gbx2...done.
(gdb) break THROW
Breakpoint 1 at 0x804be2e: file gb_error.c, line 273.
Starting program: /usr/local/bin/gbx2
[Thread debugging using libthread_db enabled]
Breakpoint 1, THROW (code=13) at gb_error.c:273
273 void THROW(int code, ...)
#0 THROW (code=13) at gb_error.c:273
#1 0x08057162 in get_stream (value=0x807fad0, can_default=<value
optimized out>) at gbx_subr_file.c:146
#2 0x0805717c in SUBR_close () at gbx_subr_file.c:187
#3 0x0806b0f3 in EXEC_loop () at gbx_exec_loop.c:476
#4 0x0804f533 in EXEC_function_loop () at gbx_exec.c:703
#5 0x0804f809 in EXEC_function_real () at gbx_exec.c:690
#6 0x08061c29 in main (argc=134739048, argv=0xbffff544) at gbx.c:349
I guess it stops at every error now, even known ones...
On Sun, Dec 5, 2010 at 12:11 PM, Ron <ron at ...572...> wrote:
> Haven't been able to reproduce it yet.
> I didn't change a lot to my code, so maybe it was just a one in a
> million things...
> Checked my dmesg for weird system/hardware problems, but no sign off any.
> Will keep you posted if it happens again...
> It is on Gambas2, latest rev.
> 2010/12/5 Benoît Minisini <gambas at ...1...>:
>>> Ok. Sometime things get weird...
>>> I found that my command line project wasn't running anymore...
>>> 2010/12/04 15:42:16 You have 2 new e-mails on Gmail.
>>> 2010/12/04 15:47:16 Uploaded sensor data to Bwired.
>>> 2010/12/04 15:47:21 Uploaded sensor data to Pachube.
>>> 2010/12/04 16:00:00 The Time of Day is afternoon.
>>> 2010/12/04 16:00:00 It's dark outside.
>>> 2010/12/04 16:00:00 DomotiGa is running for 0 days, 4 hrs, 12 mins, and 43
>>> secs. 2010/12/04 16:02:21 Uploaded sensor data to Pachube.
>>> ERROR: #42: System error. Success
>>> System error... (42)
>>> This error is raised when a system call returns an error that does not
>>> match another specific Gambas error.
>>> Hmm ok, no clue... yes it's a Linux system, although the error message
>>> has a Windows logic in it.
>> Can you run your command line tool that way to know where the error comes
>> $ gdb gbx2
>> (gdb) break THROW
>> (gdb) run
>> ... Let your program run until it stops
>> (gdb) bt
>> Then send me the result of the 'bt' gdb command.
>> Be sure that you have a Gambas 2 compiled with debugging symbols enabled.
>> And if you use Gambas 3 instead of Gambas 2, replace "gbx2" by "gbx3".
>> Benoît Minisini
>> What happens now with your Lotus Notes apps - do you make another costly
>> upgrade, or settle for being marooned without product support? Time to move
>> off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
>> use, and manage than apps on traditional platforms. Sign up for the Lotus
>> Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
>> Gambas-devel mailing list
>> Gambas-devel at lists.sourceforge.net
More information about the Devel