Ryan Niebur wrote:
> would you mind locally rebuild gq with debug symbols and getting the trace 
> again?

Yes!


> running these commands should rebuild and install it with debugging symbols:
> sudo apt-get install --no-install-recommends build-essential dpatch 
> libgtk2.0-dev libldap2-dev libkrb5-dev libxml2-dev libsasl2-dev libssl-dev 
> devscripts wget gnupg debian-keyring libdigest-md5-perl

There is not libdigest-md5-perl so I installed libdigest-md5-file-perl ...


> dget ftp://ftp.debian.org/debian/pool/main/g/gq/gq_1.0.0-3.dsc

dpkg-source -x gq_1.0.0-3.dsc


> cd gq-1.0.0
> DEB_BUILD_OPTIONS=nostrip dpkg-buildpackage -us -uc
> sudo dpkg -i ../gq_1.0.0-3_amd64.deb

$ gdb gq
[...]
(gdb) run

Starting program: /usr/bin/gq

[Thread debugging using libthread_db enabled]

[New Thread 0x2b91873ea840 (LWP 11569)]


Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x2b91873ea840 (LWP 11569)]
0x00002b9182bf8030 in strlen () from /lib/libc.so.6
(gdb) bt full

#0  0x00002b9182bf8030 in strlen () from /lib/libc.so.6


No symbol table info available.


#1  0x00002b9182bc4cb1 in vfprintf () from /lib/libc.so.6


No symbol table info available.


#2  0x00002b9182bea20a in vsnprintf () from /lib/libc.so.6


No symbol table info available.


#3  0x000000000042f4f5 in error_push_production_v (context=174,
fmt=0x45409f "Additional error: %s", ap=0x7fff2b000650) at
errorchain.c:103
        chain = <value optimized out>


        str = (GString *) 0xabfae0


        n = 73


        a = 75


#4  0x000000000042f6be in error_push_debug (file=0x454072
"errorchain.c", line=174, context=174, fmt=0x45409f "Additional error:
%s") at errorchain.c:157
        ap = {{gp_offset = 48, fp_offset = 48, overflow_arg_area =
0x7fff2b000760, reg_save_area = 0x7fff2b000670}}

#5  0x000000000042f738 in push_ldap_addl_error (ld=<value optimized
out>, context=174) at errorchain.c:174

        error_msg = 0xb371e0 "value of naming attribute 'uid' is not
present in entry"

#6  0x0000000000431e63 in mod_entry_from_formlist (iform=0xa1fd00) at
input.c:1794

        ct = {ldctl_oid = 0x44cfc9 "2.16.840.1.113730.3.4.2",
ldctl_value = {bv_len = 0, bv_val = 0x0}, ldctl_iscritical = 1 '\001'}

        ctrls = {0x7fff2b0007c0, 0x0}


        newlist = (GList *) 0xabfb20


        oldlist = <value optimized out>


        mods = (LDAPMod **) 0xb656e0


        ld = (LDAP *) 0xab4db0


        server = (struct ldapserver *) 0x6a20d0


        mod_context = 174


        res = <value optimized out>


        olddn = 0x9dc010 "uid=phobietest,ou=people,dc=mydomain,dc=de"

        dn = 0xb29c90 "uid=phobietest,ou=people,dc=mydomain,dc=de"

        node = (GQTreeWidgetNode *) 0x0


        ctreeroot = (GQTreeWidget *) 0x68c2e0


        do_modrdn = 0


        error = <value optimized out>


#7  0x00002b9181fd2e9d in g_closure_invoke () from
/usr/lib/libgobject-2.0.so.0

No symbol table info available.


#8  0x00002b9181fe5bfd in ?? () from /usr/lib/libgobject-2.0.so.0


No symbol table info available.


#9  0x00002b9181fe70ee in g_signal_emit_valist () from
/usr/lib/libgobject-2.0.so.0

No symbol table info available.


#10 0x00002b9181fe75f3 in g_signal_emit () from
/usr/lib/libgobject-2.0.so.0

---Type <return> to continue, or q <return> to quit---


No symbol table info available.


#11 0x00002b9180a57e4d in ?? () from /usr/lib/libgtk-x11-2.0.so.0


No symbol table info available.


#12 0x00002b9181fd2e9d in g_closure_invoke () from
/usr/lib/libgobject-2.0.so.0

No symbol table info available.


#13 0x00002b9181fe5518 in ?? () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#14 0x00002b9181fe70ee in g_signal_emit_valist () from
/usr/lib/libgobject-2.0.so.0
No symbol table info available.
#15 0x00002b9181fe75f3 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#16 0x00002b9180a56fed in ?? () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#17 0x00002b9180b25848 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#18 0x00002b9181fd2e9d in g_closure_invoke () from
/usr/lib/libgobject-2.0.so.0
No symbol table info available.
#19 0x00002b9181fe58dc in ?? () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#20 0x00002b9181fe6f71 in g_signal_emit_valist () from
/usr/lib/libgobject-2.0.so.0
No symbol table info available.
#21 0x00002b9181fe75f3 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#22 0x00002b9180c3a4de in ?? () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#23 0x00002b9180b1e3d3 in gtk_propagate_event () from
/usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#24 0x00002b9180b1f41b in gtk_main_do_event () from
/usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#25 0x00002b9180feefac in ?? () from /usr/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#26 0x00002b91807467ab in g_main_context_dispatch () from
/usr/lib/libglib-2.0.so.0
No symbol table info available.
#27 0x00002b9180749f7d in ?? () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#28 0x00002b918074a4ad in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#29 0x00002b9180b1f837 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#30 0x000000000041efc8 in main (argc=1, argv=0x7fff2b001c98) at gq.c:169
        c = -1
        p = (void *) 0x1
(gdb)


> ya, the version in experimental and the latest upstream don't work for
> me either.

I use luma for some time now.
It supports rfc2596 LDAP Language Codes:
c;lang-en: Germany
c;lang-de: Deutschland

and bugs are easier to fix because it is written in Python.


Greets
Per



Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to