Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#396 closed bug (wontfix)

Another crash with factorize

Reported by: gorzel Owned by: mlee
Priority: major Milestone: 3-1-4 and higher
Component: factory Version: 3-1-3
Keywords: zz_pX InvMod Cc: hannes

Description

>  ring rdp= (32003,a),y,dp;
> factorize(16y3+123y2+192y+128);
[1]:
   _[1]=16
   _[2]=y+13547
   _[3]=y+8445
   _[4]=y-7983
[2]:
   1,1,1,1
>  minpoly = 16a3+123a2+192a+128;
>  poly f = (-a-1)-2*y-2*y3+y4;
>  factorize(f);
zz_pX InvMod: can't compute multiplicative inverse
Singular : signal 6 (v: 3133/ 14465 ):
current line:>> factorize(f);<<
Segment fault/Bus error occurred at ffffe410 because of 0 (r:1323963929)
please inform the authors
trying to restart...

Change History (2)

comment:1 Changed 11 years ago by mlee

Resolution: wontfix
Status: newclosed

Sorry, I don't see your problem here, the minimal polynomial you defined is not irreducible, so factorize is supposed to crash. That Singular actually segfaults here is due to poor error handling by NTL.

comment:2 Changed 11 years ago by gorzel

Well, the ticket was not correctly attributed and the title is misleading.

Nonetheless, I think, bugs like this will/should be fixed.

Note: See TracTickets for help on using tickets.