Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: building Volume fails

building Volume fails 12 years 8 months ago #2581

  • shahzad
  • shahzad's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 25
  • Karma: 0
Hi,

I have built the project from scratch and was able to start up the project workbench. I created a project \"gettingstarted\". However, opening the project does not work. The project is saved and get the following error in the console.
I am on a Ubuntu 11.04 machine.

[code:1]
-- Project created GettingStartedBase-gettingstarted
Project root created
Creating directory database
Open gettingstarted
args: gettingstarted sk sk
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
Welcome to
gettingstarted X4.8.2-1

Revision history
2011-08-18 root Project created
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
-- Processing line: 2
-- Building volume directory
*** stack smashing detected ***: wb terminated
======= Backtrace: =========
/lib/i386-linux-gnu/libc.so.6(__fortify_fail+0x50)[0x7de3df0]
/lib/i386-linux-gnu/libc.so.6(+0xe5d9a)[0x7de3d9a]
wb[0x8584284]
wb[0x8527c2f]
wb[0x852006d]
======= Memory map: ========
00110000-001a5000 r-xp 00000000 08:03 394974 /usr/lib/libgdk-x11-2.0.so.0.2400.4
001a5000-001a6000 ---p 00095000 08:03 394974 /usr/lib/libgdk-x11-2.0.so.0.2400.4
001a6000-001a8000 r--p 00095000 08:03 394974 /usr/lib/libgdk-x11-2.0.so.0.2400.4
001a8000-001a9000 rw-p 00097000 08:03 394974 /usr/lib/libgdk-x11-2.0.so.0.2400.4
001a9000-001c4000 r-xp 00000000 08:03 394976 /usr/lib/libgdk_pixbuf-2.0.so.0.2300.3
001c4000-001c5000 r--p 0001a000 08:03 394976 /usr/lib/libgdk_pixbuf-2.0.so.0.2300.3
001c5000-001c6000 rw-p 0001b000 08:03 394976 /usr/lib/libgdk_pixbuf-2.0.so.0.2300.3
001c6000-0020b000 r-xp 00000000 08:03 397529 /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.2800.6
0020b000-0020c000 r--p 00044000 08:03 397529 /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.2800.6
0020c000-0020d000 rw-p 00045000 08:03 397529 /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.2800.6
0020d000-00210000 r-xp 00000000 08:03 397535 /usr/lib/i386-linux-gnu/libgthread-2.0.so.0.2800.6
00210000-00211000 r--p 00003000 08:03 397535 /usr/lib/i386-linux-gnu/libgthread-2.0.so.0.2800.6
00211000-00212000 rw-p 00004000 08:03 397535 /usr/lib/i386-linux-gnu/libgthread-2.0.so.0.2800.6
00212000-00227000 r-xp 00000000 08:03 522208 /lib/i386-linux-gnu/libpthread-2.13.so
00227000-00228000 r--p 00015000 08:03 522208 /lib/i386-linux-gnu/libpthread-2.13.so
00228000-00229000 rw-p 00016000 08:03 522208 /lib/i386-linux-gnu/libpthread-2.13.so
00229000-0022b000 rw-p 00000000 00:00 0
0022b000-0024f000 r-xp 00000000 08:03 522180 /lib/i386-linux-gnu/libm-2.13.so
0024f000-00250000 r--p 00023000 08:03 522180 /lib/i386-linux-gnu/libm-2.13.so
00250000-00251000 rw-p 00024000 08:03 522180 /lib/i386-linux-gnu/libm-2.13.so
00252000-0026e000 r-xp 00000000 08:03 522130 /lib/i386-linux-gnu/ld-2.13.so
0026e000-0026f000 r--p 0001b000 08:03 522130 /lib/i386-linux-gnu/ld-2.13.so
0026f000-00270000 rw-p 0001c000 08:03 522130 /lib/i386-linux-gnu/ld-2.13.so
00270000-00641000 r-xp 00000000 08:03 395116 /usr/lib/libgtk-x11-2.0.so.0.2400.4
00641000-00645000 r--p 003d0000 08:03 395116 /usr/lib/libgtk-x11-2.0.so.0.2400.4
00645000-00647000 rw-p 003d4000 08:03 395116 /usr/lib/libgtk-x11-2.0.so.0.2400.4
00647000-00649000 rw-p 00000000 00:00 0
00649000-006f7000 r-xp 00000000 08:03 394811 /usr/lib/libcairo.so.2.11000.2
006f7000-006f8000 ---p 000ae000 08:03 394811 /usr/lib/libcairo.so.2.11000.2
006f8000-006f9000 r--p 000ae000 08:03 394811 /usr/lib/libcairo.so.2.11000.2
006f9000-006fa000 rw-p 000af000 08:03 394811 /usr/lib/libcairo.so.2.11000.2
006fa000-006fc000 rw-p 00000000 00:00 0
006fc000-007c3000 r-xp 00000000 08:03 394772 /usr/lib/libasound.so.2.0.0
007c3000-007c7000 r--p 000c6000 08:03 394772 /usr/lib/libasound.so.2.0.0
007c7000-007c8000 rw-p 000ca000 08:03 394772 /usr/lib/libasound.so.2.0.0
007c8000-007ca000 r-xp 00000000 08:03 397456 /usr/lib/i386-linux-gnu/libXcomposite.so.1.0.0
007ca000-007cb000 r--p 00001000 08:03 397456 /usr/lib/i386-linux-gnu/libXcomposite.so.1.0.0
007cb000-007cc000 rw-p 00002000 08:03 397456 /usr/lib/i386-linux-gnu/libXcomposite.so.1.0.0
007cc000-007ce000 r-xp 00000000 08:03 397460 /usr/lib/i386-linux-gnu/libXdamage.so.1.1.0
007ce000-007cf000 r--p 00001000 08:03 397460 /usr/lib/i386-linux-gnu/libXdamage.so.1.1.0
007cf000-007d0000 rw-p 00002000 08:03 397460 /usr/lib/i386-linux-gnu/libXdamage.so.1.1.0
007d0000-007d2000 r-xp 00000000 08:03 397521 /usr/lib/i386-linux-gnu/libgmodule-2.0.so.0.2800.6
007d2000-007d3000 r--p 00002000 08:03 397521 /usr/lib/i386-linux-gnu/libgmodule-2.0.so.0.2800.6
007d3000-007d4000 rw-p 00003000 08:03 397521 /usr/lib/i386-linux-gnu/libgmodule-2.0.so.0.2800.6
007d4000-007e7000 r-xp 00000000 08:03 522226 /lib/i386-linux-gnu/libz.so.1.2.3.4
007e7000-007e8000 r--p 00012000 08:03 522226 /lib/i386-linux-gnu/libz.so.1.2.3.4
007e8000-007e9000 rw-p 00013000 08:03 522226 /lib/i386-linux-gnu/libz.so.1.2.3.4
007e9000-007ed000 r-xp 00000000 08:03 397466 /usr/lib/i386-linux-gnu/libXfixes.so.3.1.0
007ed000-007ee000 r--p 00003000 08:03 397466 /usr/lib/i386-linux-gnu/libXfixes.so.3.1.0
007ee000-007ef000 rw-p 00004000 08:03 397466 /usr/lib/i386-linux-gnu/libXfixes.so.3.1.0
007f0000-007fa000 r-xp 00000000 08:03 397565 /usr/lib/i386-linux-gnu/libpangocairo-1.0.so.0.2800.4
007fa000-007fb000 r--p 00009000 08:03 397565 /usr/lib/i386-linux-gnu/libpangocairo-1.0.so.0.2800.4
007fb000-007fc000 rw-p 0000a000 08:03 397565 /usr/lib/i386-linux-gnu/libpangocairo-1.0.so.0.2800.4
007fc000-008d1000 r-xp 00000000 08:03 522175 /lib/i386-linux-gnu/libglib-2.0.so.0.2800.6
008d1000-008d2000 r--p 000d4000 08:03 522175 /lib/i386-linux-gnu/libglib-2.0.so.0.2800.6
008d2000-008d3000 rw-p 000d5000 08:03 522175 /lib/i386-linux-gnu/libglib-2.0.so.0.2800.6
008d3000-008e0000 r-xp 00000000 08:03 397464 /usr/lib/i386-linux-gnu/libXext.so.6.4.0
008e0000-008e1000 r--p 0000c000 08:03 397464 /usr/lib/i386-linux-gnu/libXext.so.6.4.0
008e1000-008e2000 rw-p 0000d000 08:03 397464 /usr/lib/i386-linux-gnu/libXext.so.6.4.0
008e2000-008e4000 r-xp 00000000 08:03 397472 /usr/lib/i386-linux-gnu/libXinerama.so.1.0.0
008e4000-008e5000 r--p 00001000 08:03 397472 /usr/lib/i386-linux-gnu/libXinerama.so.1.0.0
008e5000-008e6000 rw-p 00002000 08:03 397472 /usr/lib/i386-linux-gnu/libXinerama.so.1.0.0
008e7000-008ef000 r-xp 00000000 08:03 522149 /lib/i386-linux-gnu/libcrypt-2.13.so
008ef000-008f0000 r--p 00007000 08:03 522149 /lib/i386-linux-gnu/libcrypt-2.13.so
008f0000-008f1000 rw-p 00008000 08:03 522149 /lib/i386-linux-gnu/libcrypt-2.13.so
008f1000-00918000 rw-p 00000000 00:00 0
00918000-00920000 r-xp 00000000 08:03 397476 /usr/lib/i386-linux-gnu/libXrender.so.1.3.0
00920000-00921000 r--p 00007000 08:03 397476 /usr/lib/i386-linux-gnu/libXrender.so.1.3.0
00921000-00922000 rw-p 00008000 08:03 397476 /usr/lib/i386-linux-gnu/libXrender.so.1.3.0
[/code:1]

Post edited by: shahzad, at: 2011/08/18 18:18
The administrator has disabled public write access.

Re:building Volume fails 12 years 8 months ago #2584

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 3180
  • Thank you received: 502
  • Karma: 133
Hi Shahzad,

Try attach the project from a terminal window with

> sdf gettingstarted

and open the directory volume with

> pwrs

/Claes
The administrator has disabled public write access.

Re:building Volume fails 12 years 8 months ago #2586

  • shahzad
  • shahzad's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 25
  • Karma: 0
I tried that, but, it gives the same error.
The administrator has disabled public write access.

Re:building Volume fails 12 years 8 months ago #2591

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 3180
  • Thank you received: 502
  • Karma: 133
Start with the debugger (install gdb if needed) :

> gdb wb_gtk
gdb> set args 'username' 'passwd' (username and passwd are usually pwrp/pwrp)
gdb> r

Hopefully you can with 'bt' (backtrace) get the file and line number where the smashing detect occurs and we'll see if it gives any hints.

/Claes
The administrator has disabled public write access.

Re:building Volume fails 12 years 8 months ago #2593

  • shahzad
  • shahzad's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 25
  • Karma: 0
Ok, so according to bt, it occurs in
src/lib/co/src/co_ccm.c in ccm_read_file method. I think some array is being mistreated here. is it the 'filename' too long? I hope it gives you some clues.=

[code:1]
#0 0x0012e416 in __kernel_vsyscall ()
#1 0x01247e71 in raise () from /lib/i386-linux-gnu/libc.so.6
#2 0x0124b34e in abort () from /lib/i386-linux-gnu/libc.so.6
#3 0x0127e577 in ?? () from /lib/i386-linux-gnu/libc.so.6
#4 0x01302df0 in __fortify_fail () from /lib/i386-linux-gnu/libc.so.6
#5 0x01302d9a in __stack_chk_fail () from /lib/i386-linux-gnu/libc.so.6
#6 0x08584284 in __stack_chk_fail_local ()
#7 0x08527c2f in ccm_read_file (filectx=0x89e1500, filename=0xbfffcb7c \"$pwr_exe/wb_wiz_directoryvolume\", line_list=0x89e15d4) at ../../co_ccm.c:3791
#8 0x0852006d in init_ctable () at ../../co_ccm.c:830
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
[/code:1]
Regards,
The administrator has disabled public write access.

Re:building Volume fails 12 years 8 months ago #2594

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 3180
  • Thank you received: 502
  • Karma: 133
I think you are right. The buffer for the expanded name of \"$pwr_exe/wb_wiz_directoryvolume.pwr_com\" is 80 characters which can be too short if you have a long path to the build root. I will increase the size to the next release, until then you can shorten the path, you then also have to change it in pwre (pwre modify) and in the %base statement in $pwra_db/pwr_projectlist.dat.

/Claes
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Time to create page: 7.372 seconds