### Console output ###
http://192.168.1.200:3000/ -> /mole/refresh
/usr/lib/ruby/1.8/yaml.rb:133: [BUG] Segmentation fault
ruby 1.8.4 (2005-12-24) [i486-linux]
/usr/lib/ruby/1.8/yaml.rb:133: [BUG] Segmentation fault
ruby 1.8.4 (2005-12-24) [i486-linux]
Aborted (core dumped)
### End ###
the log file doesn't show any errors.
When I restart the server, it segfaults on the first request, adding
nothing to the development log.
To fix this issue, I deleted these two entries from my mole_log table:
### 2x Database Entries ###
| 27 | 4 | 6 | ---
:my_foo: "#<RequestsController:0xb75d15e4 @foo=\"FOO\",
@menu=[[[\"Administration\"], [[\"schools\", \"index\", \"Schools\"],
[\"users\", \"index\", \"Users\"], [\"grant_types\", \"index\",
\"Grant Types\"], [\"system\", \"options\", \"System Options |
2007-04-15 01:19:12 | 2007-04-15 01:19:12 |
| 28 | 4 | 6 | ---
:my_foo: "#<RequestsController:0xb7535ec8 @foo=\"FOO\",
@menu=[[[\"Administration\"], [[\"schools\", \"index\", \"Schools\"],
[\"users\", \"index\", \"Users\"], [\"grant_types\", \"index\",
\"Grant Types\"], [\"system\", \"options\", \"System Options |
2007-04-15 01:19:21 | 2007-04-15 01:19:21 |
### End ###
It seems that those both had long lines in them
(:args=>context.inspect), which had gotten cut off due to size-
limitations in the table.
But yes, I completely agree that 255 is probably reasonable, due to
the small type and line-length.
On Apr 15, 2:39 am, "Fernand Galiana" <fernand.gali...@gmail.com>
wrote:
> Hum... Interesting. By default the params col in the mole_logs table is
> 255 chars.
>
> If you are dumping results from inspect ( although I would not advise... )
> you will need to bump this quiet a bit so that this column will be correctly
> persisted.
>
> I'll make a note to trap this condition...
>
> -Fernand
>
> On 4/15/07, rellik <patrick.schl...@gmail.com> wrote:
>
>
>
> > Got this seg fault tonight:
>
> > ### Console output ###
> >http://192.168.1.200:3000/-> /mole/refresh