Opened 14 years ago

Closed 14 years ago

# new short example for bug in factorize

Reported by: Owned by: gorzel hannes major Release 3-1-0 factory 3-0-4 problems with factorize

### Description

Ysterday evening, I have constructed the following short example for

problem with factorize:

This problem exists since Singular-3-0-4, checked again with Singular-3-1-0, but works fine with Singular-3-0-3.

``` ring ri =(0,i),(a,b,c),dp;
minpoly = i2+1;

// This is OK
poly f = (a+b)^2+c^2;
factorize(f);
facstd(f);

// This doesn't work
poly g = (a+c)^2+b^2;
factorize(g);

facstd(g);

```

OUTPUT:

```>  ring ri =(0,i),(a,b,c),dp;
>  minpoly = i2+1;
>
.  // This is OK
.  poly f = (a+b)^2+c^2;
>  factorize(f);
:
_=1
_=a+b+(i)*c
_=a+b+(-i)*c
:
1,1,1
>  facstd(f);
:
_=a+b+(-i)*c
:
_=a+b+(i)*c
>
.  // This doesn't work
.  poly g = (a+c)^2+b^2;
>  factorize(g);
// ** problem with factorize
:
_=1
:
1
>
.  facstd(g);
Singular : signal 11 (v: 3100/2009022519):
Segment fault/Bus error occurred at 80fc840 because of 0 (r:1235646882)
trying to restart...
>

```

Where this crash did not occur in Singular-3-0-4. There I got:

```>
.  facstd(g);
// ** problem with factorize
:
_=1
>
.
. ;
```

' Hope this helps.

### comment:1 Changed 14 years ago by hannes

Resolution: → fixed new → closed

crash fixed, still problems with factorize: see ticket #1

Note: See TracTickets for help on using tickets.