Code : Tout sélectionner
Program received signal SIGSEGV, Segmentation fault.
0x00007f326b624ef0 in ?? () from /lib/libc.so.6
(gdb) bt
#0 0x00007f326b624ef0 in ?? () from /lib/libc.so.6
#1 0x00007f326b6274c9 in ?? () from /lib/libc.so.6
#2 0x00007f326b6297ee in malloc () from /lib/libc.so.6
#3 0x00007f326be8064d in operator new(unsigned long) () from /usr/lib/libstdc++.so.6
#4 0x000000000042fdb2 in __gnu_cxx::new_allocator<giac::gen>::allocate (this=0x7fff039d3050,
__n=67086078) at /usr/include/c++/4.4/ext/new_allocator.h:89
#5 0x000000000042f123 in std::_Vector_base<giac::gen, std::allocator<giac::gen> >::_M_allocate (
this=0x7fff039d3050, __n=67086078) at /usr/include/c++/4.4/bits/stl_vector.h:140
#6 0x00007f326f6cd7cc in std::vector<giac::gen, std::allocator<giac::gen> >::_M_allocate_and_copy<giac::gen*> (this=0x7fff039d3050, __n=67086078, __first=0x0, __last=0x0)
at /usr/include/c++/4.4/bits/stl_vector.h:963
#7 0x00007f326f6cd113 in std::vector<giac::gen, std::allocator<giac::gen> >::reserve (
this=0x7fff039d3050, __n=67086078) at /usr/include/c++/4.4/bits/vector.tcc:74
#8 0x00007f326f1df87c in giac::evalf_VECT (v=..., subtype=0, level=1, contextptr=0x18d5560)
at gen.cc:1484
#9 0x00007f326f1e2b5e in giac::gen::in_evalf (this=0x7f3260007308, level=1, evaled=...,
contextptr=0x18d5560) at gen.cc:1891
#10 0x00007f326f1e205c in giac::gen::evalf (this=0x7f3260007308, level=1, contextptr=0x18d5560)
at gen.cc:1781
#11 0x00007f326ee4c651 in giac::symbolic::evalf (this=0x7f32600072f0, level=1, contextptr=0x18d5560)
at symbolic.cc:454
#12 0x00007f326f1e2ee7 in giac::gen::in_evalf (this=0x7f326000b980, level=1, evaled=...,
contextptr=0x18d5560) at gen.cc:1908
---Type <return> to continue, or q <return> to quit---
#13 0x00007f326f1e205c in giac::gen::evalf (this=0x7f326000b980, level=1, contextptr=0x18d5560)
at gen.cc:1781
#14 0x00007f326f1df8ac in giac::evalf_VECT (v=..., subtype=8, level=1, contextptr=0x18d5560)
at gen.cc:1486
#15 0x00007f326f1e2b5e in giac::gen::in_evalf (this=0x7f3260009190, level=1, evaled=...,
contextptr=0x18d5560) at gen.cc:1891
#16 0x00007f326f1e205c in giac::gen::evalf (this=0x7f3260009190, level=1, contextptr=0x18d5560)
at gen.cc:1781
#17 0x00007f326f1df8ac in giac::evalf_VECT (v=..., subtype=5, level=1, contextptr=0x18d5560)
at gen.cc:1486
#18 0x00007f326f1e2b5e in giac::gen::in_evalf (this=0x7f326000af08, level=1, evaled=...,
contextptr=0x18d5560) at gen.cc:1891
#19 0x00007f326f1e205c in giac::gen::evalf (this=0x7f326000af08, level=1, contextptr=0x18d5560)
at gen.cc:1781
#20 0x00007f326ee4c4f4 in giac::symbolic::evalf (this=0x7f326000aef0, level=1, contextptr=0x18d5560)
at symbolic.cc:446
#21 0x00007f326f1e2ee7 in giac::gen::in_evalf (this=0x7f32600076b0, level=1, evaled=...,
contextptr=0x18d5560) at gen.cc:1908
#22 0x00007f326f1e205c in giac::gen::evalf (this=0x7f32600076b0, level=1, contextptr=0x18d5560)
at gen.cc:1781
#23 0x00007f326f1df8ac in giac::evalf_VECT (v=..., subtype=8, level=1, contextptr=0x18d5560)
at gen.cc:1486
#24 0x00007f326f1e2b5e in giac::gen::in_evalf (this=0x7f326000a7e8, level=1, evaled=...,
---Type <return> to continue, or q <return> to quit---
contextptr=0x18d5560) at gen.cc:1891
#25 0x00007f326f1e205c in giac::gen::evalf (this=0x7f326000a7e8, level=1, contextptr=0x18d5560)
at gen.cc:1781
#26 0x00007f326ee4c4f4 in giac::symbolic::evalf (this=0x7f326000a7d0, level=1, contextptr=0x18d5560)
at symbolic.cc:446
#27 0x00007f326f1e2ee7 in giac::gen::in_evalf (this=0x7fff039d5e20, level=1, evaled=...,
contextptr=0x18d5560) at gen.cc:1908
#28 0x00007f326f1e205c in giac::gen::evalf (this=0x7fff039d5e20, level=1, contextptr=0x18d5560)
at gen.cc:1781
#29 0x00007f326f1e1da3 in giac::evalf (e=..., level=1, contextptr=0x18d5560) at gen.cc:1748
#30 0x00007f326f04cf85 in giac::nearest_point (v=..., p=..., eps=0.15338196392785572,
contextptr=0x18d5560) at plot.cc:4536
#31 0x00007f326f71b90c in xcas::Graph2d::geometry_round (this=0x195e320, x=2.3296125019542613,
y=3.8713087318087318, z=0, eps=0.15338196392785572, tmp=..., contextptr=0x18d5560)
at Graph.cc:3439
#32 0x00007f326f71b5b9 in xcas::Graph2d3d::geometry_round (this=0x195e320, x=2.3296125019542613,
y=3.8713087318087318, z=0, eps=0.15338196392785572, original=..., pos=@0x7fff039d6178)
at Graph.cc:3415
#33 0x00007f326f71b334 in xcas::Graph2d3d::in_handle (this=0x195e320, event=11) at Graph.cc:3389
#34 0x00007f326f71122f in xcas::Graph2d::common_in_handle (this=0x195e320, event=11) at Graph.cc:2462
#35 0x00007f326f71cf9f in xcas::Geo2d::in_handle (this=0x195e320, event=11) at Graph.cc:3591
#36 0x00007f326f71ab2f in xcas::Graph2d3d::handle (this=0x195e320, event=11) at Graph.cc:3311
#37 0x00007f326f65f21f in xcas::History_Pack::handle (this=0x18d51f0, event=11) at History.cc:1233
---Type <return> to continue, or q <return> to quit---
#38 0x00007f326f66de6c in xcas::History_Fold::handle (this=0x18d4ec0, event=11) at History.cc:3465
#39 0x00007f326d016bfa in Fl_Tabs::handle(int) () from /usr/lib/libfltk.so.1.1
#40 0x00007f326cfe411c in fl_fix_focus() () from /usr/lib/libfltk.so.1.1
#41 0x00007f326d01305b in Fl_Scroll::~Fl_Scroll() () from /usr/lib/libfltk.so.1.1
#42 0x00007f326f6647c3 in xcas::History_Pack_Group_eval (g=0x19622b0, add_group=true)
at History.cc:1941
#43 0x00007f326f665051 in xcas::History_Pack_cb_eval (q=0x1962520) at History.cc:2025
#44 0x00007f326f667b31 in xcas::History_Pack::update (this=0x195df60, n=3) at History.cc:2532
#45 0x00007f326f667b78 in xcas::History_Pack::next (this=0x195df60, hp_pos=3) at History.cc:2540
#46 0x00007f326f68de8d in xcas::Xcas_eval_callback (evaled_g=..., param=0x19c9df0) at Xcas1.cc:1098
#47 0x00007f326efd011a in giac::check_thread (contextptr=0x18d5560) at global.cc:2628
#48 0x00007f326f6894df in xcas::Xcas_idle_function (dontcheck=0x0) at Xcas1.cc:451
#49 0x00007f326cfe50a1 in Fl::wait(double) () from /usr/lib/libfltk.so.1.1
#50 0x00007f326cfe514d in Fl::wait() () from /usr/lib/libfltk.so.1.1
#51 0x000000000042ae2f in Xcas_run (argc=1, argv=0x7fff039d6d58) at hist.cxx:4867
#52 0x000000000042afb3 in main (argc=1, argv=0x7fff039d6d58) at hist.cxx:4914
(gdb) f 29
#29 0x00007f326f1e1da3 in giac::evalf (e=..., level=1, contextptr=0x18d5560) at gen.cc:1748
1748 return e.evalf(level,contextptr);
(gdb) p e.dbgprint()
Program received signal SIGSEGV, Segmentation fault.
0x00007f326ee47db0 in giac::symbolic::print (this=0x7f32600072f0, contextptr=0x0) at symbolic.cc:93
93 if ( (feuille.type!=_VECT) || ( (sommet!=at_prod) && (feuille._VECTptr->front().type==_VECT) ) ){
The program being debugged was signaled while in a function called from GDB.
GDB remains in the frame where the signal was received.
To change this behavior use "set unwindonsignal on".
Evaluation of the expression containing the function
(giac::gen::dbgprint() const) will be abandoned.
When the function is done executing, GDB will silently stop.
(gdb)