bugGNU Octave - Bugs: bug #34999, panic: ../../run-octave -f -q -H...

 
 

bug #34999: panic: ../../run-octave -f -q -H -p . --eval "geometryimages ('voronoi', 'txt');"

Submitted by:  Muhali <muhali>
Submitted on:  Tue 06 Dec 2011 05:53:42 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Build Failure
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: devOperating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 07 Dec 2011 11:57:59 PM UTC, comment #4:

This should have been fixed. So, I'm closing the report.

If the crash still occurs with tip > a73e110857e4, we can reopen it.

Ben Abbott <bpabbott>
Project Member
Wed 07 Dec 2011 03:39:20 AM UTC, comment #3:

The recent patches have fixed this problem for
me.

Michael

Michael Godfrey <godfrey>
Project Member
Tue 06 Dec 2011 09:15:39 PM UTC, comment #2:

The Mercurial code tree is in a state of flux right now ahead of the 3.6.0 release. I would report problems like this directly on the octave-maintainers list rather here on the bug tracker.

Rik <rik5>
Project Administrator
Tue 06 Dec 2011 07:53:10 PM UTC, comment #1:

Please try applying the attached changeset.

The changeset was posted to the maintainer's mail-list by Rik

http://octave.1599824.n4.nabble.com/segfault-on-make-check-tt4158243.html#a4162430

(file #24541)

Ben Abbott <bpabbott>
Project Member
Tue 06 Dec 2011 05:53:42 PM UTC, original submission:

I cannot compile the most recent source (changeset: 14000:15400d5deb1c), error message below.

The error occurs in the hide_output function when 'figure' is called. A similar error (segfault) is generated when calling

../../run-octave -f -q -H -p . --eval "figure;"

(in the doc/interpreter directory), and is not generated when calling

../../run-octave -f -q -H -p . --eval "figure; sleep(0);"

--------------------
make[3]: Entering directory `/tmp/octave/doc/interpreter'
../../run-octave -f -q -H -p . --eval "geometryimages ('voronoi', 'txt');"

      • glibc detected *** /tmp/octave/src/.libs/lt-octave: double free or corruption (!prev): 0x0000000001932490 ***

======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x72606)[0x2ab116024606]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x6c)[0x2ab11602933c]
/tmp/octave/src/.libs/liboctinterp.so.0(_ZN17children_property18do_delete_childrenEb+0x16e)[0x2ab113d6541e]
/tmp/octave/src/.libs/liboctinterp.so.0(_ZN11root_figureD0Ev+0x24)[0x2ab113e321e4]
/tmp/octave/src/.libs/liboctinterp.so.0(_ZNSt8_Rb_treeI15graphics_handleSt4pairIKS0_15graphics_objectESt10_Select1stIS4_ESt4lessIS0_ESaIS4_EE8_M_eraseEPSt13_Rb_tree_nodeIS4_E+0x3c)[0x2ab113e129fc]
/tmp/octave/src/.libs/liboctinterp.so.0(_ZN10gh_manager16cleanup_instanceEv+0x101)[0x2ab113e12b71]
/tmp/octave/liboctave/.libs/liboctave.so.0(_ZN22singleton_cleanup_listD1Ev+0x1b)[0x2ab114bcfc2b]
/tmp/octave/src/.libs/liboctinterp.so.0(_Z17clean_up_and_exiti+0x41)[0x2ab113fa3f71]
/tmp/octave/src/.libs/liboctinterp.so.0(octave_main+0x1336)[0x2ab113f4bd76]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd)[0x2ab115fd0ead]
/tmp/octave/src/.libs/lt-octave[0x400629]
======= Memory map: ========
00400000-00401000 r-xp 00000000 09:00 3082829 /tmp/octave/src/.libs/lt-octave
00600000-00601000 rw-p 00000000 09:00 3082829 /tmp/octave/src/.libs/lt-octave
01596000-01990000 rw-p 00000000 00:00 0 [heap]
2ab113789000-2ab1137a8000 r-xp 00000000 08:03 922503 /lib/x86_64-linux-gnu/ld-2.13.so
2ab1137a8000-2ab1137aa000 rw-p 00000000 00:00 0
2ab1139a8000-2ab1139a9000 r--p 0001f000 08:03 922503 /lib/x86_64-linux-gnu/ld-2.13.so
2ab1139a9000-2ab1139aa000 rw-p 00020000 08:03 922503 /lib/x86_64-linux-gnu/ld-2.13.so
2ab1139aa000-2ab1139ab000 rw-p 00000000 00:00 0
2ab1139ab000-2ab1146a2000 r-xp 00000000 09:00 2669820 /tmp/octave/src/.libs/liboctinterp.so.0.0.0
2ab1146a2000-2ab1148a2000 ---p 00cf7000 09:00 2669820 /tmp/octave/src/.libs/liboctinterp.so.0.0.0
2ab1148a2000-2ab1148f3000 rw-p 00cf7000 09:00 2669820 /tmp/octave/src/.libs/liboctinterp.so.0.0.0
2ab1148f3000-2ab1148fa000 rw-p 00000000 00:00 0
2ab1148fa000-2ab1155f7000 r-xp 00000000 09:00 2564356 /tmp/octave/liboctave/.libs/liboctave.so.0.0.0
2ab1155f7000-2ab1157f7000 ---p 00cfd000 09:00 2564356 /tmp/octave/liboctave/.libs/liboctave.so.0.0.0
2ab1157f7000-2ab115814000 rw-p 00cfd000 09:00 2564356 /tmp/octave/liboctave/.libs/liboctave.so.0.0.0
2ab115814000-2ab115819000 rw-p 00000000 00:00 0
2ab115819000-2ab1158f8000 r-xp 00000000 09:00 2559067 /tmp/octave/libcruft/.libs/libcruft.so.0.0.0
2ab1158f8000-2ab115af7000 ---p 000df000 09:00 2559067 /tmp/octave/libcruft/.libs/libcruft.so.0.0.0
2ab115af7000-2ab115afa000 rw-p 000de000 09:00 2559067 /tmp/octave/libcruft/.libs/libcruft.so.0.0.0
2ab115afa000-2ab115afd000 rw-p 00000000 00:00 0
2ab115b13000-2ab115b94000 r-xp 00000000 08:03 922488 /lib/x86_64-linux-gnu/libm-2.13.so
2ab115b94000-2ab115d93000 ---p 00081000 08:03 922488 /lib/x86_64-linux-gnu/libm-2.13.so
2ab115d93000-2ab115d94000 r--p 00080000 08:03 922488 /lib/x86_64-linux-gnu/libm-2.13.so
2ab115d94000-2ab115d95000 rw-p 00081000 08:03 922488 /lib/x86_64-linux-gnu/libm-2.13.so
2ab115d95000-2ab115d96000 rw-p 00000000 00:00 0
2ab115d96000-2ab115dad000 r-xp 00000000 08:03 922499 /lib/x86_64-linux-gnu/libpthread-2.13.so
2ab115dad000-2ab115fac000 ---p 00017000 08:03 922499 /lib/x86_64-linux-gnu/libpthread-2.13.so
2ab115fac000-2ab115fad000 r--p 00016000 08:03 922499 /lib/x86_64-linux-gnu/libpthread-2.13.so
2ab115fad000-2ab115fae000 rw-p 00017000 08:03 922499 /lib/x86_64-linux-gnu/libpthread-2.13.so
2ab115fae000-2ab115fb2000 rw-p 00000000 00:00 0
2ab115fb2000-2ab11612c000 r-xp 00000000 08:03 917532 /lib/x86_64-linux-gnu/libc-2.13.so
2ab11612c000-2ab11632c000 ---p 0017a000 08:03 917532 /lib/x86_64-linux-gnu/libc-2.13.so
2ab11632c000-2ab116330000 r--p 0017a000 08:03 917532 /lib/x86_64-linux-gnu/libc-2.13.so
2ab116330000-2ab116331000 rw-p 0017e000 08:03 917532 /lib/x86_64-linux-gnu/libc-2.13.so
2ab116331000-2ab116336000 rw-p 00000000 00:00 0
2ab116336000-2ab116347000 r-xp 00000000 08:03 533749 /usr/lib/libXext.so.6.4.0
2ab116347000-2ab116547000 ---p 00011000 08:03 533749 /usr/lib/libXext.so.6.4.0
2ab116547000-2ab116548000 rw-p 00011000 08:03 533749 /usr/lib/libXext.so.6.4.0
2ab116548000-2ab116549000 rw-p 00000000 00:00 0
2ab116549000-2ab11655d000 r-xp 00000000 08:03 535284 /usr/lib/libXft.so.2.1.13
2ab11655d000-2ab11675c000 ---p 00014000 08:03 535284 /usr/lib/libXft.so.2.1.13
2ab11675c000-2ab11675d000 rw-p 00013000 08:03 535284 /usr/lib/libXft.so.2.1.13
2ab11675d000-2ab11675f000 r-xp 00000000 08:03 535310 /usr/lib/libXinerama.so.1.0.0
2ab11675f000-2ab11695e000 ---p 00002000 08:03 535310 /usr/lib/libXinerama.so.1.0.0
2ab11695e000-2ab11695f000 rw-p 00001000 08:03 535310 /usr/lib/libXinerama.so.1.0.0
2ab11695f000-2ab116961000 r-xp 00000000 08:03 922495 /lib/x86_64-linux-gnu/libdl-2.13.so
2ab116961000-2ab116b61000 ---p 00002000 08:03 922495 /lib/x86_64-linux-gnu/libdl-2.13.so
2ab116b61000-2ab116b62000 r--p 00002000 08:03 922495 /lib/x86_64-linux-gnu/libdl-2.13.so
2ab116b62000-2ab116b63000 rw-p 00003000 08:03 922495 /lib/x86_64-linux-gnu/libdl-2.13.so
2ab116b63000-2ab116b64000 rw-p 00000000 00:00 0
2ab116b64000-2ab116be7000 r-xp 00000000 08:03 531048 /usr/lib/libfreetype.so.6.6.0
2ab116be7000-2ab116de6000 ---p 00083000 08:03 531048 /usr/lib/libfreetype.so.6.6.0
2ab116de6000-2ab116dec000 rw-p 00082000 08:03 531048 /usr/lib/libfreetype.so.6.6.0
2ab116dec000-2ab1170a5000 r-xp 00000000 09:00 3137553 /usr/local/lib/libhdf5.so.7.0.2
2ab1170a5000-2ab1172a5000 ---p 002b9000 09:00 3137553 /usr/local/lib/libhdf5.so.7.0.2
2ab1172a5000-2ab1172b0000 rw-p 002b9000 09:00 3137553 /usr/local/lib/libhdf5.so.7.0.2
2ab1172b0000-2ab1172b1000 rw-p 00000000 00:00 0
2ab1172b1000-2ab1172c8000 r-xp 00000000 08:03 527077 /usr/lib/libz.so.1.2.3.4
2ab1172c8000-2ab1174c7000 ---p 00017000 08:03 527077 /usr/lib/libz.so.1.2.3.4
2ab1174c7000-2ab1174c8000 rw-p 00016000 08:03 527077 /usr/lib/libz.so.1.2.3.4panic: Aborted -- stopping myself...
attempting to save variables to `octave-core'...
panic: attempted clean up apparently failed -- aborting...
make[3]: *** [voronoi.txt] Aborted
make[3]: *** Deleting file `voronoi.txt'
make[3]: Leaving directory `/tmp/octave/doc/interpreter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/octave/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/octave'
make: *** [all] Error 2

Muhali <muhali>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #24541:  segfault.patch added by bpabbott (641B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by godfrey (Posted a comment)
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by bpabbott (Updated the item)
  • -unavailable- added by muhali (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 07 Dec 2011 11:57:59 PM UTCbpabbottStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Tue 06 Dec 2011 07:53:10 PM UTCbpabbottAttached File-=>Added segfault.patch, #24541

    Back to the top


    Powered by Savane 3.1-cleanup1