I'm trying to isolate this problem, and while messing up with things I found bug (signal 11) that might be related. Project attached.
>From gbx_exec.c I uncommented this "printf("**** NEW %s\n", class->name);", because the bug seems to happen when Gambas initializes classes. So after that all project start with messages (what they are?); **** NEW Object[] **** NEW Collection **** NEW Collection **** NEW Collection But the project I'm working with start with messages; **** NEW Object[] **** NEW Collection **** NEW Collection **** NEW Collection **** NEW Integer[] <--- I can't understand where this comes from (there should be a lot of other variables before that). Gambas 3 rev 4793 @ Xubuntu 12.04 64bit Jussi On 24 May 2012 22:51, Jussi Lahtinen <jussi.lahti...@gmail.com> wrote: > Hi! > I tried to start one of my project with new revision, but nothing showed > up (there should be window which tells about initialization progress). > So, I tried to run it with gdb to see what is going on. Interpreter is in > loop and so I cannot get anything from it, so I killed it. > > Unfortunately I cannot provide the source. I hope you get the picture from > backtrace. > > (gdb) run > Starting program: /usr/local/bin/gbx3 > [Thread debugging using libthread_db enabled] > Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". > bt > > Program received signal SIGTERM, Terminated. > 0x00007fffec956020 in gdk_screen_get_setting@plt () > from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 > (gdb) bt > #0 0x00007fffec956020 in gdk_screen_get_setting@plt () > from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 > #1 0x00007fffeca8fe73 in ?? () > from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 > #2 0x00007ffff2b4d93e in g_object_get_valist () > from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 > #3 0x00007ffff2b4dd97 in g_object_get () > from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 > #4 0x00007ffff52b3786 in QGtkStyle::pixelMetric(QStyle::PixelMetric, > QStyleOption const*, QWidget const*) const () > from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 > #5 0x00007ffff52f3717 in QAbstractButton::iconSize() const () > from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 > #6 0x00007ffff5381daf in > QPushButton::initStyleOption(QStyleOptionButton*) const () from > /usr/lib/x86_64-linux-gnu/libQtGui.so.4 > #7 0x00007ffff53827b0 in ?? () from > /usr/lib/x86_64-linux-gnu/libQtGui.so.4 > #8 0x00007ffff5382afb in QPushButton::QPushButton(QWidget*) () > from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 > #9 0x00007ffff61b594a in MyPushButton::MyPushButton (this=0x1aa14690, > parent=<optimized out>) at CButton.cpp:527 > #10 0x00007ffff61b5a3e in CBUTTON_new (_object=0x1aa3bc88, > _param=<optimized out>) at CButton.cpp:56 > #11 0x000000000040b298 in EXEC_native () at gbx_exec.c:1304 > #12 0x000000000040ba09 in EXEC_special (special=<optimized out>, > class=<optimized out>, object=<optimized out>, nparam=1, drop=1 '\001') > at gbx_exec.c:1612 > #13 0x000000000040bddd in EXEC_special_inheritance (special=0, > class=0x67ae48, > object=0x1aa3bc88, nparam=1, drop=1 '\001') at gbx_exec.c:1767 > #14 0x000000000040c0d9 in EXEC_new () at gbx_exec.c:1885 > #15 0x0000000000432e97 in EXEC_loop () at gbx_exec_loop.c:879 > #16 0x000000000040a412 in EXEC_function_loop () at gbx_exec.c:899 > #17 0x000000000040aab1 in EXEC_function_real () at gbx_exec.c:863 > #18 0x000000000040bc90 in EXEC_special_inheritance (special=0, > class=0x92fd78, > object=0x1aa0f058, nparam=0, drop=1 '\001') at gbx_exec.c:1720 > #19 0x000000000040c0d9 in EXEC_new () at gbx_exec.c:1885 > #20 0x0000000000432e97 in EXEC_loop () at gbx_exec_loop.c:879 > #21 0x000000000040a412 in EXEC_function_loop () at gbx_exec.c:899 > #22 0x000000000040aab1 in EXEC_function_real () at gbx_exec.c:863 > #23 0x0000000000411a91 in CLASS_load_without_init (class=0x751e68) > at gbx_class_load.c:1234 > #24 0x0000000000411b31 in CLASS_load_real (class=0x751e68) > at gbx_class_load.c:1269 > #25 0x000000000040c45f in EXEC_object_other (val=0x7ffff663ed60, > pclass=0x7fffffe1daf0, pobject=0x7fffffe1daf8) at gbx_exec.c:1496 > #28 0x000000000040a412 in EXEC_function_loop () at gbx_exec.c:899 > #29 0x000000000040aab1 in EXEC_function_real () at gbx_exec.c:863 > #30 0x000000000040bc90 in EXEC_special_inheritance (special=0, > class=0x92f238, > object=0x1a9eba78, nparam=0, drop=1 '\001') at gbx_exec.c:1720 > #31 0x000000000040c0d9 in EXEC_new () at gbx_exec.c:1885 > #32 0x0000000000432e97 in EXEC_loop () at gbx_exec_loop.c:879 > #33 0x000000000040a412 in EXEC_function_loop () at gbx_exec.c:899 > #34 0x000000000040aab1 in EXEC_function_real () at gbx_exec.c:863 > #35 0x0000000000411a91 in CLASS_load_without_init (class=0x751e68) > at gbx_class_load.c:1234 > #36 0x0000000000411b31 in CLASS_load_real (class=0x751e68) > at gbx_class_load.c:1269 > #37 0x000000000040c45f in EXEC_object_other (val=0x7ffff663ed00, > pclass=0x7fffffe1e230, pobject=0x7fffffe1e238) at gbx_exec.c:1496 > #38 0x000000000040c5b4 in EXEC_push_unknown (code=1024) at > gbx_exec_push.c:65 > #39 0x0000000000433c68 in EXEC_loop () at gbx_exec_loop.c:574 > #40 0x000000000040a412 in EXEC_function_loop () at gbx_exec.c:899 > #41 0x000000000040aab1 in EXEC_function_real () at gbx_exec.c:863 > #42 0x000000000040bc90 in EXEC_special_inheritance (special=0, > class=0x92f238, > object=0x1a9879f8, nparam=0, drop=1 '\001') at gbx_exec.c:1720 > #43 0x000000000040c0d9 in EXEC_new () at gbx_exec.c:1885 > #44 0x0000000000432e97 in EXEC_loop () at gbx_exec_loop.c:879 > #45 0x000000000040a412 in EXEC_function_loop () at gbx_exec.c:899 > > > Jussi > PS. I think I need to reboot, that caused Xorg to hog 3.6G of memory! >
Looping-0.0.1.tar.gz
Description: GNU Zip compressed data
------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user